@font-face {
    font-family: "Mono Light";
    src: url("../fonts/PPNeueMontrealMono-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Mono Book";
    src: url("../fonts/PPNeueMontrealMono-Book.woff2") format("woff2");
}

@font-face {
    font-family: "Mono Bold";
    src: url("../fonts/PPNeueMontrealMono-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Rules Light";
    src: url("../fonts/Rules-Light.woff2") format("woff2")
}

@font-face {
    font-family: "Rules Bold";
    src: url("../fonts/Rules-Semibold.woff2") format("woff2")
}

@font-face {
    font-family: "Cinetype Light";
    src: url("../fonts/GTCINETYPE-LIGHT.OTF") format("opentype")
}

@font-face {
    font-family: "Cinetype Bold";
    src: url("../fonts/GTCINETYPE-BOLD.OTF") format("opentype")
}


:root {
    --blue: #9dc6ce;

    --white: #edf4f6;

    --backgr: #f8f7f4;

    --schrift: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mono Light";
    color: var(--schrift);
}

html,
body {
    scroll-behavior: smooth;
    background-color: var(--backgr);
    overflow-x: hidden;
    cursor: none;
}

section {
    z-index: 100;
    display: flex;
    flex-direction: column;
}


h1,
h2,
h3,
h4,
h5 {
    font-weight: 400;
}


h1 {
    font-family: "Cinetype Bold";
    text-transform: uppercase;
    font-size: 3vw;
    letter-spacing: -1.2px;
}

h2 {
    font-family: "Cinetype Light";
    font-size: 1vw;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}


h3 {
    font-family: "Cinetype Bold";
    font-size: 1.5vw;
    text-transform: uppercase;
    letter-spacing: -0.2px;
}

p {
    font-family: 'Cinetype Light';
    letter-spacing: -0.1px;
    font-size: 1.4vw;
    line-height: 1.2;
    text-indent: 8%;
}


p:first-of-type {
  text-indent: 0;
}


a {
    text-decoration: none;
    cursor: none;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
}


#cursor {
    position: fixed;
    left: -100px;
    top: -100px;
    z-index: 2000;
    pointer-events: none;
    user-select: none;
    font-size: 0.8vw;
    width: 0.8vw;
    height: 0.8vw;
    border-radius: 3vw;
    background-color: var(--schrift);
    transform: translate(-50%, -50%);
}


button {
    font-family: "Cinetype Bold";
    border: none;
    background: none;
    width: max-content;
    font-size: 0.9vw;
    transition: ease 0.3s;
}

button:hover {
    text-decoration: underline dotted 2px;
    text-underline-offset: 2px;
}


u {
    text-decoration: underline dotted 2px;
    text-underline-offset: 2px;
    font-family: inherit;
}


#navigation {
    z-index: 1000;
    position: fixed;
    width: 98%;
    bottom: 1.5%;
    left: 1%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 0.8vw;
}

.terminal {
    display: flex;
    flex-direction: row;
    gap: 0.6vw;
}


#mouse-tracker {
    display: flex;
    flex-direction: row;
    gap: 0.5vw;
}


#mobile {
    position: fixed;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    display: none;
    background-color: var(--backgr);
    opacity: 0;
    z-index: 2000;
}

#footnote-mobile {
    position: absolute;
    width: 40vw;
    top: 10%;
    right: 7%;
    text-indent: -9%;
    font-family: "Rules Light";
    font-size: 3vw;
}

 @media (max-width: 1168px) {
    #mobile {
        display: flex;
        opacity: 1;
    }

    h3 {
        font-size: 8vw;
    }
}


/* /////// MAIN-CONTENT ////////// */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(11, 11, 11, 0.651);
    border-top: 5px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


#background {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;

}



#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(248, 247, 244);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-overlay video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#start-overlay.hidden {
    display: none;
}



/* ////////// SIDEBAR //////////////////*/
#sidebar-ganz {
    position: fixed;
    z-index: 101;
    display: flex;
    flex-direction: column;
    right: 0;
    width: auto;
    height: 85%;
    padding: 15px 15px 15px 0;
    margin: 1.5vw 0vw 2.5vw 0;
    align-items: flex-start;
    transition: ease 0.3s;
}

.line-number-live {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 0.6vw;
}

.line-number-live-left {
    font-size: 1.8vw;
    font-family: "Cinetype Bold";
}

.line-number-live-right {
    font-size: 1.9vw;
    font-family: "Cinetype Light";
    margin-bottom: 1vw;
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.sidebar {
    border-left: 2px dotted var(--schrift);
    padding: 10px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar.active {
    display: block;
    opacity: 1;
}

#sidebar-ganz:has(.sidebar.active) {
    background-color: var(--backgr);
}

.toggle-arrow.active {
    transform: rotate(180deg);
}

.line-number {
    font-size: 1.5vw;
    font-family: "Mono Light";
    margin-bottom: 0.2vw;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.line-number-0 {
    font-size: 1.5vw;
    color: var(--backgr);
}

.line-number:hover {
    font-size: 2.5vw;
}

.line-number:nth-child(2) {
    margin-top: 2vw;
}

.line-number:nth-child(4) {
    margin-top: 1vw;
}

.line-number:nth-child(8) {
    margin-top: 2vw;
}

.line-number:nth-child(14) {
    margin-top: 2vw;
}

.line-number:nth-child(15) {
    margin-top: 2vw;
}






/* ////////// OVERLAY //////////////////*/

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.overlay-content {
    text-align: center;
    align-content: center;
    max-width: 80vw;
    height: 20vw;
    position: relative;
    z-index: 2001;
}

.overlay-content h3 {
    margin-bottom: 0.5vw;
    font-size: 1.5vw;
    color: var(--schrift);
}


.overlay-content button {
    color: var(--schrift);
    font-size: 2.8vw;
    font-family: "Mono Book";
    text-decoration: none;
}







