* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  padding: 1rem;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
    url('https://images.unsplash.com/photo-1587923623987-c7e4083beb23?auto=format&fit=crop&w=1600&q=80') no-repeat center/cover;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container { 
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main {
  width: 100%;
  max-width: 500px;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.header {
  width: 100%;
}

.input {
  width: 100%;
  padding: 14px 18px;
  font-size: 18px;
  border-radius: 25px;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  outline: none;
  transition: background-color 0.3s;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.input:focus {
  background-color: rgba(255, 255, 255, 0.4);
}

.when-where,
.now {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.city {
  font-size: 30px;
  font-weight: 600;
}

.date {
  font-size: 16px;
}

.temp {
  font-size: 80px;
  font-weight: 700;
}

.feelsLike,
.conditions,
.variation {
  font-size: 18px;
}

@media (max-width: 600px) {
  .temp {
    font-size: 60px;
  }

  .city {
    font-size: 24px;
  }

  .feelsLike,
  .conditions,
  .variation {
    font-size: 16px;
  }
}
