﻿

.side-box-dx {
    position: relative;
    width: 55%;
    float: right;
    margin: 0 0 25px 50px;
}


.video-box-16-9 {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 9 / 16 = 0.5625 → 56.25% */
    background: #000;
    overflow: hidden;
    border-bottom-left-radius: 50px;
}

    .video-box-16-9 .video-box-content {
        position: absolute;
        inset: 0;
        z-index:10;
    }
        .video-box-16-9 .video-box-content video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    .video-box-16-9 .video-box-cover {
        position: absolute;
        inset: 0;
        background:no-repeat top left;
        background-image: url('/img/ParagImgOver.svg');
        background-size: auto calc(100% -50px);
        z-index: 11;
    }




.video-container {
    width: 100vw;
    height: 100vh;
    position:relative;
}

    .video-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100vw;
        height: 100vh;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }


@media (min-aspect-ratio: 16/9) {
    .video-container iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-container iframe {
        width: 177.78vh;
    }
}



.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

.fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        width: 333%;
        left: -100%;
    }
}

@media (max-width: 767px) {
    .fullscreen-bg {
        background: url('/files/video/video.jpg') center center no-repeat;
        background-size: cover;
    }
}


