/* Schriftarten */
@font-face {
    font-family: 'SpaceMono';
    src: url('fonts/SpaceMono.ttf') format('truetype');
}
@font-face {
    font-family: 'RedHat';
    src: url('fonts/RedHat.ttf') format('truetype');
}
@font-face {
    font-family: 'Garage';
    src: url('fonts/Garage.otf') format('opentype');
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat.ttf') format('truetype');
}

/* Allgemein */
html, body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    text-align: center;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Hintergrundbild */
#background {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 110vw;
    height: 110vh;
    background: url('images/hg_studio.jpg') no-repeat center center / cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f1fae1;
    z-index: 100;
}
nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #003847;
    height: 8vh;
    align-items: center;
}
nav ul li {
    flex: 1;
    text-align: center;
    border-right: 2px solid #003847;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
nav ul li:last-child {
    border-right: none;
}
nav ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:#003847;
    font-family: 'RedHat', serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2vw;
}
nav ul li a:hover {
    font-style: italic;
}



/*#############*/
/* PLATZHALTER */
.construction-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: transparent;
    z-index: 10;
}

/* Zentrales Quadrat */
.construction-box {
    width: 300px;
    height: 300px;
    background-color: white;
    border: 3px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

/* Unterschiedliche Position für oben/unten */
.top {
    border-bottom: 2px solid black;
}

.bottom {
    border-top: 2px solid black;
}

/* Laufschrift Container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Verdoppelter Inhalt für nahtloses Scrolling */
.marquee-content {
    display: flex;
    white-space: nowrap;
    letter-spacing: -1vw;
    font-size: 14em;
    font-weight: bold;
    font-family: Arial, sans-serif;
    width: max-content;
    animation: marquee 100s linear infinite; /* 10s für flüssige, durchlaufende Bewegung */
}

/* Keyframe-Animation für Endlos-Schrift */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%); /* Bewegung über gesamte Breite */
    }
}

/* Desktop */
@media screen and (min-width: 1025px) {

    .menu-toggle {
        display: none;
    }

    .menu-close {
        display: none;
    }
}

/* Smartphones */
@media screen and (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .menu-close {
        display: block;
        margin: 70vh auto 0 auto;
        background: none;
        border: none;
        color: #250c5c;
        font-size: 5rem;
        cursor: pointer;
    }

    nav {
        display: none;
        position: fixed;
        right: 0;
        width: auto; 
        height: 100%; 
        background-color: #e2f4f6;
        text-align: center;
        z-index: 100;
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        border-bottom: 0;

    }

    nav ul li {
        text-align: center;
        padding: 2vh;
        border-right: 0;

    }

    nav ul li a {
        font-size: 9vw;
    } 
}