@font-face{font-family:"Fakt";font-stretch:normal;font-style:normal;font-weight:100;src:url("/static/css/fonts/FaktPro-Blond.eot");src:url("/static/css/fonts/FaktPro-Blond.eot#iefix") format("embedded-opentype"),url("/static/css/fonts/FaktPro-Blond.woff") format("woff"),url("/static/css/fonts/FaktPro-Blond_web.ttf") format("truetype"),url("/static/css/fonts/FaktPro-Blond.otf") format("opentype")}@font-face{font-family:"Fakt";font-stretch:normal;font-style:normal;font-weight:400;src:url("/static/css/fonts/FaktPro-Normal.eot");src:url("/static/css/fonts/FaktPro-Normal.eot#iefix") format("embedded-opentype"),url("/static/css/fonts/FaktPro-Normal.woff") format("woff"),url("/static/css/fonts/FaktPro-Normal_web.ttf") format("truetype"),url("/static/css/fonts/FaktPro-Normal.otf") format("opentype")}@font-face{font-family:"Fakt";font-stretch:normal;font-style:normal;font-weight:500;src:url("/static/css/fonts/FaktPro-Medium.eot");src:url("/static/css/fonts/FaktPro-Medium.eot#iefix") format("embedded-opentype"),url("/static/css/fonts/FaktPro-Medium.woff") format("woff"),url("/static/css/fonts/FaktPro-Medium_web.ttf") format("truetype"),url("/static/css/fonts/FaktPro-Medium.otf") format("opentype")}@font-face{font-family:"Fakt";font-stretch:normal;font-style:normal;font-weight:600;src:url("/static/css/fonts/FaktPro-SemiBold.eot");src:url("/static/css/fonts/FaktPro-SemiBold.eot#iefix") format("embedded-opentype"),url("/static/css/fonts/FaktPro-SemiBold.woff") format("woff"),url("/static/css/fonts/FaktPro-SemiBold_web.ttf") format("truetype"),url("/static/css/fonts/FaktPro-SemiBold.otf") format("opentype")}

body {
  margin: 0px;
  padding: 0px;
  background: #00112c;
}

#vid_container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
}

.motivationalText {
  color: white;
  font-family: Fakt, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 24px;
  margin-top: 24px;
}

.adyenFont {
  font-family: Fakt, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.center-on-page {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@-webkit-keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-border{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.spinner-border{display:inline-block;width:2rem;height:2rem;vertical-align:text-bottom;border:.25em solid currentColor;border-right-color:transparent;border-radius:50%;-webkit-animation:spinner-border .75s linear infinite;animation:spinner-border .75s linear infinite}

#video {
  width: 100%;
  /* height: 100%; */
  min-height: 100%;
  min-width: 100%; 
  object-fit: fill;
  object-position: center center;
  position: absolute;
  z-index: 0;
}

.video_flipped {
  transform: rotateY(180deg);
  -webkit-transform:rotateY(180deg); /* Safari and Chrome */
  -moz-transform:rotateY(180deg); /* Firefox */
}

#gui_controls {
  position: fixed;
  background-color: #00112c;
  z-index: 2;
  bottom: 0;
}

#video_overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-color: #fff;
  z-index: 10;
  background-color: #00112c;
}

/*  Button style from: 
    https://googlesamples.github.io/web-fundamentals/fundamentals/media/mobile-web-video-playback.html */

button {
  outline: none;
  position: absolute;
  color: white;
  display: block;
  opacity: 1;
  background: transparent;
  border: solid 2px #fff;
  padding: 0;
  text-shadow: 0px 0px 4px black;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: auto;
  z-index: 2;
}

#takePhotoButton {
  left: calc(50% - 40px);
  top: calc(50% - 40px);
  width: 80px;
  height: 80px;
  background-image: url('img/photo.png');
  background-size: 60%;
  border-radius: 50%;
  background-color: #00112c;
}

#takePhotoButton:active {
  background-color: #fff;
}

#toggleFullScreenButton {
  display: none;
  width: 64px;
  height: 64px;
  background-image: url('img/ic_fullscreen_white_48px.svg');
  border-radius: 50%;
  background-color: #00112c;
}

#toggleFullScreenButton[aria-pressed='true'] {
  background-image: url('img/ic_fullscreen_exit_white_48px.svg');
}

#switchCameraButton {
  display: none;
  width: 64px;
  height: 64px;
  background-image: url('img/arrows.png');
  background-size: 50%;
  border-radius: 50%;
  background-color: #00112c;
}

#switchCameraButton[aria-pressed='true'] {
  background-image: url('img/arrows.png');
}

#globeButton {
  width: 64px;
  height: 64px;
  background-image: url('img/globe.png');
  border-radius: 50%;
  background-color: #00112c;
}

@media screen and (orientation: portrait) {
  /* portrait-specific styles */

  /* video_container (video) doesn't respect height... 
       so we will fill it in completely in portrait mode
    */
  #vid_container {
    width: 100%;
    height: 80%;
  }

  #gui_controls {
    width: 100%;
    height: 20%;
    left: 0;
  }

  #globeButton {
    left: calc(20% - 32px);
    top: calc(50% - 32px);
  }

  #switchCameraButton {
    left: calc(80% - 32px);
    top: calc(50% - 32px);
  }
}

@media screen and (orientation: landscape) {
  #vid_container {
    width: 80%;
    height: 100%;
  }

  #vid_container.left {
    left: 20%;
  }

  /* we default to right */
  #gui_controls {
    width: 20%;
    height: 100%;
    right: 0;
  }

  /* for the lefties */
  #gui_controls.left {
    left: 0;
  }

  #globeButton {
    left: calc(50% - 32px);
    top: calc(18% - 32px);
  }
  
  #switchCameraButton {
    left: calc(50% - 32px);
    top: calc(82% - 32px);
  }
}

.zoom {
  transition: transform .5s;
}

.zoom:hover {
  transform: scale(1.05);
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
}


