/*
 * Globals
 */

/*
* FONTS 
*/

@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 50;
  src: url(/fonts/neuehaas/NeueHaasDisplayXXThin.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 50;
  src: url(/fonts/neuehaas/NeueHaasDisplayXXThinItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 100;
  src: url(/fonts/neuehaas/NeueHaasDisplayXThin.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 100;
  src: url(/fonts/neuehaas/NeueHaasDisplayXThinItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 200;
  src: url(/fonts/neuehaas/NeueHaasDisplayThin.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 200;
  src: url(/fonts/neuehaas/NeueHaasDisplayThinItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 300;
  src: url(/fonts/neuehaas/NeueHaasDisplayLight.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 300;
  src: url(/fonts/neuehaas/NeueHaasDisplayLightItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/neuehaas/NeueHaasDisplayRoman.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 400;
  src: url(/fonts/neuehaas/NeueHaasDisplayRomanItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 500;
  src: url(/fonts/neuehaas/NeueHaasDisplayMediu.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 500;
  src: url(/fonts/neuehaas/NeueHaasDisplayMediumItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 700;
  src: url(/fonts/neuehaas/NeueHaasDisplayBold.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 700;
  src: url(/fonts/neuehaas/NeueHaasDisplayBoldItalic.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: normal;
  font-weight: 900;
  src: url(/fonts/neuehaas/NeueHaasDisplayBlack.ttf) format("truetype");
}
@font-face {
  font-display: swap;
  font-family: "Web Neue Haas Display";
  font-style: italic;
  font-weight: 900;
  src: url(/fonts/neuehaas/NeueHaasDisplayBlackItalic.ttf) format("truetype");
}

h2 {
  text-shadow: 1px 1px 2px black;
}
h3 {
  font-size: 1.55rem;
  text-shadow: 1px 1px 2px black;
}
h4 {
  font-size: 1.25rem;
}

#key h3 {
  font-size: 1rem;
}

.show {
  display: block;
}

.opacity {
  opacity: 0.3;
}
.position {
  cursor: pointer;
}
#reset {
  cursor: pointer;
}

.container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
/*
Modals 
*/

#fade {
  display: none;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 1001;
  -moz-opacity: 0.8;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

#light {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  background: #fff;
  z-index: 1002;
  overflow: visible;
  border-radius: 15px;
}

#complete,
#dark {
  width: 50vw;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #000;
  background: #121212;
  z-index: 1010;
  overflow: visible;
  border-radius: 15px;
  padding: 40px;
}

#complete {
  display: none;
}

#single {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  background: #fff;
  z-index: 1002;
  overflow: visible;
  border-radius: 15px;
}

figure[data-fullscreen="false"] #light video {
  width: 80vw;
  max-width: 1024px;
}

#boxclose {
  float: right;
  cursor: pointer;
  color: #fff;
  border: 1px solid #000;
  border-radius: 3px;
  background: #000;
  font-size: 28px;
  font-weight: bold;
  display: inline-block;
  line-height: 0px;
  padding: 11px 3px;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1002;
  opacity: 0.9;
  text-decoration: none;
}

.boxclose:before {
  content: "×";
}

#fade:hover ~ #boxclose {
  display: none;
}

.test:hover ~ .test2 {
  display: none;
}

figure {
  position: relative;
  max-width: 1024px;
  max-width: 80vw;
  width: 100%;
  height: 100%;
  margin: 20px auto;
  margin: 1.25rem auto;
  padding: 20px;
  display: none;
}

figure.single{
  display: block;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
  font-family: "Web Neue Haas Display", Helvetica, Arial, sans-serif !important;
}

body,
html {
  height: 100%;
  margin: 0;
  color: #fff;
}

.cover-container {
  max-width: 42em;
}

.bgimg-1 {
  background-image: url(../images/foyer.webp);
  height: 100%;
  display: block;
}
.bgimg-2 {
  background-image: url(../images/office.webp);
  height: 100%;
  display: none;
}

.bgimg-1,
.bgimg-2 {
  position: relative;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-fade {
  opacity: 0.35;
}

#bg .error {
  display: none;
}
#bg2 .error {
  display: none;
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}

/* tabs */
.nav-tabs {
  border-bottom-color: #00e686 !important;
  border-width: 2px !important;
}

.nav-tabs.whiteBottom {
  border-bottom-color: #fff !important;
}

.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  text-decoration: none !important;
  text-shadow: none;
  color: #000;
  border-width: 2px !important;
  font-weight: 700;
}

/* active tab color */

.nav-tabs > li > a.active,
.nav-tabs > li > a.active:hover,
.nav-tabs > li > a.active:focus {
  text-decoration: none !important;
  text-shadow: none;
  color: #0099e6 !important;
  border-width: 2px !important;
  border-color: #00e686 !important;
  border-bottom-color: #fff !important;
}

.nav-link {
  margin-bottom: -2px !important;
}

/*
Pulse
*/

.black {
  color: #000000;
}

.dark-grey {
  background: #333732;
}

.green {
  background: #00e686;
}
.green-txt {
  color: #00e686;
}

.lime {
  background: #aeff24;
}

.blue-txt {
  color: #0099e6;
}
.blue-bg {
  background-color: #0099e6;
}

.grey-txt {
  color: #ababab;
}
.pink-bg {
  background-color: #f3318a;
}

.center {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
}

/*
.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0px 0px 1px 1px #ffffffa6;
  border:4px solid #000;
}
*/

.circle {
  border: 3px solid #000;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  position: relative;
  margin: 8px;
  display: inline-block;
  vertical-align: middle;
}

.position1 .circle {
  width: 50px;
  height: 50px;
}

.circle.less:before,
.circle.less:after {
  content: "\003C";
  position: absolute;
  top: -8px;
  left: -2px;
  right: 0;
  bottom: 0;
  color: #000;
  font-size: 2.15rem;
}

.circle.plus:before,
.circle.plus:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
}
.circle.plus:before {
  width: 3px;
  margin: 10px auto;
}
.circle.plus:after {
  margin: auto 10px;
  height: 3px;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 230, 134, 0.65);
  }
  100% {
    box-shadow: 0 0 0 50px rgba(0, 230, 134, 0);
  }
}

/*
Positions 
*/

/*
.position h1:hover {color:#0099e6;text-shadow: 1px 1px 2px black;}
.position h2:hover {color:#0099e6;text-shadow: 1px 1px 2px black;}
.position h3:hover {color:#0099e6;text-shadow: 1px 1px 2px black;}
.position .green:hover {background: #0099e6}
.position .lime:hover {background: #0099e6}
*/
.temp {
  position: absolute;
  top: 40%;
  bottom: 0;
  left: 0;
  right: 0;
  /* transform: translate(-50%, -50%); */
  text-align: center;
  padding: 1rem 1rem;
  justify-content: center;
  align-items: center;
  z-index: 10000002;
}

.error {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /* transform: translate(-50%, -50%); */
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem 1rem;
  justify-content: center;
  align-items: center;
  z-index: 10000002;
}

#video1 {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
#video2 {
  position: absolute;
  top: 43%;
  left: 31%;
  transform: translate(-50%, -80%);
  text-align: center;
  display: inline-flex;
}
#video2 h3 {
  margin-top: 12px;
}
#video3 {
  position: absolute;
  top: 51%;
  left: 29%;
  transform: translate(-50%, -80%);
  text-align: center;
}

#video4 {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -30%);
  text-align: center;
}

#video5 {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translate(-50%, -80%);
  text-align: center;
}
#video6 {
  position: absolute;
  top: 50%;
  left: 72%;
  transform: translate(-50%, -80%);
  text-align: center;
  display: inline-flex;
}
#video6 h3 {
  margin-top: 12px;
}

#video7 {
  position: absolute;
  top: 34%;
  left: 82%;
  transform: translate(-50%, -80%);
  text-align: center;
}

#video8 {
  position: absolute;
  top: 18%;
  left: 25%;
  transform: translate(-50%, -80%);
  text-align: left;
  display: inline-flex;
}

#video8 h3 {
  margin-top: 12px;
}

#video9 {
  position: absolute;
  top: 35%;
  left: 10%;
  transform: translate(-50%, -80%);
  text-align: center;
}

#video10 {
  position: absolute;
  top: 58%;
  left: 16%;
  transform: translate(-50%, -80%);
  text-align: left;
  display: inline-flex;
}
#video10 h3 {
  margin-top: -1px;
}
#video11 {
  position: absolute;
  top: 51%;
  left: 71%;
  transform: translate(-50%, -80%);
  text-align: right;
  display: inline-flex;
}
#video11 h3 {
  margin-top: -1px;
}

#video12 {
  position: absolute;
  top: 78%;
  left: 78%;
  transform: translate(-50%, -80%);
  text-align: left;
  display: inline-flex;
}
#video12 h3 {
  margin-top: -1px;
}

#video13 {
  position: absolute;
  top: 15%;
  left: 75%;
  transform: translate(-50%, -80%);
  text-align: left;
  display: inline-flex;
}
#video13 h3 {
  margin-top: -7px;
}

#video14 {
  position: absolute;
  top: 74%;
  left: 19%;
  transform: translate(-50%, -80%);
  text-align: center;
  display: inline-flex;
}
#video14 h3 {
  margin-top: 12px;
}

#reset {
  position: absolute;
  top: 90%;
  left: 90%;
  transform: translate(-50%, -80%);
  text-align: left;
  display: inline-flex;
}

.reset-wrapper {
  border: 3px solid #000;
  color: #000000;
  padding: 0 12px;
  border-radius: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reset-wrapper::before {
  display: block;
  content: "";
  width: 24px;
  height: 1.25rem;
  background-image: url("/images/refresh.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
}

.reset-wrapper:hover {
  background-color: #0099e6;
}

#reset h5 {
  margin: 8px 0;
}

#key1 {
  text-align: center;
  display: inline-flex;
}
#key1 h3 {
  margin-top: 19px;
}

#key2 {
  text-align: center;
  display: inline-flex;
}
#key2 h3 {
  margin-top: 19px;
}
#key3 {
  text-align: center;
  display: inline-flex;
}
#key3 h3 {
  margin-top: 19px;
}

#back {
  position: absolute;
  top: 12%;
  left: 7%;
  transform: translate(-50%, -80%);
  text-align: center;
  display: inline-flex;
}
#back h3 {
  margin-top: 12px;
}

#office1 {
  position: absolute;
  top: 72%;
  left: 43%;
  transform: translate(-50%, -80%);
  text-align: center;
}

#office2 {
  position: absolute;
  top: 75%;
  left: 79%;
  transform: translate(-50%, -80%);
  text-align: center;
}

#languageSelect {
  display: block;
}
#languageSelect .modal {
  display: flex;
}

@media screen and (max-width: 1200px) {
  h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 1024px), (max-height: 768px) {
  #dark {
    width: 80vw;
  }
}

@media screen and (max-width: 1024px) {
  #dark,
  #light {
    width: 80vw;
  }

  #dark {
    width: 75vw;
    max-height: 100vh;
    overflow: scroll;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1rem;
  }

  /* #video6 {
    top: 32%;
    left: 76%;
  }
  #video8 {
    top: 12%;
    left: 22%;
  }
  #video9 {
    top: 32%;
    left: 10%;
  }
  #video12 {
    top: 80%;
    left: 76%;
  }

  #video2 h3 {
    margin-top: 18px;
  }
  #video6 h3 {
    margin-top: 18px;
  }
  #video8 h3 {
    margin-top: 18px;
  }
  #video10 h3 {
    margin-top: 8px;
  }
  #video11 h3 {
    margin-top: 8px;
  }
  #video12 h3 {
    margin-top: 8px;
  }
  #video13 h3 {
    margin-top: -1px;
  }
  #video14 h3 {
    margin-top: 18px;
  } */

  #video1,
  #video2,
  #video3,
  #video4,
  #video5,
  #video6,
  #video7,
  #video8,
  #video9,
  #video10,
  #video11,
  #video12,
  #video13,
  #video14 {
    display: flex;
    align-items: center;
    transform: none;
    position: absolute;
    /* left: 0; */
    /* top: 0; */
    text-align: left;
  }

  #video1,
  #video2,
  #video3,
  #video4,
  #video5,
  #video6,
  #video7 {
    left: 5%;
  }

  #video8,
  #video9,
  #video10,
  #video11,
  #video12,
  #video13,
  #video14 {
    left: 60%;
  }

  #video1,
  #video8 {
    top: 3%;
  }
  #video2,
  #video9 {
    top: 16%;
  }
  #video3,
  #video10 {
    top: 29%;
  }
  #video4,
  #video11 {
    top: 42%;
  }
  #video5,
  #video12 {
    top: 55%;
  }
  #video6,
  #video13 {
    top: 68%;
  }
  #video7,
  #video14 {
    top: 81%;
  }

  :matches(
      #video1,
      #video2,
      #video3,
      #video4,
      #video5,
      #video6,
      #video7,
      #video8,
      #video9,
      #video10,
      #video11,
      #video12,
      #video13,
      #video14
    )
    :matches(h2, h3) {
    margin: 0;
  }

  div:matches(
      #video1,
      #video2,
      #video3,
      #video4,
      #video5,
      #video6,
      #video7,
      #video8,
      #video9,
      #video10,
      #video11,
      #video12,
      #video13,
      #video14
    )
    br {
    display: none;
  }
  #video8,
  #video10,
  #video11 {
    flex-direction: row-reverse;
    justify-content: left;
  }
  #reset {
    left: auto;
    top: auto;
    transform: none;
    right: 10px;
    bottom: 10px;
  }
}

/*
#bg .position {display:none;}
#bg .opacity {display:none;}
#bg .error {display:block;}
#bg2 .position {display:none;}
#bg2 .opacity {display:none;}
#bg2 .error {display:block;}
*/

@media (orientation: portrait) and (max-height: 768px), (max-width: 576px) {
  #bg .error {
    display: flex;
  }
  #bg2 .error {
    display: flex;
  }

  #light {
    display: none !important;
  }
}

@media screen and (max-width: 992px) {
  #light {
    width: 100vw;
    max-height: 100vh;
  }
}

@media screen and (max-width: 576px) {
  #dark {
    width: 90vw;
  }

  .circle.green {
    height: 36px;
    width: 36px;
  }

  .circle.plus:before {
    width: 3px;
    margin: 8px auto;
  }
  .circle.plus:after {
    margin: auto 8px;
    height: 3px;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* #video1 {
    top: 10%;
    left: 50%;
  }

  #video2,
  #video3 {
    top: 30%;
  }

  #video4,
  #video5 {
    top: 40%;
  }

  #video6,
  #video7 {
    top: 50%;
  }

  #video8,
  #video9 {
    top: 60%;
  }

  #video10,
  #video11 {
    top: 70%;
  }

  #video12,
  #video13 {
    top: 80%;
  }

  #video2,
  #video4,
  #video6,
  #video8,
  #video10,
  #video12 {
    left: 25%;
  }

  #video3,
  #video5,
  #video7,
  #video9,
  #video11,
  #video13 {
    left: 55%;
  } */
  /*   
  #video2 {
    top: 30%;
    left: 20%;
    display: block;
  }
  #video3 {
    top: 32%;
    left: 72%;
  }

  #video4 {
    top: 40%;
    left: 20%;
    display: block;
  }
  #video5 {
    top: 44%;
    left: 72%;
    display: block;
  } */

  /* #video2 h3 {
    margin-top: 0;
  }
  #video6 h3 {
    margin-top: 0;
  }
  #video8 h3 {
    margin-top: 0;
  }
  #video10 h3 {
    margin-top: 0;
  }
  #video11 h3 {
    margin-top: 0;
  }
  #video12 h3 {
    margin-top: 0;
  }
  #video13 h3 {
    margin-top: 0;
  }
  #video14 h3 {
    margin-top: 0;
  } */
}
