/***********************
 BASE
***********************/
html {
  box-sizing: border-box;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}


/***********************
 FONTS
***********************/
@font-face {
  font-family:'Exo';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Exo/Exo-Regular.woff2') format('woff2');
}
@font-face {
  font-family:'Exo';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/Exo/Exo-Medium.woff2') format('woff2');
}
@font-face {
  font-family:'Exo';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/Exo/Exo-Bold.woff2') format('woff2');
}


/***********************
 KEYFRAMES
***********************/
@keyframes flowThree {
  0% {
    opacity: 0;
    translate: -45px 0;
  }
  45%, 65% {
    opacity: 1;
    scale: 1 1;
    translate: 30px calc(-50vh + 80px);
  }
  /*75% {*/
    /*opacity: 1;*/
    /*translate: 0 calc(-50vh + 80px);*/
  /*}*/
  100% {
    opacity: 0;
    scale: 0.7 0.7;
    translate: -45px calc(-100vh + 80px);
  }
}
@keyframes mohedEntrance {
  0% {
    opacity: 0;
    translate: -45px 0;
  }
  100% {
    opacity: 1;
    scale: 1 1;
    translate: 30px calc(-50vh + 80px);
  }
}
@keyframes mohedExit{
  0% {
    opacity: 1;
    scale: 1 1;
    translate: 30px calc(-50vh + 80px);
  }
  100% {
    opacity: 0;
    scale: 0.7 0.7;
    translate: -45px calc(-100vh + 80px);
  }
}
@keyframes showCounter {
  0% {
    opacity: 0;
    translate: -50% 100%;
  }
  100% {
    opacity: 1;
    translate: -50% 0%;
  }
}
@keyframes hideCounter {
  0% {
    opacity: 1;
    translate: -50% 0%;
  }
  100% {
    opacity: 0;
    translate: -50% 100%;
  }
}
@keyframes hideQR {
  0% {
    opacity: 1;
    translate: 0% 0%;
  }
  100% {
    opacity: 0;
    translate: 0% -200px;
  }
}
@keyframes cutToText {
  0%, 50% {opacity: 1}
  50.01%, 100% {opacity: 0}
}
@keyframes fade{
  0%,50% {
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

/***********************
 STYLES
***********************/
body{
  font-family: 'Exo', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-size: 16px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #E8E8F7 0%, #F9F1F6 27.6%, #FAE0E9 79.17%, #DDDFEE 100%);
  color: #000000;
}

/* debug */
.dg.ac{
  z-index: 99999 !important;
}
.debug-orbit-markup{
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 99999 !important;
  font-size: 12px;
}
.debug-orbit-markup div{
  display: flex;
}
.debug-orbit-markup dt{
  font-weight: bold;
  margin-right: 5px;
}
.debug-orbit-markup dd{
  margin: 0;
}
/* debug */

canvas{
  background: linear-gradient(180deg, #E8E8F7 0%, #F9F1F6 27.6%, #FAE0E9 79.17%, #DDDFEE 100%);
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: opacity 0.4s ease-in-out;
}

/* ----- Network Indicator */
.network-indicator{
  position: fixed;
  top: 10px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #f12423;
  z-index: 10;
  transition: background-color 0.2s ease-in-out;
  display: none !important;
}
.network-indicator.online{
  background-color: #1fda38;
}

/* ----- QR Over */
.qr-overlay{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-overlay.exit{
  animation: hideQR 800ms forwards ease-in-out;
}
.qr-overlay__wrapper{
  background: rgba(32, 17, 44, 0.6);
  box-shadow: 2px 2px 30px rgba(32, 17, 44, 0.18);
  backdrop-filter: blur(15px);
  padding: 120px 180px;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
}
.qr-overlay__img{
  padding-right: 120px;
}
.qr-overlay__img img{
  max-width: 100%;
  height: auto;
}
.qr-overlay__content{
  min-height: 240px;
  position: relative;
  min-width: 700px;
}
.qr-overlay__content h1{
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  color: white;
  text-align: left;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top:0;
  left:0;
  opacity: 0;
}
.qr-overlay__content h1.en{
  margin-top: 30px;
  animation-name: fade;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}
.qr-overlay__content h1.fr{
  animation-name: fade;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-duration: 10s;
  animation-direction: alternate;
}

/* ----- Bird UI */
.birds-ui-overlay{
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
  touch-action: none;
}
.bird-counter{
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: white;
  text-align: center;
  text-transform: uppercase;
  background: rgba(32, 17, 44, 0.6);
  box-shadow: 2px 2px 30px rgba(32, 17, 44, 0.18);
  backdrop-filter: blur(15px);
  position: fixed;
  /*bottom: 10px;*/
  left: 50%;
  padding: 10px 10px;
  min-width: 150px;
  translate: -50% 100%;
  /*opacity: 0;
  display: none !important;*/
}
.bird-counter.show{
  display: block;
  animation: showCounter 1s forwards ease-in-out;
}
.bird-counter.exit{
  animation: hideCounter 1s forwards ease-in-out;
}

/* ----- Cards */
.cards {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  touch-action: none;
  z-index: 10;
}

.card {
  position: absolute;
  bottom: 0;
  left: 0;
  min-width: 400px;
  color: white;
  box-shadow: 2px 2px 35px rgba(32, 17, 44, 0.18);
  backdrop-filter: blur(17px);
  padding: 30px 45px;
  border-radius: 0;
  background: rgba(32, 17, 44, 0.6);
  will-change: transform, translate, opacity, scale;
  opacity: 0;
  transform-origin: 0 0;
  translate: 0 0;
  scale: 0.7 0.7;
}
.card.card-mohed.entrance{
  animation: mohedEntrance 1.25s forwards ease-in-out;
}
.card.card-mohed.exit{
  animation: mohedExit 1.25s forwards ease-in-out;
}
.card h2 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  margin: 0 0 5px 0;
}
.card p {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}