body {
    /* background-color: #fff; */
    /* Weißer Hintergrund für den Light Mode */
    color: #000;
    /* Schwarzer Text für den Light Mode */
    /* height: 100%; */
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;

    background:
        linear-gradient(135deg, #ffffff, rgba(0, 84, 159, 0.9)),
        /* Diagonaler Verlauf von links unten nach rechts oben */
        linear-gradient(225deg, #ffffff, rgba(0, 84, 159, 0.5));
    /* Diagonaler Verlauf von rechts unten nach links oben */
    background-blend-mode: overlay;
    /* Mischt die beiden Gradients */
    /* Dunkler Hintergrund für Dark Mode */
    background-attachment: fixed;
    /* <-- wichtig: das ist Standard, aber kann man auch explizit setzen */
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

a {
    text-decoration: none;
    /* Unterstreichung entfernen */
    color: inherit;
    /* Farbe des übergeordneten Elements übernehmen */
}



header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* Verteilte Platzierung */
    align-items: center;
    /* Vertikale Zentrierung */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0 0 10px 10px;
    /* Abgerundete Ecken */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Optionaler Schatten für den Header */
    z-index: 1000;

}


main {
    max-width: 80vw;
    padding-top: 80px;
    /* Platz für den Header */
    margin: 0 auto;
    /* Zentriert das Element horizontal */
}


.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo-item {
    height: 60px;
    width: 400px;
    margin: 0 auto;
}

.title {
    color: rgb(0, 84, 159);
    background-color: inherit;
    font-size: 24px;
    /* Die gewünschte Schriftgröße */
    font-weight: bold;
    /* Fettgedruckt */
    text-align: center;
    /* Titel in der Mitte */
    margin: 0;
    /* Entfernt Standardabstand */
    width: 100%;
    /* Volle Breite */
    height: 50px;
    /* Höhe des Titels */
    align-items: center;
    justify-content: center;
    display: flex;
}

.subtitle {
    color: rgb(0, 84, 159);
    font-size: 16px;
    /* Die gewünschte Schriftgröße */
    font-weight: bold;
    /* Fettgedruckt */
    text-align: center;
    /* Titel in der Mitte */
    margin: 0;
    /* Entfernt Standardabstand */
    width: 100%;
    /* Volle Breite */
    padding: 0;
}

/* Gemeinsames Styling für beide Logos */
.logo {
    max-height: 100%;
}

.logo.right {
    float: right;
}

.logo.left {
    float: left;
}


/* Positionierung für das linke Logo */
.logo-item.left {
    margin-left: 20px;
    /* Abstand von der linken Seite */
}

/* Positionierung für das rechte Logo */
.logo-item.right {

    margin-right: 20px;
    /* Abstand von der rechten Seite */
}

#info-box,
.card,
.model-line,
.folder {
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.container1 {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* oder: space-between / space-around */
    align-items: flex-start;
    /* zentriert sie vertikal */
    width: 80vw;
    flex-wrap: wrap;
}

.folder-content {
    display: flex;
    flex-direction: column;
    /* margin-left: .5rem; */
    align-items: center;
    min-width: 100%;
    padding-left: 10px;
    box-sizing: border-box;
    gap: 10px;
}

.folder-text {
    font-size: 18px;
    color: black;
    font-weight: bold;
}


.folder {
    cursor: default;
    align-items: flex-start;
    padding: 6px;
    margin: 0 10px;
    width: auto;
}

.files {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.folder .model-line,
.files .model-line {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    box-sizing: border-box;
}



.folder-content * {
    min-width: 100%;
}

/*
.folder .folder-content {
    box-sizing: border-box;
    width: 100%;
    /* padding-right: 20px; */
/* margin-left: 10px; */
/* margin-right: 5px; }*/

.folders {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}


.model-line {
    padding: 6px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;

    box-sizing: border-box;
}


.card-link {
    text-decoration: none;
    /* Unterstreichung entfernen */
    color: inherit;
    /* Farbe des übergeordneten Elements übernehmen */
    display: flex;
    max-width: 400px;
    width: 100%;
}

.card-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    /* Zeilenumbruch bei Überfüllung */
    gap: 10px;
}

.card-content {
    text-align: center;
    margin: auto;
    width: 90%;
}

.trennlinie {
    border: none;
    height: 2px;
    width: 80%;
    /* margin: 1rem auto; */
    background: linear-gradient(to right, transparent, #888, transparent);
    opacity: 0.6;
    border-radius: 1px;
}

#plecs-available-models {
    display: flex;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

#plecs-available-models-wrapper {
    display: flex;
    justify-content: center;
    padding: 18px;
}

#plecs-close-model {
    color: rgb(0, 84, 159);
    font-weight: bold;
    font-size: 12px;
    padding: 12px;
    cursor: pointer;
    display: none;
}


.model-line:hover,
.card:hover {
    transform: scale(1.05);
    /* Effekt beim Hover */
    background-color: rgba(255, 255, 255, 0.932)
        /* Hintergrundfarbe beim Hover */
}

#info-box {
    display: none;
    align-items: flex-start;
    cursor: default;
}

#info-box-header {
    background: rgba(0, 84, 159, 0.9);
    display: flex;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid rgba(0, 84, 159, 0.9);
    border-radius: 10px 10px 0 0;
    color: white;
    margin: 0;
    align-content: center;
    justify-content: center;
}

#info-box-content {
    display: flex;
    /* text links */
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 20px;
}

@media (prefers-color-scheme: dark) {
    body {
        background:
            linear-gradient(45deg, #000000, rgba(0, 84, 159, 0.9)),
            /* Diagonaler Verlauf von links unten nach rechts oben */
            linear-gradient(315deg, #000000, rgba(0, 84, 159, 0.5));
        /* Diagonaler Verlauf von rechts unten nach links oben */
        background-blend-mode: overlay;
        /* Mischt die beiden Gradients */
        /* Dunkler Hintergrund für Dark Mode */
        background-attachment: fixed;
        /* <-- wichtig: das ist Standard, aber kann man auch explizit setzen */
        background-repeat: no-repeat;
        background-size: cover;
        height: 100vh;
    }

    header {
        /* Dunkler Hintergrund für den Header */
        box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
        /* background-color:#2c2c2c;     */
        background-color: rgba(0, 84, 159, .1);
        backdrop-filter: blur(10px);
        min-height: 70px;
    }

    h1,
    p {
        color: #e0e0e0;
        /* Heller Text */
    }

    .card,
    .model-line,
    .folder {
        background-color: rgba(87, 87, 87, 0.144);
        /* Dunkler Hintergrund für die Karten */
        color: #ffffff;
        /* Heller Text für die Karten */
        border: 1px solid #555;
        box-shadow: 0px 4px 8px rgba(255, 255, 255, 0.1);
    }

    .folder-text {
        color: white;
    }

    .model-line:hover,
    .card:hover {
        /* transform: translateY(-5px); Effekt beim Hover */
        background-color: #7e7e7e71;
        /* Hintergrundfarbe beim Hover */
    }

    #plecs-close-model {
        color: #e0e0e0;
        /* Heller Text für den Schließen-Button */
    }


    .title {
        background-color: inherit;
        /* background-color: rgb(0, 84, 159); */
        color: white;
    }

    .subtitle {
        color: white;
        font-weight: normal;
    }

    #eon-logo {
        content: url('/logos/rwth_eerc_weiss_rgb_cut.png');
        /* Pfad zum schwarzen Logo */
    }

    #isea-logo {
        content: url('/logos/rwth_isea_en_weiss_rgb_cut.png');
        /* Pfad zum schwarzen Logo */
    }

    .window-card[_ngcontent-ng-c995804698] {
        box-shadow: 0 9px 18px -3.6px rgba(205, 205, 162, calc(.25 * var(--plecs-wbs-shadows-enabled, 1))), 0 5.4px 10.8px -5.4px rgba(255, 255, 255, calc(.3 * var(--plecs-wbs-shadows-enabled, 1))) !important;
        /* background-color: #333 !important; */

    }
}

@media screen and (max-width: 768px) {
    main {
        padding-top: 115px;
        max-width: 90vw;
        /* Platz für den Header */
    }

    header {
        display: flex;
        flex-direction: row;
        /* Standardmäßig in einer Zeile */
        justify-content: space-evenly;
        /* Verteilte Platzierung */
        align-items: center;
        flex-wrap: wrap;
        /* Zeilenumbruch bei Überfüllung */
    }

    .title-container {
        display: flex;
        flex-direction: column;
        /* Vertikale Anordnung von Titel und Untertitel */
        align-items: center;
        /* Zentriere den Inhalt horizontal */
        width: 100vw;
        /* Volle Breite */
    }

    .logo {
        max-width: 100%;
        /* Volle Breite */
        justify-content: center;
        /* Zentriert die Logos */
        margin: 0;
        /* padding Entfernt den Standardabstand: 0; Entfernt den Standardabstand */
    }

    .logo-item {
        height: 40px;
        order: -1;
        /* Setzt die Reihenfolge der Logos */
        display: flex;
        justify-content: center;
        /* Zentriert die Logos */
        align-items: center;
        /* Zentriert die Logos vertikal */
        flex-grow: 1;
        /* Flex-Grow für gleichmäßige Verteilung */
        max-width: 45%;
        /* flex-basis: 0; Basisgröße auf 0 setzen */
    }

    .folder,
    .files {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }


    .folders {
        width: 100%;
    }

    .container1 {
        width: 100%;
    }

}
