/* cascading style sheets */
/* 1. GRUNDLAYOUT DER SEITE (Ihr Code mit Optimierung für Zentrierung) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    
    /* Ihr gewünschter grauer Hintergrund */
    background-color: #7e7c7c;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    
    /* Hält den gesamten Inhalt sauber in der Mitte des Bildschirms */
    display: flex;
    flex-direction: column;
    align-items: center; 
    min-height: 100vh;
}

/* Hauptcontainer */
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Bietet genug Platz für die Videos */
    box-sizing: border-box;
}

/* Die große Überschrift oben */
.main-title {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff; /* Weiße Schrift für besseren Kontrast auf Grau */
    text-align: center;
    margin: 20px 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 2. DAS VIDEO-RASTER (2 Spalten nebeneinander) */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Abstand zwischen den Video-Boxen */
    width: 100%;
    margin-top: 20px;
}

/* Die einzelne Video-Box */
.video-card {
    background-color: #ffffff; /* Weißer Hintergrund für die Boxen */
    border-radius: 12px;
    overflow: hidden; /* Rundet auch die Ecken des Videos ab */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px;
    display: flex;
    flex-direction: column;
}

/* Einstellungen für die Videos selbst */
.video-card video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background-color: #000000;
}

/* Titel unter dem Video */
.video-card h3 {
    margin: 15px 0 5px 0;
    color: #2c3e50;
    font-size: 20px;
    text-align: left;
}

/* Beschreibungstext unter dem Video */
.video-card p {
    margin: 0;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* 3. ZURÜCK-BUTTON */
.back-button {
    display: inline-flex;
    align-items: center;
    background-color: #34495e; /* Dunkleres, edles Grau-Blau */
    color: white;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.1s;
}

.back-button:hover {
    background-color: #2c3e50;
    transform: translateX(-3px); /* Bewegt den Button leicht nach links */
}

/* RESPONSIVE DESIGN: Auf Smartphones wird es automatisch 1 Spalte */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}





