﻿.water-temperatures-container {
    min-height: 600px;
    background-color: var(--primary);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.water-temperatures-container .water-temperatures-logo {
    height: 40px;
}

.water-temperatures-container h1 {
    color: white;
    font-family: var(--font-heading);
    font-size: 2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-temperatures-container h1 .water-temperatures-live {
    text-transform: uppercase;
    padding: 5px 15px;
    background-color: var(--success);
    color: white;
    border-radius: 9px;
    margin-left: 20px;
    opacity: .6;
    animation: scroll-icon 2.5s infinite;
}

@keyframes scroll-icon {
    0% {
        opacity: .6;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: .6;
    }
}

.water-temperatures {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.water-temperature {
    flex-basis: calc(33.334% - 27px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: white;
}

.water-temperature .water-temperature-title {
    font-weight: 500;
    font-size: 1.25em;
    color: white;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.water-temperature .water-temperature-value {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.water-temperature .water-temperature-value-left {
    font-size: 3em;
    font-weight: 800;
    line-height: 1.15em;
}

.water-temperature .water-temperature-value-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.water-temperature .water-temperature-value-right span {
    font-size: 1.15em;
    font-weight: 500;
    line-height: 1em;
}

@media (max-width: 768px) {
    .water-temperatures-container {
        padding: 30px;
        gap: 30px;
    }

    .water-temperatures-container h1 {
        font-size: 1.5em;
    }

    .water-temperatures {
        width: 100%;
        gap: 20px;
        flex-direction: column;
        align-items: stretch;
    }

    .water-temperature {
        flex-basis: unset !important;
        flex-grow: 1;
    }
}