:root {
    --customer-screen-gradient: linear-gradient(100deg, rgba(20, 20, 40, 0) 10%, rgba(20, 20, 40, 0.7) 30%, #141428 60%);
    --darker-gradient-vertical: linear-gradient(180deg, #141428 25%, #14142800 100%);
    --main-transition-duration: 0.3s;
    --transition-timing-function: cubic-bezier(0.65, 0, 0.25, 1.00);
}

iframe#ORIN-iframe {
    position: fixed;
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    z-index: -1;
    border: none;
    overscroll-behavior: contain;
    transition: var(--main-transition-duration) var(--transition-timing-function);
    -webkit-overflow-scrolling: touch;
}

iframe#ORIN-iframe.notCalledIn {
    opacity: 0;
    transition: 0s;
}


body.orinIframeOpen iframe#ORIN-iframe {
    width: 100%;
    height: 100%;
    z-index: 99999999999999;
    border: none;
}

#orinCurtain, body.orinIframeOpen.orinIframeClosing #orinCurtain {
    content: '';
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 150vh;
    background-image: var(--darker-gradient-vertical);
    transition: 0.8s var(--transition-timing-function);
    z-index: 99999999;
    opacity: 0;
    transform: translateY(-80px);
    filter: blur(400);
    will-change: transform, opacity, filter;
}

@media screen and (min-width: 1081px) {
    #orinCurtain, body.orinIframeOpen.orinIframeClosing #orinCurtain {
        height: 100vh;
        background-image: var(--customer-screen-gradient);
        transform: translateX(200px);
    }
}

body.orinIframeOpen #orinCurtain {
    opacity: 0.7;
    filter: none;
    transform: none;
}
@media screen and (min-width: 1081px) {
    body.orinIframeOpen #orinCurtain {
        opacity: 1;
    }
}