.videos{
    display: grid;
    grid-template-columns:repeat( 3, 1fr);
    
}
.videos video{
   margin-bottom: 10px; 
}
.videos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(620px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 2000px;
    margin: 0 auto;
    
}

.videos video {
    width: 100%;
    height: 800px;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background-color: #0000005c;
    aspect-ratio: 16/9;
   
    
}

.videos video:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.videos video::-webkit-media-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.videos video::-webkit-media-controls-play-button,
.videos video::-webkit-media-controls-mute-button {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.videos video::-webkit-media-controls-current-time-display,
.videos video::-webkit-media-controls-time-remaining-display {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0);
}

.video-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-fullscreen.active {
    opacity: 1;
    pointer-events: all;
}

.video-fullscreen video {
    width: 90%;
    height: 90%;
    max-width: 1200px;
    
}

.close-fullscreen {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.591);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.close-fullscreen:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .videos {
        grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
        gap: 15px;
    }
    
    .video-fullscreen video {
        width: 95%;
        height: auto;
        max-height: 70%;
    }
}

@media (max-width: 480px) {
    .videos {
        grid-template-columns: 1fr;
    }
}
.material_buttons{
    display: flex; 
    justify-content: center;
    gap: 5%;
    flex-wrap: wrap;
    margin-inline: 15px;
}

.material_buttons button {
    background-color: rgba(224, 154, 25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    border: 0px;
    border-radius: 13px;

    width: 300px;
    height: 50px;

    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.material_buttons button:hover{
    background-color: rgba(201, 142, 33, 1);
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5);
}
.style{
    font-family: 'Montserrat', sans-serif;
    font-size: 38px; 
    font-weight: 400; 
    color: #333;
    text-align: center; 
    line-height: 1.4; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    margin:20px;
}
.clock{
    font-weight: 700; 
    color: #000;
}

@media(max-width:950px){
    .style{
        font-size: 30px;
    }

    .clock{
        font-size: 20px;
    }
}

@media(max-width:470px){
    .style{
        font-size: 20px;
    }

    .clock{
        font-size: 16px;
    }
}