main{
    position: relative; 
}
.slider-container{
    position: absolute;
    min-width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    align-items: center;
    overflow: clip;
    display: none;
    z-index: 2000;
}
.exit{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: var(--teal-white);
    opacity: .95;
    z-index: 100;
    cursor: pointer;
}
.resize-wrapper{
    position: sticky;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: fit-content;
    user-select: none;
    z-index: 101;
    margin: 0 auto;
}
.resize{
    position: absolute;
    top: 0;
    left: 0;
    max-width: fit-content;
}
.def{
    display: none;
}
.resize::before {
    content: '';
    width: 100px;
    height: 100%;
    background-color: transparent;
    position: absolute;
    top: 0;
    right: -100px;
    /* cursor: ew-resize; */
}
.resize::after{
    content: '';
    width: 40px;
    height: 40px;
    background-color: var(--red);
    position: absolute;
    top: 50%;
    right: -18px;
    cursor: ew-resize;
    transform: rotate(45deg);
    background: linear-gradient(45deg, var(--red) 30%, transparent 30%, transparent 70%, var(--red) 70%);
}
.mousehint{
    position: absolute;
    width: 3px;
    height: 100%;
    background: var(--red);
    top: 0;
    right: 0;
    cursor: ew-resize;
}
.before, .after{
    max-width: 95vw;
    max-height: 88vh;
    pointer-events: none;
}

.overflow{
    width:100%;
    overflow: hidden;
}

.zoomw{
    width: 95vw;
    max-height: unset;
}
.zoomh{
    height: 87vh;
    max-width: unset;
}
.zoom11{
    width: unset;
    height: unset;
    max-width: unset;
    max-height: unset;
}


.zoom-btns{
    position: fixed;
    width: 100vw;
    bottom: 2ex;
    display: flex;
    gap: max(2vw, .5ex);
    z-index: 110;
    justify-content: center;
    pointer-events: none;
}
.sbtn{
    background: var(--teal);
    color: var(--bckgr);
    font-weight: 800;
    opacity: .5;
    z-index: 102;
    transition: 400ms;
    height: 5ex;
    width: 5ex;
    border-radius: .7ex;
    pointer-events: all;
}
.sbtn:hover{
    opacity: 1;
}
.sbtn:active{
    background: black;
}
.zoom-o-btn{
    outline: 1.5ex solid white;
    outline-offset: -3ex;
}
.wh{
    position: relative;
}
.wh:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, var(--bckgr) 30%, transparent 30%, transparent 70%, var(--bckgr) 70%);
}
.zoom-h-btn:after{
    transform: rotate(-45deg) scale(.5);
}
.zoom-w-btn:after{
    transform: rotate(45deg) scale(.5);
}
.leave{
    position: fixed;
    top: 1em;
    right: 1em;
    padding: 1ex;
    height: 5ex;
    width: 5ex;
    border-radius: 3ex;
}

.slider-author{
    position: fixed;
    top: 0;
    left: 0;
    
    color: var(--teal);
    font-size: 80%;
    opacity: .3;
    padding: 1ex;
    text-transform: uppercase;
    transition: 1s;
    z-index: 100;
}
.slider-author:hover{
    opacity: 1;
}