@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap'); 

body, html {
    margin: 0;
    padding: 0;
    text-align: center;
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
}
.container {
    max-width: 1024px; 
    margin: auto;
}

.logo {
    display: flex; /* Flexbox for horizontal centering */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Optional: vertical centering if needed */
    margin-top: 20px;
    margin-bottom: 20px;
}

.logo img {
    display: block; /* Remove inline spacing issues */
    max-width: 100%; /* Ensure responsive scaling */
    height: auto; /* Maintain aspect ratio */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}

.video-link {
    border: 1px solid #ddd;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-link img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
}


.video-title {
    display: block;
    margin-top: 5px;
    color: #ff4500; 
    font-size: 30px; 

   
    font-family: 'Bebas Neue', sans-serif; 
}


.video-link:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.video-link a {
    text-decoration: none; 
    color: inherit; 
}
.video-link a:hover {
    text-decoration: none; 
    
}



@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}


.section-divider {
    grid-column: span 3; 
    border: none;
    height: 2px;
    background: linear-gradient(to right, #a1c4fd, #c2e9fb);
    margin: 40px 0;
}



.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {

    padding: 20px;
    display: block;
    margin: 10% auto;
    width: 50%; 
    height: 60%;
    
}


.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
