@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1,h2 {
    width:100%;
}
h1 {
    margin:50px 0 0 0;
}
h2 {
    margin:0 0 50px 0;

}

.flex{
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5px;
}
@media only screen and (max-width: 900px) {
  .container {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 5px;
  }
}
figure.card{
  position: relative;
  width: 500px;
  height: 300px;
  background-image: var(--image-src);
  background-position: 50%;
  background-size: 125%;
  transition: background 400ms ease-in-out;
  box-shadow: 0 6.7px 5.3px rgba(0, 0, 0, 0.03), 0 22.3px 17.9px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  cursor:pointer;
}
figure.card:hover figcaption {
  transform: translateY(0px);
}
figure.card--1:hover {
  background-position: 50% 100%;
}
figure.card--1 figcaption {
  bottom: 0;
  transform: translateY(80px);
}
figure.card--2 {
  background-size: 110%;
}
figure.card--2:hover {
  background-position: 50% -100%;
}
figure.card--2 figcaption {
  top: 0;
  transform: translateY(-80px);
}
figure.card--3 {
  background-size: 115%;
}
figure.card--3:hover {
  background-position: -100% 50%;
}
figure.card--3 figcaption {
  left: 0;
  transform: translateX(-180px);
}
figure.card--4:hover {
  background-position: 100% 50%;
}
figure.card--4 figcaption {
  right: 0;
  transform: translateX(180px);
}
figure.card--1 figcaption, figure.card--2 figcaption {
  width: 100%;
  height: 80px;
  padding: 15px 20px;
}
figure.card--3 figcaption, figure.card--4 figcaption {
  flex-direction: column;
  width: 180px;
  height: 100%;
  padding: 20px 15px;
}
figure.card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  background: #282828;
  transition: transform 400ms ease-in-out;
}
figure.card figcaption .info {
  color: #e2e2e2;
}
figure.card figcaption .info h3 {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
figure.card figcaption .info span {
  font-size: 0.85rem;
}
figure.card figcaption .links {
  display: flex;
  justify-content: end;
  align-items: center;
}
figure.card figcaption .links a {
  text-decoration: none;
  position: relative;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-left: 10px;
  font-size: 1.2rem;
  opacity: 0.65;
  border-radius: 50%;
  overflow: hidden;
}
figure.card figcaption .links a:hover {
  opacity: 1;
}
figure.card figcaption .links a:focus {
  outline: none;
}
figure.card figcaption .links a:focus::after {
  transform: scale(1);
  opacity: 1;
}
figure.card figcaption .links a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  transform: scale(0.5);
  z-index: -1;
  transition: all 150ms ease;
}



@media only screen and (max-width: 900px) {
   .flex {
      height:auto;
      margin-bottom:45px;
    }
  body {
    align-items: start;
  }
  figure.card figcaption {
    transform: translateY(0px);
    padding: 5px 10px;
    height:auto;
  }
  figure.card {
    width:100vw;
    height:25vh;

  }
  figure.card figcaption .info h3 {
    
    font-size:.85rem;
    line-height:.85rem;
    margin:0;
  }
  figure.card figcaption .info span {
    font-size:.7rem;
    line-height:.7rem;
  }
  .wouter {
    font-size:.5rem;
    padding:2px;
  }
  .container {
    grid-template-rows: repeat(4, 1fr);
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 900px) and (orientation : landscape) {
    .flex {
      height:auto;

    }
    figure.card {
      height:90vh;
    }
  .wouter {
    font-size:.5rem;
    padding:2px;
  }
}
.support {
  position: fixed;
  right: 10px;
  bottom: 10px;
  padding: 10px;
  display: flex;
}
.support a {
  margin: 0 10px;
  color: #222;
  font-size: 1.8rem;
  backface-visibility: hidden;
  transition: all 150ms ease;
}
.support a:hover {
  transform: scale(1.1);
}
 a {
     color: #4e4e4e;
}
 html, body {
     background-color:#000000;
     color: #e4e4e4;
     margin: 0px;
     padding: 0px;
     position:relative;
     font-family: 'Open Sans', sans-serif;
}

body.panorama-page {
    overflow:hidden;
}

canvas, .edge {
    cursor: move;
}
 button, input[type="submit"], input[type="reset"] {
     background: none;
     color: inherit;
     border: none;
     padding: 0;
     font: inherit;
     cursor: pointer;
     outline: inherit;
}
 h1 {
     text-align: left;
     margin-top: 75px;
}

.wouter {
    position:fixed;
    background:black;
    bottom:0px;
    left:0px;
    padding:2px;
}
#thumbnails {
     margin:75px 5%;
     padding:0;
}
}
 #thumbnails li {
     width: 32%;
     list-style-type: none;
     float:left;
     margin-right: 10px;
}
 #thumbnails img {
     max-width: 100%;
     transition: all .5s;
     transition-timing-function: ease-in-out;
     display: block;
     width: 100%;
     height: auto;
     transform: scale(1);
}
 #thumbnails .image-container {
     overflow:hidden;
}
 #thumbnails .image-container:hover img {
     transform: scale(1.2);
}
 #thumbnails a {
     text-decoration:none;
     text-align:center;
     display:block;
     line-height:30px;
}
 .edge {
     position:absolute;
     width:10%;
     height:100%;
     top:0;
}
 .edge.left {
     left:0;
}
 .edge.right {
     right:0;
}
 .edge:hover button {
     opacity:.5;
}
 button.changePano {
     width:100px;
     height:100px;
     background:black;
     color:white;
     position:absolute;
     top:50%;
     margin-top:-50px;
     font-size:80px;
     text-align:center;
     line-height:100px;
     opacity:0;
     transition: opacity .5s ease-out;
     -moz-transition: opacity .5s ease-out;
     -webkit-transition: opacity .5s ease-out;
     -o-transition: opacity .5s ease-out;
}
 button.exitPano {
     font-size:80px;
     width:100px;
     background:black;
     color:white;
     opacity:0;
     right:20px;
     top:20px;
     position:absolute;
}
 button.changePano:hover {
     opacity:.75;
}
 button.prev {
     left:20px;
}
 button.next {
     right:20px;
}
 .playControl {
     position:absolute;
     width:20%;
     height:20%;
     top:40%;
     left:40%;
     opacity:0;
     transition: opacity .5s ease-out;
     -moz-transition: opacity .5s ease-out;
     -webkit-transition: opacity .5s ease-out;
     -o-transition: opacity .5s ease-out;
     padding:0;
}
 .playControl button {
     position: relative;
     display: block;
     width: 100px;
     height: 100px;
     line-height: 100px;
     font-size: 40px;
     top: 50%;
     left: 50%;
     margin-left:-50px;
     margin-top:-50px;
}
 .playControl:hover {
     opacity:.75;
}
 .playControl .pause, .playControl .volume-off {
     display:none;
}
 .playControl.playing .pause, .playControl.audioPlaying .volume-off {
     display:block;
}
 .playControl.playing .play, .playControl.audioPlaying .volume-up {
     display:none;
}
 #glcanvas{
     display:none;
     opacity:1;
     position:absolute;
}
 .parameters{
     position: absolute;
     background: rgba(0,0,0,.5);
     bottom: 50px;
     right: 50px;
     width: 200px;
     z-index:100;
     padding:20px;
     display:none;
     font-size:14px;
}
 .panoPlaceholder {
     position:absolute;
}
 .loader {
     position: absolute;
     width:60%;
     padding:30px;
     z-index:1010;
     background:#27252c;
     opacity:1;
     transition: opacity 0.5s ease-out;
     -moz-transition: opacity 0.5s ease-out;
     -webkit-transition: opacity 0.5s ease-out;
     -o-transition: opacity 0.5s ease-out;
     box-shadow: 0 0 20px -1px #27252c;
    /* Center vertically + horizontally */
     top: 50%;
     left: 50%;
     -ms-transform: translate(-50%, -50%);
     transform: translate(-50%, -50%);
     margin:0;
}
 .loader.hide {
     opacity:0;
     display:none;
}
 .loader .percentageCounter {
     font-size:16px;
     text-align: center;
     display:inline-block;
     top:-26px;
     position:relative;
     width:100%;
     color: #797777;
}
 .loader .byteCounter {
     position:relative;
     width:98%;
     color:#a4a4a4;
     font-size:12px;
     text-align:right;
     display:block;
     padding-bottom:10px;
     margin-left:1%;
}
 .loader .description {
     text-align:center;
     display:inline-block;
     width:100%;
     font-size:20px;
     margin-bottom:25px;
}
 .counter{
     display: inline-block;
     width: 98%;
     position:relative;
     left:50%;
     margin-left:-49%;
}
 progress {
     height:25px;
     width:100%;
     background-color: #ffffff;
     box-shadow: 0 1px 0 #ffffff;
     border:none;
}
 progress::-moz-progress-bar {
     box-shadow: 0 1px 0 #4d4856;
}
 progress::-webkit-progress-bar{
     height: 25px;
     border: 1px solid #2b2931;
     background-color: #333039;
     box-shadow: 0 1px 0 #4d4856;
}
 progress::-webkit-progress-value{
     height: 24px;
     background-color: #ffffff;
     border: 1px solid #f3f3f3;
     box-shadow: 0 0 10px -1px #ffffff;
}

/* VIDEO */
#video-container {
  display:flex;
  align-items:center;
  justify-content: center;
  height:100vh;
}
.shaka-video-container {
  max-width:100% !important;
  width:100%;
  margin:0 auto 0;
}
video {
  width: 80%;
  max-width:100%;
  box-shadow: 0 6.7px 5.3px rgba(0, 0, 0, 0.03), 0 22.3px 17.9px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
}
h1 {
  margin:0;
  padding:0;
}
h2 {
  margin:15px 0 10px;
  padding:0;  
}

#playlist {
  padding:0 3% 0 2%;
}

#playlist a {
    color:white;
    text-decoration:none;
}

#playlist ul {
  margin:0 0 30px 0;
  padding:0;
}
#playlist ul li {
  text-align: left;
  list-style:none;
  border-bottom:1px solid grey;
}
#playlist ul li button {
  text-align:left;
}