:root {
    --color-blue: #BADDE6;
    --color-black: #2D2926;
    --color-grey: #f7f7f7;
    --color-white: #ffffff;
}

@font-face {
    font-family: Gilroy;
    src: url(./fonts/Gilroy-Light.otf);
}

@font-face {
    font-family: Alistair;
    src: url(./fonts/Alistair-Signature.otf);
}

.web_h1 {
    font-family: Gilroy;
    font-weight: 300;
    font-size: 100px;
    line-height: 110px;
    letter-spacing: 0px;
    color: var(--color-black);
    text-transform: uppercase;

    @media (max-width: 1080px) {
        font-size: 50px;
        line-height: 55px;
    }

    @media (max-width: 722px) {
        font-size: 36px;
        line-height: 41px;
    }
}

.web_h2 {
    font-family: Gilroy;
    font-weight: 300;
    font-size: 80px;
    line-height: 88px;
    letter-spacing: 0px;
    color: var(--color-black);
    text-transform: uppercase;

    @media (max-width: 1080px) {
        font-size: 40px;
        line-height: 46px;
    }

    @media (max-width: 722px) {
        font-size: 26px;
        line-height: 30px;
    }
}

.web_h3 {
    font-family: Gilroy;
    font-weight: 300;
    font-size: 38px;
    line-height: 50px;
    letter-spacing: 0px;
    color: var(--color-black);
    text-transform: uppercase;

    @media (max-width: 1080px) {
        font-size: 30px;
        line-height: 40px;
    }

    @media (max-width: 722px) {
        font-size: 20px;
        line-height: 26px;
    }
}

.web_body {
    font-family: Gilroy;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
    color: var(--color-black);
    text-transform: none;

    @media (max-width: 1080px) {
        font-size: 16px;
        line-height: 21px;
    }

    @media (max-width: 722px) {
        font-size: 14px;
        line-height: 18px;
    }
}

.web_navigation {
    font-family: Gilroy;
    font-weight: 300;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    color: var(--color-black);
    text-transform: none;
    white-space: nowrap;
}

.signature {
    font-family: Alistair;
    font-weight: 500;
    font-size: 40px;
    line-height: 53px;

    @media (max-width: 1080px) {
        font-size: 36px;
        line-height: 48px;
    }
}

html {
    scrollbar-gutter: stable;
}

body {
    background-color: var(--color-grey);
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: transparent;
}

body::-webkit-scrollbar-thumb {
    background-color: #929292;
    border-radius: 20px;
}

a {
    color: inherit;
    text-decoration: inherit;
}

ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

button {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0px;
    cursor: pointer;
}

.web_img {
    @media (max-width: 1080px) {
        display: none;
    }
}

.tab_img {
    display: none;

    @media (max-width: 1080px) {
        display: initial;
    }

    @media (max-width: 722px) {
        display: none;
    }
}

.mob_img {
    display: none;

    @media (max-width: 722px) {
        display: initial;
    }
}

.modal-open {
    overflow: hidden;
}

.header {
    display: flex;
    flex-direction: row;
    height: 83px;
    padding: 0px 120px;
    align-items: center;

    @media (max-width: 1080px) {
        padding: 0px 24px;
        height: 67px;
    }

    @media (max-width: 767px) {
        padding: 0px 16px;
        height: 52px;
    }

    .logo {
        margin: 0px auto;

        img {
            height: 28px;

            @media (max-width: 767px) {
                height: 23px;
            }
        }
    }

    .left_menu, .right_menu {
        display: flex;
        flex-direction: row;
        padding: 0px;
        margin: 0px;

        @media (max-width: 1180px) {
            display: none;
        }

        .menu_item:hover {
            color: var(--color-blue);
            cursor: pointer;
        }

        .nav_link.active {
            color: var(--color-blue);
        }
    }

    .left_menu .menu_item {
        margin-right: 38px;
    }

    .right_menu {
        justify-content: end;

        .menu_item {
            margin-left: 38px;
        }
    }

    .menu_burger_button {
        display: none;
        background: none;
        border: none;
        outline: none;
        box-shadow: none;
        padding: 0px;
        position: absolute;
        right: 120px;
        cursor: pointer;

        @media (max-width: 1180px) {
            display: block;
        }

        @media (max-width: 1080px) {
            right: 24px;
        }

        @media (max-width: 767px) {
            right: 16px;

            img {
                width: 39px;
            }
        }
    }

    /*popup card*/
    .menu_popup {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: var(--color-grey);
        opacity: 0;
        right: -100%;
        transition: opacity 500ms ease-out;
        z-index: 2;
        top: 0;
        overflow: auto;

        ul {
            text-align: center;
            position: absolute;
            right: -100%;
            top: -100%;
            opacity: 0;

            .menu_item {
                cursor: pointer;
            }

            li:not(:last-child) {
                margin-bottom: 24px;
            }
        }

        .web_h3 {
            @media (max-width: 767px) {
                font-size: 20px;
                line-height: 26.4px;
            }
        }
    }

    .menu_popup.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        right: 0;
        opacity: 1;
        transition: opacity 500ms ease-out;

        ul {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            right: 0%;
            top: 0%;
            opacity: 1;
            transition: all 500ms ease-out;
        }
    }

    .contacts_popup_container {
        position: fixed;
        width: 100%;
        height: 100%;
        right: -100%;
        z-index: 5;
        top: 0;
        transition: background-color 300ms ease-out 0s, right 0ms ease-out 300ms;
    }

    .contacts_popup {
        position: absolute;
        right: -100%;
        width: 50%;
        height: 100%;
        background-color: var(--color-blue);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 300ms ease-out 0s;

        @media (max-width: 1180px) {
            width: 100%;
        }

        @media (max-height: 568px) {
            justify-content: end;

            .phone_block {
                margin-top: auto;
            }
        }

        .email_block {
            text-transform: lowercase;
            margin-top: 5px;
            margin-bottom: 10px;

            @media (max-width: 1180px) {
                margin-top: 16px;
                margin-bottom: 16px;
            }

            @media (max-width: 722px) {
                margin-top: 10px;
                margin-bottom: 15px;
            }
        }

        .address_block {
            text-align: center;
            margin-bottom: 30px;

            @media (max-width: 1180px) {
                margin-bottom: 90px;
            }

            @media (max-width: 722px) {
                margin-bottom: 40px;
            }

            @media (max-height: 568px) {
                margin-bottom: 30px;
            }
        }

        .apps_block {
            display: flex;
            flex-direction: row;
            justify-content: space-around;

            .insta_block, .telegram_block {
                display: flex;
                flex-direction: column;
                align-items: center;
                margin: 0px 28px;

                @media (max-width: 1180px) {
                    margin: 0px 36px;
                }

                @media (max-width: 722px) {
                    margin: 0px 20px;
                }
            }

            img {
                display: none;
                width: 24px;
                height: 24px;
                margin-bottom: 8px;

                @media (max-width: 1180px) {
                    display: unset;
                }

                @media (max-height: 568px) {
                    display: none;
                }
            }
        }

        .meta_notification {
            padding: 0px 23px 35px;
            position: absolute;
            bottom: 0;

            font-size: 10px;
            line-height: 10px;

            @media (max-width: 1180px) {
                padding: 0px 82px 71px;
            }

            @media (max-width: 722px) {
                padding: 0px 24px 30px;
            }

            @media (max-height: 568px) {
                margin-top: auto;
                position: unset;
                padding-bottom: 24px;
            }
        }

    }

    .contacts_popup_container.active {
        right: 0%;
        background-color: rgba(0, 0, 0, 0.5);
        transition: background-color 300ms ease-out 0s;

        .contacts_popup {
            right: 0%;
            transition: right 300ms ease-out 0s;
        }
    }
}

.close_popup_button {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    position: absolute;
    top: 36px;
    right: 36px;
    cursor: pointer;
    z-index: 2;

    @media (max-width: 1080px) {
        top: 46px;
        right: 46px;
    }

    @media (max-width: 722px) {
        top: 39px;
        right: 29px;
    }

    img {
        width: 56px;

        @media (max-width: 722px) {
            width: 48px;
        }
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr minmax(41%, 45%);
    grid-template-rows: auto auto;
    column-gap: 40px;
}

.personal_info {
    position: relative;
}

.personal_info_arc {
    position: absolute;
    height: 102%;
    top: -1%;
    z-index: -1;
}

.main_pi_container {
    padding: 180px 0px 180px 120px;
    position: relative;
    display: flex;

    @media (max-width: 1080px) {
        min-height: 569px;
        padding: 104px 0px 104px 24px;
    }

    @media (max-width: 722px) {
        min-height: unset;
        padding: 88px 0px 88px 16px;
    }
}

.main_pi_text {
    padding: 30px 104px 0px;

    @media (max-width: 1080px) {
        padding: 16px 73px 0px;
    }

    @media (max-width: 722px) {
        padding: 20px 44px 0px;
    }
}

.main_pi_title {
    width: 477px;

    @media (max-width: 722px) {
        width: unset;
    }
}

.main_pi_info {
    position: absolute;

    @media (max-width: 722px) {
        padding-left: 40px;
    }

    @media (max-width: 400px) {
        padding-left: 0px;
    }
}


.main_pi_pics {
    display: flex;
    top: 0;
    justify-content: space-around;
}

.main_pi_small_pics {
    display: flex;
    flex: 6;

    @media (max-width: 1080px) {
        flex: 7;
    }

    @media (max-width: 722px) {
        flex: 3;
        flex-direction: column;
    }

    .main_pi_first_small_pic {
        align-self: end;
        position: relative;
        margin-top: 458px;

        @media (max-width: 1080px) {
            margin-top: 248px;
            flex: 1;
            align-self: start;
            height: 100%;
        }

        @media (max-width: 722px) {
            margin-top: 231px;
            margin-right: 52px;
            margin-bottom: 35px;
            flex: auto;
        }

        .main_pi_first_small_pic_container {
            @media (max-width: 1080px) {
                overflow: hidden;
                height: calc(100% - 313px);
            }

            @media (max-width: 722px) {
                height: unset;
            }
        }

        img {
            width: 100%;
        }
    }


    .main_pi_second_small_pic {
        margin: 56px 40px;
        align-self: end;

        @media (max-width: 1080px) {
            margin: 0px 12px;
            flex: 1;
        }

        @media (max-width: 722px) {
            margin: 0;
            margin-right: 8px;
            flex: auto;
        }

        img {
            width: 100%;
        }
    }
}

.main_pi_large_pic {
    align-self: end;
    flex: 5;

    img {
        width: 100%;
    }
}

.secondary_pi_text {
    width: 413px;
    align-self: end;
    padding-bottom: 11px;
    padding-left: 35px;
    margin-left: auto;

    @media (max-width: 1080px) {
        width: 354px;
        padding-bottom: 0px;
        padding-left: 44px;
    }

    @media (max-width: 722px) {
        width: 211px;
        padding-top: 10px;
    }
}

.secondary_pi_container {
    margin-right: 223px;
    padding-left: 223px;
    padding-bottom: 180px;
    max-width: 930px;

    @media (max-width: 1080px) {
        margin-right: 97px;
        padding-left: 97px;
        padding-bottom: 104px;
        max-width: 574px;
    }

    @media (max-width: 722px) {
        margin-right: 0px;
        padding-left: 140px;
        padding-bottom: 88px;
        max-width: 256px;
    }

    @media (max-width: 400px) {
        margin-right: 60px;
        padding-left: 60px;
    }
}

.secondary_pi_info {
    position: relative;
    max-width: 930px;
}

.secondary_pi_title {
    text-wrap: nowrap;

    @media (max-width: 722px) {
        font-size: 26px;
        line-height: 30px;
    }
}

.secondary_pi_second_row {
    display: flex;
    flex-wrap: wrap;
}

.letter_button_container {
    width: 160px;
    height: 160px;
    position: absolute;
    top: -126px;
    right: -98px;

    @media (max-width: 1080px) {
        width: 130px;
        height: 130px;
        top: -86px;
        right: -69px;
    }

    @media (max-width: 722px) {
        width: 122px;
        height: 122px;
        top: -94px;
        right: -87px;
    }

    .letter_button_text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        text-wrap: nowrap;
        align-items: end;
    }

    .letter_button_icon {
        margin-left: 8px;
        width: 16px;

        @media (max-width: 1080px) {
            margin-left: 4px;
            width: 14px;
        }

        @media (max-width: 722px) {
            margin-left: 4px;
            width: 12px;
        }
    }
}

.letter_button {
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;

    .circle_svg {
        transform: rotate(180deg);
        width: 100%;
        height: 100%;
    }
}

.appointment_img_tab {
    @media (max-width: 1080px) {
        height: 468px;
        object-fit: cover;
    }
}

.appointment_img_mob {
    @media (min-width: 375px) {
        height: 448px;
        object-fit: cover;
    }
}

.appointment {
    width: 100%;
    color: var(--color-white);
    position: relative;

    @media (max-width: 722px) {
        justify-content: center;
        display: flex;
        align-items: center;
    }

    img {
        width: 100%;
    }
}


.appointment_text_block {
    color: var(--color-white);
    position: absolute;
    left: 120px;
    bottom: 159px;

    @media (max-width: 1130px) {
        bottom: 130px;
    }

    @media (max-width: 1080px) {
        left: 24px;
        bottom: 145px;
    }

    @media (max-width: 722px) {
        left: 0px;
        width: 100%;
        height: 117px;
        bottom: 216px;
        text-align: center;
        font-size: 36px;
        line-height: 40px;
    }
}

.appointment_text {
    @media (max-width: 722px) {
        height: 117px;
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

.appointment_button_block {
    @media (max-width: 722px) {
        width: 100%;
        display: flex;
        position: absolute;
        bottom: 32px;
    }
}

.appointment_button {
    height: 49px;
    width: 189px;
    background-color: transparent;
    border-width: 1px;
    border-style: solid;
    border-color: var(--color-white);
    border-radius: 5px;
    color: var(--color-white);
    position: absolute;
    text-align: center;
    left: 120px;
    bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 1080px) {
        width: 190px;
        font-size: 16px;
        line-height: 21px;
        left: 24px;
        bottom: 40px;
    }

    @media (max-width: 722px) {
        position: initial;
        width: 343px;
        height: 41px;
        font-size: 14px;
        line-height: 18.48px;
        flex: 1;
        margin: 0px 16px;
    }

    &:hover {
        background-color: var(--color-blue);
        color: var(--color-black);
    }
}

button:active {
    background-color: var(--color-blue);
    color: var(--color-black);
}

button:disabled {
    background-color: rgba(146, 146, 146, 1);
    color: var(--color-black);

    @media (max-width: 1080px) {
        background-color: var(--color-black);
        color: var(--color-white);
    }
}

.footer {
    display: flex;
    margin: 0px auto;

    @media (max-width: 750px) {
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
    }

    .footer_menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-top: 100px;
        align-items: center;

        @media (max-width: 750px) {
            padding-top: 12px;
            padding-bottom: 0px;
        }

        @media (max-width: 440px) {
            padding-top: 8px;
        }
    }

    .footer_left_menu {
        margin-right: 50px;
        width: 345px;

        @media (max-width: 750px) {
            margin-right: 0px;
        }

        @media (max-width: 440px) {
            width: 320px;
        }
    }

    .footer_right_menu {
        width: 285px;
    }
}

.footer_img {
    width: 100%;
    z-index: -1;
}

footer {
    position: relative;
    display: flex;

    footer-component {
        position: absolute;
        bottom: 0px;
        left: 0px;

        .footer .menu_item {
            color: var(--color-white);
        }
    }

    .footer_logo {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

footer-component {

    width: 100%;
    display: flex;
    flex-direction: column;

    .footer .menu_item {
        cursor: pointer;

        &:hover {
            color: var(--color-blue);
        }
    }

    @media (max-width: 440px) {
        .web_navigation {
            font-size: 14px;
        }
    }
}

.privacy_policy {
    display: flex;
    padding-top: 20px;
    padding-bottom: 62px;

    @media (max-width: 750px) {
        padding-top: 12px;
        padding-bottom: 22px;
    }

    @media (max-width: 440px) {
        padding-top: 8px;
    }

    .footer_left_menu {
        justify-content: end;
        display: flex;
        width: unset;
    }

    .footer_right_menu {
        width: unset;

        @media (max-width: 750px) {
            padding-top: 12px;
        }

        @media (max-width: 440px) {
            padding-top: 8px;
        }
    }
}

.blur_info_card {
    opacity: 0.5;
}

.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 20;
    background-color: var(--color-grey);
    display: flex;

    .preloader_inner {
        flex: 1;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    img {
        width: 100%;
    }

    .preloader_percents {
        padding: 7%;
        position: absolute;
        bottom: 0;
        z-index: 21;

    }

    .web_h1 {
        color: var(--color-blue);
    }
}

.preloader_hide {
    display: none
}

.cookie_banner {
    position: fixed;
    bottom: 0;
    display: none;
    background-color: var(--color-grey);
    z-index: 10;
    padding: 24px 120px;
    border: 1px var(--color-grey) solid;
    align-items: center;

    @media (max-width: 1080px) {
        padding-right: 24px;
        padding-left: 24px;
    }

    @media (max-width: 767px) {
        padding: 16px;
        flex-direction: column;
    }

    .accept_ccokie_button {
        height: 49px;
        width: 189px;
        background-color: transparent;
        border-width: 1px;
        border-style: solid;
        border-color: var(--color-blue);
        border-radius: 5px;
        text-align: center;
        color: var(--color-black);
        margin-left: 24px;
        padding: 0px 16px;

        &:hover {
            background-color: var(--color-blue);
            color: var(--color-black);
        }

        @media (max-width: 767px) {
            margin-top: 8px;
            margin-left: 0px;
            width: 100%;
        }
    }

    a {
        text-decoration: underline;
        text-decoration-thickness: 1px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-window {
    background: white;
    padding: 16px;
    width: 90%;
    max-width: 700px;
    height: 90%;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.modal-hidden .modal-window {
    transform: translateY(-20px);
}

.modal-close {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    position: absolute;
    top: 12px;
    right: 28px;
    cursor: pointer;
    z-index: 2;

    img {
        width: 56px;

        @media (max-width: 722px) {
            width: 48px;
        }
    }
}

.modal-window iframe {
    flex: 1;
    width: 100%;
    border: none;
}