body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    text-align: center;
}

.container {
    max-width: 600px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
} 

.header {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    margin-top: 20rem;
}

.subheader {
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.monty-head {
    text-align: center;
    font-family: 'Arial',sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.doors {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.door {
    background-color: #007bff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.door:hover {
    background-color: #0056b3;
}

.hidden {
    display: none;
}

#gameControls, #resetButtonContainer {
    margin-top: 1.5rem;
}

button {
    background-color: #28a745;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 0.5rem;
}

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

#explanation {
    margin-top: 2rem;
    text-align: left;
    font-size: 1rem;
    color: #000;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
}

.diagram {
    width: 100%;
    margin-top: 1rem;
}

.videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Spacing between videos */
}

.videos iframe {
    flex: 1 1 calc(33.33% - 20px); /* Each video takes 1/3 of the row minus the gap */
    max-width: 100%; /* Ensure videos shrink properly for smaller screens */
    height: 315px; /* Maintain consistent height */
}
