/* Custom Sweeps Footer */
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 64rem;
    height: 18.4375rem;
    margin: 0;
    background-color: #25056b;
}

.lbv footer {
    background-color: #22272c;
}

.footer {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 67%;
    margin-top: 1.25rem;
}

footer .links-container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 79.2rem;
    height: 5.3125rem;
}

footer .nav-links {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 60%;
}

footer .h5c-logo {
    min-width: 12.5rem;
    width: 15.5625rem;
    height: 5.3125rem;
    background-image: url("../../images/sweeps-landing/h5c-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.lbv footer .h5c-logo {
    min-width: 12.5rem;
    width: 15.5625rem;
    height: 5.3125rem;
    background-image: url("../../images/lbv-landing/lbv-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.footer-icons {
    display: flex;
    flex-flow: row;
    justify-content: space-evenly;
    align-items: center;
    width: 10rem;
}

.age-rating-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.9375rem;
    height: 1.9375rem;
    border-radius: 50%;
    border: solid 0.125rem rgb(255, 255, 255);
    background-color: #25056b;
    color: rgb(255, 255, 255);
    font-family: 'Noto Sans', 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
}

.lbv .age-rating-icon {
    background-color: #22272c;
}

.rgf-icon {
    display: flex;
    justify-content: center;
    width: 2.1875rem;
    height: 2.1875rem;
    align-items: center;
    background-image: url("../../images/sweeps-landing/rgf-logo.webp");
    background-size: contain;
    background-repeat: no-repeat;
}

.age-rating a,
.rgf-icon a {
    margin-top: 0;
}

footer a {
    text-align: center;
    color: white;
    opacity: 0.7;
    width: 6.75rem;
    height: 2.0625rem;
    margin-top: 1.125rem;
    font-family: 'Noto Sans', 'Roboto', sans-serif;
    font-size: 0.875rem;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: 0.0275rem;
    text-decoration: none;
}

footer .terms {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    max-width: 79.2rem;
    height: 9.1875rem;
}

footer .terms p,
footer .terms a {
    text-align: left;
    opacity: 0.7;
    font-family: 'Noto Sans', 'Robot', sans-serif;
    font-size: 0.625rem;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    color: white;
}

footer .terms a {
    opacity: 1;
    color: white;
    text-decoration: underline;
}

/* Switch to mobile view when width is equal to or less than 1024px (64rem) */
@media (max-width: 64rem) {

    /* Custom Sweeps Footer */
    footer {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 368px;
        height: 50rem;
        margin: 0;
        background-color: #25056b;
    }

    .lbv footer {
        background-color: #14171a;
    }

    .footer {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 86%;
        margin-top: 1.25rem;
    }

    footer .links-container {
        flex-direction: column;
        justify-content: center;
        height: 14rem;
    }

    footer .nav-links {
        flex-flow: wrap;
        width: 18rem;
    }

    footer .h5c-logo {
        width: 100%;
        height: 4.3125rem;
        background-position: center;
        margin-bottom: 3rem;
    }

    .footer-icons {
        position: absolute;
        display: flex;
        flex-flow: row;
        justify-content: space-evenly;
        align-items: center;
        top: 110%;
        width: 100%;
    }

    .age-rating-icon {
        width: 5.75rem;
        height: 5.75rem;
        border-radius: 50%;
        border: solid 0.3125rem rgb(255, 255, 255);
        font-size: 2.375rem;
        margin: 0;
        padding: 0;
    }

    .rgf-icon {
        width: 6.5625rem;
        height: 6.5625rem;
        margin: 0;
        padding: 0;
    }

    footer a {
        margin-top: 0.5rem;
    }

    footer .terms {
        top: 21%;
        width: 22rem;
        height: 25rem;
    }

    footer .terms p,
    footer .terms a {
        text-align: center;
        font-size: 0.75rem;
    }
}