* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
h2, h3 {
    scroll-margin-top: 102px
}
#get_in_touch_block {
    scroll-margin-top: 162px
}
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
a {
    text-decoration: none;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
input, textarea {
    font-family: Roboto, sans-serif;
}
h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--h1-font-weight);
    line-height: 100%;
    margin-bottom: 10px;
    color: var(--h1-primary-color);
}
h2 {
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: 100%;
    margin-bottom: 50px;
    color: var(--h2-primary-color);
}
.edit-mode-enabled [gh-id]:hover {
    box-shadow: 0 0 3px #2b60fa;
}
.accent-color {
    color: var(--accent-color);
}
.accent-background {
    background-color: var(--accent-color);
}
section {
    padding: 100px 178px;
}
.flex-wrapper {
    display: flex;
}
.main-subtitle {
    font-size: var(--h1-subtitle-font-size);
    line-height: 140%;
    color: var(--subtitle-color);
}
.subtitle {
    font-size: var(--h2-subtitle-font-size);
    line-height: 140%;
    margin-bottom: 40px;
    color: var(--subtitle-color);
}
.link {
    transition: 0.2s;
}
button, input, textarea {
    border: none;
    outline: none;
    appearance: none;
    font-family: Roboto, sans-serif;
}

.navigation_wrapper {
    display: none;
}
[be-slider] .navigation_wrapper {
    display: block;
}

.transparentBackground {
    background: transparent !important;
}

.btn {
    text-align: center;
    color: var(--button-primary-normal-font-color);
    /* border-radius: var(--button-primary-border-radius); */
    border-radius: 0;
    border: 1px solid;
    background-color: var(--button-primary-normal-fill-color);
    border-color: var(--button-primary-normal-border-color);
    padding: 16px 25px;
    cursor: pointer;
    font-weight: var(--button-primary-font-weight);
    transition: all .2s ease;
}
.btn svg path {
    transition: all .2s ease;
}
.btn:hover {
    color: var(--button-primary-hover-font-color);
    background-color: var(--button-primary-hover-fill-color);
    border-color: var(--button-primary-hover-border-color);
}
.btn:hover svg path {
    fill: var(--button-primary-hover-font-color);
}
.btn.empty {
    color: var(--button-secondary-normal-font-color);
    border-radius: var(--button-secondary-border-radius);
    background-color: var(--button-secondary-normal-fill-color);
    border-color: var(--button-secondary-normal-border-color);
    font-weight: var(--button-secondary-font-weight);
}
.btn.empty:hover {
    color: var(--button-secondary-hover-font-color);
    background-color: var(--button-secondary-hover-fill-color);
    border-color: var(--button-secondary-hover-border-color);
}

section *::-webkit-scrollbar {
    width: 5px;
}
section *::-webkit-scrollbar-thumb {
    background: #2b60fa;
}
section *::-webkit-scrollbar-track {
    background: #fff;
}

get-in-touch-form {
    .get-in-touch-form {
        max-width: 620px !important;
        background-color: transparent !important;
        padding: 0 !important; 

        .success .overflow.success,
        .overflow {
            border-radius: 0 !important;
            width: 101% !important;
            height: 101% !important;
            left: -2px !important;
        }

        form {
            margin-right: 0 !important;
            background-color: transparent;

            .form_wrap {
                flex-direction: column;
            }

            .input-wrap {
                padding: 0 !important;
                width: 100%;
            }

            input {
                padding: 19px 16px !important;
                height: auto !important;
                font-size: var(--form-text-font-size) !important;
                margin-bottom: 20px !important;
            }

            textarea {
                max-height: 120px;
                font-size: var(--form-text-font-size) !important;
            }

            textarea::placeholder {
                font-size: var(--form-text-font-size) !important;
            }

            .btn_wrapper {
                padding: 0 !important;

                .btn {
                    width: 100%;
                }
            }

            span {
                bottom: 2px !important; 
            }
        }
    }
}

.popup {
    max-width: 600px;
    border-radius: 10px;

    get-in-touch-form  {

        .get-in-touch-form {

            .like_title {
                font-size: 38px;
            }

            .subtitle {
                color: black;
            }
 
            form input {
                padding: 15px !important;
            }
        }
    }

    .popup_top {
        margin-bottom: 0;
    }

    .child-container {
        padding: 20px;
    }
}

@media screen and (max-width: 1400px) {
    section {
        padding: 50px 30px;
    }
}

@media screen and (max-width: 450px) {
    popup-container.active .popup {
        margin-top: 100px !important; 
    }
}

@media screen and (max-width: 1024px) {
    section {

        h1 {
            font-size: clamp(42px, 12vw, 70px);
        }

        h2 {
            font-size: clamp(32px, 9vw, 50px);
        }

        p {
            font-size: clamp(18px, 5vw, 20px) !important;
        }

        .main-subtitle {
            font-size: clamp(18px, 5vw, 23px);
        }
    }
}