@keyframes move {
  from {
    /* transform: translateY(0); */
    opacity: 0;
  }
  to {
    opacity: 1;
    /* transform: translateY(100px); */
  }
}

body {
  margin: 0;
  padding: 0;
  user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: beige;
}

#js--sc--container {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* transform: translateY(100px); */
  opacity: 1;
  animation: move 2s;
}

#js--sc--container:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#js--sc--container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 1s ease-out;
}

#js--sc--container img {
  display: flex;
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#js-debug-cursor {
  position: absolute;
  top: 0;
  left: 0;
  background-color: yellow;
  width: 50px;
  height: 50px;
  z-index: 99;
  will-change: transform;
  -webkit-transition-duration: 10ms;
  transition-duration: 10ms;
}

.sc__wrapper {
  display: block;
  width: 100%;
  height: 300px;
  max-width: 300px;
  margin: 0 auto;
  border: 5px solid rgba(#FFF, 0.5);
}

 /* Where the scratchcard will be generate. */
.sc__container {
  position: relative;
  overflow: hidden;
  max-height: 300px;
  max-width: 300px;
}

.sc__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

 /* Background image, the result... */
.sc__container > img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

 /* The scratchcard generate with scratchcard-js */
.sc__container canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

 /* Scratchcard informations */
.sc__infos {
  text-align: center;
  height: 40px;
  line-height: 40px;
  margin-top: 5px;
  font-weight: bold;
  font-size: 16px;
}

.test {
  color: lightsalmon;
  font-size: 20px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: white;
}


.scratch_container {
  position: relative;
  margin: 0 auto;
  width: 100vw;
  height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* transform: translateY(100px); */
  opacity: 1;
  background: url('loading.png') center center no-repeat #ffffff;
}

#cover {
  width: 100%;
  height: 100%;
  background: url('loading.png') center center no-repeat #ffffff;
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  z-index: 9999;
}

.scratch_viewport {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  z-index: 0;
  overflow: hidden;
}

.scratch_container canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  top: 0;
  transition: all 1s ease-out;
}

img {
  max-width: 100%;
  display: block;
  overflow: hidden;
}

#exit {
  width: 50%;
  left: 25%;
  bottom: 10%;
  display: block;
  position: absolute;
}

#cardInside {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url('bg-smile.jpg') center center no-repeat;
  background-size: cover;
  visibility: hidden;
}

/* #cardInside img {
  width: 100%;
  height: 100%;
} */

#rotate {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background: url('rotation.png') center center no-repeat black;
  display: none;
  z-index: 1000;
}

@media only screen and (orientation: landscape) {
  #adContainer {max-width: 100%;}
  #rotate {display: block;}
}


#packshot {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('promo-product.png') center center no-repeat;
  background-size: cover;
}

#footerBar {
  width: 100%;
  position: absolute;
  bottom: -5px;
  transform: translate(0,100%);
}

#headline {
  width: 100%;
  position: absolute;
  top: 15%;
  opacity: 0;
}

#product {
  width: 90%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0);
  left: 5%;
}

#lockup {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('lockup-full.png') center center no-repeat;
  background-size: cover;
}

#cta {
  position: absolute;
  width: 40%;
  left: 30%;
  bottom: 13%;
  transform:scale(0);
}

#subtext {
  position: absolute;
  width: 100%;
  top: 24%;
  transform:scale(0);
}

#ins {
  width: 15%;
  position: absolute;
  bottom: 2%;
  left: 46%;
  z-index: 1000;
}

#close {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  z-index: 1000;
  background-image: url('close.png');
}

#promoPage {
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
}

#homeScreen {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url('img-home.jpg') bottom center no-repeat;
  background-size: cover;
}

#logo {
  position: fixed;
  top: 2%;
  width: 40%;
  left: 30%;
  transform: translateY(-50vh);
  z-index: 1000;
  }

#branches {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20%;
  background: url('gradient.jpg') center center / contain;
}


.branchImg {
  width: 90%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.btn {
  width: 50%;
}

.branch {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20%;
}

.txt{
  width: 100%;
}

#lastScreen {
  width: 100%;
  height: 100vh;
  position: relative;
  background: url('img-last.jpg') top center;
  background-size: cover;
}

#introText {
  position: absolute;
  top: 55vh;
  width: 100%;
  transform: scale(0);
}

#scroll {
  position: absolute;
  bottom: 5vh;
  width: 100%;
  transform: translateY(50vh);
}

#lastText {
  position: absolute;
  top: 60vh;
  width: 100%;
}