body.full-screen-modal-active {
    overflow: hidden;
    
}

#full-screen-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 10000;
    padding: 40px;

    backdrop-filter: blur(10px);
    background: rgba(37, 37, 37, 0.2);
}

#full-screen-modal.active {
    /* display: block; */

    display: flex;
    /* flex-direction: column; */
    /* justify-content: center; */
}

#full-screen-modal .full-screen-modal-content {
    margin: auto;
    width: fit-content;
    height: auto;
    max-width: 95%;
    
    position: relative;
}

.full-screen-modal-content iframe, .full-screen-modal-content video, .full-screen-modal-content img {
    /* width: 100%; */
    width: fit-content;
    /* height: 80vh; */
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

#full-screen-modal .full-screen-modal-content img, #full-screen-modal .full-screen-modal-content video {
    max-width: 100%;
}

.full-screen-modal-close {
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 20px;

    width: 40px;
    height: 40px;
    mask-image: url(../icons/price-complex-action.svg);
    mask-repeat: no-repeat;
    mask-size: cover;
    background-color: #868686;
    transition: transform 0.3s ease-in-out;
    transform: rotate(45deg);

    cursor: pointer;
}


.full-screen-modal-close:hover, .full-screen-modal-close:focus {
    transform: rotate(225deg);
}

@media (max-width: 575px) {
    #full-screen-modal {
        padding: 40px 20px;
    }
    
    .full-screen-modal-close {
        width: 30px;
        height: 30px;

        top: 7px;
        right: 7px;
    }
    
    #full-screen-modal .full-screen-modal-content {
    	width: 100%;
    }
}