.video-container {
    top: 17%;
    right: 6%;
    position: fixed;
    width: 180px;
    height: 180px;
    z-index:98;
}
@media(max-width:992px) {
    .video-container {
        position: fixed;
        top: 32%;
        right: 5%;
        width: 180px;
        height: 180px;
        z-index:98;
    }
}


.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    cursor:pointer;
}

/* SVG-обёртка для кругового прогресса */
.progress-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 190px;
    height: 190px;
    pointer-events: none; /* Чтобы клики шли по видео */

}

.progress-ring circle {
    fill: none;
    stroke: #FF5C39;
    stroke-width: 3;
    stroke-dasharray: 565; /* Длина окружности (2 * π * R) */
    stroke-dashoffset: 565; /* Начинаем с пустого круга */
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: center;
}
.video-container .close_button {
    position: absolute;
    top: -42px;
    right: -44px;
    z-index:99;
    cursor: pointer;
}
#video_popup {
    display: none;
    position: fixed;
    bottom:10%;
    right:5%;
    width: 500px;
    height: 500px;
    z-index:100;
}
#video_popup video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.progress-ring_popup {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 520px;
    height: 520px;
    pointer-events: none; /* Чтобы клики шли по видео */

}
.progress-ring_popup circle {
    fill: none;
    stroke: #FF5C39;
    stroke-width: 6;
    stroke-dasharray: 942; /* Длина окружности (2 * π * R) */
    stroke-dashoffset: 942; /* Начинаем с пустого круга */
    transition: stroke-dashoffset 0.1s linear;
    transform: rotate(-90deg);
    transform-origin: center;
}
#video_popup .close_button {
    position: absolute;
    top: -42px;
    right: -44px;
    z-index:99;
    cursor: pointer;
}

@media (max-width: 600px) {
    #video_popup {
        width: 90vw;
        height: 90vw;
    }

    .progress-ring_popup {
        width: 96vw;
        height: 96vw;
        top: -3vw;
        left: -3vw;
    }
}
