body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    color: #e50914;
}

nav {
    text-align: center;
    margin-bottom: 20px;
}

nav button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: #e50914;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1em;
    cursor: pointer;
}

nav button:hover {
    background-color: #f40612;
}

.video-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between video items */
}

.hidden {
    display: none;
}

.video-item {
    cursor: pointer;
    flex: 1 1 calc(33.333% - 20px); /* 3 videos per row, with space in between */
    max-width: calc(33.333% - 20px);
    text-align: center;
}

.video-item img {
    width: 100%;
    border-radius: 8px;
}

.video-item p {
    margin: 10px 0 0;
}

#video-player {
    text-align: center;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #e50914;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 1em;
    cursor: pointer;
}

button:hover {
    background-color: #f40612;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-item {
        flex: 1 1 calc(50% - 20px); /* 2 videos per row on tablets */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .video-item {
        flex: 1 1 100%; /* 1 video per row on mobile devices */
        max-width: 100%;
    }
}

footer {
    background-color: #1c1c1c;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px 0;
}

.footer-section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section ul,
.footer-section li {
    margin: 5px 0;
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e50914;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #333;
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
