html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden; /* Verhindert Scrollen */
             -webkit-text-size-adjust: none;
        }

body {
    font-family: Dm Sans, sans-serif;
    background-color: #19212C;
    color: #fff; 
    justify-content: center;
    align-items: top;
        }


h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 500;
        }

p {
    font-size: 1.2rem;
    margin-top: 10px;
    }

.app-container{
    margin: 44px 8px 34px; /* Oben, seitlich und unten Abstand */
}

.topbar{
    margin-top:8px;
    margin-bottom:1em;
}

.cardcontainer{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start; /* Zentriert die Karten, auch wenn es wenige gibt */
    align-items: flex-start; /* Obere Ausrichtung */
    height: 100px; /* Entferne die feste Höhe */
    overflow-y: scroll; /* Ermöglicht vertikales Scrollen bei Bedarf */

}

.card{
    flex: 0 1 calc(50% - 8px); /* 3 Karten pro Zeile, inklusive Abstand */
    max-width: 50%; /* Begrenze die Breite auf ein Drittel */
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-sizing: border-box; /* Berücksichtigt Padding in der Breite */
}

.scrollcontainer {
    display: flex; /* Kategorien nebeneinander anordnen */
    gap: 10px; /* Abstand zwischen den Kategorien */
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
    -webkit-overflow-scrolling: touch; /* iOS-optimiertes Scrollen */
    padding-bottom: 10px;
}

.warpper{
    flex: 0 0 auto; /* Verhindert, dass Kategorien ihre Größe anpassen */
    position: relative; /* Referenzpunkt für Dropdowns */
    text-align: center;
}

.button{
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(232, 232, 232, 0.2);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; /* Verhindert Umbruch im Button */


}

    .selected-film {
    margin-top: 20px;
    padding: 10px;
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    white-space: pre-line;
}

    .note {
    margin-top: 4px;
    padding: 10px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    white-space: pre-line;
    font-style: italic;
}

.input-container {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
}

.input-container label {
    display: block;
    margin-bottom: 10px;
}

.input-container input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.corrected-exposure {
    margin-top: 20px;
    padding: 10px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
}

#stopwatch-container {
    text-align: center;
    margin-top: 20px;
}

#stopwatch-display {
    font-size: 2rem;
    margin-bottom: 10px;
}

button {
    background-color: #2e2e2e;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
}

button:active {
    background-color: #555555;
}
