body {
    background-image: url("1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
}

#container {
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   background-image: linear-gradient(rgba(233, 200, 200, 0.3), rgba(0, 0, 0, 0.6));
   min-height: 100vh;
   font-family: 'Roboto', sans-serif;
}

#header {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#input {
    background-color: rgba(142, 127, 161, 0.3);
    border-radius: 20px;
    border: 3px solid #cdf3a2;
    padding: 15px;
    font-size: 20px;
}

#input:focus {
    background-color: #fff;
}

#when-where {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#city {
    color: #fff;
    font-size: 45px;
}

#date {
    color: #fff;
    font-size: 24px;
}

#now {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#temperature {
    color: #fff;
    font-size: 110px;
    font-weight: bold;
    text-shadow: 5px 10px black;
    margin: 0;
}

#feelsLike {
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}

#conditions {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    font-style: italic;
}

#variation {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
}

.error-box {
  background-color: #ffe6e6;
  color: #cc0000;
  border: 1px solid #cc0000;
  padding: 10px 14px;
  border-radius: 6px;
  margin-top: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
