:root {
    --font-family: "Manrope", sans-serif;

    --color-main: #884DFF;
    --color-main2:#AA80FF;
    --color-white:#fff;
    --color-gray: #F6F7FC;
    --color-gray2:#F9FAFF;
    --color-black:#474c66;
    
    --border-radius: 10px;
    --border-md-radius: 20px;
    --border-lg-radius: 40px;

    --padding-md: 40px;
    --padding: 30px;
    --padding-sm: 10px;
    --padding-sm-el: 12.5px 15px;

    --box-shadow: 0px 10px 25px rgba(136, 77, 255, 0.20);
    --box-shadow2: 0px 10px 25px rgba(71, 76, 102, 0.05);

    --border: 1.50px solid rgba(71, 76, 102, 0.07);
    --border2: 1px solid rgba(71, 76, 102, 0.07); 
    --border3: 1px solid rgba(71, 76, 102, 0.1);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

html.behavor-auto {
    scroll-behavior: auto;
}


body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: var(--color-gray);
    font-size: 18px;
    font-family: var(--font-family);
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.5;
    position: relative;
    min-height: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.main {
    display: contents;
    overflow: hidden;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
}


/*
        H E A D E R
*/
header {
    margin-top: 10px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    width: 100%;
    height: 80px;
}

.header-row{
    height: 100%;
}

.header-row__logo {
    width: 120px;
    height: 20px;
}

.header-row__menu-btn {
    display: none;
    padding: 8px 6px;
    margin: -8px -6px;
    cursor: pointer;

    -webkit-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}

.header-row__menu-btn:hover {
    opacity: .5;
}

.header-row__menu-btn-line {
    display: block;
    width: 26px;
    height: 1px;
    margin: 5px auto;
    border-radius: .5px;
    background-color: var(--color-black);
    transition: transform 0.2s ease-out;
}

.header-row__auth-block.header-row__auth-block_mobile {
    margin-top: 10px;
}

.header-row__auth-block.header-row__auth-block_mobile .header-auth {
    align-items: center;
    flex-direction: column;
    width: max-content;
    gap: 10px;
}

.header-row__auth-block.header-row__auth-block_mobile .header-auth__login {
    width: 100%;
    line-height: 1;
}

.header-row__auth-block.header-row__auth-block_mobile .header-auth__login,
.header-row__auth-block.header-row__auth-block_mobile .header-auth__try-free {
    padding: 22.5px 30px;
}

/*
*       F O O T E R
*/
footer {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
}

.footer-rows {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-rows a {
    margin-right: auto;
}

.footer-top-row__about {
    grid-column: 1 / span 3;
}

.footer-top-row__about-logo {
    width: 120px;
    height: 20px;
}

.footer-top-row__about-text {
    font-size: 13px;
}

.footer-top-row__contact-us {
    align-items: start;
}

.footer-top-row__contact-us-email {
    font-size: 21px;
    font-weight: 400;
}

.footer-top-row__btn-support .svg {
    width: 24px;
    height: 24px;
}

.footer-top-row__contact-us-email .svg use {
    stroke: none;
    fill:var(--color-black)
}

.footer-top-row,
.footer-menu-row,
.footer-bottom-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer-bottom-row__requsits {
    font-size: 15px;
}

.footer-menu-row__integration-title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
}

.footer-bottom-row__cards img {
    max-height: 24px;
}

@media (max-width: 991px) {
    footer {
        padding: 50px 0;
    }

    .footer-top-row__about,
    .footer-bottom-row__requsits {
        grid-column: 1 / span 2;
    }

    .footer-top-row__contact-us,
    .footer-bottom-row__cards,
    .footer-bottom-row__politics {
        grid-column: 3 / span 2;
    }

    .footer-bottom-row__cards {
        grid-row: 1;
    }
}

@media (max-width: 767px) {
    :root {
        --border-lg-radius: 30px;
    }

    .header-row__menu-btn {
        display: block;
    }

    .header-row__auth-block:not(.header-row__auth-block_mobile) {
        display: none;
    }

    .footer-rows,
    .footer-top-row,
    .footer-menu-row {
        row-gap: 30px;
    }

    .footer-top-row {
        grid-template-columns: 1fr;
    }

    .footer-top-row__about,
    .footer-top-row__contact-us {
        grid-column: 1 / -1;
    }

    .footer-menu-row > div:nth-child(2n+1) {
        grid-column: 1 / span 2;
    }

    .footer-menu-row > div:nth-child(2n) {
        grid-column: 3 / -1;
    }
}

@media (max-width: 575px) {
    :root {
         --padding: 20px;
    }

    body {
        font-size: 16px;
    }

    .footer-menu-row,
    .footer-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .footer-menu-row > div:nth-child(2n+1),
    .footer-menu-row > div:nth-child(2n),
    .footer-bottom-row > div {
        grid-column: 1 / -1;
    }

    .footer-bottom-row__cards {
        margin: 30px 0;
        grid-row: auto;
    }
}