.text-center {
    text-align: center;
}

.video-container {
    flex-direction: column;
    padding-block: 3em;
    gap: 1.5rem;
    position: relative;
}

.small-video-container {
    flex-direction: column;
    gap: 2em;
    align-items: stretch; /* Fügt gleichmäßige Ausrichtung hinzu */
}
  
@media (min-width: 750px) {
    .big-video-container {
        margin-bottom: 1.5em;
    }
    .small-video-container {
        flex-direction: row;
        gap: 1rem; /* Optional: Abstand zwischen den Videos */
    }
}
  
.video_wrapper {
    background-size:cover;
    background-position: center;
    flex-shrink: 0; /* Verhindert, dass die Wrapper komprimiert werden */
    aspect-ratio: 16 / 9; /* Stellt das Seitenverhältnis für alle Videos sicher */
}

.video_wrapper, .video_layer {
    position: relative;
    padding-bottom: 56.25%;
    flex: 1;
    height: 0;
}

.video_trigger {
	z-index: 9;
	background-color: rgba( 0, 0, 0, .6 );
	color: #fff;
    flex-direction: column;
    position:absolute;
    height: 100%;
    width: 100%;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.video_trigger .btn {
    background-color: rgb(205, 32, 31);
    border: none;
    align-self: flex-start;
    margin: 0 auto;
    border-radius: 0.2em;
    padding-block: 0.5em;
    padding-inline: 1em;
}

.video_trigger .btn:hover {
    background-color: rgb(151, 22, 22);
    transition-duration: 20ms;
}

.video_layer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height:100%;
}

@media (min-width: 750px) {
    .small-video-container .video_wrapper {
        padding-bottom: 18.75%;
        flex: 1 1 calc(33.333% - 0.9%); /* 3 Videos pro Zeile, mit Platz für Abstand */
        max-width: calc(33.333% - 0.9%); /* Begrenzung der Breite pro Video */
        aspect-ratio: 16 / 9; /* Seitenverhältnis bleibt gleich */
    }

    .small-video-container .video_trigger p {
        position: absolute; 
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px; 
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap; /* added line */
        border: none;
        }
}