/* TODO: fix responsive view on small devices */

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: monospace;
  font-size: 1rem;
  background: #000;
}
.container-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 62.5%; /* 8:5 Aspect Ratio */
  min-width: 100%;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  min-width:100%;
  width: 100%;
  height: 100%;
  border: none;
}

.prev, .next {
  position: fixed;
  top: 0;
  width: 10%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  color: rgba(255,255,255,.5);
  font-size: 2rem;
  font-family: monospace;
  transition: all .2s;
}

.prev:hover, .next:hover {
  color: rgba(255,255,255,.8);
}

.prev {
  left: -25%;
}

.next {
  right: -25%;
}

/* Portrait styles */

/* hide your main content and display message */

@media screen and (orientation:portrait) {

   @media only screen and (min-width : 320px) {
        .stretch {
    background: #000;
    min-height: 100%;
    min-width: 100%;
    background-size: cover;
    margin-top: 30vh;
    overflow: hidden;
  }
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (min-width : 480px) {
.stretch {
    background: #000;
    min-height: 100%;
    min-width: 100%;
    background-size: cover;
    margin-top: 30vh;
    overflow: hidden;
  }

    }

    /* Small Devices, Tablets */
    @media only screen and (min-width : 768px) {
.stretch {
    background: #000;
    min-height: 100%;
    min-width: 100%;
    background-size: cover;
    margin-top: 45vh;
    overflow: hidden;
  }

    }

   
  
}

/* Portrait styles */

/* hide your main content and display message */


@media screen and (orientation:landscape) {
  .stretch {
    background: #000;
    min-height: 100%;
    min-width: 100%;
    background-size: cover;
    margin-top: 100vh;
    overflow: hidden;
  }
}



.active .prev {
  left: 0;
}

.active .next {
  right: 0;
}

.container1 {
  margin: 10vh auto;
  max-width: 80%;
  display: grid;
  grid-gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(22vw, 1fr));
  grid-auto-rows: 18vw;
  grid-auto-flow: dense;
}

.div-class {
  text-align: center;
  color: white;
  font-size: 3rem;
  text-transform: uppercase;
  background: rgba(0,0,0,.2);
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.div-class img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: all 2s;
  padding: 0.5vw;
}

.div-class.show::before {
  content: '';
  display: block;
  position: fixed;
  z-index: 555;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.6);
}

.div-class.show img {
  position: fixed;
  top: 0;
  left: 0;
  /*margin: 30px;*/
  align-self: center;
  object-fit: contain;
  z-index: 666;
  width: 100vw;
  height: 100vh;
  filter: drop-shadow(0 3px 15px black);
  cursor: url(close-button.png), grab;
  background-color: #000;
}

.div-class:not(.show):hover img {
  cursor: pointer;
  transform: scale(1.3);
  /*overflow: hidden;*/
}

.horizontal {
  grid-column: span 2;
}

.vertical-portrait {
  grid-row: span 3;
}

.big {
  grid-column: span 2;
  grid-row: span 2;
}

.active div:not(.show) img {
  filter: grayscale(40%) blur(2px);
  /*opacity: 0.4;*/
  background-color: #000;
}

.portraitText {
  color: gray;
  font-family: 'Montserrat';
  font-size: 2.25vh;
  text-align: center;
  margin-left: 5vw;
  margin-right: 5vw;
  text-align: justify;
  letter-spacing: 0.08vw;
}

.portraitTitle {
  color: #C0C0C0;
  font-family: 'Montserrat';
  font-size: 4vh;
  text-align: center;
  letter-spacing: 0.5vw;
}

::-webkit-scrollbar {
  width: 8px;
}

/* Track */

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb {
  background: #999DA0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #828282;
}

.stretch h1 {
}

.hero-wrapper {
  position: fixed;
  bottom: 0;
  right: 0;
  height: auto;
  width: 100vw;
  min-height: 100%;
  min-width: 100%;
  z-index: -9999;
}

.active div:not(.show) img {
  filter: blur(3px);
}

html {
  font-family: 'Montserrat';
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  oncontextmenu: return false;
  -webkit-tap-highlight-color: transparent;
}

