/* 
SCPOP version 1.0.5
2022 - Dagan Lev - https://github.com/daganlev/scpop
Licensed under the MIT license.
*/
body.scpopshow {
    overflow: hidden;
}
.scpop {
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: opacity 0.3s;
    visibility: hidden;
    width: 100%;
    z-index: 1000;
}
.scpop.show {
    opacity: 1;
    top: 0;
    visibility: visible;
}
.scpop__toolbar {
    left: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    width: calc(100% - 20px);
    z-index: 10001;
}
.scpop__toolbar a {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    z-index: 10002;
}
.scpop__toolbar_close {
    right: 15px;
    top: 10px;
}
.scpop__toolbar_prev {
    left: 15px;
    top: calc(50vh - 20px);
}
.scpop__toolbar_next {
    right: 15px;
    top: calc(50vh - 20px);
}
.scpop__inner {
    display: grid;
    grid-auto-flow: column;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    width: 100%;
}
.scpop__inner::-webkit-scrollbar {
    display: none;
}
.scpop__item {
    align-items: center;
    display: flex;
    height: calc(100vh - 40px);
    justify-content: center;
    padding: 20px;
    position: relative;
    scroll-snap-align: start;
    width: calc(100vw - 40px);
}
.scpop__item_caption {
    background-color: rgba(0, 0, 0, 0.2);
    bottom: 0;
    color: #fff;
    left: 0;
    padding: 10px;
    position: absolute;
    text-align: center;
    width: calc(100% - 20px);
}
.scpop__item img {
    display: block;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    width: auto;
}
.scpop__item iframe {
    display: block;
    height: 90%;
    width: 90%;
}
