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

body {
  font-family: Arial, sans-serif;
  background-color: #2b2b2b;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.weather-container {
  background-color: #383838;
  padding: 20px;
  width: 100%;
  max-width: 550px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.top-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.left-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.status,
.location,
.temperature {
  background-color: #5b5b5b;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  width: 100%;
}

.status {
  justify-content: flex-start;
}

.status img {
  margin-right: 10px;
  width: 40px;
  height: 40px;
}

.location {
  justify-content: space-between;
}

#cityDropdown {
  background-color: #2b2b2b;
  color: white;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 3px;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
  cursor: pointer;
}

.temperature {
  justify-content: center;
  font-size: 2.5rem;
}

.bottom-section {
  background-color: #5b5b5b;
  color: white;
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.bottom-section h3 {
  margin-bottom: 15px;
  text-align: center;
}

.forecast-days {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.forecast-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 60px;
}

.forecast-day p {
  margin: 5px 0;
  font-size: 0.9rem;
}

.forecast-day img {
  width: 30px;
  height: 30px;
}

@media (min-width: 768px) {
  .weather-container {
    padding: 40px;
    gap: 30px;
  }

  .top-section {
    flex-direction: row;
    justify-content: space-between;
  }

  .left-panel {
    flex: 1;
  }

  .status,
  .location,
  .temperature {
    font-size: 1.5rem;
  }

  .temperature {
    flex-basis: 100px;
    margin-left: 10px;
    font-size: 3rem;
  }

  .bottom-section {
    padding: 20px;
    font-size: 1.5rem;
  }

  .forecast-day p {
    font-size: 1rem;
  }

  .forecast-day img {
    width: 40px;
    height: 40px;
  }
}
