* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  transition: background 0.5s ease;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.city-input-wrapper {
  margin-top: 10px;
}

input, button {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

button {
  background-color: #ffffffcc;
  color: #000;
  cursor: pointer;
}

.forecast-slider {
  margin-top: 100px;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth; /* Плавность */
  height: calc(100vh - 140px);
}

.forecast-card {
  scroll-snap-align: start;
  min-width: 100vw;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.forecast-card img {
  width: 100px;
  margin: 10px 0;
}

footer {
  text-align: center;
  padding: 10px;
  background: rgba(0,0,0,0.2);
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* Фоны */
.sunny-bg {
  background: linear-gradient(to top, #ffe47a, #ffb347);
}

.rainy-bg {
  background: linear-gradient(to top, #4e54c8, #8f94fb);
}

.cloudy-bg {
  background: linear-gradient(to top, #bdc3c7, #2c3e50);
}

.snowy-bg {
  background: linear-gradient(to top, #e0eafc, #cfdef3);
}

.default-bg {
  background: linear-gradient(to top, #74ebd5, #acb6e5);
}






