.weather-data {
    background-color: white;
}
.current-weather {
    display: flex;
    gap: 20px;
    padding: 15px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.current-weather__header {
    font-weight: bold;
    font-size: 16px;
    color: #666;
}
.current-weather__temperature {
    font-size: 24px;
    font-weight: bold;
    margin: 5px 0;
}
.current-weather__feels-like {
    font-weight: bold;
    font-size: 16px;
    color: #666;
}
.forecast {
    margin: 10px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.forecast__header {
    margin-bottom: 6px;
    padding: 15px;
}
.forecast h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.navigation {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background-color: var(--primary);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.navigation a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
    cursor: pointer;
}
.navigation a.active {
    color: white;
    background-color: #00000040;
}
.navigation a:hover {
    color: white;
    background-color: #87c4f0;
}
#weather-container {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    cursor: grab;
    user-select: none;
    padding: 0 10px;
}
.weather-card {
    flex: 0 0 255px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255, 0.1);;
    border-radius: 8px;
    padding: 20px 0;
}
.weather-card h3 {
    padding: 10px;
    color: var(--primary);
    font-size: 16px;
}
.weather-grid {
    display: grid;
}
.weather-grid-item {
    text-align: center;
    padding: 16px 0;
}
.weather-grid-item img {
    width: 45px;
    height: 45px;
}
.time-label {
    margin-bottom: 8px;
}
.temperature-label {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px;
}
.temperature-label p {
    padding-bottom: 20px;
    text-align: center;
}
.temperature, .wind {
    font-size: 14px;
    margin: 4px 0;
}
.temperature-grid {
    display: flex;
    align-items: flex-end; /* чтобы выровнять по нижней границе */
}

.temperature-bar {
    flex: 1; /* равномерное распределение ширины */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 14px;
    border-bottom: 1px solid #ddd;
}
.wind-label {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}
.wind-label p {
    padding-top: 20px;
    text-align: center;
}

.wind-grid-item {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    transition: background 0.3s ease-in-out;
}
