body {
    width: 100vw;
    height: 100vh;
    background-color: rgb(20, 20, 20);
}

body, div, .gallery-item {
    margin: auto auto;
}

.gallery {
    max-width: 100%;
    max-height: 100%;
    overflow: clip;
}

.gallery, .gallery-item, img, video {
    width: 100%;
    height: 100%;
}

.gallery-item {
    display: none;
}

.gallery-item:first-of-type {
    display: block;
}

.gallery.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.overlay > .previous,
.overlay > .next {
    cursor: pointer;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    border: none;
    background-color: rgba(10, 10, 10);
    opacity: 0.75;
    pointer-events: auto;
}


.gallery-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    font-family: sans-serif;
    font-size: 5em;
	-webkit-text-stroke: 2px rgb(200,200,200);
    color: rgb(10,10,10);
}

.gallery-overlay > .pull-up,
.gallery-overlay > .pull-down {
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
}

.gallery-overlay > .pull-up {
    align-self: flex-start;
}

.gallery-overlay > .pull-down {
    margin-top: auto;
    align-self: flex-end;
}


.overlay {
    position: absolute;
    width: 100%;
    margin: auto auto;
    pointer-events: none;
}

.overlay > .previous.hide,
.overlay > .next.hide {
    opacity: 0.0;
}

.overlay > .previous:disabled,
.overlay > .next:disabled {
    color: rgb(80,80,80);
    background-color: rgb(60,60,60);
}

.overlay > .next:hover,
.overlay > .previous:hover {
    background-color: rgb(40, 40, 40);
}

.overlay > .previous {
    border-radius: 0 3px 3px 0;
}

.overlay > .previous:after {
    content: "\276e";
}

.overlay > .next {
    float: right;
    border-radius: 3px 0 0 3px;
}

.overlay > .next:after {
    content: "\276f";
}

.overlay > .previous:after, 
.ovelray > .next:after {
    line-height: 1;
}

img, video {
    object-fit: contain;
}
