* {
    box-sizing: border-box;
    color: #F8F9F4;
    margin: 0;
}

html,
body {
    /*background-image: url("hands.jpeg");*/
    background-color: #171616;
    padding: 0;
    background-size: cover;
    /* Bild füllt den gesamten Bildschirm */
    background-position: center;
    /* Bild wird zentriert */
    background-attachment: fixed;
    /* Bild bleibt beim Scrollen fixiert */
    /* height: 100vh; Die Höhe des Elements wird auf 100% der Viewport-Höhe gesetzt */
    margin: 0;
    /* Entfernt Standard-Margen */
    font-size: 1.2rem;
    overflow: hidden;
}

/* Das Overlay, das den gesamten Bildschirm abdeckt */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Halbtransparentes Overlay */
    z-index: 1;
    /* Overlay ist über dem Hintergrund, aber unter dem Inhalt */
}

.container {
    display: grid;
    grid-template-columns: 20% 80%;
    grid-template-rows: 10% 90%;
    gap: 10px;
    padding: 32px;
    /* height: 100vh;*/
    z-index: 2;
    /* Der Inhalt ist über dem Overlay */
}

.item {
    display: flex;
    align-items: center;
    /* border: 2px solid black; */
    padding: 20px;
    text-align: center;
    z-index: 2;
    /* Der Inhalt ist über dem Overlay */
}

.item.right {
    justify-content: center;
}

.item.header {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    gap: 16px;
}

.countdown.desktop {
    text-align: center;
    font-size: 1.4rem;
    padding: 20px;
    border-radius: 10px;
}

.countdown.mobile {
    display: none;
}

.content {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
    height: 100%;
    /*box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);*/
    padding: 48px;
    gap: 16px;
    overflow-y: auto;

    transition: mask-image 3s ease;
    /* Für einen sanften Übergang */
}

/* Fadeout-Effekt wird standardmäßig nicht angewendet */
.content.fadeout {
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Styling für Webkit-Browser */
.content::-webkit-scrollbar {
    width: 12px;
}

.content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.content::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.content img {
    display: block;
    margin: auto;
    width: 50%;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 990px) {
    .content img {
        width: 90%;
    }
}



iframe {
    flex-grow: 1;
    /* Füllt den Rest des verfügbaren Platzes */
    width: 100%;
    border: 0;
    border-radius: 16px;
}


.menu {
    min-width: 100px;
    padding: 8px;
    padding-top: 16px;
    font-size: 1.25em;
}

.menu ul {
    list-style: none;
    /* Entfernt die Bulletpoints */
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.menu li {
    padding: 10px 0;
    text-align: left;
    cursor: pointer;
}

.menu li:hover {
    font-weight: bold;
    /*font-size: 1.1em;*/
}

/* Standardmäßig .menu-mobil ausblenden */
.menu-mobil {
    display: none;
}

.menu-mobil span {
    font-size: 18px;
    font-weight: bold;
}

.menu-mobil button {
    background: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 24px;
}

form {
    display: flex;
    flex-direction: column;
    z-index: 10;
}

input,
select,
option,
button {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    cursor: pointer;
    width: 150px;
    color: black;
    margin: 8px;
}

input {
    width: 200px;
}


button:hover {
    background-color: #ddd;
}

.mobil-button {
    color: white;
    background: none;
    padding: 10px;
    font-weight: bold;
    font-size: 1.2rem;
    font-size: 24px;
    border: none;
}

.mobil-button:active,
.mobil-button:focus {
    background-color: transparent;
    /* Verhindert den grauen Hintergrund */
    outline: none;
    /* Entfernt den Fokusrahmen */
}

.mobil-button:hover {
    background-color: transparent;
    /* Verhindert den Hover-Effekt */
}

.mobil-button.left {
    text-align: start;
}

.mobil-button.right {
    text-align: end;
}

select {
    color: black;
}

textarea {
    color: black;
    width: 100%;
    resize: none;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Medienabfrage für kleine Bildschirme (max. 1024px) */
@media screen and (max-width: 1100px),
screen and (max-height: 720px),
(pointer: coarse),
(hover: none) {
    html,
    body {
        padding: 0%;
        font-size: 1rem;
    }

    .container {
        display: flex;
        justify-content: center;
        align-items: stretch;
        padding: 0px;
        padding-bottom: 0px;
    }

    .countdown.mobile {
        display: block;
        text-align: center;
        font-size: 1rem;
        padding: 0.5em;
    }

    .countdown.desktop {
        display: none;
    }

    .item {
        flex-direction: column;
        width: 100%;
        gap: 24px;
        padding: 0px;
        padding-bottom: 16px;

    }


    .item.header {
        display: none;
    }

    .item.left {
        display: none;
        /* Versteckt das reguläre Menü */
    }


    .content {
        width: 100%;
        /* Damit der Content nicht die ganze Breite einnimmt */
        height: 80vh;
        padding: 0px;
    }

    .menu-mobil {
        display: flex;
        /* Zeigt das mobile Menü */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0px;
    }
}


@media screen and (min-width: 1280px) {
    .container {
        padding: 48px;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        padding: 80px;
    }
}

/*Rückmeldung Formular*/
.radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    /* Kleiner Abstand zwischen Button und Label */
    width: 20px;
    height: auto;
}

/* Optional: sorgt für linksbündige Ausrichtung innerhalb des Containers */
.radio-container {
    text-align: left;
}