/*---RESET---*/
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
.post,
.page,
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
    margin: 0;
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

a:visited {
    color: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*---RESET---*/
:root {
    --white: #fff;
    --grey-50: #fafafa;
    --grey-100: #f2f2f2;
    --grey-200: #e4e4e4;
    --grey-300: #d6d6d6;
    --grey-400: #c5c5c5;
    --grey-500: #b4b4b4;
    --grey-600: #919191;
    --grey-700: #767676;
    --grey-800: #5a5a5a;
    --grey-900: #454545;
    --black: #222;
    --blue: #9bb7d4;
    /*--font-family: "Schibsted Grotesk", sans-serif;*/
    /*--font-family: "BalooBhaina2", sans-serif;*/
    --font-family: "Comfortaa", sans-serif;
    --second-family: "Hanken Grotesk", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--second-family);
    color: var(--grey-900);
    font-style: normal;
    text-decoration: none;
    outline: none;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
}

body {
    background-color: #fff;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}

.container {
    max-width: 1270px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.main-btn,
.main-btn:visited {
    display: block;
    border-radius: 8px;
    padding: 16px;
    min-height: 56px;
    background: var(--blue);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: var(--white);
    transition: .3s;
    width: fit-content;
}

.main-btn:hover,
.main-btn:focus {
    background: var(--grey-700);
    color: var(--white);
}

.main-btn-light,
.main-btn-light:visited {
    background: var(--white);
    color: var(--black);
}

.main-btn-light:hover,
.main-btn-light:focus {
    background: var(--grey-700);
    color: var(--white);
}

.main-title,
.main-title span {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.06em;
    color: var(--grey-700);
    word-wrap: break-word;
}

.main-title span {
    color: var(--black);
}


/*---DROPDOWN---*/
.dropdown-container {
    position: relative;
    display: inline-block;
    text-align: left;
    margin-left: auto;
}

.dropdown-label {
    display: block;
}

.select-dropdown-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    padding: 8px 0;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    background: transparent;
    border: none;
    transition: .3s;
}

.select-dropdown-button:hover,
.select-dropdown-button:focus {
    border-color: var(--grey-700);
    transition: .3s;
}

.select-dropdown-button:hover .selected-value,
.select-dropdown-button:focus .selected-value {
    color: var(--grey-700);
}

.select-dropdown-button:hover svg,
.select-dropdown-button:focus svg {
    transform: rotate(-90deg);
    transition: .3s;
}

.select-dropdown-button svg path {
    transition: .3s;
}

.select-dropdown-button:hover svg path,
.select-dropdown-button:focus svg path {
    fill: #606060;
    transition: .3s;
}

.select-dropdown-button .selected-value {
    flex-grow: 1;
    text-align: left;
    text-transform: uppercase;
    color: var(--grey-900);
    transition: .3s;
}

.select-dropdown-button svg {
    margin-left: 0.5rem;
    height: 16px;
    width: 16px;
    transition: .3s;
}

.select-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 8px;
    background-color: var(--blue);
    outline: none;
    z-index: 10;
    opacity: 0;
    transform: scale(0.9);
    transform-origin: top left;
    visibility: hidden;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear 0.2s;
}

.select-dropdown-content.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear;
}

.select-dropdown-content ul {
    list-style: none;
}

.select-dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    color: var(--grey-900);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.select-dropdown-content .current-lang a,
.select-dropdown-content .select-option:hover,
.select-dropdown-content .lang-item:hover a {
    color: var(--white);
}


.site-menu .dropdown-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
}

.site-menu .dropdown-container .select-dropdown-button {
    padding: 0;
}

.site-menu .dropdown-container .select-dropdown-content {
    position: unset;
    width: fit-content;
}

.site-menu .dropdown-container .select-dropdown-content ul {
    display: flex;
    margin: 0;
}

.site-menu .dropdown-container .select-dropdown-content ul li {
    margin: 0;
}

/*---DROPDOWN---*/

header {
    padding: 40px 0;
}

header .container {
    max-width: 1360px;
}

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

header .site-branding .site-branding__link {
    display: flex;
    align-items: center;
}

header .site-branding .site-branding__link img {
    width: 50px;
}

header .site-branding .site-branding__link span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: var(--black);
}

/* затемнение */
.burger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

/* меню */
.burger {
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.burger svg {
    height: 13px;
    width: 17px;
}

.burger-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    transition: .3s;
    z-index: 1002;
    padding: 50px 20px 20px;
}

.burger-menu.active {
    right: 0;
}

.burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

.burger-close {
    background: none;
    border: none;
    font-size: 25px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 15px;
    right: 15px;
}

.burger-menu .menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 50px;
}

.burger-menu .menu li a {
    color: var(--grey-900);
    display: block;
    padding: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
    transition: .3s;
}

.burger-menu .menu li a:hover {
    color: var(--grey-700);
}

footer {
    padding: 80px 0 32px;
    background: var(--grey-900);
}

footer .subscribe-form {
    padding-bottom: 80px;
    border-bottom: 1px solid var(--grey-700);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

footer .subscribe-form .description {
    max-width: 570px;
    width: 75%;
    font-weight: 400;
    font-size: 30px;
    line-height: 120%;
    color: var(--grey-400);
}

footer .subscribe-form .description b {
    font-weight: 700;
    color: var(--white);
    font-size: inherit;
}

footer .subscribe-form a {
    width: 48px;
    height: 48px;
}

.footer-menu {
    display: flex;
    align-items: stretch;
    gap: 60px 80px;
    width: 100%;
    padding: 80px 0;
    border-bottom: 1px solid var(--grey-700);
}

.footer-menu .footer_logo {
    width: 150px;
    height: 150px;
}

.footer-menu .menu-main-menu-en-container,
.footer-menu .menu-main-menu-ua-container,
.footer-menu .menu-main-menu-nl-container {
    margin-left: auto;
}

.footer-menu .footer-main-menu,
.footer-menu .address {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-menu .footer-main-menu a,
.footer-menu .address a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px;
    line-height: 120%;
    color: var(--grey-300);
    transition: .3s;
}

.footer-menu .footer-main-menu li:hover a,
.footer-menu .address li:hover a {
    color: var(--white);
}

.footer-menu .address {
    justify-content: space-between;
    max-width: 282px;
}

.copyright {
    padding-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.copyright p {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: var(--grey-600);
}

#popmake-834 form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#popmake-834 {
    background-color: #fff;
    padding: 35px;
    border-radius: 16px;
    max-width: 90%;
}

#popmake-834 form input:not([type="submit"]),
#popmake-834 form textarea {
    padding: 8px 16px;
    height: 72px;
    border: 1px solid var(--black);
    border-radius: 0;
    color: var(--black);
    width: 100%;
}

#popmake-834 form textarea {
    height: 200px;
}

#popmake-834 form input::placeholder,
#popmake-834 form textarea::placeholder {
    color: var(--grey-700);
}

#popmake-834 form input[type="submit"] {
    display: block;
    border-radius: 8px;
    border: 0;
    padding: 16px 24px;
    height: 56px;
    background: var(--blue);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 160%;
    text-align: center;
    color: var(--white);
    transition: .3s;
    width: fit-content;
    cursor: pointer;
    margin: 0 auto;
}

#popmake-834 form input[type="submit"]:hover {
    background: var(--grey-700);
    color: var(--white);
}

#popmake-834 form .wpcf7-spinner {
    display: none;
}

@media screen and (max-width: 992px) {
    .footer-menu {
        gap: 60px 10px;
        flex-wrap: wrap;
    }

    .footer-menu .footer_logo {
        width: 100%;
    }

    .footer-menu .menu-main-menu-en-container,
    .footer-menu .menu-main-menu-ua-container,
    .footer-menu .menu-main-menu-nl-container {
        margin-left: unset;
    }

    .footer-menu .menu-main-menu-en-container,
    .footer-menu .menu-main-menu-ua-container,
    .footer-menu .menu-main-menu-nl-container,
    .footer-menu .menu-social-en-container,
    .footer-menu .menu-social-ua-container,
    .footer-menu .menu-social-nl-container
    .footer-menu .address {
        max-width: calc(50% - 161px);
        width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .main-title,
    .main-title span {
        font-size: 40px;
        letter-spacing: -0.05em;
    }

    .main-description {
        font-size: 18px;
    }

    header {
        padding: 25px 0;
    }


    .burger {
        padding: 5px 10px;
    }

    .burger svg {
        height: 16px;
        width: 21px;
    }

    .burger span {
        display: none;
    }

    footer {
        padding: 40px 0;
    }

    footer .subscribe-form {
        flex-direction: column;
    }

    footer .subscribe-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-menu h2,
    .footer-menu h2 span {
        font-size: 40px;
        letter-spacing: -0.05em;
    }

    .footer-menu .menu-main-menu-en-container,
    .footer-menu .menu-main-menu-ua-container,
    .footer-menu .menu-main-menu-nl-container,
    .footer-menu .menu-social-en-container,
    .footer-menu .menu-social-ua-container,
    .footer-menu .menu-social-nl-container
    .footer-menu .address {
        max-width: calc(50% - 5px);
    }

    .footer-menu .address {
        max-width: 100%;
    }

    #popmake-834 form input:not([type="submit"]),
    #popmake-834 form textarea {
        padding: 8px;
        height: 48px;
        font-size: 16px;
    }
}