@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Raleway:wght@400;700&display=swap');

/* General Body and Background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
    overscroll-behavior-x: none; /* Prevent horizontal overscroll/drag */
}

/* Dark Overlay for Better Visibility */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

/* Main Content Container */
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Actual Content Container */
.container {
    background: rgba(0, 0, 0, 0.85);
    border: 4px solid #ff3333;
    border-radius: 10px;
    padding: 20px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    text-align: center;
    margin: 50px auto;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    color: #ffdf00;
    margin: 10px 0;
    text-shadow: 0 0 10px #ff3333;
}

h2 {
    font-size: 2em;
    color: #ff9999;
    margin: 10px 0;
}

.details,
.results {
    font-size: 1.2em;
    margin: 20px 0;
    line-height: 1.6;
}

.highlight {
    font-weight: bold;
    color: #ffdf00;
}

.note {
    font-style: italic;
    font-size: 1em;
    margin-top: 10px;
    color: #ffcccc;
}

footer {
    margin-top: 20px;
    font-size: 1em;
    color: #ffcccc;
}

/* Poster Styling */
.poster {
    margin: 20px auto;
    max-width: 100%;
    border: 5px solid #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.8);
    border-radius: 10px;
}

/* Video Section */
.video-container {
    margin: 20px 0;
    position: relative;
    width: 100%; /* Ensures the container takes the full width */
    aspect-ratio: 16 / 9; /* Maintains a 16:9 aspect ratio */
    overflow: hidden; /* Ensures the content doesn’t overflow the container */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}


/* Results Table */
.results-table {
    width: 100%;
    margin: 20px auto;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: 10px;
    border: 1px solid #ff3333;
}

.results-table th {
    background-color: #ff3333;
    color: #fff;
}

.results-table tr:nth-child(even) {
    background-color: rgba(255, 51, 51, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    .details,
    .results {
        font-size: 1em;
    }
}