* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #121212;
  color: #fff;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

h1,
h2 {
  margin-bottom: 15px;
  color: #90caf9;
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  border: 2px solid #333;
  border-radius: 8px;
  background: #1e1e1e;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-img {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
}

#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 20px;
  z-index: 2;
}

#prevBtn {
  left: 10px;
}
#nextBtn {
  right: 10px;
}

/* Weather Section */
.weather-section {
  margin-top: 40px;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
}

#cityInput {
  padding: 10px;
  width: 70%;
  max-width: 300px;
  margin-bottom: 10px;
  border: 1px solid #555;
  border-radius: 5px;
}

#getWeatherBtn {
  padding: 10px 20px;
  background-color: #90caf9;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

#weatherResult {
  margin-top: 15px;
  font-size: 18px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 600px) {
  .carousel-img {
    height: 200px;
  }

  #cityInput {
    width: 90%;
  }

  h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }
}
