@font-face {
  font-family: 'abril_fatfaceregular';
  src: url('/static/styles/fonts/abrilfatface-regular-webfont.woff2') format('woff2'),
       url('/static/styles/fonts/abrilfatface-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'work_sanssemibold';
  src: url('/static/styles/fonts/worksans-semibold-webfont.eot');
  src: url('/static/styles/fonts/worksans-semibold-webfont.eot?#iefix') format('embedded-opentype'),
       url('/static/styles/fonts/worksans-semibold-webfont.woff2') format('woff2'),
       url('/static/styles/fonts/worksans-semibold-webfont.woff') format('woff'),
       url('/static/styles/fonts/worksans-semibold-webfont.ttf') format('truetype'),
       url('/static/styles/fonts/worksans-semibold-webfont.svg#work_sanssemibold') format('svg');
  font-weight: normal;
  font-style: normal;

}

html, body {
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

#text-gif {
  position: absolute;
  width: 80vw;
  height: 80vh;
  display: block;
  background: url('/static/images/bg-gif.gif') center center no-repeat;
  background-size: contain;
  background-position: 48% 36%;
  top: 20vh;
  opacity: 0;
  left: 50%;
  margin-left : -42vw;
}
#wrapper {
  background: url('/static/images/background.png') center center no-repeat;
  width: 100vw;
  height: 100vh;
  position: absolute;
  display: block;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  visibility: hidden;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.center img {
  width: 140px;
}

.center p {
  text-align: center;
  color: #000;
  font-family: 'abril_fatfaceregular';
  font-size: 75px;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-top: 32px;

  background: url('/static/images/bg-text.png') center center no-repeat;
  background-size: contain;
  background-position: -60px 0px;
  margin-bottom: 0px;
}

img.coming-soon {
  position: absolute;
  margin-top: 81px;
  margin-left: 40px;
  top: 0px;
  left: 50%;
}

footer {
  position: absolute;
  font-size: 0px;
  width: 217px;
  height: 80px;
  background: url(/static/images/conceived.png) center center no-repeat;
  background-size: 100% 100%;
  bottom: 10vh;
  margin-left: 30.5vw;
  left: 50%;
}

footer.footer-mobile {
  display: none;
}

a {
  font-family: 'work_sanssemibold';
  color: #000;
  text-decoration: none;
  background: url(/static/images/contact.png) top center no-repeat;
  background-size: 100% 100%;
  font-size: 13.2px;
  padding-top: 7px;
  padding-bottom: 7px;
  padding-right: 9px;
  padding-left: 101px;
  margin-top: 30px;
  margin-left: 20px;
}
a:hover {
  text-decoration: underline;
}

* {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


#wrapper.visible {
  opacity : 0;
  visibility: visible !important;
  animation: fade-in 1s linear forwards !important;
}

#wrapper.visible img.logo {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

#wrapper.visible #text-gif {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s forwards;
}

#wrapper.visible p {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s forwards;
}

#wrapper.visible a {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s forwards;
}

#wrapper.visible footer {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.3s forwards;
}

#wrapper.visible img.coming-soon {
  opacity : 0;
  animation: fade-in-from-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.1s forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity : 1;
  }
}

@keyframes fade-in-from-bottom {
  from {
    opacity: 0;
    transform: translate3d(0px,50px,0px);
  }
  to {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
  }
}

img,p,footer,a {
  opacity: 0;
}



@media screen and (max-width: 1080px) {
  .center p {
    font-size: 60px;
    background-position: -50px 0px;
  }

  footer {
    margin-left: 35vw;
  }

  #text-gif {
    top: 50%;
    margin-top: -30vh;
  }
}

@media screen and (max-width: 738px) {
  html, body, #wrapper {
    height: auto;
    min-height: 100%;
    overflow: auto;
  }
  .center p {
    font-size: 8vw;
    background-position: -6vw 0px;
  }

  #text-gif {
    top: 37%;
    margin-top: -30vh;
  }  

  body {
    background-attachment: fixed;
    padding-bottom: 20vh;
  }
  

  img.logo {
    margin-top: 15vw !important;
  }
  img.coming-soon {
    margin-top: calc(15vw + 80px);
    width: 30vw;
    margin-left: 12vw;
  }

  #wrapper {
    justify-content: flex-start;
  }

  footer {
    margin-left: none;
    right: 0px;
    left: auto;
    margin-right: 5vw;
    bottom: 10vh;
  }
  
  footer:not(.footer-mobile) {
    display: none !important;
  }
  footer.footer-mobile {
    display: block;
    bottom: 0px;
    margin: 0;
    position: initial;
    margin-top: 10vh;
  }
}

@media screen and (max-width: 738px) and (orientation: landscape){
  #text-gif {
    top: 45%;
    height: 100vh;
  }
}
