.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: #272135;
    padding: 20px 30px;
    border-radius: 8px;
    position: relative;
    width: 80%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.5s ease;
    max-height: 90vh;
}

@keyframes fadeIn {
    from {transform: translateY(-20px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 35px;
    cursor; pointer;
    color: white;
}

#modal-content img {
max-width: max-content;
object-fit:  contain;
margin-right: auto;
margin-left: auto;
display: block;
}

.video-popup-side-div::-webkit-scrollbar-track {
    background: transparent;
}

.video-popup-side-div::-webkit-scrollbar {
    width: 5px;
}

.video-popup-side-div::-webkit-scrollbar-thumb {
    background-color: rgb(23 19 32);
    border-radius: 10px;
}

@media screen and (max-width: 710px) {
    .modal-box h1 {
        size: 12px;
    }
}
