@font-face {
    font-family: 'PSGGroteskWideOffice';
    src: url('assets/fonts/PSGGroteskWideOfficeRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'PSG Grotesk 24 Screen VF';
  src: url('assets/fonts/PSGGrotesk24Screen-VF.woff2') format('woff2-variations');
  font-weight: 30 200;
  font-stretch: 5% 400%;
  text-rendering: optimizeLegibility;
}

/* Variable instances */
.psg-grotesk-24-screen-vf-light {
  font-variation-settings: "wght" 50, "wdth" 230;
}

.psg-grotesk-24-screen-vf-regular {
  font-variation-settings: "wght" 95, "wdth" 230;
}

.psg-grotesk-24-screen-vf-black {
  font-variation-settings: "wght" 200, "wdth" 230;
}

.psg-grotesk-24-screen-vf-wide {
  font-variation-settings: "wght" 83, "wdth" 330;
}

.psg-grotesk-24-screen-vf-narrow {
  font-variation-settings: "wght" 95, "wdth" 60;
}

:root {
  --psg-grotesk-24-screen-vf-light: "wght" 50, "wdth" 230;
  --psg-grotesk-24-screen-vf-regular: "wght" 95, "wdth" 230;
  --psg-grotesk-24-screen-vf-black: "wght" 200, "wdth" 230;
  --psg-grotesk-24-screen-vf-wide: "wght" 83, "wdth" 330;
  --psg-grotesk-24-screen-vf-narrow: "wght" 190, "wdth" 20;
  --psg-grotesk-24-screen-vf-super-narrow: "wght" 140, "wdth" 10;
  --psg-grotesk-24-screen-vf-super-xl-narrow: "wght" 110, "wdth" 10;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'PSGGroteskWideOffice', 'Inter', sans-serif;
    cursor: none;
    background-color: black;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Cursor */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

#custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #0000ff;
    mix-blend-mode: difference;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
}

#custom-cursor-label {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s;
}

body.is-dragging #custom-cursor-label {
    opacity: 0;
}

#logo {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    pointer-events: none;
    mix-blend-mode: difference;
}

canvas {
    display: block;
    z-index: 1;
}

.drag-highlight {
    border: 4px dashed #3498db;
    opacity: 0.8;
    background-color: rgba(52, 152, 219, 0.1);
}

.hidden {
    display: none !important;
}

#container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333;
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spinner 1s linear infinite;
    margin-bottom: 20px;
}

#loading-text {
    color: white;
    font-family: 'PSGGroteskWideOffice', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

#loading-subtext {
    color: #888;
    font-family: 'PSGGroteskWideOffice', 'Inter', sans-serif;
    font-size: 12px;
    margin-top: 5px;
}

body.is-mobile #custom-cursor {
    position: fixed;
    top: calc(50% - 20px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-color: rgba(255, 255, 255, 0.5);
}

body.is-mobile #custom-cursor-dot {
    display: block !important;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
}

body.is-mobile #custom-cursor-label {
    font-size: 12px;
    opacity: 0.8;
}
.sound_control {
	position: absolute;
    bottom: 1.5em;
    right: 2em;
}

.on_off:nth-child(2) {
	display: none;
}

.info {
	position: absolute;
    bottom: 1.5em;
    left: 2em;
}

.info, .sound_control {
  mix-blend-mode: exclusion;
}


a.ani-btn {
    color: black !important;
    text-decoration: none;
    font-family: 'PSG Grotesk 24 Screen VF', sans-serif;
    font-variation-settings: var(--psg-grotesk-24-screen-vf-wide);
    font-size: 1em;
    width: 80px;
    height: 36px;
  display: block;
  background-color: white !important;
  border-radius: 30px;
}

.sound_control a.ani-btn {
  width: 170px;
  background-color: white !important;
  background-image: url(assets/sound-icon.svg);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 10px;
}

.sound_control .eciconsSoundOn a.ani-btn {
  background-image: url(assets/sound-icon-ani.svg);
  background-size: 35px;
  background-position-x: 15px;
}



a.ani-btn .list-link {
  line-height:.43;
  overflow:hidden;
  position:relative;
  text-align: center;
}

.sound_control a.ani-btn .list-link {
margin-left: 30px;
}

a.ani-btn .list-link span {
  display:block;
  padding:15px 0;
  transition:all .65s cubic-bezier(.16,1,.3,1)
}
a.ani-btn .list-link:before {
  content:attr(data-text);
  left:0;
  padding:15px 0;
  position:absolute;
  text-align:center;
  transform:translateY(100%);
  transition:all .65s cubic-bezier(.16,1,.3,1);
  width:100%
}
a.ani-btn:hover .list-link:before {
  transform:translateY(0)
}
a.ani-btn:hover .list-link span {
  transform:translateY(-100%)
}

.lightbox-frame {
position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, .1);
    z-index: 10000;
}

/* Grundzustand: nicht klickbar und nicht sichtbar */
.lightbox-frame{
  display:none;           /* wichtig für Klickbereich */
  opacity:0;
  pointer-events:none;    /* zusätzliche Absicherung */
  transition:opacity 2s ease;
}

/* Wenn geöffnet: sichtbar und klickbar */
.lightbox-frame.is-open{
  display:flex;           /* wird per JS gesetzt */
  opacity:1;
  pointer-events:auto;
}

.lightbox {
padding: 0 30px;
    color: white;
    width: 60vw;
    text-align: center;
    cursor:pointer;
} 

.close-frame {
position: relative;
    display: inline;
}

.lightbox h1 {
font-family: 'PSG Grotesk 24 Screen VF', sans-serif;
    font-variation-settings: var(--psg-grotesk-24-screen-vf-wide);
    font-size: 2.8vw;
    line-height: 1em;
    margin-bottom: .5em;
    margin-top: 1.8em;
    text-transform: uppercase;
    cursor:pointer;
}

.lightbox p {
font-family: 'PSG Grotesk 24 Screen VF', sans-serif;
    font-variation-settings: var(--psg-grotesk-24-screen-vf-wide);
    margin-top: 0;
    margin-bottom: 2em;
    font-size: 1.18em;
    line-height: 1.4em;
    /*text-align: left;*/
        cursor:pointer;
}

.close {
}
.close:before, .close:after {
  position: absolute;
  content: ' ';
  height: 4vw;
  width: 2px;
  background-color: #fff;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

/* Mobile defs */

body.is-mobile .lightbox-frame {
position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0px;
  padding-bottom: 80px;
    z-index: 10000;
}

body.is-mobile .lightbox {
	  width: 90vw;
	  min-width: auto;
} 

body.is-mobile .lightbox h1{
	  font-size: 5vw;
	  line-height: 1.2em;
} 

body.is-mobile .lightbox p{
	  font-size: 1em;
} 

body.is-mobile .close {
    width: 22px;
    height: 22px;
}

body.is-mobile .close:before,
body.is-mobile .close:after {
    height: 23px;
}


