#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease; /* Improved transitions */
}

.loading-text {
    font-size: 48px;
    font-weight: bold;
    color: #072344;
    margin-top: 20px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0; /* Startet mit Opazität 0 */
    transition: opacity 1s ease; /* Animiert die Opazität */
}

.loading-text:hover {
    color: #2c5eff; /* Farbe ändern beim Hover-Effekt */
}

.logo-container img {
    width: 250px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite; /* Added a pulse animation to the logo */
}

.loader-bar {
    width: 50%;
    height: 5px;
    background-color: #072344; /* Dark blue color to match the text */
    position: relative;
    overflow: hidden; /* Ensures the inner bar doesn't overflow */
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0; /* Anfangsbreite auf 0 setzen */
    height: 100%;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    animation: load 2s forwards; /* Animation nur einmal ausführen und auf dem Endzustand stehen bleiben */
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); } /* Slight increase and decrease for the pulse effect */
}

@keyframes load {
    0% { width: 0; }
    100% { width: 100%; } /* Ladebalken bis zur vollen Breite animieren */
}


@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; } /* Smooth fade-in effect */
}

#loadingLink {
    text-decoration: none; /* Unterstreichung entfernen */
    cursor: pointer; /* Zeiger-Cursor für Klick-Elemente hinzufügen */
}