@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    user-select: none; /* Deaktiviert die Textauswahl für das gesamte Dokument */
}

body {
    background: rgba(0, 0, 0, 0.1) url('/kleeblatt.jpg') no-repeat center center fixed; /* Statischer Hintergrund */
    background-size: cover; /* Hintergrundbild über die gesamte Ansichtshöhe skalieren */
    min-height: 100vh;
    overflow: hidden; /* Verhindert das Scrollen */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Zentriert auf der y-Achse */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    background: rgba(0, 0, 0, 0.852);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.left-section {
    display: flex;
    align-items: center;
}

.left-section img {
    margin-top: 9px;
}

.right-section {
    display: flex;
    align-items: center;
}

.left-section .logo img {
    filter: invert(100%);
    margin-right: 100px; /* Abstand von 100px zum Schriftzug */
}

.title2 {
    margin: 0;
    font-size: 50px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-position: -350px 0;
    animation: backcolor 8s linear infinite alternate;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    position: relative;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
    padding: 0 10px; /* Padding hinzugefügt, um Platz für den Strich zu schaffen */
}

nav a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

nav a:hover::before {
    width: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.752);
    text-align: center;
    padding: 10px 0;
}

footer p {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

/* Animation for title */
@keyframes backcolor {
    100% {
        background-position: 0 0;
    }
}

/* Media Query for screens smaller than 1070px */
@media (max-width: 1200px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    .left-section {
        justify-content: center;
        margin-bottom: 20px;
    }

    .left-section .logo img {
        margin-right: 0; /* Entfernt den Abstand zwischen Bild und Schriftzug */
    }

    .title2 {
        font-size: 30px; /* Schriftgröße anpassen für kleinere Bildschirme */
        margin-left: 20px; /* Abstand von Schriftzug zum Bild */
    }

    .right-section {
        justify-content: center;
        flex-direction: row;
    }

    nav {
        flex-direction: row;
        justify-content: center;
    }

    nav a {
        margin: 0 10px; /* Reduzierter Abstand zwischen den Kategorien */
        padding: 0 10px; /* Padding für Platz zwischen den Links */
    }

    nav a:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 20px;
        background: #fff;
    }

    nav a::before {
        left: -10px; /* Strich links vom Link */
    }

    nav a::after {
        right: 0; /* Strich rechts vom Link */
    }

    nav a:last-child::before {
        display: none; /* Entfernt den Strich vor dem letzten Link */
    }
}

/* Generator Container Styles */
.generator-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.generator-container h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
    -webkit-text-stroke: 1px black; /* Schwarze Outline um den Text */
}

.numbers {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#main-numbers, #euro-numbers, #super-number {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

#main-numbers div, #euro-numbers div, #super-number div {
    font-size: 24px;
    font-weight: bold;
    color: white;
    -webkit-text-stroke: 1px black; /* Schwarze Outline um die Zahlen */
    padding: 10px;
    border: 2px solid black; /* Schwarze Umrandung um die Kreise */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0.7); /* Schwarzer transparenter Hintergrund in den Kreisen */
}

button {
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #555;
}
