:root {
    /* Основные цвета: */
    --color-white: #FAFFFF;
    --color-dark: #011F26;
    --color-blue: #D0E1F1;
    --color-dark-blue: #A0BEDA;
    --color-red: #EB5757;
    --color-green: #10CF75;

    --font-LetoTextSansDefect: 'LetoTextSansDefect';
    --font-Montserrat: 'Montserrat';

    --color-dark-blue-70: rgba(160, 190, 218, 0.70);
    --bg-blur-10: blur(5px);
}


body {
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}

header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 10;

    justify-content: center;
    align-items: center;
}

.div_header {
    border: 0px solid blue;


    display: flex;
    max-width: 1200px;
    padding: 0 35px 0 25px;
    justify-content: space-between;
    align-items: center;
    z-index: 11;

    gap: 20px;
    height: 80px;
    margin: 0 auto;

    border-radius: 500px;
    background: var(--color-dark-blue-70);
    backdrop-filter: blur(5px);
}

.header-logo {
    display: flex;
    width: 100%;
    height: 60px;
    background-image: url('/static/assets/svg/logo.svg');
    background-repeat: no-repeat;
    background-size: 60px 60px;
    background-position: left center;
}

nav {
    display: none;
    backdrop-filter: blur(10px);
    z-index: 50;
}

.nav.open {
    display: grid;
    position: fixed;
    z-index: 50;
    top: 100px;
    right: 20px;

    height: auto;
    max-height: 70vh;
    max-width: 300px;
    gap: 50px;


    overflow-y: auto;
    padding: 35px;
    border-radius: 25px;
    background-color: var(--color-white);
    outline: 3px solid var(--color-dark-blue);
    backdrop-filter: blur(10px);
    animation: burgerAnimation 0.4s;
}


.nav_messengers {
    display: flex;
    gap: 15px;
}


.div_ul {
    display: grid;
    gap: 15px;
}

.div_nav_info {
    display: grid;
    color: var(--color-white);
    gap: 0px;
}

.ul {
    font-family: var(--font-LetoTextSansDefect), sans-serif;
    text-decoration: none;
    font-size: 28px;
    color: var(--color-dark);
    font-weight: 600;
}

.ul:hover {
    font-size: 32px;
    color: var(--color-dark-blue);
}

.div_burger {
    display: flex;
    width: 40px;
    height: 65px;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.burger {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 25px;
}

.burger span {
    height: 4px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.burger::before,
.burger::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.burger::before {
    top: 0;
}

.burger::after {
    bottom: 0;
}

.div_burger:hover .burger span,
.div_burger:hover .burger::before,
.div_burger:hover .burger::after {
    background-color: var(--color-white);
    transition: all 0.1s ease;

}

.burger.active span {
    transform: scale(0);
}

.burger.active::before {
    top: 50%;
    background-color: var(--color-red);
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
    bottom: 50%;
    background-color: var(--color-red);
    transform: rotate(45deg) translate(0, 50%);
}


/* ============ */
/* Мессенджеры */
/* ========== */

.messengers {
    display: flex;
    flex-direction: column;
    grid-column: 12 / 13;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.messenger {
    border: 0px solid yellow;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center center;
}

.mail {
    background-image: url('/static/assets/messengers/mail.svg');
}

.tg {
    background-image: url('/static/assets/messengers/tg.svg');
}

.whatsapp {
    background-image: url('/static/assets/messengers/whatsapp.svg');
}

.vk {
    background-image: url('/static/assets/messengers/vk.svg');
}


.vk_dark {
    background-image: url('/static/assets/messengers/vk_dark.svg');
}

.mail_dark {
    background-image: url('/static/assets/messengers/mail_dark.svg');
}

.tg_dark {
    background-image: url('/static/assets/messengers/tg_dark.svg');
}

.whatsapp_dark {
    background-image: url('/static/assets/messengers/whatsapp_dark.svg');
}

.vk_dark {
    background-image: url('/static/assets/messengers/vk_dark.svg');
}


.tg_white {
    background-image: url('/static/assets/messengers/tg_white.svg');
}

.whatsapp_white {
    background-image: url('/static/assets/messengers/whatsapp_white.svg');
}

.vk_white {
    background-image: url('/static/assets/messengers/vk_white.svg');
}

.mail_white {
    background-image: url('/static/assets/messengers/mail_white.svg');
}


.tg:hover {
    background-image: url('/static/assets/messengers/tg_dark.svg');
}

.whatsapp:hover {
    background-image: url('/static/assets/messengers/whatsapp_dark.svg');
}

.vk:hover {
    background-image: url('/static/assets/messengers/vk_dark.svg');
}

.mail:hover {
    background-image: url('/static/assets/messengers/mail_dark.svg');
}


.tg_white:hover {
    background-image: url('/static/assets/messengers/tg.svg');
}

.whatsapp_white:hover {
    background-image: url('/static/assets/messengers/whatsapp.svg');
}

.vl_white:hover {
    background-image: url('/static/assets/messengers/whatsapp.svg');
}

.mail_white:hover {
    background-image: url('/static/assets/messengers/whatsapp.svg');
}


/* ======= */
/* Подвал */
/* ===== */

footer {
    display: flex;
    flex-direction: column;

    width: 100vw;

    justify-content: center;
    align-items: center;
}

.div_footer {
    display: flex;

    width: 100%;

    padding: 25px;
    gap: 40px;
    max-width: 1200px;
    margin: 50px 0;
    justify-content: space-between;
    align-items: center;

    color: var(--color-white);
    background-color: var(--color-dark);
    border-radius: 50px;

}

.footer_nav_data {
    grid-column: 1 / 8;

    display: flex;
    gap: 25px;
}

.el-svg {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.partner {
    width: 150px;
    height: 150px;

    border: 0px solid var(--color-white);
}

.VVEDA {
    background-image: url('/static/assets/svg/logo-dark-blue.svg');
}

.AKKS {
    background-image: url('/static/assets/svg/logo-AKKC.svg');
}

.AKP {
    background-image: url('/static/assets/svg/logo-AKP.svg');
}

.div-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact {
    display: flex;
    justify-content: space-between;
    align-items: center;


    width: 350px;
    padding: 5px 5px 5px 25px;
    gap: 15px;

    font-family: var(--font-Montserrat), sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-dark);
    background-color: var(--color-white);
    border-radius: 100px;
}

.contact:hover {
    background-color: var(--color-blue);
}

.div_info {
    grid-column: 1 / span 5;
}

footer p {
    font-size: 16px;
    font-weight: 600;
}

footer text {
    font-size: 12px;
    font-weight: 300;
}

.creat-text {
    display: flex;
    width: 400px;
    height: 60px;
    background-image: url('/static/assets/svg/foxik-logo.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    text-decoration: none;
    margin: 40px 0;
}

.text-copyright-holder {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 25px;
    margin-top: 50px;

    color: var(--color-light-grey);
    font-family: var(--font-Montserrat), sans-serif;

    border-top: 1px solid var(--color-blue);
    border-bottom: 1px solid var(--color-blue);

    text-align: right;
    font-style: normal;
    line-height: normal;

    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 1200px) {
    header {
        padding: 20px;
    }

    footer {
        padding: 20px;
    }
}

@media (max-width: 960px) {

    .div_footer {
        display: flex;
        flex-direction: column;
        max-width: 960px;
    }

    .div-contacts {
        width: 100%;
    }

    .contact {
        min-width: 0;
        width: 100%;
    }

    .footer_nav_data {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 560px) {
    header {
        top: 5px;

        padding: 12px;
    }

    .div_header {
        height: 60px;
    }

    .div_footer {
        max-width: 560px;
    }

    .div-contacts {
        width: 100%;
    }

    .contact {
        min-width: 0;
        width: 100%;
    }

    .partner {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 380px) {
    .div_footer {
        max-width: 380px;
    }

    .div-contacts {
        width: 100%;
    }

    .contact {
        min-width: 0;
        width: 100%;

        font-size: 18px;
    }

    .messenger {
        width: 40px;
        height: 40px;
    }

    .partner {
        width: 120px;
        height: 120px;
    }
}
