:root {
    --yellow-color: #FFD53F;
    --black-color: #060606;
    --grey-color: #404040;
    --white-color: #ffff;
    --color-frame: #6f664a;
    --border-radius: 43px;
    --font-size: 8px;
    --border-radius-s: 15px;
}
/* Medium */
@font-face {
    font-family: 'Gilroy Medium';
    src: url("../../assets/fonts/gilroy-medium.ttf");
}
/* Regular */
@font-face {
    font-family: 'Gilroy Regular';
    src: url("../../assets/fonts/Gilroy-Regular.ttf");
}
/* Semibold */
@font-face {
    font-family: 'Gilroy Semibold';
    src: url("../../assets/fonts/gilroy-semibold.ttf");
}
/* Thin */
@font-face {
    font-family: 'Gilroy Thin';
    src: url("../../assets/fonts/Gilroy-Thin.ttf");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Gilroy Regular', sans-serif;
}
@media (max-width: 600px) {
    body, html {
        overflow-x: hidden;
    }
}
a {
    text-decoration: none;
    cursor: pointer;
}
button {
    outline: none;
    border: 0;
    cursor: pointer;
}
li {
    list-style: none;
}
.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}
/* Terms Main */
.terms__main {
    padding: 25px;
}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.title {
    margin: 50px 0;
    font-size: calc(12px + 18 * (100vw / 1926));
}
.terms__text {
    line-height: 1.5;
    padding-bottom: 25px;
}
.terms__text p {
    font-size: calc(14px + 3 * (100vw / 1926));
    font-weight: 400;
    color: #303030;
}
@media (max-width: 500px) {
    .logo {
        align-self: flex-start;
    }
}
/* Footer */
footer {
    background: var(--black-color);
    padding-top: 30px;
    background-image: url("../../assets/footer-img.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}
.footer__block {
    margin: 0 40px;
    padding: 58px 0 37px;
}
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Gilroy Regular';
}
.footer_shadow {
    display: none;
}
.footer p {
    font-weight: 400;
    font-size: calc(13px + 8 * (100vw / 1926));
    white-space: nowrap;
    color: var(--white-color);
    line-height: 24px;
    letter-spacing: 1.6px;
}
.footer__wrapper {
    display: flex;
    gap: 65px;
    position: relative;
    justify-content: space-between;
}
.footer__socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(8, 40px);
    gap: 50px;
    column-gap: 75px;
    padding-left: 50px;
}
.footer_menu li:nth-child(12) {
    grid-column: 2;
    grid-row: 5/8;
    align-items: baseline;
}
.footer_menu li:nth-child(1) {
    order: 1;
}
.footer_menu li:nth-child(2) {
    order: 2;
}
.footer_menu li:nth-child(3) {
    order: 3;
}
.footer_menu li:nth-child(4) {
    order: 4;
}
.footer_menu li:nth-child(5) {
    order: 5;
}
.footer_menu li:nth-child(6) {
    order: 8;
}
.footer_menu li:nth-child(7) {
    order: 7;
}
.footer_menu li:nth-child(8) {
    order: 9;
}
.footer_menu li:nth-child(9) {
    order: 10;
}
.footer_menu li:nth-child(10) {
    order: 6;
}
.footer_menu li:nth-child(11) {
    order: 11;
}
.footer_menu li:nth-child(12) {
    order: 12;
}
.footer_menu-item {
    display: flex;
    gap: 36px;
}
.footer_menu-item div {
    display: flex;
    gap: 20px;
    color: var(--white-color);
    align-items: center;
    font-size: 30px;
}
.footer_menu li {
    display: flex;
    align-items: center;
}
.footer_menu li a {
    font-weight: 400;
    font-size: calc(18px + 12 * (100vw / 1926));
    color: #ffffff;
    white-space: nowrap;
    text-align: center;
}
.footer_contacts {
    position: absolute;
    right: 0;
    bottom: -70px;
}
.footer_contacts a {
    color: #ffffff;
    font-weight: 400;
    font-size: calc(15px + 12 * (100vw / 1926));
    white-space: nowrap;
}
.footer_contacts ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.contacts {
    display: flex;
    align-items: center;
    gap: 40px;
}
.contacts .contacts_tel {
    font-weight: 400;
    font-size: calc(20px + 12 * (100vw / 1926));
    color: var(--yellow-color);
    white-space: nowrap;
}
.social_contacts {
    display: flex;
    gap: 20px;
}
.social_contacts a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-color);
    font-weight: bold;
}
.footer_menu-lastItem p {
    text-align: center;
    font-size: 32px;
    line-height: 36px;
}
@media (max-width: 1640px) {
    .footer_menu {
        padding-left: 30px;
    }
}

@media (max-width: 1050px) {
    .footer__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .footer_menu {
        grid-template: 1fr 1fr 1fr / repeat(2, 1fr);
        grid-template-columns: none;
        grid-auto-flow: row;
        align-items: center;
        justify-items: center;
    }
    .footer_contacts {
        position: relative;
        right: 0;
        bottom: 0;
    }
    .footer_contacts ul {
        align-items: center;
    }
    .contacts {
        flex-direction: column;
    }
}
@media (max-width: 550px) {
    footer {
        background-image: url("../../assets/footer-img-mobile.png");
        background-repeat: no-repeat;
        background-position: center 1150px;
        position: relative;
        overflow: hidden;
    }
    .footer_shadow {
        display: block;
        position: absolute;
        bottom: -35px;
        left: -18%;
        width: 150%;
        height: 245px;
        filter: blur(36px);
        background: #484746;
    }
    .footer__block {
        margin: 0 15px;
    }
    .footer_logo img {
        width: 128px;
    }
    .footer__wrapper {
        gap: 24px;
    }
    .footer_menu {
        gap: 26px;
    }
    .footer_menu-item {
        gap: 15px;
    }
    .footer_contacts ul {
        gap: 25px;
    }
    .social_contacts {
        gap: 14px;
    }
    .footer p {
        margin-top: 15px;
    }
    .footer_menu li:nth-child(11) {
        order: 12 !important;
    }
    .footer_menu li:nth-child(12) {
        order: 11 !important;
    }
    .footer_menu-lastItem {
        margin-right: 125px;
    }
    .footer_menu-lastItem img {
        height: 150px;
    }
}
@media (max-width: 1480px) {
    .footer__wrapper {
        gap: 20px;
    }
}
@media (max-width: 1350px) {
    .footer_menu {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        padding-left: 0;
    }
    .footer__wrapper {
        gap: 40px;
    }
    .footer_menu li:nth-child(1) {
        order: 1;
    }
    .footer_menu li:nth-child(2) {
        order: 10;
    }
    .footer_menu li:nth-child(3) {
        order: 2;
    }
    .footer_menu li:nth-child(4) {
        order: 9;
    }
    .footer_menu li:nth-child(5) {
        order: 3;
    }
    .footer_menu li:nth-child(6) {
        order: 10;
    }
    .footer_menu li:nth-child(7) {
        order: 4;
    }
    .footer_menu li:nth-child(8) {
        order: 5;
    }
    .footer_menu li:nth-child(9) {
        order: 6;
    }
    .footer_menu li:nth-child(10) {
        order: 8;
    }
    .footer_menu li:nth-child(11) {
        order: 11;
    }
    .footer_menu li:nth-child(12) {
        order: 12;
    }
    .footer p {
        margin-top: 30px;
    }
}
@media (max-width: 800px) {
    .footer_menu-lastItem p {
        font-size: 20px;
        line-height: 24px;
    }
    .footer p {
        margin-top: 20px;
        z-index: 2;
    }
    .item-logo {
        width: 120px;
    }
    .footer_menu-item span {
        font-size: 20px;
    }
    .footer_menu li:nth-child(10) {
        margin: 0;
        padding: 0 10px;
    }
    .footer__socials {
        align-items: center;
    }
    .footer_socials a {
        text-decoration: none;
        cursor: pointer;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 395px) {
    footer {
        background-position: center 1170px;
    }
    .footer_menu {
        display: flex;
        flex-direction: column;
        column-gap: 130px;
        margin-top: 30px;
    }

    .footer_menu li a {
        font-size: 18px;
        font-weight: 400;
        line-height: 19.86px;
        text-align: left;
    }
    .footer p {
        font-size: 16px;
        letter-spacing: 0;
    }
    .footer_menu-item {
        gap: 8px;
    }
    .item-logo {
        width: 105px;
    }
    .footer_menu li:nth-child(10) {
        margin: 0;
        padding: 0 10px;
    }
}
@media (max-width: 360px) {
    footer {
        background-position: center 1170px;
    }
}
