@font-face {
    font-family: 'Uncut Sans';
    src: url('https://github.com/kaspernordkvist/uncut_sans/blob/main/Webfonts/UncutSans-Variable.woff2') format('woff2');

}

body {
    font-family: 'Uncut Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}
.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20vw;
    max-width: 200px;
    height: auto;
    z-index: 1001; /* Erhöht, um sicherzustellen, dass es über den Mindmap-Texten liegt */
}

/* Menu */
.menu-container {
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
    mix-blend-mode: normal; /* Ändern Sie dies von 'difference' zu 'normal' */
    will-change: transform; /* Fügen Sie diese Zeile hinzu */
    transform: translateZ(0); /* Fügen Sie diese Zeile hinzu */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.menu {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.menu li {
    position: relative;
    cursor: pointer;
    padding: 2px 5px;
    color: #0B93F6;
    transition: color 0.3s ease;
    font-size: 1.5em; /* Schriftgröße  */
    font-weight: 400; /* Neue Zeile: Setzt die Schriftstärke auf 500 */
}

.menu li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2.5px;
    background-color: black; /* Standardfarbe für die Unterstreichung */
    transform: scaleX(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu li:hover::after {
    transform: scaleX(1);
}

.menu li:nth-child(1):hover::after { background-color: #286A9C; }
.menu li:nth-child(2):hover::after { background-color: #508946; }
.menu li:nth-child(3):hover::after { background-color: #50B33E; }
.menu li:nth-child(4):hover::after { background-color: #455E40; }
.menu li:nth-child(5):hover::after { background-color: #2D342C; }

/* Marquee */
.marquee-container {
    position: fixed;
    left: 0;
    width: 100%;
    height: 6vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: bottom 0.5s ease-in-out;
    z-index: 1002;
    bottom: -6vh; /* Startet außerhalb des sichtbaren Bereichs */
}
.marquee-box {
    width: 100%;
    height: 3vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.marquee-text {
    white-space: nowrap;
    will-change: transform;
    animation: marquee 20s linear infinite;
    font-size: 1.854vh;
    font-family: 'Uncut Sans', sans-serif;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.top-marquee-container:hover .top-marquee-text {
    animation-play-state: paused;
}
/* Farben für die unteren Marquee-Boxen */
.marquee-box:nth-child(1) {
    background-color: #50B33E;
}

.marquee-box:nth-child(2) {
    background-color: #455E40;
}

.top-marquee-container {
    position: fixed;
    top: -3vh; /* Startet außerhalb des sichtbaren Bereichs */
    left: 0;
    width: 100%;
    height: 3vh;
    background-color: red; /* Farbe für die obere Marquee-Box */
    overflow: hidden;
    transition: top 0.5s ease-in-out;
    z-index: 1002;
    display: flex; /* Hinzugefügt */
    align-items: center; /* Hinzugefügt */
    justify-content: center; /* Hinzugefügt */
}

.imp-top-marquee-container {
    position: fixed;
    top: -3vh; /* Startet außerhalb des sichtbaren Bereichs */
    left: 0;
    width: 100%;
    height: 3vh;
    background-color: #286A9C; /* Farbe für die obere Marquee-Box */
    overflow: hidden;
    transition: top 0.5s ease-in-out;
    z-index: 1002;
    display: flex; /* Hinzugefügt */
    align-items: center; /* Hinzugefügt */
    justify-content: center; /* Hinzugefügt */
}

.marquee-text, .top-marquee-text {
    white-space: nowrap;
    will-change: transform;
    animation: marquee 20s linear infinite;
    font-size: 1.854vh;
    font-family: 'Uncut Sans', sans-serif;
    color: white;
    font-weight: 300;
}

/* Neue Regel für das Pausieren der Animation */
.marquee-container:hover .marquee-text,
.top-marquee-container:hover .top-marquee-text {
    animation-play-state: paused;
}

/* Hint */
.hint-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1001; /* Erhöhen Sie den z-Index, um sicherzustellen, dass es über anderen Elementen liegt */
}

/* Bouncing Text */
.bouncing-text {
    position: fixed;
    font-family: 'Uncut Sans', sans-serif;
    font-weight: 600;
    font-size: 5vw;
    color: #7ab929; /* Farbe des Logos */
    opacity: 1;
    user-select: none;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.5s ease;
}

@keyframes blink {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.bouncing-text::after {
    content: '|';
    color: #286A9C;
    animation: blink 0.7s infinite;
    font-weight: 100;
    display: inline-block;
    margin-left: 2px;
}

.bouncing-text.hide-cursor::after {
    display: none;
}

/* Preview Image */
.preview-image {
    position: absolute;
    box-shadow: 6px 8px #7ab929;
    border: 3px solid #286A9C;
    z-index: 10;
    max-width: 50vw;
    max-height: 70vh; /* Neue Zeile: Begrenzt die Höhe auf 70% der Viewport-Höhe */
    width: auto; /* Geändert von min-width auf width */
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

/* Tennis Ball */
#tennis-ball {
    position: fixed;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translateX(-50%);
    z-index: 998;
}

/* Cookie Message */
#cookie-message {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 999;
    cursor: pointer;
    max-width: 300px;
    display: none;
}

/* iMessage */
:root {
    --page-background: #ffffff;
    --send-bg: #0B93F6; /* Hintergrundfarbe für die Sprechblase */
    --send-color: rgb(255, 255, 255); /* Textfarbe für die Sprechblase */
}

.imessage-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.imessage-bubble {
    color: var(--send-color);
    background: var(--send-bg);
    padding: 15px;
    border-radius: 20px;
    max-width: 250px;
    position: relative;
    margin-left: 20px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.imessage-bubble:before {
    content: '';
    position: absolute;
    right: -7px; /* Position des Pfeils */
    bottom: 0;
    width: 20px;
    height: 25px;
    background-color: var(--send-bg);
    border-bottom-left-radius: 16px 14px; /* Runde Ecken für den Pfeil */
}

.imessage-bubble:after {
    content: '';
    position: absolute;
    right: -26px; /* Position des Hintergrunds des Pfeils */
    bottom: 0;
    width: 26px;
    height: 25px;
    background-color: var(--page-background);
    border-bottom-left-radius: 10px; /* Runde Ecken für den Hintergrund des Pfeils */
}

/* Contact Option */
.contact-option {
    display: inline-block;
    position: relative;
}

.contact-option .du,
.contact-option .sie {
    transition: color 0.3s ease;
}

li:hover .contact-option[data-option="du"] .du {
    color: #286A9C;
}

li:hover .contact-option[data-option="sie"] .sie {
    color: #455E40;
}

@keyframes wobble {
    0% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-5px) rotate(-5deg); }
    50% { transform: translateX(5px) rotate(5deg); }
    75% { transform: translateX(-5px) rotate(-5deg); }
    100% { transform: translateX(0) rotate(0); }
}

.wobble {
    display: inline-block;
    animation: wobble 0.5s ease;
}

.du, .sie {
    display: inline-block;
    transition: transform 0.3s ease;
}

.du:hover, .sie:hover {
    transform: scale(1.1);
}

.top-marquee-text {
    white-space: nowrap;
    will-change: transform;
    animation: marquee 20s linear infinite;
    font-size: 1.854vh;
    font-family: 'Uncut Sans', sans-serif;
    position: absolute; /* Hinzugefügt */
    left: 50%; /* Hinzugefügt */
    transform: translateX(-50%); /* Hinzugefügt */
}

/* Mindmap */
.mindmap-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.mindmap-text {
    color: #7ab929; /* Grüne Farbe aus dem Logo */
    font-size: 1.8em;
    font-weight: bold;
    opacity: 0;
    transition: all 0.5s ease;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8); /* semi-transparenter Hintergrund */
    padding: 5px;
    border-radius: 5px;
}

/* Impressum */
.impressum-link {
    position: fixed;
    bottom: 60px; /* Anpassen, um über den Marquee-Boxen zu sein */
    right: 20px;
    z-index: 1000;
    font-family: 'Uncut Sans', sans-serif;
}

.impressum-link a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.impressum-link a:hover {
    background-color: rgba(255, 255, 255, 1);
}


