:root, :before, :after {
    --main-font: Outfit, Tahoma, Verdana, sans-serif;
    --secondary-font: Unbounded, Helvetica, Arial, sans-serif;
    --tertiary-font: "Modernline", Helvetica, Arial, sans-serif;
    --font-size-html: 18px;
    --font-size-small: .8em;
    --font-size-paragraph: 1em;
    --font-size-lvl-6: 1.1em;
    --font-size-lvl-5: 1.3em;
    --font-size-lvl-4: 1.6em;
    --font-size-lvl-3: 2em;
    --font-size-lvl-2: 2.6em;
    --font-size-lvl-1: 3.3em;
    --font-size-huge: clamp(2.25rem, 0.3333em + 9.5833vw, 8em);
    --font-weight-strong: 700;
    --xxs-font-size: 0.75em;
    --xs-font-size: 0.875em;
    --main-color-1: 4 63 72;
    --main-color-2: 255 255 255;
    --main-color-3: 249 65 67;
    --main-color-4: 79 161 170;
    --main-color-5: 147 181 224;
    --main-color-6: 151 208 192;
    --main-color-7: 16 96 114;
    --main-color-1-a: var(--main-color-3);
    --main-color-1-a-hover: var(--main-color-3);
    --main-color-2-a: var(--main-color-4);
    --main-color-2-a-hover: var(--main-color-2);
    --main-color-3-a: var(--main-color-5);
    --main-color-3-a-hover: var(--main-color-5);
    --main-color-4-a: var(--main-color-6);
    --main-color-4-a-hover: var(--main-color-6);
    --main-color-5-a: var(--main-color-7);
    --main-color-5-a-hover: var(--main-color-7);
    --main-color-6-a: var(--main-color-1);
    --main-color-6-a-hover: var(--main-color-1);
    --main-color-7-a: var(--main-color-2);
    --main-color-7-a-hover: var(--main-color-2);
    --main-color-theme-lightest: 255 255 255;
    --main-color-theme-light: 248 251 251;
    --main-color-theme-normal: 214 210 206;
    --main-color-theme-dark: 33 33 33;
    --main-color-theme-darkest: 0 0 0;
    --main-color-theme-info: 255 255 255;
    --main-color-theme-done: 26 140 152;
    --main-color-theme-warning: 255 255 255;
    --main-color-theme-error: 255 0 0;
    --border-radius: 32px;
    --main-box-shadow: 0 2px 8px rgb(var(--main-color-1) / 15%);
    --secondary-box-shadow: 0 -1px 0 rgb(var(--main-color-1) / 5%) inset;
    --body-font-family: var(--main-font);
    --body-color: rgb(var(--main-color-1));
    --a-text-color: rgb(var(--main-color-3));
    --a-text-decoration: none;
    --a-text-font-weight: inherit;
    --a-selection-background-color: rgb(var(--main-color-theme-normal));
    --a-selection-color: rgb(var(--main-color-3));
    --a-hover-color: rgb(var(--main-color-4));
    --btn-font-size: var(--font-size-small);
    --btn-font-weight: 600;
    --btn-letter-spacing: 1px;
    --btn-text-transform: uppercase;
    --main-btn-color: rgb(var(--main-color-2));
    --main-btn-background: rgb(var(--main-color-3));
    --main-btn-background-hover: rgb(var(--main-color-1));
    --secondary-btn-color: rgb(var(--main-color-3));
    --secondary-btn-border: none;
    --cookie-btn-color: rgb(var(--main-color-2));
    --cookie-btn-background: rgb(var(--main-color-3));
    --btn-ripple-effect-background: rgb(var(--main-color-2) / 54%);
    --breadcrumb-font-family: var(--main-font);
    --submenu-background: rgb(var(--main-color-2));
    --table-border-color: rgb(var(--main-color-1));
    --table-th-font-size: var(--font-size-paragraph);
    --table-th-font-weight: 600;
    --table-th-color: rgb(var(--main-color-1));
    --table-td-font-size: var(--font-size-paragraph);
    --table-td-font-weight: 400;
    --table-td-color: rgb(var(--main-color-1));
    --table-thead-tr-background: rgb(var(--main-color-3) / 54%);
    --table-tbody-tr-background: rgb(var(--main-color-2));
    --table-tfoot-tr-background: rgb(var(--main-color-3) / 54%);
    --table-odd-stripe-background: rgb(var(--main-color-1) / 8%);
    --table-even-stripe-background: rgb(var(--main-color-2));
    --form-label-color: rgb(var(--main-color-3));
    --form-focus-label-color: rgb(var(--main-color-theme-dark));
    --form-field-border: 1px solid rgb(var(--main-color-1) / 12%);
    --form-field-focus-border: 1px solid rgb(var(--main-color-3) / 80%);
    --form-field-error-border: 1px solid rgb(var(--main-color-theme-error) / 32%);
    --form-field-error-color: rgb(var(--main-color-theme-error));
    --form-field-error-message-font-size: var(--font-size-small);
    --form-field-background: rgb(var(--main-color-theme-light));
    --form-field-color: rgb(var(--main-color-theme-darkest));
    --form-field-font-size: var(--font-size-paragraph);
    --form-field-border-radius: 4px;
    --form-field-error-box-shadow: 0 0 0 2px rgb(var(--main-color-theme-error));
    --form-switch-background: rgb(var(--main-color-3));
    --form-switch-checked-background: rgb(var(--main-color-4));
    --form-switch-slider-background: rgb(var(--main-color-theme-lightest));
    --form-dropdown-selected-background: rgb(var(--main-color-4));
    --form-dropdown-selected-color: rgb(var(--main-color-theme-darkest));
    --form-dropdown-hovered-background: rgb(var(--main-color-3));
    --form-dropdown-hovered-color: rgb(var(--main-color-theme-lightest));
    --form-drag-drop-background: rgb(var(--main-color-1) / 2%);
    --form-drag-drop-enter-background: rgb(var(--main-color-1) / 4%);
    --form-drag-drop-border: 1px dashed rgb(var(--main-color-1) / 12%);
    --form-drag-drop-enter-border: 1px dashed rgb(var(--main-color-3));
    --form-drag-drop-box-shadow: none;
    --form-drag-drop-enter-box-shadow: none;
    --form-progress-bar-background: rgb(var(--main-color-theme-lightest));
    --form-progress-bar-color: rgb(var(--main-color-theme-darkest));
    --form-progress-bar-font-weight: 600;
    --form-progress-bar-element-background: rgb(var(--main-color-2));
    --form-progress-bar-fill-background: rgb(var(--main-color-2));
    --form-autocomplete-box-shadow: var(--secondary-box-shadow);
    --form-dropdown-box-shadow: var(--secondary-box-shadow);
    --form-exit-dropdown-color: rgb(var(--main-color-1));
    --form-description-font-size: var(--font-size-small);
    --notification-error-background: rgb(var(--main-color-theme-error));
    --notification-error-color: rgb(var(--main-color-theme-lightest));
    --notification-warning-background: rgb(var(--main-color-theme-warning));
    --notification-warning-color: rgb(var(--main-color-theme-lightest));
    --notification-info-background: rgb(var(--main-color-theme-info));
    --notification-info-color: rgb(var(--main-color-1));
    --notification-done-background: rgb(var(--main-color-theme-done));
    --notification-done-color: rgb(var(--main-color-theme-lightest));
    --snack-bar-background: rgb(var(--main-color-theme-dark));
    --snack-bar-color: rgb(var(--main-color-2));
    --snack-bar-font-weight: 600;
    --side-color: rgb(var(--main-color-1));
    --side-background: rgb(var(--main-color-theme-lightest));
    --side-overlay-background: rgb(0 0 0 / 20%);
    --modal-background: rgb(var(--main-color-theme-lightest));
    --modal-box-shadow: 0 0 8px rgb(var(--main-color-1) / 15%);
    --li-marker-color: rgb(var(--main-color-3));
    --li-font-family: var(--main-font);
    --h-white-space: break-spaces;
    --h-overflow-wrap: break-word;
    --h1-font-size: var(--font-size-lvl-1);
    --h1-font-family: var(--secondary-font);
    --h1-font-weight: 700;
    --h1-text-transform: uppercase;
    --h1-font-style: normal;
    --h1-line-height: auto;
    --h1-color: rgb(var(--main-color-1));
    --h2-font-size: var(--font-size-lvl-2);
    --h2-font-family: var(--secondary-font);
    --h2-font-weight: 700;
    --h2-text-transform: uppercase;
    --h2-font-style: normal;
    --h2-color: rgb(var(--main-color-1));
    --h2-line-height: normal;
    --h3-font-size: var(--font-size-lvl-3);
    --h3-font-family: var(--secondary-font);
    --h3-font-weight: 700;
    --h3-text-transform: uppercase;
    --h3-font-style: normal;
    --h3-color: rgb(var(--main-color-1));
    --h3-line-height: normal;
    --h4-font-size: var(--font-size-lvl-4);
    --h4-font-family: var(--main-font);
    --h4-font-weight: 600;
    --h4-text-transform: normal;
    --h4-font-style: normal;
    --h4-color: rgb(var(--main-color-1));
    --h4-line-height: 1;
    --h5-font-size: var(--font-size-lvl-5);
    --h5-font-family: var(--main-font);
    --h5-font-weight: 600;
    --h5-text-transform: normal;
    --h5-font-style: normal;
    --h5-color: rgb(var(--main-color-1));
    --h5-line-height: normal;
    --h6-font-size: var(--font-size-lvl-6);
    --h6-font-family: var(--main-font);
    --h6-font-weight: 600;
    --h6-text-transform: normal;
    --h6-font-style: normal;
    --h6-color: rgb(var(--main-color-1));
    --h6-line-height: 1;
    --p-font-family: var(--main-font);
    --p-font-size: var(--font-size-paragraph);
    --p-font-weight: 400;
    --p-line-height: normal;
    --text-shadow: 1px 1px 2px rgb(var(--main-color-1) / 15%);
    --spotlight-font-family: var(--main-font);
    --spotlight-font-size: 150%;
    --spotlight-font-weight: 800;
    --spotlight-line-height: 120%;
    --spotlight-text-transform: uppercase;
    --spotlight-text-color: rgb(var(--main-color-1));
    --anim-enlarge-text-font-weight: 200;
    --anim-swap-text-color: rgb(var(--main-color-3));
    --anim-circle-text-color: rgb(var(--main-color-4));
    --anim-underline-text-color: rgb(var(--main-color-3));
    --hr-border: 1px solid rgb(var(--main-color-theme-dark));
    --hr-background: rgb(var(--main-color-2) / 85%);
    --pagination-disabled-color: rgb(var(--main-color-theme-normal));
    --pagination-font-weight: 400;
    --slider-symbol-active-background: rgb(var(--main-color-3));
    --slider-symbol-background: rgb(var(--main-color-4));
    --slider-symbol-hover-background: rgb(var(--main-color-5));
    --slider-title-font-size: var(--font-size-lvl-4);
    --slider-title-font-family: var(--main-font);
    --slider-title-font-weight: 600;
    --slider-title-text-transform: uppercase;
    --slider-title-font-style: normal;
    --slider-title-active-color: rgb(var(--main-color-3));
    --slider-title-active-background: none;
    --slider-title-color: rgb(var(--main-color-theme-darkest));
    --slider-title-background: none;
    --slider-title-hover-color: rgb(var(--main-color-4));
    --slider-title-hover-background: none;
    --slider-empty-thumbnail-background: rgb(var(--main-color-theme-light));
    --accordion-close-icon: 'arrowup';
    --accordion-open-icon: 'arrowdown';
    --accordion-summary-background-odd: rgb(var(--main-color-3));
    --accordion-summary-background-even: rgb(var(--main-color-4));
    --accordion-summary-color: rgb(var(--main-color-2));
    --accordion-summary-hover-filter: contrast(1.25);
    --accordion-summary-padding: 16px 48px 16px 16px;
}

/* Icon font of the site (ligatures: the icon's name gives the glyph). */
@font-face {
    font-family: 'main-icons';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/main-icons.woff2') format('woff2');
}

/* latin */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/outfit.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Unbounded';
    size-adjust: 85%;
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/unbounded.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Modernline';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/modernline.otf') format('opentype');
}

@keyframes sparkle {
    0%{
        left: var(--start-left);
        top: var(--start-top);
        transform: rotate(0deg);
        opacity: 0;
    }
    50%{
        border:4px solid var(--star-color);
        opacity: 1;
    }
    100%{
        border:1px solid var(--star-color);
        left: var(--end-left);
        top: var(--end-top);
        transform: rotate(calc(180deg * var(--star-life-num))) scale(0);
        opacity: 1;
    }
}

@keyframes smoothMoveToCenter {
    0% {
        transform: translateX(80vw);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes smoothMoveToCenterFromLeft {
    0% {
        transform: translateX(-80vw);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.colors {
    & .cd-color-1 {
        color: rgb(var(--main-color-1));

        & a,
        & a:visited {
            color: rgb(var(--main-color-1-a));
        }

        & a:hover {
            color: rgb(var(--main-color-1-a-hover));
        }
    }

    & .cd-color-2 {
        color: rgb(var(--main-color-2)) !important;

        & a,
        & a:visited {
            color: rgb(var(--main-color-2-a));
        }

        & a:hover {
            color: rgb(var(--main-color-2-a-hover));
        }
    }

    & .cd-color-3 {
        color: rgb(var(--main-color-3));

        & a,
        & a:visited {
            color: rgb(var(--main-color-3-a));
        }

        & a:hover {
            color: rgb(var(--main-color-3-a-hover));
        }
    }

    & .cd-color-4 {
        color: rgb(var(--main-color-4));

        & a,
        & a:visited {
            color: rgb(var(--main-color-4-a));
        }

        & a:hover {
            color: rgb(var(--main-color-4-a-hover));
        }
    }

    & .cd-color-5 {
        color: rgb(var(--main-color-5));

        & a,
        & a:visited {
            color: rgb(var(--main-color-5-a));
        }

        & a:hover {
            color: rgb(var(--main-color-5-a-hover));
        }
    }

    & .cd-color-6 {
        color: rgb(var(--main-color-6));

        & a,
        & a:visited {
            color: rgb(var(--main-color-6-a));
        }

        & a:hover {
            color: rgb(var(--main-color-6-a-hover));
        }
    }

    & .cd-color-7 {
        color: rgb(var(--main-color-7));

        & a,
        & a:visited {
            color: rgb(var(--main-color-7-a));
        }

        & a:hover {
            color: rgb(var(--main-color-7-a-hover));
        }
    }

    & a {
        &.cd-color-1 {
            color: rgb(var(--main-color-1));
        }

        &.cd-color-2 {
            color: rgb(var(--main-color-2));
        }

        &.cd-color-3 {
            color: rgb(var(--main-color-3));
        }

        &.cd-color-4 {
            color: rgb(var(--main-color-4));
        }

        &.cd-color-5 {
            color: rgb(var(--main-color-5));
        }

        &.cd-color-6 {
            color: rgb(var(--main-color-6));
        }

        &.cd-color-7 {
            color: rgb(var(--main-color-7));
        }
    }

    & a:hover {
        &.cd-color-1 {
            color: rgb(var(--main-color-1-a-hover));
        }

        &.cd-color-2 {
            color: rgb(var(--main-color-2-a-hover));
        }

        &.cd-color-3 {
            color: rgb(var(--main-color-3-a-hover));
        }

        &.cd-color-4 {
            color: rgb(var(--main-color-4-a-hover));
        }

        &.cd-color-5 {
            color: rgb(var(--main-color-5-a-hover));
        }

        &.cd-color-6 {
            color: rgb(var(--main-color-6-a-hover));
        }

        &.cd-color-7 {
            color: rgb(var(--main-color-7-a-hover));
        }
    }

    & .cd-svg-color-1 {
        & svg > * {
            stroke: rgb(var(--main-color-1));
        }

        &::after {
            background: rgb(var(--main-color-1));
        }
    }

    & .cd-svg-color-2 {
        & svg > * {
            stroke: rgb(var(--main-color-2));
        }

        &::after {
            background: rgb(var(--main-color-2));
        }
    }

    & .cd-svg-color-3 {
        & svg > * {
            stroke: rgb(var(--main-color-3));
        }

        &::after {
            background: rgb(var(--main-color-3));
        }
    }

    & .cd-svg-color-4 {
        & svg > * {
            stroke: rgb(var(--main-color-4));
        }

        &::after {
            background: rgb(var(--main-color-4));
        }
    }

    & .cd-svg-color-5 {
        & svg > * {
            stroke: rgb(var(--main-color-5));
        }

        &::after {
            background: rgb(var(--main-color-5));
        }
    }

    & .cd-svg-color-6 {
        & svg > * {
            stroke: rgb(var(--main-color-6));
        }

        &::after {
            background: rgb(var(--main-color-6));
        }
    }

    & .cd-svg-color-7 {
        & svg > * {
            stroke: rgb(var(--main-color-7));
        }

        &::after {
            background: rgb(var(--main-color-7));
        }
    }

    & .cd-background-color-1 {
        background: rgb(var(--main-color-1) / var(--background-color-opacity, 1));
    }

    & .cd-background-color-2 {
        background: rgb(var(--main-color-2) / var(--background-color-opacity, 1));
    }

    & .cd-background-color-3 {
        background: rgb(var(--main-color-3) / var(--background-color-opacity, 1));

        & ul {
            & li::marker {
                color: var(--main-color-2);
            }
        }
    }

    & .cd-background-color-4 {
        background: rgb(var(--main-color-4) / var(--background-color-opacity, 1));

        & .is-slider {
            & .slider-nav {
                & > *:not(.is-active) {
                    cursor: pointer;
                }

                & .block-nav__arrow {
                    color: rgb(var(--main-color-2));

                    &:hover {
                        background: var(--slider-title-hover-background);
                        color: rgb(var(--main-color-5));
                    }
                }

                & .menu-slide-item__symbol {
                    width: 12px;
                    height: 12px;
                    background: var(--slider-symbol-background);
                    border-radius: 50%;

                    &.is-active {
                        background: rgb(var(--main-color-5));
                    }

                    &:not(.is-active) {
                        background: rgb(var(--main-color-2));
                    }

                    &:not(.is-active):hover {
                        background: rgb(var(--main-color-5));
                    }
                }
            }
        }
    }

    & .cd-background-color-5 {
        background: rgb(var(--main-color-5) / var(--background-color-opacity, 1));
    }

    & .cd-background-color-6 {
        background: rgb(var(--main-color-6) / var(--background-color-opacity, 1));

        & .anim-circle-text svg path,
        & .anim-underline-text svg path {
            stroke: rgb(var(--main-color-2));
        }
    }

    & .cd-background-color-7 {
        background: rgb(var(--main-color-7) / var(--background-color-opacity, 1));
    }

    & .cd-stroke-color-1 svg * {
        stroke:rgb(var(--main-color-1));
    }
    & .cd-stroke-color-2 svg * {
        stroke:rgb(var(--main-color-2));
    }
    & .cd-stroke-color-3 svg * {
        stroke:rgb(var(--main-color-3));
    }
    & .cd-stroke-color-4 svg * {
        stroke:rgb(var(--main-color-4));
    }
    & .cd-stroke-color-5 svg * {
        stroke:rgb(var(--main-color-5));
    }
    & .cd-stroke-color-6 svg * {
        stroke:rgb(var(--main-color-6));
    }
    & .cd-stroke-color-7 svg * {
        stroke:rgb(var(--main-color-7));
    }
    & .cd-fill-color-1 svg * {
        fill:rgb(var(--main-color-1));
    }
    & .cd-fill-color-2 svg * {
        fill:rgb(var(--main-color-2));
    }
    & .cd-fill-color-3 svg * {
        fill:rgb(var(--main-color-3));
    }
    & .cd-fill-color-4 svg * {
        fill:rgb(var(--main-color-4));
    }
    & .cd-fill-color-5 svg * {
        fill:rgb(var(--main-color-5));
    }
    & .cd-fill-color-6 svg * {
        fill:rgb(var(--main-color-6));
    }
    & .cd-fill-color-7 svg * {
        fill:rgb(var(--main-color-7));
    }

}

.layouts {

    & .modal__main-menu {
        position: fixed;
        top:0;
        right:0;
        bottom:0;
        left:0;
        width:100%;
        height:100%;
        z-index: 100000;
        display:grid;
        overflow:auto;
        background:rgb(var(--main-color-2));
        color:rgb(var(--main-color-2));
        font-family:var(--main-font);
        font-size:var(--font-size-lvl-4);
        font-weight:600;
        text-transform:uppercase;
        & .modal__inner {
            display:grid;
            grid-template-rows:auto 1fr;
            margin:32px;
            padding:64px;
            border-radius:32px;
            background:rgb(var(--main-color-1));
            height:calc(100% - 64px);
            & .modal__main-menu__top-bar {
                display:flex;
                flex-flow:row wrap;
                justify-content:space-between;
            }
            & .modal-menu-center {
                display:grid;
                align-self:center;
                align-items:center;
                justify-content:center;
            }
            & .modal__logo {
                height:120px;
            }

            & svg {
                height:100%;
                fill:#fff;
            }
        }
        & ul {
            list-style-type:none;

        }
        & .main-menu {
            display:grid;
            align-items:center;
            justify-content:center;
            /* height:100%; */
        }

        &.d-none {
            display:none;
        }

        & .main-menu ul {
            display:flex;
            flex-flow:column;
            gap: 32px;
            justify-self:end;
            & .sub-menu {
                font-size:var(--font-size-small);
                font-weight:300;
                line-height:1.6;
                margin:32px;
                padding-left:32px;
                gap:8px;
                border-left:1px solid
            }
        }
    }
    & .has-xxs-font-size {
        font-size: .6em;
    }

    & .has-xs-font-size {
        font-size: .8em;
    }

    & .has-s-font-size {
        font-size: 1em;
    }

    & .has-m-font-size {
        font-size: 1.5em;
    }

    & .has-l-font-size {
        font-size: 2em;
    }

    & .has-xl-font-size {
        font-size: 4em;
    }

    & .has-xxl-font-size {
        font-size: 6em;
    }

    & .cd-layout-no-pointer-events {
        pointer-events: none;
    }

    & .cd-layout-background-light {
        background:url('../img/atipic-background-light.avif') no-repeat;
        background-size:cover;
    }

    & .cd-layout-background-red {
        background:url('../img/atipic-background-red.avif') no-repeat;
        background-size:cover;
    }

    & .cd-layout-background-blue {
        background:url('../img/atipic-background-blue.avif') no-repeat;
        background-size:cover;
    }

    & .cd-layout-background-pink {
        background:url('../img/atipic-background-pink.avif') no-repeat;
        background-size:cover;
    }

    & .cd-layout-cancel-margin-top {
        margin-top:-32px;
    }

    & .cd-layout-project-nav {
        & ul {
            list-style: none;
            & li {
                display:flex;
                align-items:center;
                gap:8px;

                & a {
                    color:rgb(var(--main-color-1) / 48%);
                }

                &.active {
                    color:rgb(var(--main-color-1));
                }
            }
            & li::before {
                content:'';
                display:inline-block;
                height:2px;
                width:64px;
            }
            & .active::before {
                background:rgb(var(--main-color-1));
            }
        }
    }

    & .cd-layout-project-image-effect {
        & img,
        & video {
            transition: transform 0.3s ease;
        }
        &:hover {
            & img,
            & video {
                transform: scale(1.2) rotate(-2deg);
            }
        }
    }

    & .cd-layout-project-logo-effect {
        & img {
            transition: transform 0.3s ease;
        }
        &:hover {
            & img {
                transform: scale(1.05);
            }
        }
        &.in-rollover:is(:hover) {
            background:transparent;
            z-index:50;
        }
    }

    & .cd-layout-separator {
        & *:last-child::before {
            background:rgb(var(--main-color-2));
            content:'';
            display:block;
            height:2px;
            margin:0 auto;
            width:80px;
        }
    }

    & .cd-layout-paper {
        & ul {
            font-family: Caveat;
            margin-left: min(64px, 4vw);
            padding: min(64px, 4vw) 0;
            border-left: 2px solid rgb(var(--main-color-3));
            list-style: none;
        }

        & li {
            background: repeating-linear-gradient(transparent, transparent 24px, rgb(var(--main-color-3)) 25px, rgb(var(--main-color-3)) 26px, transparent 26px, transparent 34px);
            position: relative;
            padding: 0 min(64px, 4vw);
        }

        & p {
            background: repeating-linear-gradient(transparent, transparent 24px, rgb(var(--main-color-3)) 25px, rgb(var(--main-color-3)) 26px, transparent 26px, transparent 34px);
            position: relative;
            padding: 0 min(64px, 4vw);
        }

        & + .cd-container {
            align-items: start;
            grid-template-rows: repeat(3, auto) 1fr;
        }

        & .gallery {
            transform: translate(25%, -25%)
        }

        border-radius: 32px;
        margin: 16px auto 16px auto;
        position: relative;
        transform: rotate(2deg);
        background: rgb(var(--color-theme-light));
    }

    & .cd-layout-bg-blue-asterisk-left {
        background-repeat: no-repeat;
        background-size: 560px;
        background-position: 10% 50%;
        background-image: url("../img/blue-asterisk.svg");
    }

    & .cd-layout-bg-blue-asterisk-intro {
        background-repeat: no-repeat;
        background-position: 10% 50%;
        background-image: url("../img/blue-asterisk.svg");
    }

    & .cd-layout-bg-potatoe-1 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-1.svg");
    }

    & .cd-layout-bg-potatoe-2 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-2.svg");
    }

    & .cd-layout-bg-potatoe-3 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-3.svg");
    }

    & .cd-layout-bg-potatoe-3-blue {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-3-blue.svg");
    }

    & .cd-layout-bg-potatoe-4 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-4.svg");
    }

    & .cd-layout-bg-potatoe-5 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-5.svg");
    }

    & .cd-layout-bg-potatoe-6 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-6.svg");
    }

    & .cd-layout-bg-potatoe-7 {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-7.svg");
    }

    & .cd-layout-bg-potatoe-7-blue {
        background-repeat: no-repeat;
        background-image: url("../img/potatoe-7-blue.svg");
    }

    & .cd-layout-youre-atypical {
        & p {
            margin:0;
        }
        & .heading-4 {
            font-weight:400;
        }
    }


    & .cd-layout-bg-blue-asterisk {
        background-repeat: no-repeat;
        background-size: 560px;
        background-position: 90% -240px;
        background-image: url("../img/blue-asterisk.svg");
    }

    & .cd-layout-background-overlay {
        background: linear-gradient(
                to bottom,
                rgba(var(--main-color-theme-darkest) / 0%) 0%,
                rgba(var(--main-color-theme-darkest) / 80%) 100%
        );
    }

    & .cd-layout-bg-blue-asterisk-right {
        background-repeat: no-repeat;
        background-size: 560px;
        background-position: 90% 50%;
        background-image: url("../img/blue-asterisk.svg");
    }

    & .cd-layout-border-radius {
        border-radius: 32px;
        overflow: hidden;
    }

    & .cd-layout-bg-blue-asterisk:has(.outer-animation-container) {
        background-position: 90% 54vh;
    }

    & .cd-layout-bg-raspberry {
        display: grid;
        color: rgb(var(--main-color-2));
        overflow: hidden;
        background: url("../img/pink-pattern-4.avif");

        & .asterisk-definition {
            color: rgb(var(--main-color-2));
        }

    }

    & .cd-layout-video-opacity {
        & video {
            opacity:0;
            transition: opacity 1s ease-in-out;
        }
    }

    & .cd-layout-bg-blue {
        & h1, h2, .heading-1, .heading-2 {
            color: rgb(var(--main-color-2));
        }

        & h3, .heading-3 {
            color: rgb(var(--main-color-1));
        }

        & h4, .heading-4 {
            color: rgb(var(--main-color-1) / 15%);
        }

        display: grid;
        color: rgb(var(--main-color-2));
        border-radius: 32px;
        margin: 0 32px;
        background-blend-mode: lighten;
        background: url("../img/pattern-bleu-grain-3.avif"),
        radial-gradient(
                ellipse at 50% 64%,
                rgba(79, 161, 170, 0.4) 0%,
                rgba(16, 96, 114, 0.4) 20%,
                transparent 35%,
                transparent 100%
        ),
        radial-gradient(
                circle at 100% 0%,
                rgba(79, 161, 170, 0.4) 0%,
                rgba(16, 96, 114, 0.3) 20%,
                transparent 30%,
                transparent 100%
        ),
        radial-gradient(
                circle at 30% -10%,
                rgba(79, 161, 170, 0.4) 0%,
                rgba(16, 146, 144, 0.4) 10%,
                transparent 20%,
                transparent 100%
        ),
        conic-gradient(
                from 0.5turn at 10% 120%,
                rgba(255, 69, 98, .4),
                0deg,
                rgba(255, 69, 48, .3),
                180deg,
                rgba(255, 94, 135, .1),
                240deg,
                rgba(16, 96, 114, 0.3)),
        radial-gradient(
                circle at 80% 110%,
                rgba(221, 49, 98, .3) 0%,
                rgba(221, 49, 98, .1) 20%,
                transparent 40%,
                transparent 100%
        );
    }

    & .form-inverted-colors {
        & .main-btn {
            background: rgb(var(--main-color-3));
        }

        & .btn {
            color: rgb(var(--main-color-2));
        }

        & .field {
            & input,
            & textarea {
                background: rgb(var(--main-color-3));
                color: rgb(var(--main-color-1));
                border: 2px solid rgb(var(--main-color-3));
            }

            & label {
                color: rgb(var(--main-color-3));
            }
        }
    }


    & .cursor {
        position: fixed;
        width: 24px;
        height: 24px;
        background-color: rgb(var(--main-color-4));
        border-radius: 50%;
        pointer-events: none;
        z-index: 1000000;
        transition: width 100ms linear, height 100ms linear, opacity 100ms linear;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: center;
        transform: translate(-50%, -50%) rotate(-4deg);
        transform-origin: center center;

        &.cursor--hover {
            & .eye {
                opacity: 1;
            }

            width: 126px;
            height: 140px;
            background: url("../img/chmuch.svg") no-repeat;
            border-radius: unset;
        }

        & .eye {
            opacity: 0;
            position: relative;
            background-color: white;
            width: 12px;
            height: 20px;
            border-radius: 6px / 10px;
            margin: 0 4px 8px;
        }

        & .eye::before {
            content: '';
            position: absolute;
            width: 4px;
            height: 4px;
            background-color: rgb(var(--main-color-1));
            border-radius: 50%;
            left: 50%;
            top: 50%;
            transform: translate(calc(-50% + var(--pupil-x, 0px)), calc(-50% + var(--pupil-y, 0px))) scale(1, 1.5);
            transition: transform 0.1s;
        }
    }

    & .realisation-navigation {
        justify-self:center;
        background: rgb(255 255 255 / 80%);
        border-radius: 32px;
        display:flex;
        flex-flow:row wrap;
        position:fixed;
        bottom:-64px;
        margin:0 auto;
        gap:16px;
        transition:all linear .5s;
        z-index:10000;
        padding:8px;
        &.is-visible {
            bottom:16px;
        }
        & a {
            color:rgb(var(--main-color-4));
            &:hover {
                color:rgb(var(--main-color-7));
            }
        }
        & .nav-btn {
            transition:background linear .5s;
            background:rgb(var(--main-color-4));
            border-radius:9px;
            display:flex;
            align-items:center;
            color:rgb(255 255 255);
            padding:0 16px;
            text-transform:uppercase;
            font-size:16px;
            &:hover {
                background:rgb(var(--main-color-7));
                color:rgb(255 255 255);
            }
        }
        & .icons {
            border:1px solid rgb(var(--main-color-4));
            border-radius:50%;
            display:inline-flex;
            align-items:center;
            justify-content:center;
            width:32px;
            height:32px;
            &:hover {
                border-color:rgb(var(--main-color-7));

            }
            &[data-icon="arrowleft"]::before {
                margin-left:-3px;
            }
            &[data-icon="arrowright"]::before {
                margin-right:-3px;
            }
        }
        & .icons::before {
            font-size:24px;
            margin-top:-3px;
        }
    }

    & .cd-layout-bg-orange-to-pink {
        display: grid;
        color: rgb(var(--main-color-2));
        border-radius: 32px;
        margin: 32px;
        background-blend-mode: saturation;
        background: url("../img/orange-pattern.avif"),
        radial-gradient(
                circle at 50% 60%,
                transparent 0%,
                rgb(var(--main-color-1) / 24%) 90%
        );
        transition: background-color 5s linear;

        & .btn {
            background: rgb(var(--main-color-3));
        }

        & .asterisk-definition {
            color: rgb(var(--main-color-2));
        }

        & .field label {
            color: rgb(var(--main-color-3));
        }

        & a,
        & a:visited {
            color: rgb(var(--main-color-2));
        }
    }

    & .cd-layout-banner {
        & .gallery {
            & figure {
                width: 100%;
            }

            & video,
            & img {
                height: 80vh;
                max-height: 560px;
                width: 100%;
                object-fit: cover;
            }
        }
    }


    & .cd-layout-introduction {
        & p {
            font-size: var(--font-size-lvl-4);
        }
    }

    & .cd-layout-shifted-gallery {
        & > * {
            &:nth-child(1n) {
                margin-top: 0;
            }

            &:nth-child(2n) {
                margin-top: 64px;
            }

            &:nth-child(3n) {
                margin-top: 16px;
            }

            &:nth-child(4n) {
                margin-top: -16px;
            }
        }
    }

    & .btn,
    & .main-btn {
        border-radius: 32px;
        corner-shape:squircle;
    }

    & .mouse {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    & .main-menu-side {
        & .side {
            width: 100%;
            display: grid;
            grid-template-areas:
            "logo close"
            "nav nav"
            "footer footer";
            grid-template-rows:auto 1fr auto;
            grid-template-columns:1fr 1fr;

            & .main-menu-side__logo {
                grid-area: logo;
            }

            & .close {
                grid-area: close;
                float: none;
                text-align: right;
            }

            & .main-menu-side__logo svg {
                height: 80px;
            }

            & .main-menu-side__nav {
                grid-area: nav;
                display: flex;

                & .mobile-main-menu {
                    display: grid;
                    gap: 32px;
                    align-self: center;
                    font-size: 32px;
                    width: 100%;

                    & .has-children {
                        display: grid;
                        width: 100%;
                        grid-template-columns:1fr 48px;
                        grid-template-areas:
                        "title toggle"
                        "nav nav";

                        & .menu-item-title {
                            grid-area: title;
                        }

                        & .toggle {
                            grid-area: toggle;
                            width: 100%;
                            text-align: center;
                            transition: transform .1s linear;
                        }
                    }

                    & .show-submenu {
                        & > .toggle {
                            transform: rotate(90deg);
                        }

                        & > .overlay-submenu {
                            display: block;
                            grid-area: nav;

                            & > .submenu {
                                display: flex;
                                flex-flow: column;
                                gap: 16px;
                                font-size: 80%;
                            }
                        }
                    }

                    & .main-btn {
                        background: #fff;
                        justify-self: center;

                        & a,
                        & a:visited {
                            color: #000;
                        }

                        &:hover {
                            background: #ccc;

                            & a,
                            & a:visited {
                                color: #666;
                            }
                        }
                    }
                }
            }
        }
    }

    & .outer-top-bar {
        background: rgb(var(--main-color-2) / 90%);
        position: fixed;
        top: 0;
        z-index: 500;
    }

    & .top-bar {
        padding: 16px 64px;
        position: sticky;
        z-index: 500;
        top: var(--wp-admin--admin-bar--height, 0px);
    }

    & .top-bar__banner {
        border-radius: 32px;
        display: grid;
        grid-template-columns:1fr auto 1fr;
        gap: 16px;
        align-items: center;
        width: 100%;
        background: rgb(var(--main-color-2) / 96%);
        transition: opacity .5s linear;
    }

    & .top-bar__left {
        width: 64px;
        margin: 0 32px;

        & svg {
            fill: rgb(var(--main-color-1));
        }
    }

    & .top-bar__center {
        color: rgb(var(--main-color-1));
        text-transform: uppercase;
        font-family: var(--secondary-font);
        font-weight: 500;
        letter-spacing: 1px;
    }

    & .top-bar__right {
        width: 48px;
        justify-self: end;
        fill: rgb(var(--main-color-3));
        margin: 24px 32px;
    }

    & .top-bar__right {
        padding-right: 16px;
    }

    & .footer {
        background: linear-gradient(0deg, rgb(var(--main-color-4)) 0%, rgb(var(--main-color-1)) 100%);
        color: rgb(var(--main-color-2));
        display: grid;
        gap: 16px;
        padding: 32px;

        & a {
            color: rgb(var(--main-color-2));
            text-decoration: underline;

            &:hover {
                color: rgb(var(--main-color-2));
            }
        }

        & .inner__footer {
            display: flex;
            justify-content: space-between;
            flex-flow: row wrap;
            max-width: 1560px;
            width: 100%;
            margin: 0 auto;
            gap: 16px;


        }
    }

    & .logo {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    & .logo svg {
        height: 64px;
    }

    & .networks {
        display: flex;
        flex-flow: row wrap;
        padding:24px 32px;
        gap: 24px;
        align-items: center;
        & a {
            color:rgb(var(--main-color-2));
            &:hover {
                color:rgb(var(--main-color-3));
            }
        }
    }

    & .footer__bottom {
        & .footer__logo svg {
            height:8vw;
            max-height: 32px;
            fill:rgb(var(--main-color-2));
        }

        & ul, & li {
            margin:0;
            padding:0;
        }

        & .footer__links-items {
            list-style:none;
            display:flex;
            flex-flow:row;
            gap: 16px;
            font-size: var(--font-size-small);
        }

        & .middle-line {
            height:1px;
            background:#fff;
        }

        & a {
            color:rgb(var(--main-color-2));
            &:hover {
                color:rgb(var(--main-color-3));
            }
        }

        display:grid;
        align-items:center;
        gap:32px;
        grid-template-columns:auto 1fr auto;
    }

    & ul {
        & li {
            padding-bottom: 8px;
        }
    }

    & .highlight {
        padding: 0 2px;
    }

    & .icon-size-large {
        align-self: center;
        text-align: center;
        font-size: 64px;
    }

    & .icon-size-medium {
        align-self: center;
        text-align: center;
        font-size: 48px;
    }

    & .icon-size-small {
        align-self: center;
        text-align: center;
        font-size: 32px;
    }

    & .cd-layout-paper {
        background: url('../img/paper.avif') no-repeat;
        background-size: cover;
    }

    & .main-menu {
        & a {
            color: rgb(var(--main-color-2));
            &:hover {
                color: rgb(var(--main-color-3));
            }
        }

        & .has-children {
            & > .menu-item-title {
                display: inline-grid;
                grid-template-columns:1fr auto;
                gap: 8px;
                min-width: 180px;

                &:after {
                    align-self: center;
                    content: 'arrowdown';
                    font-family: 'main-icons';
                    text-transform: none;
                    display: block;
                }
            }

            &:hover {
                background: rgb(var(--main-color-1));
                color: rgb(var(--main-color-2));
            }

            &:hover > .overlay-submenu {
                padding-top: 32px;

                & .submenu {
                    background: rgb(var(--main-color-1));
                    color: rgb(var(--main-color-2));
                    font-size: 14px;
                    padding: 0;
                    gap: 0;

                    & .menu-item-title {
                        background: none;
                        font-weight: 400;
                        text-transform: initial;
                    }

                    & span:hover {
                        background: rgb(var(--main-color-5));

                        & a {
                            color: rgb(var(--main-color-1));
                        }
                    }

                    & a {
                        color: rgb(var(--main-color-2));
                    }
                }
            }
        }

        & .menu-item-title {
            padding: 12px 12px;
            text-transform: uppercase;
            font-weight: 600;

            &:hover {
                background: rgb(var(--main-color-1));
                color: rgb(var(--main-color-2));
            }
        }

        & .main-btn {
            & .menu-item-title {
                color: rgb(var(--main-color-2));
                padding: 12px 0;

                &:hover {
                    background: none;
                }
            }
        }

        & + .toggle,
        &.full-menu + .toggle {
        }

        &.d-none + .toggle {
        }

        &.full-menu {
            gap: 16px;
        }
    }


    & .main-btn,
    & a.main-btn,
    & .secondary-btn,
    & a.secondary-btn {
        font-weight: 500;
    }

    & iframe {
        max-width: 100%;
    }

    & .items-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
        gap: 32px;

        & .card {
            display: grid;
            justify-content: center;
            grid-template-rows:240px auto;

            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            & .card-body {
                align-self: end;
                background: rgb(var(--main-color-1));
                padding: 16px;
                margin: -48px 32px 0;
                text-transform: uppercase;
                text-align: center;
                font-weight: 600;

                & a,
                & a:visited {
                    color: rgb(var(--main-color-2));
                }

                & a:hover {
                    color: rgb(var(--main-color-6));
                }
            }
        }

        & .pagination {
            grid-column: 1 / -1;
        }
    }

    & .cd-background-color-3 {
        & .card-body {
            background: rgb(var(--main-color-2));

            & a,
            & a:visited {
                color: rgb(var(--main-color-3));
            }

            & a:hover {
                color: rgb(var(--main-color-4));
            }
        }
    }

    & a.main-btn:hover {
        color: rgb(var(--main-color-2));
    }


    & .inner-animation-container {
        display: grid;
        grid-template-areas:
		"b";
        justify-content: center;
        align-items: center;
        max-width: 1280px;
        margin: 0 auto;
    }

    & .welcome-text {
        grid-area: b;
        font-size: var(--font-size-huge);
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: uppercase;
        z-index: 100;
    }

    & .letter {
        display: inline-block;
        position: relative;
        transition: transform 1.5s, opacity 1.5s;
        will-change: transform, opacity;
    }

    & .hide-to-right {
        transform: translateX(100vw);
        display: block;
    }

    & .hide-to-left {
        transform: translateX(-100vw);
        display: block;
        opacity: 0;
    }

    & .move-to-center-from-right {
        animation: smoothMoveToCenter 1s ease-out forwards; /* Utilisation de ease-out pour ralentir vers la fin */
    }

    & .move-to-center-from-left {
        animation: smoothMoveToCenterFromLeft 1s ease-out forwards; /* Utilisation de ease-out pour ralentir vers la fin */
    }

    & .mon-logo {
        grid-area: b;
        width: 30cqw;
        display: flex;
        flex-flow: column;
        align-items: center;
        margin: 0 auto;
        transition: opacity linear 1s;

        & svg {
            fill: rgb(var(--main-color-2));
        }
    }

    & .logo-mask {
        width: 100%;
    }

    & .logo-pic {
        margin-top: 10cqw;
    }

    & .logo-baseline {
        color: rgb(var(--main-color-2));
        position: relative;
        font-family: var(--secondary-font);
        text-transform: uppercase;
        font-size: var(--font-size-lvl-5);
        padding: 32px 0;
        display: flex;
        justify-content: center;
        font-weight: 300;
        flex-flow: row nowrap;
        text-align: left;
        width: 100%;
    }


    & .mon-logo.on-top {
        position: absolute;
        left: 0 !important;
        top: var(--wp-admin--admin-bar--height, 0px) !important;
        margin: 32px;
        width: 160px !important;
        height: inherit !important;
        justify-content: start;
        grid-template-areas:
		"asterisk"
		"ati"
		"pic";
        flex-flow: column;
        transition: all linear 1s;
    }

    & .top-logo {
        opacity: .5;
        left: 0;
        top: var(--wp-admin--admin-bar--height, 0px);
        margin: 32px;
        width: 80px;
        transition: all linear 1s;
        z-index: 1000;
    }

    & .mon-logo.on-top {
        & .logo-ati {
            grid-area: ati;
        }

        & .logo-pic {
            grid-area: pic;
        }

        & .logo-asterisk {
            grid-area: asterisk;
        }
    }

    & .mon-logo.on-top {
        & .logo-ati {
            height: 32px;
        }

        & .logo-asterisk {
            height: 68px;
        }
    }

    & .logo-intro.fade-out {
        transition: opacity 1s ease-out;
        opacity: 0;
    }

    & .style-logo {
        opacity: .8;
    }

    & .manipulated-logo__asterisk {
        top: -1000px;
        left: 20%;
        position: absolute;
        transition: width linear .6s, height linear .6s, opacity 1s ease-out, fill 1s ease-out;
        z-index: 100;
        fill: rgb(var(--main-color-2));

        &.reverse-color {
            fill: rgb(var(--main-color-1));
            z-index: 1000;
        }
    }

    .manipulated-logo__pic-i {

        position: absolute;
        transition: width linear .6s, height linear .6s, opacity 1s ease-out, fill 1s ease-out;
        z-index: 100;
        fill: rgb(var(--main-color-2));

        &.reverse-color {
            fill: rgb(var(--main-color-1));
            z-index: 1000;
        }
    }

    & .mask-opacity {
        opacity: 0;
    }

    & .no-opacity {
        opacity: 0;
    }

    & .no-height {
        height: 0;
        transform: translateY(-128px);
        overflow: hidden;
    }

    & #logo-pic-i {
        transform-origin: center;
        transform-box: fill-box;
        transition: transform linear .2s;
        transform: rotate(0deg);
    }

    & #logo-pic-i.animated-return {
        transform: rotate(-180deg);
    }


    & *:has(> .paperflight) {
        position:relative;
    }

    & .paperflight {
        height: 150px;
        position: absolute;
        top: 0px;
        transform: translate(-70%, -80%);

        & svg {
            height: 150px;
        }
    }

    & .cd-anim-spark-text {
        position: relative;
    }

    & .star {
        --star-size: 50px;
        --star-life: 5s;

        --start-left: 0px;
        --start-top: 0px;

        --end-left: 0px;
        --end-top: 0px;

        --star-color: #f1c40f;

        width: var(--star-size);
        height: var(--star-size);
        left: var(--end-left);
        top: var(--end-top);
        background: var(--star-color);
        background:transparent;
        position: absolute;
        border-radius:50%;
        border:4px solid var(--star-color);
        animation: sparkle var(--star-life) ease-in forwards;
    }
}

@media (max-width: 1053px) {
    :root, :before, :after {
        --font-size-paragraph: 1em;
        --font-size-lvl-6: 1em;
        --font-size-lvl-5: 1.1em;
        --font-size-lvl-4: 1.1em;
        --font-size-lvl-3: 1.25em;
        --font-size-lvl-2: 1.25em;
        --font-size-lvl-1: 1.5em;
    }
}
@media (max-width: 960px) {
    .layouts {
        & .top-bar__center {
            display:none;
        }
        & .top-bar__banner {
            grid-template-columns:1fr auto;
        }
    }
}