/* FULL SCREEN IFRAME BOX */
#iframeBox {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    width: 100%;
    max-width: 1350px;
    height: 90vh;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.258);
    border-radius: 10px;
    overflow: hidden;
    clip-path: circle(0% at 50% 50%);
    transition: all .6s;
}

#iframeBox.active {
    clip-path: circle(150% at 50% 50%);
}

#iframeBox iframe {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.iframe-close {
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 10000;
    cursor: pointer;
}

#iframeBox .iframe-loading {
    background-color: #123487;
    content: "";
    width: 150px;
    aspect-ratio: 1;
    left: 50%;
    -webkit-mask-image: url(https://api.iconify.design/eos-icons:three-dots-loading.svg?color=%23ffffff);
    mask-image: url(https://api.iconify.design/eos-icons:three-dots-loading.svg?color=%23ffffff);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: .4s;

}

#iframeBox .iframe-loading.active {
    opacity: 1;
}