.video {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: 90%;
}


.divVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    padding: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    width: 80%;
    height: 80%;
    overflow: hidden;
    cursor: grab;
}


.dragging {
    cursor: grabbing;
}

/* A really really smoth zoom popup animation */

@keyframes popup {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}



/* Style the close and minimize buttons */

.close {
    padding: 5.5px;
    width: 50px;
    height: 30px;
    font-size: 14px;
    z-index: 10000;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    outline: none;
    transition: all 0.24s ease-in-out 0ms;
    color: black;
}

.minimize {
    padding: 5.5px;
    width: 50px;
    height: 30px;
    font-size: 12px;
    z-index: 10000;
    position: absolute;
    top: 0;
    right: 100px;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    outline: none;
    transition: all 0.24s 0ms;
}

.fullscreen {
    padding: 5.5px;
    width: 50px;
    height: 30px;
    font-size: 12px;
    z-index: 10000;
    position: absolute;
    top: 0;
    right: 50px;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    outline: none;
    transition: all 0.24s 0ms;
}

/* Style the close button on hover */

.close:hover {
    background-color: #f44336;
    color: white;
}

.minimize:hover {
    background-color: #f44336;
    color: white;
}

.fullscreen:hover {
    background-color: #f44336;
    color: white;
}

.mini {
    position: fixed;
    top: 80%;
    left: 80%;
    width: 25%;
    height: 25%;
}

.scaleVideo {
    transform: scale(0.5) !important;
    transform-origin: 0 0 !important;
    transition: transform 0.5s ease !important;
    width: 650px;
    height: 350px;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-color: rgb(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 100000;
}


.loading-spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.hidden {
    display: none;
}