@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght@400&display=swap');

body {
    font-family: "Poppins", Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: white;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

/* Header */
.header {
    position: absolute;
    top: 5px;
    right: 10px;
    display: flex;
    gap: 8px;
    font-size: 12px;
}

.header a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.header a:hover {
    text-decoration: underline;
}

/* Logo & Begrüßungstext weiter nach oben verschieben */
.logo-container {
    text-align: center;
    margin-bottom: 10px;
    margin-top: -70px; /* Höher setzen */
}

.logo-container img {
    width: 200px;
    height: auto;
}

h3 {
    margin-top: -10px;
}

/* Login-Formular-Container weiter nach oben setzen */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -50px; /* Höher setzen */
}

/* Hintergrund des Formulars */
.background {
    position: absolute;
    width: 104%;
    height: 104%;
    border-radius: 20px;
    background: linear-gradient(90deg, 
        #13447B 0%, #13447B 23%, 
        #1A5B91 24%, #0083C6 26%, #0083C6 48%, 
        #40A060 49%, #79B834 51%, #79B834 73%, 
        #A0C314 74%, #BCCF17 76%, #BCCF17 97%, 
        #13447B 98%, #13447B 100%);
    background-size: 80% 100%;
    animation: moveColors 5s infinite linear;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animation des Hintergrunds */
@keyframes moveColors {
    0% { background-position: 0% 0; }
    100% { background-position: -400% 0; }
}

/* Stil für das Login-Formular */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
    max-width: 350px;
    width: 100%;
    padding: 2em;
    position: relative;
    z-index: 1;
}

/* Hover-Effekt für das Formular */
.form:hover {
    transform: scale(1.05);
    border: 1px solid #ddd;
}

/* Überschrift des Formulars */
#heading {
    text-align: center;
    margin-bottom: 1em;
    color: #333;
    font-size: 22px;
}

/* Eingabefelder */
.field {
    display: flex;
    align-items: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: 1px solid #ddd;
    color: #333;
    background-color: #ffffff;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
}

/* Icons */
.material-symbols-outlined {
    color: #666;
    font-size: 24px;
}

/* Eingabefeld-Text */
.input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #333;
    font-size: 16px;
}

/* Login-Button */
.form .btn {
    display: flex;
    justify-content: center;
    margin-top: 1.5em;
}

.button1 {
    width: 100%;
    padding: 0.8em;
    border-radius: 5px;
    border: none;
    outline: none;
    transition: 0.4s ease-in-out;
    background-color: #0083C6;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/* Hover-Effekt für den Button */
.button1:hover {
    background-color: #13447B;
}

/* Bus */
.bus {
    position: absolute;
    width: 180px;
    z-index: 5;
}

/* VGI Animation Container */
.animation-container {
    position: absolute;
    display: flex;
    gap: 8px;
    font-size: 28px;
    font-weight: bold;
    color: black;
    opacity: 0;
    z-index: 4;
}

/* Textanimation */
.letter {
    opacity: 0;
    font-size: 24px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .animation-container {
        font-size: 18px;
        bottom: 150px;
    }

    .letter {
        font-size: 16px;
        bottom: 150px;
    }

    .bus {
        width: 120px;
        bottom: 100px;
        max-width: 40%;
        right: auto;
    }

    .container {
        margin-top: -30px;
    }

    .logo-container img {
        width: 160px;
    }
}

/* Desktop Ansicht */
@media (min-width: 1024px) {
    .logo-container {
        position: absolute;
        top: 15%;
    }

    .logo-container img {
        width: 250px;
    }

    .container {
        position: absolute;
        top: 38%;
    }

    .bus {
        bottom: 10%;
        width: 200px;
    }

    .animation-container {
        font-size: 36px;
        bottom: 20%;
    }

    .letter {
        font-size: 32px;
    }
}

/* Extra große Bildschirme (17 Zoll & größer) */
@media (min-width: 1440px) {
    .bus {
        width: 220px;
        bottom: 15%;
    }

    .animation-container {
        font-size: 40px;
        bottom: 25%;
    }

    .letter {
        font-size: 36px;
    }
}
