@font-face {
    font-family: "Whitney-book";
    src: url("/fonts/whitneybook.woff") format('woff');
    src: url("/fonts/whitneybook.woff2") format('woff2');
}
@font-face {
    font-family: "Whitney-light";
    src: url("/fonts/whitneylight.woff") format('woff');
    src: url("/fonts/whitneylight.woff2") format('woff2');
}
@font-face {
    font-family: "Whitneyboldsc";
    src: url("/fonts/whitneyboldsc.woff") format('woff');
    src: url("/fonts/whitneyboldsc.woff2") format('woff2');
}



/* Farb-Variablen */
:root {
    --red: rgb(203, 78, 68);
    --dred: rgb(137,49, 40);
    --dblue: rgb(32, 43, 60);
    --lblue: rgb(74, 121, 188);
    --elblue: rgb(142, 205, 239);
    --orange:rgb(229, 134, 18);
    --lgreen: rgb(141, 194, 103);
    --black: rgb(36, 36, 36);
    --beige: rgb(255, 251, 222);
    --backgr: rgb(234, 248, 255);
    --white: rgb(255, 255, 255);
}

/* allgemeine Regeln */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
}

/*  markierter Text */
::selection {
    background-color: var(--red);
    color: var(--white);
}


body {
    font-family: "Whitney-book", sans-serif;
    background-color: var(--backgr);
    color: var(--black);
    padding-top: 100px;
}

body.beigecolor {
    background-color: var(--beige); /* Beige für Pinguin */
}

body.dbluecolor {
    background-color: var(--dblue); /* Dunkelblau für Outer Space */
}

body.lgreencolor {
    background-color: var(--lgreen); /* Hellgrün für Alpen */
}

a {
    text-decoration: none;
    color: var(--black);
}

body.textbeige p {
    color: var(--beige); /* Styling für p-Text auf Alienseite */
    letter-spacing: 0.3px;
}

/* header */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: var(--white);
    border-bottom: 3px solid var(--dblue);
    top: 0;
}

#Logo img {
    padding-top: 5px;
    width: 50px;
    height: auto;
}

#nav-menu {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Das Menü füllt die gesamte Höhe des Bildschirms */
    overflow-y: auto; /* Ermöglicht Scrollen, falls der Inhalt zu lang ist */
   /* z-index: 999; /* Stellt sicher, dass es immer über anderen Elementen liegt */
    background-color: var(--white); /* Hintergrundfarbe */
    padding: 5px 20px 0px 20px;
}

#nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 15px;
}

.right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.active {
    text-decoration: underline 3px solid var(--blue);
}

header img {
    width: 25px;
    height: auto;
    align-items: center;
    cursor: pointer;
}


#active a {
    text-decoration: underline 3px solid var(--red);
}

.bar {
    background-color: var(--black);
    width: 100%;
    height: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.contact-form-container {
    background: var(--white);
    border: 4px solid var(--black);
}

#nav-menu {
    background-color: var(--white);
}
.barr {
    background: var(--dblue);
}
.changee .barr {
    background: var(--red);
}


.Intro {
    padding: 0px 30px 40px 20px;
}
.Intro h1 {
    font-family: "lores-12", sans-serif;
    font-size: 48px;
    line-height: 55px;
    color: var(--red);
}

.Intro p {
    padding-top: 20px;
    font-family: "Whitney-book", sans-serif;
    font-size: 18px;
    line-height: 25px;

    text-align: left;
    color: var(--dblue);
}

.projects-overview {
    width: 100%;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

section {
    margin: 20px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section img {
    width: auto;
    height: 400px;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
    cursor: alias;
}

section img:hover {
    filter: hue-rotate(100deg);
}

.dpicture {
    border-radius: 0;
    display: none;
    position: absolute;
    z-index: 1;
    transition: 0.5s ease-in-out;
}

.button {
    border: none;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--red);
    
    /* Pixeliger Look */
    box-shadow: 5px 5px 0px var(--dred); /* Pixeliger Schatten */

    /* Simuliert pixelige Kanten */
    image-rendering: pixelated;
    image-rendering: crisp-edges;

    /* Optional: Kein Border-Radius */
    border-radius: 0;
}

.button a {
    font-family: "lores-12";
    color: var(--white);
    font-size: 20px;
    line-height: 15px;
}

.activebutton {
    text-decoration: underline 3px solid var(--red);
    font-family: "lores-12";
}

.button:hover {
    border: none;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--dblue);
    
    /* Pixeliger Look */
    box-shadow: 5px 5px 0px var(--lblue); /* Pixeliger Schatten */

    /* Simuliert pixelige Kanten */
    image-rendering: pixelated;
    image-rendering: crisp-edges;

    /* Optional: Kein Border-Radius */
    border-radius: 0;
}

.hgamepenguin {
    font-family: "lores-12";
    font-size: 90px;
    line-height: 85px;
    color: var(--lblue);
}

.h1quote {
    font-family: "Whitneyboldsc", sans-serif;
    padding:0px 30px 0px 20px;
    color: var(--orange);
}

.h1quoteblue {
    font-family: "Whitneyboldsc", sans-serif;
    padding:0px 30px 0px 20px;
    color: var(--lblue);
}

#quote {
    padding:10px 30px 40px 20px;
    font-family: "Whitney-book", sans-serif;
    font-size: 18px;
    line-height: 25px;

    text-align: left;
    color: var(--dblue);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Falls Text unter dem Bild ist */
    text-align: center;
}

#quotebeige {
    padding:10px 30px 40px 20px;
    font-family: "Whitney-book", sans-serif;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.3px;

    text-align: left;
    color: var(--beige);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Falls Text unter dem Bild ist */
    text-align: center;
}

#quoteImage {
    padding-top: 15px;
    cursor: pointer;
    width: 230px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.2s ease-in-out;
}

#quoteImage:hover {
    animation: scaleEffect 2s ;
}

@keyframes scaleEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
 


/* Nachricht für breite Bildschirme ausblenden */
.mobile-message {
    display: none;
}

/* Nachricht für breite Bildschirme anzeigen */
@media (min-width: 768px) {
    .mobile-message {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        color: black;
        font-size: inherit; /* Größe an deinen p-Text anpassen */
        z-index: 9999;
        text-align: center;
    }

    /* Restliche Inhalte unsichtbar machen */
    body > *:not(.mobile-message) {
        display: none;
    }
}



@media (max-width: 768px) {

    .mobileheaderimg {
        display: flex;
        margin: 0 auto;
    }

    .mobileheaderimg img {
        width: 70px;
        height: auto;
    }

    .hidden {
        display: none !important;
    }

    #hidden-img {
        display: none;
    }

    #Logo {
        display: none;
    }

    header {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    #nav-menu {
        position: fixed;
        height: 400px;
    }

    #nav-menu ul {
        font-size: 25px;
        display: flex;
        flex-direction: column;
        margin: 00px 40px 0px 0px;
    }

    .mobilebutton {
        position: fixed;
        border: none;
        background-color: transparent;
    }

    #mobilemenubar {
        z-index: 10;
        width: 35px;
        height: 25px;
        margin-left: 20px;
    }

    .barr {
        height: 3px;
        width: 100%;
        border-radius: 0.5px;
        transition: 0.5s ease;
    }

    #bar1 {
        transform: translateY(-7px);
    }

    #bar3 {
        transform: translateY(7px);
    }

    .changee .barr {
        height: 3px;
    }

    .changee #bar1 {
        transform: translateX(-6px) translateY(-5px) rotateZ(135deg);
        width: 70%;
    }

    .changee #bar3 {
        transform: translateX(-6px) translateY(5px) rotateZ(-135deg);
        width: 70%;
    }

     section img {
        width: auto;
        height: 60vw;
        border-radius: 5px;
        cursor: alias;
    }
}




.margueegeneral {
    user-select: none;
}

.marqueeu {
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
}

.scrollu {
    scroll-behavior: smooth;
    animation: scrollu 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
}

.marquee-contentu {
    min-width: 100%;
    flex: none;
    display: flex;
    z-index: 2;
}

.text-blocku p {
    font-family: "lores-12";
    font-size: 25px;
    line-height: 30px;
    color: var(--lblue);
}

.dekoice {
    width: 100px;
    height: auto;
    position: absolute; /* Position absolut zum nächsten positionierten Element */
    top: 73px; /* Direkt unter dem Header */
    right: 0; /* Ganz rechts im Bild */
    z-index: 1; /* Optional, damit das Bild über anderen Elementen liegt */
}

.dekosparkle {
    width: 100px;
    height: auto;
    position: absolute; /* Position absolut zum nächsten positionierten Element */
    top: 110px; /* Direkt unter dem Header */
    right: 0; /* Ganz rechts im Bild */
    z-index: 1; /* Optional, damit das Bild über anderen Elementen liegt */
}

.dekoalps {
    width: 100px;
    height: auto;
    position: absolute; /* Position absolut zum nächsten positionierten Element */
    top: 100px; /* Direkt unter dem Header */
    right: 0; /* Ganz rechts im Bild */
    z-index: 1; /* Optional, damit das Bild über anderen Elementen liegt */
}

.dekocenter {
    width: 100px;
    height: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: 50px;
}

.footer {
    font-size: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.logofooter {
    width: 70px;
    height: auto;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}

#scrollToTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px; /* Button-Breite */
    height: auto; /* Button-Höhe */
    border-radius: 50%;
    background-color: transparent; /* Keine Hintergrundfarbe */
    z-index: 1000;
    display: none; /* Anfangs versteckt */
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#scrollToTop.visible {
    opacity: 1;
    visibility: visible;
}

.link {
    color: var(--orange);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

@keyframes scrollu {
    from {
        transform: translateX(calc(-100% - 1rem));
    }

    to {
        transform: translateX(0);
    }
}