/* Video Container Styles for Desktop and Mobile */

/* Desktop styles - default */
.video-container {
    position: relative;
    width: 100%;
    height: 507px;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100%;
    min-width: 177.77vh; /* 16:9 ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Tablet styles */
@media screen and (max-width: 768px) {
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        overflow: hidden;
        background: #000;		
		height: auto;
    }
    
    .video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%) scale(1.5);
        pointer-events: none;
    }
}

/* Mobile styles - fills screen without black bars */
@media screen and (max-width: 414px) {
    .video-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%;
        overflow: hidden;
        background: #000;
        margin-bottom: 20px;
    }
    
    .video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%) scale(1.5);
        pointer-events: none;
    }
}

/* Extra small mobile */
@media screen and (max-width: 375px) {
    .video-container iframe {
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@media screen and (max-width: 360px) {
    .video-container iframe {
        transform: translate(-50%, -50%) scale(1.5);
    }
}
