@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: rgb(142, 94, 174);
  background-color: #dddddd;
}

h1 {
  text-align: center;
  margin-top: 1rem;
  color: rgb(27, 26, 23);
}

.main-container {
  position: absolute;
  left: 50%;
  top: 15%;
  transform: translate(-50%);
  padding: 1.5rem;
  background: rgb(27, 26, 23);
  background: linear-gradient(
    90deg,
    rgba(27, 26, 23, 1) 0%,
    rgba(76, 90, 95, 1) 100%
  );
  color: #dddddd;
  border-radius: 15px;
  border: 0;
  box-shadow: 2px 2px 8px #000;
}

.enter-city {
    width: 20rem;
  font-size: 1.5rem;
  padding: 0.5rem;
  outline: none;
  border: none;
  border-bottom: 2px solid rgba(250, 72, 72, 1);
  background: none;
  color: rgba(255, 206, 137, 1);
}

.enter-city::placeholder {
  color: rgba(255, 206, 137, 1);
  font-size: 1.5rem;
}

.enter-btn {
  background-color: rgba(250, 72, 72, 1);
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1rem;
  transition: 0.5s;
  border: 0;
}

.enter-btn:hover {
  transform: scale(1.1);
}

.weather-container {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.temperature {
  font-size: 5rem;
  color: rgba(255, 206, 137, 1);
}

.current-city, .weather{
    font-size: 1.5rem;
    color:rgba(250, 72, 72, 1) ;
}

.weather-img{
    width: 30%;
    margin: 0 auto;
    background-color: #dddddd;
    border-radius: 50%;
    box-shadow: 2px 2px 8px #000;
}

.copyright {
  width: 100%;
  position: fixed;
  bottom: 2%;
  left: 50%;
  text-align: center;
  transform: translate(-50%);
}

.copyright a {
  color: #280b45;
  text-decoration: none;
}

@media screen and (max-width: 750px) {

    .enter-city-container{
        display: flex;
    }

    .enter-city{
        width: 15rem;
    }
}
