.media-layout{overflow: hidden;}
.media-gallery {
    /* overflow-y: hidden;  */
    overflow-y: scroll;
    margin-top: var(--headerHeight);   
    position: relative;
}
li img{height: 100%;}
.media-gallery li{height: 100%;}
.media-gallery .video-item{height: 100%;}
.video-file{height: 100%;}
.media-info{
    position: relative;
    z-index: 2;
}

iframe{
position: relative;
top: 0px;
left: 0px;
width: 100%;
height: 100%;}

#trailer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.close {
    color: white;
    position: fixed;
    z-index: 4;
    right: 0;
    width: fit-content;
    transition: color 1.5s;
    display: none;
    padding: var(--spacing);
    top: 0;
    text-align: right;
}
.close.shown {display: inline;}
.close:hover{cursor: pointer;}

body{transition: filter 1s;}
body.invert{filter: invert(1);}
.media-gallery.invert{
    filter: invert(1);
    background-color: black;
}

.one{padding-left: 100px;}
.two{padding-right: 45px;}
.two, .three {padding-left: var(--spacing);}
.three {padding-right: var(--spacing);}

.three p a {display: inline;}
.three p a:hover{animation: none; filter: invert(1); transition: filter 0.6s;}

.media-gallery img {height: 100%;}

.expand-image .media-gallery:hover{cursor: url(up.png), n-resize;}
.media-gallery:hover{cursor: url(down.png), s-resize;}
.media-info:hover{cursor: url(up.png), n-resize;}
.expand-text .media-info:hover{cursor: url(down.png), s-resize;}

@media screen and (max-width: 500px) {
    .one{
        padding-left: var(--spacing);
        width: 50vw;
    }
    .two{
        padding-right: var(--spacing);
        width: 37vw;
    }
    .media-layout:not(.expand-image) .media-gallery .landscape img {
        width: 100%;
        height: auto;
    }
}