:root {
    --base64-check-mark: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3e%3cpath fill='%23fff' d='M11.025 0.399805C10.725 0.0998047 10.275 0.0998047 9.975 0.399805L4.35 6.02481L2.025 3.69981C1.725 3.39981 1.275 3.39981 0.975 3.69981C0.675 3.99981 0.675 4.44981 0.975 4.74981L3.825 7.5998C3.975 7.7498 4.125 7.82481 4.35 7.82481C4.575 7.82481 4.725 7.7498 4.875 7.5998L11.025 1.44981C11.325 1.14981 11.325 0.699805 11.025 0.399805Z'/%3e%3c/svg%3e");

    --color-accent: #AF8668;

    --color-main: #171D21;
    --color-main_7A: #171D217A;
    --color-main_1F: #171D211F;

    --color-description: #909394;
    --color-description-two: var(--color-main_7A);

    --color-alternative: #FFFFFF;
    --color-alternative-two: #F6F5F4;

    --color-border: var(--color-main_1F);
    --color-border-two: #FFFFFF1F;

    --mlr: calc((100% - 1360px) / 2);
    --m_mlr: 16px;
    --mb: 80px;

    --slider-mlr: 20px;
    --slider-cp: 20px;

    --transition-delay: .2s;
}

* {
    font-family: 'Aeonik Pro Regular';
    box-sizing: border-box;
    outline: none;
}

::-webkit-scrollbar-button {
    background-image: none;
    background-repeat: no-repeat;
    width: 12px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background-color: var(--color-alternative);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
    border-radius: 0px;
    -webkit-border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-accent);
}

::-webkit-resizer {
    background-image: none;
    background-repeat: no-repeat;
    width: 12px;
    height: 0px;
}

::-webkit-scrollbar {
    width: 12px;
}

body *::-webkit-scrollbar,
body *::-webkit-scrollbar-button {width: 4px;}

body *::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb:hover {background-color: var(--color-alternative-two);}

.hide-scroll {
    scrollbar-width: none;
}

.hide-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

:target {scroll-margin-top: calc(var(--size-header) + 16px);}

.hidden {display: none !important;}

.o_h {overflow: hidden;}
.oy_s {overflow-y: scroll;}

body {
    min-height: 100vh;
    margin: 0;
}

img {max-width: 100%;}
h1, h2, h3 {font-weight: normal;}
h1, h2, h3, p {margin: 0;}
iframe {display: block; width: 100%; border: none;}

object .contact-button {
    width: 100%;
}

/* Default slider */
.sldr {
    display: grid;
    overflow: hidden;
}

.sldr .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.sldr.s_mlr > .slick-list {
    margin-left: calc(var(--slider-mlr) / 2 * -1);
    margin-right: calc(var(--slider-mlr) / 2 * -1);
}

.sldr.s_mlr > .slick-list > .slick-track > .slick-slide {
    margin: 0 calc(var(--slider-mlr) / 2);
}

/* Smart initialization */
.sldr.s-si:not(.slick-initialized) > .wrapper-item,
.sldr.s-si:not(.slick-initialized) > .item {display: none !important;}
.sldr.s-si:not(.slick-initialized) > .wrapper-item:first-child,
.sldr.s-si:not(.slick-initialized) > .item:first-child {display: grid !important;}

.sldr.s-si:not(.slick-initialized) {
    column-gap: var(--slider-mlr);
}

.sldr.s-cp:not(.slick-initialized) > .item,
.sldr.s-cp:not(.slick-initialized) > .wrapper-item {
    margin-left: var(--slider-cp);
    margin-right: var(--slider-cp);
}

.slick-initialized .slick-slide {
    display: grid;
}

[class*="slider-arrows"] {
    display: grid;
    column-gap: 8px;
}

[class*="slider-arrows"] .slick-arrow {
    color: var(--color-accent);
    display: grid;
    align-content: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

[class*="slider-arrows"].sa-alt .slick-arrow {
    color: var(--color-alternative);
}

[class*="slider-arrows"] .slick-arrow:not(.slick-disabled) {
    cursor: pointer;
}

[class*="slider-arrows"] .slick-arrow .icon {
    width: 20px;
    height: 20px;
}

[class*="slider-arrows"] .prev-arrow .icon {
    transform: rotate(180deg);
}

/* [class*="slider-arrows"] .next-arrow .icon {
    transform: rotate(-90deg);
} */

[class*="slider-arrows"] .slick-arrow.slick-disabled {
    color: var(--color-description-two);
    cursor: not-allowed;
}

[class*="slider-arrows"] .slick-arrow:not(.slick-disabled):hover {color: var(--color-accent);}
.bc_accent [class*="slider-arrows"] .slick-arrow:not(.slick-disabled):hover {color: var(--color-alternative);}

[class*="slider-arrows"].sa-small .slick-arrow {
    width: 36px;
    height: 36px;
}

[class*="slider-dots"] ul {
    list-style-type: none;
    display: grid;
    grid-auto-columns: auto;
    justify-content: center;
    grid-auto-flow: column;
    column-gap: 8px;
    margin: auto;
    padding: 0;
}

[class*="slider-dots"] li {
    width: 6px;
    height: 6px;
}

[class*="slider-dots"] li button {
    background-color: var(--color-accent);
    font-size: 0;
    line-height: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    opacity: .4;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity var(--transition-delay);
}

.bc_accent [class*="slider-dots"] li button {background-color: var(--color-alternative);}

[class*="slider-dots"] li.slick-active button {
    opacity: 1;
}

[class*="slider-dots"] li.slick-active:first-child:last-child {
    display: none;
}



[class*="slider-dots"].sd-short li:not(.active) {
    display: none;
}

[class*="slider-dots"].sd-short li.slick-active {
    display: block;
}

[class*="slider-dots"].sd-short li.active + li:not(.active) {
    display: block;
}

[class*="slider-dots"].sd-short li.active + li:not(.active) button {
    background-image: url('/images/icons/three-dots-gray.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 24px;
    font-size: 0;
}



/* Global margin */
.mlr,
.ml {margin-left: var(--mlr);}

.mlr,
.mr {margin-right: var(--mlr);}

.m_24 {margin: 24px;}
.m_2 {margin: 2px;}

.mtb_40 {margin-top: 40px; margin-bottom: 40px;}

.mt {margin-top: var(--mb);}
.mt_64 {margin-top: 64px;}
.mt_48 {margin-top: 48px;}
.mt_32 {margin-top: 32px;}
.mt_24 {margin-top: 24px;}
.mt_20 {margin-top: 20px;}
.mt_16 {margin-top: 16px;}
.mt_12 {margin-top: 12px;}
.mt_8 {margin-top: 8px;}

.mr_12 {margin-right: 12px;}

.mb {margin-bottom: var(--mb);}
.mb_100 {margin-bottom: 100px;}
.mb_64 {margin-bottom: 64px;}
.mb_56 {margin-bottom: 56px;}
.mb_48 {margin-bottom: 48px;}
.mb_40 {margin-bottom: 40px;}
.mb_32 {margin-bottom: 32px;}
.mb_24 {margin-bottom: 24px;}
.mb_20 {margin-bottom: 20px;}
.mb_16 {margin-bottom: 16px;}
.mb_12 {margin-bottom: 12px;}
.mb_8 {margin-bottom: 8px;}

.ml_12 {margin-left: 12px;}

/* Global padding */
.plr {padding-left: var(--mlr); padding-right: var(--mlr);}

.p_48 {padding: 48px;}
.p_40 {padding: 40px;}
.p_32 {padding: 32px;}
.p_24 {padding: 24px;}
.p_20 {padding: 20px;}
.p_16 {padding: 16px;}
.p_14 {padding: 14px;}
.p_12 {padding: 12px;}
.p_2 {padding: 2px;}

.ptb, .pt {padding-top: var(--mb);}
.ptb, .pb {padding-bottom: var(--mb);}

.ptb_48 {padding-top: 48px; padding-bottom: 48px;}
.ptb_40 {padding-top: 40px; padding-bottom: 40px;}
.ptb_32 {padding-top: 32px; padding-bottom: 32px;}
.ptb_24 {padding-top: 24px; padding-bottom: 24px;}
.ptb_20 {padding-top: 20px; padding-bottom: 20px;}
.ptb_16 {padding-top: 16px; padding-bottom: 16px;}
.ptb_12 {padding-top: 12px; padding-bottom: 12px;}
.ptb_8 {padding-top: 8px; padding-bottom: 8px;}

.plr_32 {padding-left: 32px; padding-right: 32px;}
.plr_24 {padding-left: 24px; padding-right: 24px;}
.plr_16 {padding-left: 16px; padding-right: 16px;}

.pt_60 {padding-top: 60px;}
.pt_48 {padding-top: 48px;}
.pt_16 {padding-top: 16px;}
.pt_8 {padding-top: 8px;}

.pb_48 {padding-bottom: 48px;}
.pb_24 {padding-bottom: 24px;}
.pb_16 {padding-bottom: 16px;}

/* Contact button */
.contact-button {
    background-color: var(--color-accent);
    color: var(--color-alternative);
    font-size: 16px;
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    min-width: 64px;
    height: 48px;
    padding: 0 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color var(--transition-delay), color var(--transition-delay), border-color var(--transition-delay);
}

.contact-button,
a.contact-button {
    line-height: 48px;
}

.contact-button.cb-short,
a.contact-button.cb-short {
    line-height: 32px;
    height: 32px;
    padding: 0 12px;
}

.contact-button:not([disabled]):not(.no-hover):hover {
    background-color: var(--color-main);
    color: var(--color-alternative);
}

.contact-button.cb-two {
    background-color: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
}

.contact-button.cb-two.tab-button-item:not(.active) {
    color: var(--color-main);
    border-color: transparent;
}

.contact-button.cb-two:not([disabled]):not(.no-hover):hover {
    background-color: var(--color-main);
    color: var(--color-alternative);
    border-color: var(--color-main);
}

/* Default text */
a,
.link {
    color: var(--color-main);
    font-size: 16px;
    line-height: 100%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

a,
a span,
a .icon {
    transition: color var(--transition-delay);
}

a:not(.no-hover):hover,
a:not(.no-hover):hover span:not(.no-hover),
a:not(.no-hover):hover .icon:not(.no-hover) {
    color: var(--color-accent);
}

a .wrapper-icon:not(.no-hover) {transition: background-color var(--transition-delay), border-color var(--transition-delay);}

a:not(.no-hover):hover .wrapper-icon:not(.no-hover).border-accent {border-color: var(--color-alternative);}
a:not(.no-hover):hover .wrapper-icon:not(.no-hover) .icon {color: var(--color-alternative);}

.title,
.subtitle,
.name,
.caption,
.text {
    color: var(--color-main);
}

.title,
.subtitle,
.name,
.caption,
.description {
    line-height: 115%;
}

.bold,
.text.bold {
    font-weight: 600;
}

.title,
.subtitle,
.name,
.caption,
.text,
.description,
.normal {
    font-weight: 400;
}

.title {font-size: 64px;}
.subtitle {font-size: 48px;}
.name {font-size: 24px;}

.caption {font-size: 24px;}

.text,
.description {
    font-size: 16px;
}

.text {
    line-height: 150%;
}

.description {
    color: var(--color-description);
}

.c-main_7A {color: var(--color-main_7A);}

.c-accent {color: var(--color-accent);}

.c-alt {color: var(--color-alternative);}

.c-d {color: var(--color-description);}
.c-d-two {color: var(--color-description-two);}

.nowrap {
    white-space: nowrap;
}

.fs_32 {font-size: 32px;}
.fs_28 {font-size: 28px;}
.fs_24 {font-size: 24px;}
.fs_20 {font-size: 20px;}
.fs_16 {font-size: 16px;}
.fs_14 {font-size: 14px;}
.fs_12 {font-size: 12px;}

.lh_24 {line-height: 24px;}
.lh_90p {line-height: 90%;}

.ta_s {text-align: start;}
.ta_c {text-align: center;}

.tt_u {text-transform: uppercase;}

.td_lt {text-decoration: line-through;}

.ebGaramond {
    font-family: 'EB Garamond';
    font-weight: 400;
}

.title .ebGaramond {
    font-size: 74px;
    line-height: 70%;
}

/* Text big */
.wrapper-text-big {
    --letter-size: 24px;
}

.wrapper-text-big,
.wrapper-text-big.short .text {
    max-height: calc(var(--letter-size) * 3);
}

.wrapper-text-big.mh_12,
.wrapper-text-big.mh_12.short .text {
    max-height: calc(var(--letter-size) * 10);
}

.wrapper-text-big {
    overflow: hidden;
}

.wrapper-text-big.short {
    position: relative;
    transition: all 2s;
}

.wrapper-text-big.short .text {
    padding-right: 4px;
    padding-bottom: var(--letter-size);
    overflow-y: scroll;
}

.wrapper-text-big.short .text::-webkit-scrollbar {width: 4px;}
.wrapper-text-big.short .text::-webkit-scrollbar-button {width: 4px;}

.wrapper-text-big.short .text::-webkit-scrollbar-thumb,
.wrapper-text-big.short .text::-webkit-scrollbar-thumb:hover {background-color: var(--color-accent);}

.wrapper-text-big.short::after,
.wrapper-text-big.short::before {
    content: '';
    position: absolute;
    right: 0;
}

.wrapper-text-big.short::after {
    background: linear-gradient(180deg, transparent, var(--color-alternative-two));
    bottom: 0;
    width: 100%;
    height: var(--letter-size);
}

.wrapper-text-big.short::before {
    background-color: var(--color-alternative-two);
    width: 4px;
    height: 100%;
    transition: background-color var(--transition-delay);
}

.wrapper-text-big.short:hover::before {background-color: transparent;}

/* Default image */
.image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.image.bs_ctn {background-size: contain;}
.image.bs_ctn_h {background-size: auto 100%;}

.image.bpy_t {background-position-y: top;}

.wrapper-icon.s_64, .image.s_64 {width: 64px; height: 64px;}
.wrapper-icon.s_48 {width: 48px; height: 48px;}
.wrapper-icon.s_40 {width: 40px; height: 40px;}
.wrapper-icon.s_32, .image.s_32, .icon.s_32 {width: 32px; height: 32px;}
.icon.s_16 {width: 16px; height: 16px;}

.image.h_400 {height: 400px;}

/* image-lazy */
.observer {background: none !important;}

/* Default icon */
.icon {
    width: 24px;
    height: 24px;
    transition: color var(--transition-delay);
}

.icon {fill: currentColor;}

/* Default grid */
.grid {
    display: grid;
    grid-auto-flow: column;
    gap: 24px;
}

.gaf_r {grid-auto-flow: row;}
.gaf_u {grid-auto-flow: unset;}

.grid > .line {background-color: var(--color-border);}
.grid > .line.l-two {background-color: var(--color-border-two);}

.grid > .line {width: 1px; height: 100%;}
.grid.gaf_r > .line {width: 100%; height: 1px;}

.ac_s {align-content: start;}
.ac_c {align-content: center;}
.ac_e {align-content: end;}
.ac_sb {align-content: space-between;}

.ai_s {align-items: start;}
.ai_c {align-items: center;}
.ai_e {align-items: end;}

.as_s {align-self: start;}
.as_c {align-self: center;}
.as_e {align-self: end;}

.jc_s {justify-content: start;}
.jc_c {justify-content: center;}
.jc_e {justify-content: end;}
.jc_sb {justify-content: space-between;}

.ji_s {justify-items: start;}
.ji_c {justify-items: center;}
.ji_e {justify-items: end;}

.js_s {justify-self: start;}
.js_c {justify-self: center;}
.js_e {justify-self: end;}

.gtc_8a {grid-template-columns: repeat(8, auto);}
.gtc_4 {grid-template-columns: repeat(4, 1fr);}
.gtc_3 {grid-template-columns: repeat(3, 1fr);}
.gtc_2 {grid-template-columns: repeat(2, 1fr);}

.gtc_1a1 {grid-template-columns: 1fr auto 1fr;}
.gtc_1a {grid-template-columns: 1fr auto;}

.g_160 {gap: 160px;}
.g_64 {gap: 64px;}
.g_60 {gap: 60px;}
.g_56 {gap: 56px;}
.g_48 {gap: 48px;}
.g_40 {gap: 40px;}
.g_32 {gap: 32px;}
.g_20 {gap: 20px;}
.g_16 {gap: 16px;}
.g_12 {gap: 12px;}
.g_8 {gap: 8px;}
.g_4 {gap: 4px;}
.g_2 {gap: 2px;}
.g_0 {gap: 0;}

.fw {
    display: flex;
    flex-wrap: wrap;
}

/* Default block */
.bc_accent {background-color: var(--color-accent);}

.bc_main {background-color: var(--color-main);}

.bc_description {background-color: var(--color-description);}

.bc_alt {background-color: var(--color-alternative);}
.bc_alt-two {background-color: var(--color-alternative-two);}

/* Default border */
.border {border: 1px solid var(--color-border);}
.border-accent {border: 1px solid var(--color-accent);}

.br {border-radius: 50%;}

.br_50 {border-radius: 50px;}
.br_40 {border-radius: 40px;}
.br_32 {border-radius: 32px;}
.br_25 {border-radius: 25px;}
.br_24 {border-radius: 24px;}
.br_22 {border-radius: 22px;}
.br_20 {border-radius: 20px;}
.br_16 {border-radius: 16px;}
.br_12 {border-radius: 12px;}
.br_8 {border-radius: 8px;}
.br_4 {border-radius: 4px;}

/* Modal */
body.freeze {
    overflow-y: hidden;
}

.wrapper-modal {
    background-color: rgba(0, 0, 0, .4);
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 515;
}

.wrapper-modal .modal {
    background-color: var(--color-alternative);
    display: grid;
    grid-template-rows: auto 1fr;
    position: absolute;
    max-height: 100vh;
    margin: 1px;
    overflow-y: scroll;
    z-index: 520;
}

.wrapper-modal.m-one .modal {
    top: 40%;
    border-radius: 15px;
    transition: top .6s;
}

.wrapper-modal.m-two .modal {
    top: 0;
    right: -20%;
    bottom: 0;
    max-width: 660px;
    width: 100%;
    padding-right: 12px;
    transition: right .6s;
}

.wrapper-modal.m-one .modal.active {
    top: calc(50% + 12px);
}

.wrapper-modal.m-two .modal.active {
    right: 0;
}

.wrapper-modal .modal .close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.wrapper-modal .modal .close:hover {
    color: var(--color-accent);
}

/* Default form fields */
::placeholder {
    color: var(--color-main_7A);
}

input,
textarea,
button {
    background-color: transparent;
    display: block;
    border: none;
    border-radius: 0;
}

form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: auto;
}

form input,
form textarea {
    background-color: var(--color-alternative);
    font-size: 16px;
    color: var(--color-main);
    padding: 16px 20px;
    line-height: 100%;
    border: 1px solid var(--color-main_1F);
}

form textarea {
    resize: vertical;
    min-height: calc(16px * 4 + 32px);
    max-height: calc(24px * 7);
}

form input[name="first-name"],
form input[name="mail"] {
    display: none;
}

form .radio input {display: none;}

form .radio label {
    font-size: 14px;
	display: inline-block;
	position: relative;
	padding-left: calc(16px + 12px);
	margin-right: 0;
	line-height: 18px;
	cursor: pointer;
	user-select: none;
}
form .radio label:before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	position: absolute;
    top: 0;
	left: 0;
	border: 2px solid var(--color-description);
    border-radius: 50%;
    transition: border-color var(--transition-delay);
}

form .radio label:hover:before,
form .radio input:checked + label:before {
	border-color: var(--color-accent);
}

form .radio input:checked + label:before {
    background: radial-gradient(circle,
        var(--color-accent) 0,
        var(--color-accent) 3px,
        transparent 3px,
        transparent 100%
    );
}

form .wrapper-personal-data input[type="checkbox"] + label {
    line-height: 20px;
    display: inline-block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

form .wrapper-personal-data input[type='checkbox'] {
    position: absolute;
    left: -9999px;
}

form .wrapper-personal-data input[type="checkbox"] + label::before {
    content: "";
    background-color: var(--color-alternative);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    transition: background-color var(--transition-delay), background-image var(--transition-delay);
}

form .wrapper-personal-data input[type="checkbox"]:checked + label::before {
    background-color: var(--color-accent) !important;
    background-image: var(--base64-check-mark);
}

form .wrapper-personal-data input[type="checkbox"]:not(:checked) + label::before {
    border: 1px solid var(--color-main_1F);
}

form button {
    cursor: pointer;
    transition: filter var(--transition-delay);
}

form button[disabled] {
    filter: brightness(0.8);
    cursor: not-allowed;
}



/* Header */
header {
    --menu-button-size: 4px;
    --menu-button-height: 1px;
    position: fixed;
    top: 0px;
    width: 100%;
    height: var(--size-header);
    z-index: 510;
}

header .top,
header .guide {
    position: relative;
    z-index: 507;
}

header .top {
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--transition-delay), border-color var(--transition-delay) calc(var(--transition-delay) * 3);
}

header.scroll .top {
    background-color: var(--color-alternative);
    background-position-x: 100%;
    border-color: var(--color-main_1F);
}

header #wrapper-menu-button {
    width: 40px;
    height: 10px;
}

header #menu-button {
    position: relative;
    width: 40px;
    height: calc(var(--menu-button-height) * 3 + var(--menu-button-size) * 2);
    cursor: pointer;
}

header #menu-button > div {
    background-color: var(--color-main);
    position: relative;
    width: 100%;
    height: var(--menu-button-height);
    opacity: 1;
    transition: background-color var(--transition-delay), opacity var(--transition-delay), top calc(var(--transition-delay)), transform calc(var(--transition-delay) * 2);
}

header #menu-button > .item-1 {top: 0px;}
header #menu-button > .item-2 {top: calc(var(--menu-button-size) * 2);}

#menu-button.active > .item-1 {
    top: calc(var(--menu-button-size) + var(--menu-button-height));
    transform: rotate(135deg);
}

#menu-button.active > .item-2 {
    top: calc(var(--menu-button-size) - var(--menu-button-height));
    transform: rotate(45deg);
}

/* Block menu */
#menu,
.background-menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    min-height: 100%;
}

#menu {
    left: -100%;
    right: 100%;
    height: calc(100% - var(--size-header) - 16px);
    padding: calc(var(--size-header) + 24px) var(--m_mlr) 16px var(--mlr);
    overflow-y: scroll;
    z-index: 505;
    transition: left calc(var(--transition-delay) * 2), right calc(var(--transition-delay) * 2);
}

.background-menu {
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    z-index: 502;
    transition: all var(--transition-delay);
}

#menu .links {
    grid-auto-flow: row;
}

#menu .socials {
    justify-content: start;
}

body.freeze {
    overflow: hidden;
}

body.freeze header .top {
    border-color: var(--color-border);
    transition: border-color var(--transition-delay);
}

#menu.active {
    left: 0%;
    right: 0%;
}

#menu.active ~ .background-menu {
    opacity: 1;
    visibility: visible;
}

#menu-button.active > div {
    background-color: var(--color-accent);
}



/* Block welcome */
#welcome .bg-image {
    padding-top: calc(var(--size-header));
}

#welcome .ev-image {
    background-size: auto 100%;
    background-position: center bottom;
}

.block-tests {
    position: relative;
}

.block-tests .block-tests-slider-arrows {
    position: absolute;
    right: 20px;
    bottom: 22px;
}



/* Block work format */
#work_format .tab-buttons {
    overflow-y: scroll;
}

#work_format .tab-buttons::-webkit-scrollbar {
    display: none;
}

#work_format .item {
    height: 400px;
}



/* Block public activities */
#public_activities iframe {
    height: 400px;
}



/* Block reviews */
#reviews .block-text-reviews {
    height: 530px;
}

#reviews .sldr {
    width: 300px;
}

#reviews .sldr .block-video {
    border: 8px solid var(--color-border);
}

#reviews .sldr .block-video .vjs-matrix {
    position: relative;
    width: 300px;
    height: 530px;
}

#reviews .sldr .item .info {
    position: absolute;
    top: 12px;
}



/* Block videos */
/* .block-video .vjs-matrix {
    background-image: url('/images/iphone.svg');
} */

.block-video .vjs-matrix * {
    font-size: inherit;
    line-height: inherit;
}

.block-video .video-js .vjs-tech {
    background-size: cover;
    object-fit: cover;
}

.block-video .vjs-matrix .vjs-big-play-button,
.block-video .vjs-matrix .vjs-play-control,
.block-video .vjs-matrix .vjs-time-control,
.block-video .vjs-matrix .vjs-picture-in-picture-control,
.block-video .vjs-matrix .vjs-fullscreen-control,
.block-video .vjs-matrix .vjs-volume-control .vjs-mouse-display,
.block-video .vjs-matrix .vjs-progress-control .vjs-time-tooltip {
    display: none;
}

.block-video .video-js .vjs-control-bar {
    background-color: rgba(0, 0, 0, .2);
    top: initial;
    bottom: 20px;
}

.block-video.slick-slide .vjs-control-bar {
    visibility: hidden;
    opacity: 0;
}

.block-video.slick-current .vjs-control-bar,
.block-video.slick-current .vjs-playing .vjs-control-bar {
    display: flex;
    visibility: visible;
    opacity: 1;
}




/* Media */
@media screen and (max-width: 1488px) {
    :root {
        --mlr: var(--m_mlr);
    }
}

@media screen and (max-width: 1440px) {
    .laptopl-i {display: none !important;}

    /* Default grid */
    .ll_gaf_r {grid-auto-flow: row;}

    .ll_gtc_4a {grid-template-columns: repeat(4, auto);}
    .ll_gtc_1 {grid-template-columns: 1fr;}
}

@media screen and (max-width: 1300px) {
    /* Block about me */
    #about_me {
        background-position: center bottom;
        background-size: auto 440px;
        padding-bottom: calc(440px + 60px);
    }
}

@media screen and (max-width: 1024px) {
    .laptop-i {display: none !important;}



    /* Default image */
    .image.l_h_240 {height: 240px;}



    /* Global margin */
    .l_mb_0 {margin-bottom: 0;}



    /* Default grid */
    .l_gaf_r {grid-auto-flow: row;}

    .grid.l_gaf_r > .line {width: 100%; height: 1px;}

    .l_gtc_2 {grid-template-columns: repeat(2, 1fr);}
    .l_gtc_1 {grid-template-columns: 1fr;}

    .l_jc_s {justify-content: start;}
    .l_jc_c {justify-content: center;}

    .l_ji_str {justify-items: stretch;}

    .l_js_str {justify-self: stretch;}

    .l_g_270 {gap: 270px;}
    .l_g_24 {gap: 24px;}
    .l_g_12 {gap: 12px;}



    /* Block welcome */
    #welcome .ev-image {
        background-size: auto 80%;
    }

    .block-tests {
        margin: 0 calc(-1 * var(--m_mlr)) -40px;
    }



    /* Block reviews */
    #reviews .block-text-reviews {
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --size-story: 150px;

        --m_mlr: 16px;

        --mb: 60px;
    }

    .desktop {display: none !important;}



    /* Default text */
    .title {font-size: 32px;}
    .subtitle {font-size: 32px;}
    .name {font-size: 20px;}

    .caption {font-size: 18px;}

    .title .ebGaramond {font-size: 40px;}

    .m_fs_36 {font-size: 36px;}
    .m_fs_28 {font-size: 28px;}
    .m_fs_20 {font-size: 20px;}
    .m_fs_14 {font-size: 14px;}

    .m_ta_c {text-align: center;}



    /* Default image */
    /* .image.m_h_240 {height: 240px;} */



    /* Global margin */
    .m_mlr {margin-left: var(--mlr); margin-right: var(--mlr);}

    .m_mlr_0 {margin-left: 0; margin-right: 0;}

    .m_mt_20 {margin-top: 20px;}
    .m_mt_8 {margin-top: 8px;}

    .m_mb_40 {margin-bottom: 40px;}
    .m_mb_16 {margin-bottom: 16px;}
    .m_mb_0 {margin-bottom: 0px;}



    /* Global padding */
    .m_plr {padding-left: var(--mlr); padding-right: var(--mlr);}

    .m_p_24 {padding: 24px;}
    .m_p_20 {padding: 20px;}
    .m_p_16 {padding: 16px;}

    .m_ptb_32 {padding-top: 32px; padding-bottom: 32px;}
    .m_ptb_24 {padding-top: 24px; padding-bottom: 24px;}
    .m_ptb_16 {padding-top: 16px; padding-bottom: 16px;}
    .m_ptb_12 {padding-top: 12px; padding-bottom: 12px;}

    .m_plr_20 {padding-left: 20px; padding-right: 20px;}
    .m_plr_16 {padding-left: 16px; padding-right: 16px;}
    .m_plr_6 {padding-left: 6px; padding-right: 6px;}
    .m_plr_0 {padding-left: 0; padding-right: 0;}

    .m_pt_32 {padding-top: 32px;}

    .m_pb_0 {padding-bottom: 0;}



    /* Default slider */
    .sldr.sm-full.slick-initialized {
        position: relative;
        width: calc(100% + var(--mlr) * 2);
        right: calc(var(--mlr) * -1);
        left: calc(var(--mlr) * -1);
    }



    /* Default grid */
    .m_gaf_r {grid-auto-flow: row;}

    .grid.m_gaf_r > .line {width: 100%; height: 1px;}

    .m_g_64 {gap: 64px;}
    .m_g_40 {gap: 40px;}
    .m_g_32 {gap: 32px;}
    .m_g_24 {gap: 24px;}
    .m_g_20 {gap: 20px;}
    .m_g_16 {gap: 16px;}
    .m_g_12 {gap: 12px;}
    .m_g_8 {gap: 8px;}
    .m_g_4 {gap: 4px;}
    .m_g_0 {gap: 0;}

    .m_gtc_2 {grid-template-columns: repeat(2, 1fr);} .m_tc_2 {grid-template-columns: repeat(2, 1fr);}
    .m_gtc_1 {grid-template-columns: repeat(1, 1fr);} .m_tc_1 {grid-template-columns: repeat(1, 1fr);}

    .m_f_w {
        display: flex;
        flex-wrap: wrap;
    }

    .m_ac_s {align-content: start;}
    .m_ac_e {align-content: end;}
    .m_ac_sb {align-content: space-between;}

    .m_jc_s {justify-content: start;}
    .m_jc_c {justify-content: center;}

    .m_ji_s {justify-items: start;}
    .m_ji_c {justify-items: center;}



    /* Default border */
    .m_br_28 {border-radius: 28px;}
    .m_br_24 {border-radius: 24px;}



    /* Modal */
    .wrapper-modal .modal {
        padding: 48px var(--mlr);
    }

    .wrapper-modal.m-one .modal {
        right: 0;
        left: 0;
        margin: 0 12px;
        padding: 32px 16px;
        transform: translate(0, -50%);
    }

    /* Animate border */
    .wrapper-modal.m-one .modal {
        padding: 0;
    }

    .wrapper-modal.m-one .modal .modal-content {
        padding: 32px 16px 128px;
    }



    /* Block public activities */
    #public_activities iframe {
        height: 240px;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --mlr: 12px;
    }
}

@media screen and (min-width: 769px) {
    :root {
        --size-story: 200px;
    }



    .mobile {display: none !important;}



    /* Default text */
    .d_fs_56 {font-size: 56px;}
    .d_fs_48 {font-size: 48px;}
    .d_fs_40 {font-size: 40px;}
    .d_fs_32 {font-size: 32px;}
    .d_fs_28 {font-size: 28px;}
    .d_fs_24 {font-size: 24px;}
    .d_fs_20 {font-size: 20px;}
    .d_fs_18 {font-size: 18px;}
    .d_fs_14 {font-size: 14px;}



    /* Global margin */
    .d_ml {margin-left: var(--mlr);}



    /* Default image */
    /* .image.d_h_550 {height: 550px;} */



    /* Default grid */
    .d_gaf_r {grid-auto-flow: row;}

    .grid.d_gaf_r > .line {width: 1px; height: 100%;}

    .d_gtc_2 {grid-template-columns: repeat(2, 1fr);}
    .d_gtc_3 {grid-template-columns: repeat(3, 1fr);}

    .d_ai_s {align-items: start;}
    .d_ai_c {align-items: center;}

    .d_jc_s {justify-content: start;}
    .d_jc_c {justify-content: center;}
    .d_jc_e {justify-content: end;}
    .d_jc_sb {justify-content: space-between;}

    .d_js_s {justify-self: start;}
    .d_js_c {justify-self: center;}
    .d_js_e {justify-self: end;}

    .d_ji_s {justify-items: start;}
    .d_ji_c {justify-items: center;}
    .d_ji_e {justify-items: end;}

    .d_g_40 {gap: 40px;}



    /* Modal */
    body.freeze {
        margin-right: 12px;
    }

    body.freeze header {
        right: 6px;
    }

    .wrapper-modal .modal {
        padding: 48px;
    }

    .wrapper-modal.m-one .modal {
        left: 50%;
        width: 100%;
        max-width: 540px;
        padding: 56px 64px;
        transform: translate(-50%, -50%);
    }

    /* Animate border */
    .wrapper-modal.m-one .modal {
        padding: 0;
    }

    .wrapper-modal.m-one .modal .modal-content {
        padding: 56px 64px;
    }



    /* Header */
    #menu {
        max-width: calc(var(--m_mlr) + 320px + var(--mlr));
    }



    /* contact modal */
    .wrapper-modal.m-one .modal {
        max-width: 660px;
    }
}

@media screen and (min-width: 1025px) {
    .laptop {display: none !important;}



    /* Block welcome */
    .block-tests {
        max-width: 440px;
    }

    .block-tests .sldr .item {
        height: 230px;
    }



    /* Default form */
    form {
        max-width: 620px;
    }
}

@media screen and (min-width: 1301px) {
    /* Block about me */
    #about_me {
        background-position: right bottom;
        background-size: auto 90%;
    }
}

@media screen and (min-width: 1441px) {
    .laptopl {display: none !important;}
}