/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × CODEXBLAU  GMBH × × × × × × × × × × */
/* × × × × × × × × × × COMPONENTS  × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

/************************************************************

$name      => CODEXBLAU GmbH
$author    => Nick Helfenbein <nick@codexblau.de>
$version   => Version 2 (2.0)
$year      => 2026
$copyright => 2026. CODEXBLAU GmbH. All rights reseved.

************************************************************/

/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */
/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × */



/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × IMAGE FIGURES × × × × × × × × × × × × × × 
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.image-figure {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: relative;
    margin: 0;
    padding: 0;
}

.image-figure.default {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-figure.default::before {
    content: "";
    padding-top: 133.333%;
    display: block;
}

.image-figure.default.landscape::before {
    content: "";
    padding-top: 66.666%;
    display: block;
}

.image-figure.default.youtube::before {
    content: "";
    padding-top: 56.25%;
    display: block;
}

.image-figure.default.medium::before {
    content: "";
    padding-top: 44.333%;
    display: block;
}

.image-figure.default.small::before {
    content: "";
    padding-top: 33.333%;
    display: block;
}

.image-figure.default.insta::before {
    content: "";
    padding-top: 120%;
    display: block;
}

.image-figure.default.square::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.image-figure.default.macbook::before {
    content: "";
    padding-top: 63%;
    display: block;
}

.image-figure.default .overlay {
    overflow: hidden;
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × CUSTOM CURSOR × × × × × × × × × × × × × × 
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.cursor {
    position: fixed;
    top: -1.5em;
    left: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cursor * {
    pointer-events: none;
}

.cursor-inner {
    width: 0;
    height: 0;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: var(--animation-short);
    transform: translate(-50%, -50%);
}

.cursor-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    background: var(--color-white);
    border-radius: 50%;
    transform: translateX(0);
    pointer-events: none;
    transition: var(--animation-short);
}

.cursor-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    background: var(--color-white);
    border-radius: 50%;
    transform: translateX(0);
    pointer-events: none;
    transition: var(--animation-short);
}

[data-cursor-status="active"] .cursor-inner {
    width: 4em;
    height: 4em;
    pointer-events: none;
}

.cursor-text {
    pointer-events: none;
    transform: scale(0);
    pointer-events: none;
    transition: var(--animation-short);
}

[data-cursor-status="active"] .cursor-text {
    transform: scale(1);
    pointer-events: none;
}


/* TYPE: Drag */

[data-cursor-status="active"][data-cursor-type="drag"] .cursor-inner::before {
    width: .5em;
    height: .5em;
    pointer-events: none;
    transform: translateX(-200%);
}

[data-cursor-status="active"][data-cursor-type="drag"] .cursor-inner::after {
    width: .5em;
    height: .5em;
    pointer-events: none;
    transform: translateX(200%);
}

[data-cursor-status="active"][data-cursor-type="drag"][data-drag-status="grabbing"] .cursor-inner {
    transform: translate(-50%, -50%) scale(.9);
}

[data-cursor-status="active"][data-cursor-type="drag"][data-drag-status="grabbing"] .cursor-inner::before {
    transform: translateX(-300%);
}

[data-cursor-status="active"][data-cursor-type="drag"][data-drag-status="grabbing"] .cursor-inner::after {
    transform: translateX(300%);
}

[data-cursor-type="drag"] .cursor-inner,
[data-cursor-type="drag"] .cursor-inner::before,
[data-cursor-type="drag"] .cursor-inner::after {
    background: var(--color-natural-400);
}

[data-cursor-type="drag"] .cursor-text {
    color: var(--color-black);
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × MARQUEE × × × × × × × × × × × × × × × × ×
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.marquee-group {
    position: relative;
}

.marquee {
    position: relative;
}

.marquee .marquee-scroll {
    position: relative;
    display: flex;
    width: 140%;
    margin-left: -20%;
}

.marquee .marquee-content {
    position: relative;
    display: flex;
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × SCROLLBAR × × × × × × × × × × × × × × × × 
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

[data-scrollbar] {
    position: fixed;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 5px;
    z-index: 100000000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;
}

[data-scrollbar] [data-scrollbar-thumb] {
    min-height: 2em;
    height: 4em;
    background-color: var(--color-natural-400);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: grab;
    border-radius: 30px;
    width: 100%;
}

.lenis-smooth.lenis-scrolling [data-scrollbar] {
    opacity: 1;
}

[data-scrollbar]:hover,
[data-scrollbar-drag="true"] {
    opacity: 1;
    width: 9px;
}

@media screen and (min-width: 1024px) {
    .lenis-smooth [data-scrollbar] {
        display: flex;
    }
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × COOKIE BANNER × × × × × × × × × × × × × × 
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000000;
    transition: var(--animation-default);
}

.cookie-banner-overlay[data-cookie-banner-status="active"] {
    background: rgba(var(--color-natural-1000-rgb), .5);
    pointer-events: none !important;
}

.cookie-banner {
    position: absolute;
    bottom: calc(var(--padding-container) * -2);
    right: calc(var(--padding-container) * 2);
    padding: calc(var(--padding-container) * 2);
    background: var(--color-natural-200);
    border-radius: 1em;
    border: 1px solid var(--color-natural-400);
    pointer-events: none;
    opacity: 0;
    transition: var(--animation-default);
    z-index: 10;
}

.cookie-banner[data-cookie-banner-main-status="active"] {
    opacity: 1;
    bottom: calc(var(--padding-container) * 2);
    pointer-events: all;
}

.cookie-banner.cookie-banner-main {
    width: calc(100% - calc(var(--padding-container) * 4));
    max-width: 30em;
}

.cookie-banner .actions.row {
    gap: var(--gap);
    flex-wrap: wrap;
    padding-top: var(--gap);
}

.cookie-banner .actions.row .btn {
    width: calc(50% - calc(var(--gap) * .5));
}

.cookie-banner .actions.row .btn .btn-wrap {
    width: 100%;
    justify-content: start;
}

.cookie-banner .actions.row .btn.btn-settings {
    width: 100%;
}

.cookie-banner p.text-medium {
    font-weight: 600;
    margin-bottom: 1em;
}


.cookie-banner.cookie-banner-settings {
    position: absolute;
    bottom: unset;
    right: unset;
    top: 50%;
    left: 50%;
    width: calc(100% - calc(var(--padding-container) * 4));
    max-width: 40em;
    height: max-content;
    opacity: 0;
    transform: translate(-50%, -25%);
}

.cookie-banner.cookie-banner-settings[data-cookie-settings-status="active"] {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.cookie-banner.cookie-banner-settings .cookie-group {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding-block: var(--gap);
    border-bottom: 1px solid var(--color-natural-400);
}

.cookie-banner.cookie-banner-settings .cookie-group:nth-child(2) {
    border-top: 1px solid var(--color-natural-400);
}

.cookie-banner.cookie-banner-settings .cookie-group label {
    display: flex;
    gap: var(--gap);
    align-items: center;
}

.cookie-banner.cookie-banner-settings .actions {
    margin-top: var(--gap);
}


/* × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 
 × × × × × × × × × ANIMATE DOT × × × × × × × × × × × × × × ×  
× × × × × × × × × × × × × × × × × × × × × × × × × × × × × */

.animate-dot {
   opacity: 0;
   animation: animateDot1 2s linear infinite;
}

.animate-dot:nth-child(2) {
   animation: animateDot2 2s linear infinite;
}

.animate-dot:nth-child(3) {
   animation: animateDot3 2s linear infinite;
}

@keyframes animateDot1 {
   0%   {opacity: 0; }
   20%  {opacity: 0;}
   30%  {opacity: 1;}
   90% {opacity: 1;}
}

@keyframes animateDot2 {
   0%   {opacity: 0; }
   35%  {opacity: 0;}
   45%  {opacity: 1;}
   90% {opacity: 1;}
}

@keyframes animateDot3 {
   0%   {opacity: 0; }
   50%  {opacity: 0;}
   60%  {opacity: 1;}
   90% {opacity: 1;}
}
