@charset "UTF-8";
/*
Theme Name: Šachta Digital Gallery
Author: Revolta
Author URI: https://revolta.cz/
*/

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    background: #000;
    color: #fff;
}

body {
    width: 100vw;
    height: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Mono', monospace;
}
h1 {
    line-height: 33px;
}

@media screen and (min-width: 768px) {
    h1 {
	font-size: 50px;
	line-height: 55px;
    }
}

.site {
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
    width: 100vw;
    min-height: 100vh;
    background: #000;
}



body.format-gallery .site,
body.single-format-gallery .site,
body.format-gallery,
body.single-format-gallery {
    background: #fff;
    color: #000;
}

.nav-open .site {
    transform: translateX(-50vw);
}

@media screen and (max-width: 768px) {
    .nav-open .site {
	transform: translateX(-70vw);
    }
}

img {
    max-width: 100%;
    height: auto;
}

.top-menu {
    position: fixed;
    top: 0vw;
    width: 100%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 1200px) {
    .format-gallery .top-menu,
    .single-format-gallery .top-menu {
	background: #fff;
    }
}

.nav-open .top-menu {
    transform: translateX(-50vw);
}

.logo {
    position: relative;
    left: 0.5vw;
    z-index: 1;
    top: -10px;
    width: 100px;
}

@media screen and (max-width: 768px) {
    .nav-open .top-menu,
    .nav-open .logo {
	transform: translateX(-70vw);
    }

}

.navigation {
    position: fixed;
    width: 50vw;
    height: 100vh;
    top: 0;
    right: 0;
    background: #fff;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .navigation {
	width: 70vw;
    }
}

.nav-posts {
    padding: 0 25px;
    height: 100%;
    overflow: auto;
}

.nav-post {
    width: 100%;
    height: 25vw;
    margin: 25px 0;
    position: relative;
    overflow: hidden;

}

.nav-post .nav-attachment {
    position: absolute;
    background-position: 50%;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.nav-post .nav-attachment:after {
    background-color: rgba(0, 0, 0, 0.31);
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.nav-post:hover .nav-attachment {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.nav-post a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    position: relative;
}

.nav-content {
    padding: 2vw;
    width: calc(90%);
    height: calc(100% - 2vw);
}

.nav-content h3 {
    font-size: 2.5vw;
    line-height: 2.7vw;
    margin: 0;
}

.nav-content .nav-author {
    font-size: 20px;
    position: absolute;
    bottom: 2vw;
}

@media screen and (max-width: 768px){
    .nav-content h3 {
	font-size: 3.5vw;
	line-height: 3.7vw;
    }

    .nav-content .nav-author {
	font-size: 3.5vw;
    }
}

.burger-menu {
    position: fixed;
    top: 2vw;
    right: 2vw;
    z-index: 1;
    width: 50px;
    height: 25px;
    cursor: pointer;
}

.burger-menu:after,
.burger-menu:before,
.burger-menu span {
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease-in-out;
}

body.format-gallery .burger-menu:after,
body.format-gallery .burger-menu:before,
body.format-gallery .burger-menu span,
body.single-format-gallery .burger-menu:after,
body.single-format-gallery .burger-menu:before,
body.single-format-gallery .burger-menu span {
    background: #000;
}

.burger-menu:after,
.burger-menu:before {
    content: '';
    top: 0;
}

.burger-menu:after {
    top: 100%;
}

.nav-open .burger-menu {
    height: 50px;
}

@media screen and (max-width: 768px) {
    .burger-menu {
	top: 10vw;
	right: 5vw;
    }
}

.nav-open .burger-menu:after {
    top: 24px;
    transform: rotate(45deg);
}

.nav-open .burger-menu span,
.nav-open .burger-menu:before {
    top: 24px;
    transform: rotate(135deg);
}

@media screen and (max-width: 768px) {
    .logo img {
	width: 60px; 
    }
}

@media screen and (max-height: 450px) {
    .logo img {
	width: 60px; 
    }
}

.video-background {
    background: #000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: fixed;
}

.video-title {
    width: 40vw;
    padding: 2vw;
    position: fixed;
    bottom: 0;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    max-height: 70vh;
    overflow: hidden;
}

.video-title h1 {
    margin: 0 0 5px; 
}

@media screen and (max-width: 768px) {
    .video-title {
	width: calc(100vw - 4vw);
	background: rgba(0,0,0, 0.5);
    }
}

@media screen and (max-height: 450px) {
    .video-title {
	width: calc(100vw - 4vw);
	background: rgba(0,0,0, 0.5);
    }
}

.picture-author {
    margin-bottom: 33px;
}

@media screen and (min-width: 769px) {
    .picture-author,
    .video-author {
	font-size: 20px;
    }
}

.video-about {
    max-height: 0;
    opacity: 0;
    overflow: auto;
    -webkit-transition: all .3s cubic-bezier(.57,.06,.05,.95);
    transition: all .3s cubic-bezier(.57,.06,.05,.95);
}

.video-title.video-title-open .video-about { 
    margin-top: 5px;
    margin-bottom: 20px;
    border-top: 1px solid #fff;
    opacity: 1;
    visibility: visible;
    max-height: 45vh;
}

@media (aspect-ratio: 16/9) {   
    .video-title.video-title-open .video-about { 
    /*.video-title:hover .video-about {*/
	max-height: 40vh;
    }
}

.video-about-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.video-about-donate {
    margin-left: 10px;
}

.fade-in .top-menu ,
.fade-in .video-title,
.fade-in .plyr__video-wrapper:after {
    opacity: 1 !important;
}

@media screen and (max-width: 567px) {
    html body .video-title,
    html body .top-menu {
	opacity: 1 !important;
    }
}

.pictures {
    margin: 0 auto;
    max-width: 1000px;
    padding: 50px 20px;
}

@media screen and (max-width: 1200px) {
    .pictures {
	padding-top: 200px;
    }
}

@media screen and (max-width: 768px) {
    .pictures {
	padding-top: 120px;
    }
}

.picture {
    margin: 20px 0;
}


.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.plyr__video-wrapper:after {
    z-index: 1;
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 100vh;
    -webkit-transition: opacity .3s cubic-bezier(.57,.06,.05,.95);
    transition: opacity .3s cubic-bezier(.57,.06,.05,.95);
    opacity: 0;
    mix-blend-mode: multiply;
    background: #fff;
    background: -webkit-radial-gradient(center,ellipse cover,#fff 47%,#444 100%);
    background: -webkit-radial-gradient(center,ellipse,#fff 47%,#444 100%);
    background: radial-gradient(ellipse at center,#fff 47%,#444 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#dcdcdc",GradientType=1);
    transform: translateY(-50%);
}

.plyr__control {
}

@media (min-aspect-ratio: 16/9) {
    .video-foreground {
	height: 300%;
	top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-foreground {
	width: 300%;
	left: -100%;
    }
}

@media (width: 736px) and (height: 414px) {
    .video-foreground {
	width: 100%;
	left: 0%;
    }
}

@media (width: 640px) and (height: 360px) {
    .video-foreground {
	width: 100%;
	left: 0%;
    }
}
/*
@media (max-aspect-ratio: 16/9) {
    .video-foreground {
	width: 100%;
	left: 0%;
    }
}*/

@media all and (max-width: 600px) {
    .vid-info {
	width: 50%;
	padding: 0.5rem;
    }
    .vid-info h1 {
	margin-bottom: 0.2rem;
    }
}
@media all and (max-width: 500px) {
    .vid-info .acronym {
	display: none;
    }
}


.plyr .plyr__controls {
    display: none !important;
}

a.custom-logo-link {
    display: inline-block;
}