@import "root.css";


/* ___FOOTER___ */
footer {
    display: flex;
    justify-content: center;
    background-image: url(../media/images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.footer-main_wrapper {
    display: flex;
    justify-content: space-between;
    width: 1810px;
}

.footer-text_wrapper {
    padding: 75px 0 75px 0;
    width: 50%;
}

.footer-text {
    font-family: Exo2-Extra-Light, sans-serif;
    font-size: 26px;
    color: var(--white-color);
    margin: 0 0 0 var(--main-indent);
}

.footer-agreements_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 50%;
    gap: 10px 0;
}

.footer-agreement-text {
    font-family: Exo2-Extra-Light, sans-serif;
    font-size: 22px;
    font-weight: 100;
    color: var(--white-color);
    text-decoration: none;
    margin: 0 var(--main-indent) 0 0;
    cursor: pointer;
}

.footer-agreement-text:hover {
    transition: var(--transition);
    color: var(--hover-color);
}

.footer-agreement-text:not(:hover) {
    transition: var(--transition);
    color: var(--white-color);
}

@media all and (max-width: 1610px) {
    .footer-text_wrapper {
        padding: 62px 0 62px 0;
    }

    .footer-text {
        font-size: 21px;
    }

    .footer-agreements_wrapper {
        gap: 8px 0;
    }

    .footer-agreement-text {
        font-size: 18px;
    }
}

@media all and (max-width: 1450px) {
    .footer-text_wrapper {
        padding: 56px 0 56px 0;
    }

    .footer-text {
        font-size: 19px;
    }

    .footer-agreements_wrapper {
        gap: 7px 0;
    }

    .footer-agreement-text {
        font-size: 16px;
    }
}

@media all and (max-width: 1240px) {
    .footer-text_wrapper {
        padding: 47px 0 47px 0;
    }

    .footer-text {
        font-size: 16px;
    }

    .footer-agreements_wrapper {
        gap: 6px 0;
    }

    .footer-agreement-text {
        font-size: 14px;
    }
}

@media all and (max-width: 840px) {
    .footer-main_wrapper {
        display: flex;
        flex-direction: column;
        padding: 42px 0 42px 0;
    }

    .footer-text_wrapper {
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0 0 35px 0;
    }

    .footer-agreements_wrapper {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-agreement-text {
        margin: 0;
    }
}