@font-face {
    font-family: 'GreatVibes';
    src: url(../static/fonts/ofont.ru_1\ Shelley\ Volante.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gilroy";
    font-size: 0.9rem;
    user-select: none;
    font-weight: 600;
}

html {
    scrollbar-width: none;
    -webkit-tap-highlight-color: transparent;
}


:root {
    --light: #fff0e1;
    --dark: #5b95a8;
    --bobr: #bb9a89;
    --lil_lil_dark_bobr: rgb(181, 144, 127);
    --lil_dark_bobr: #ae846f;
    --light_blue: #bbcfd8;
    --dark_bobr: #ac7f62;
    --darker_bobr: rgb(169, 116, 89);
    --blue: #73afc3;
    --blue_hover: #47a1be;
    --black: rgb(90, 90, 90);
    --black_bold: rgb(49, 49, 49);
    --dark_darker: #3d6e7e;
    --bg: #fff5ef;
}





/* HEADER */
header {
    width: 100%;
    position: fixed;
    z-index: 99;
}

/* HEADER before navbar */
header .before_navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bobr);
    padding: 0px 180px;
    min-height: 55px;

    a {
        text-decoration: none;
        color: #fff;
    }
}

header .before_navbar p {
    text-align: center;
    padding: 8px;
    color: #fff;
    cursor: pointer;
}

header .before_navbar .others {
    display: flex;
    align-items: center;
    align-self: stretch;
}

header .before_navbar .others ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-self: flex-end;
}

header .before_navbar .others ul li {
    margin: 0 10px;
    text-align: center;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    max-height: 100px;
}


.header_whatsapp {
    height: 20px
}

.header_tg {
    height: 18px
}

header .before_navbar .others button {
    /* height: 200px; */
    align-self: stretch;
    justify-self: flex-end;
    padding: 10px 20px;
    background-color: var(--lil_dark_bobr);
    border: none;
    cursor: pointer;
    margin: 0 15px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;

    @media (hover) {
        &:hover {
            background-color: var(--dark_bobr) !important;
        }
    }
}

.before_navbar p i {
    transform: translateY(2px);
}

.navbar_icon {
    font-size: 1.2rem;
    margin-right: 5px;
}


/* HEADER navbar */
header .navbar {
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background-color: var(--light);
    color: var(--bobr);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 200px;
}

header .navbar h1 {

    cursor: pointer;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'GreatVibes';
    margin: -15px;

    a {
        text-decoration: none;
        color: inherit;
        font-size: inherit;
        font-family: inherit;
    }
}

header .navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    cursor: pointer;
}

header .navbar nav ul li {
    margin-left: 25px;
}

header .navbar nav ul li a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lil_dark_bobr);
}

header .navbar nav ul li a.active {
    color: var(--dark_bobr);
}

@media (hover) {
    header .navbar nav ul li a:hover {
        color: var(--dark_bobr);
    }
}

#check {
    display: none;
}

.icons {
    font-size: 8rem;
    color: var(--dark_bobr);
    cursor: pointer;
    display: none;
}

header .icons i {
    font-size: 1.8rem;
    color: var(--dark_bobr);
}

.sign_up_dop {
    display: none;
}

.void {
    height: 115.8px;
}

@media screen and (max-width: 1100px) {
    .void {
        height: 60.8px !important;
    }

    .before_navbar {
        display: none !important;
    }

    header {
        display: flex;
        width: 100vw;
    }

    .icons {
        display: inline-flex;
        z-index: 101;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        position: absolute;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar h1 {
        text-align: center;
        width: 100%;
    }

    .dop_contacts {
        margin: 0 !important;
        padding-bottom: 10px !important;

        height: auto;

        * {
            margin: 0 5px !important;
        }
    }

    .navbar nav {
        /* display: none !important; */
        position: absolute;
        top: 100%;
        left: 0;
        width: 0;
        background: var(--bobr);
        overflow: hidden;
        transition: .3s ease;
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        padding-right: 0;

        ul li {
            text-align: center;
            margin: 0 !important;
            padding: 20px;
            border: var(--lil_lil_dark_bobr) 1px solid;
            border-width: 1px 0 0 0;

            &:active {
                background-color: var(--lil_darkbobr);
            }

            @media (hover) {
                &:hover {
                    background-color: var(--lil_dark_bobr);
                }
            }
        }

        ul li a {
            color: #fff !important;
        }

        button {
            font-size: 1rem !important;
            width: 185.89px;
            border: none;
            cursor: pointer;
            padding: 15px 40px;
            background-color: var(--lil_dark_bobr);
            color: #fff;
            border-radius: calc(0.6rem + 20px);
            font-weight: 800;
            font-size: 1.1rem;

            &:active {
                background-color: var(--dark_bobr) !important;
            }

            @media (hover) {
                &:hover {
                    background-color: var(--dark_bobr) !important;
                }
            }
        }

        ul .contacts {
            background-color: var(--bobr);
            color: #fff;
        }

        ul .sign_up_dop {
            margin: 0 !important;
            padding: 0 !important;
            display: block;
            background-color: var(--lil_lil_dark_bobr);
            color: #fff;

            &:active {
                background-color: var(--lil_lil_dark_bobr);
            }
            &:hover{
                background-color: var(--lil_lil_dark_bobr);
            }

        }

        * {
            flex-direction: column;
            padding-left: 0;
            padding-right: 0;

            * {
                margin: 20px 0;
            }
        }
    }

    #check:checked~.navbar nav {
        width: 100vw;
        z-index: 100;
    }

    .void{
        height: 64.4px !important;
    }   
}



.void {
    height: 115.8px;
}






/* FOR OTHER PAGES */

.other_pages_name {
    width: 100vw;
    min-height: 50px;
    background-image: url(../static/images/background_for_other_pages.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    color: #fff;
    padding: 40px;
    text-align: left;
    display: flex;
    align-items: center;
    position: relative;

    h1 {
        display: inline-block;
        filter: none;
        font-size: 2rem;
        padding-left: 10vw;
        font-weight: 600;
        color: var(--black_bold);
    }

    h2 {
        justify-self: flex-end;
        display: inline-block;
        filter: none;
        font-size: 1.2rem;
        padding-left: 10vw;
        font-weight: 600;
        color: var(--black);
        position: absolute;
        right: calc(40px + 10vw);

        a {
            color: var(--black_bold);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.2rem;

            @media (hover) {
                &:hover {
                    color: var(--dark_darker)
                }
            }
        }
    }
}


/* FOOTER */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px;
    background-color: var(--lil_dark_bobr);
    margin: 0 !important;
    position: absolute;
    left: 0;
    width: 100vw
}

footer .buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px;
}

footer .buttons button {
    background-color: var(--darker_bobr) !important;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    margin: 5px;
    width: 60px;
    height: 60px;
}

.whatsapp_footer {
    height: 50%;
    transform: translate(3%, 3%);
}

.tg_footer {
    height: 42%;
    transform: translate(-9%, 4%);
}

footer p {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
}


footer{
    .buttons {
        text-align: center;
        flex-wrap: wrap;
        display: flex;
        flex-direction: row;
        justify-content: center !important;
        width: 100%;
        align-items: center;
    }
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    z-index: 1001;

}

.popup_content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        margin-bottom: 10px;
        color: #fff;
        background-color: var(--blue);
        padding: 20px;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;

        p {
            display: inline-block;
            font-size: 2rem;
            max-width: 80%;
        }

        i {
            cursor: pointer;
            color: #fff;
            font-size: 2.5rem;
        }
    }

    .buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap !important;
        padding: 20px;


        p {
            font-size: 1.2rem;
            text-align: center;
            font-weight: 700;
            color: var(--black)
        }

        .button {
            display: flex;
            align-items: center;
            flex-direction: column;
            min-width: 200px;
        }

        button {
            background-color: var(--blue);
            border: none;
            cursor: pointer;
            border-radius: 50%;
            margin: 5px;
            width: 60px;
            height: 60px;
            margin-bottom: 20px;
        }

        .whatsapp_popup {
            height: 50%;
            transform: translate(3%, 3%);
        }

        .tg_popup {
            height: 42%;
            transform: translate(-9%, 4%);
        }

        .phone * {
            font-size: 1.2rem;
        }

        a {
            text-decoration: none;
            color: var(--black);

            &:active {
                color: var(--blue);
            }

            @media (hover) {
                &:hover {
                    color: var(--blue);
                }
            }
        }
    }
}


@media screen and (max-width: 1300px) {
    header .before_navbar {
        padding-left: 40px;
        padding-right: 40px;
    }

    header .navbar {
        padding-left: 40px;
        padding-right: 40px;
    }
}



@media screen and (max-width: 600px) {
    header .navbar {
        padding: 20px 20px;
    }

    header .navbar h1 {
        text-align: center;
        font-size: 2.2rem !important;
    }

    .void{
        height: 50px !important;
    }

    .other_pages_name {
        padding: 20px;
        flex-direction: column;
        height: auto;


        h1 {
            padding-left: 20px;
            display: block;
            padding: 0;

        }

        h2 {
            right: 20px;
            display: block;
            position: static;
            margin: 0;
            padding: 0;
        }
    }

    .void {
        height: 46px !important;
    }
}

.sign_up_button{
    background-color: var(--lil_dark_bobr) !important;

    &:active {
        background-color: var(--dark_bobr) !important;
    }

    @media (hover) {
        &:hover {
            background-color: var(--dark_bobr) !important;
        }

    }
}