@import url("https://fonts.googleapis.com/css?family=Lobster|Open+Sans:300,400,600,700,800");

html,
body {
  height: 100%;
  margin: 0;
  line-height: 1;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body.is-loading *,
body.is-loading *:before,
body.is-loading *:after {
  -moz-animation: none !important;
  -webkit-animation: none !important;
  -ms-animation: none !important;
  animation: none !important;
  -moz-transition: none !important;
  -webkit-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}

.inner {
  width: 60em;
}

#banner h2 {
  font-size: 36px;
  line-height: 1.5;
  text-transform: uppercase;
  font-family: "Fondamento", cursive;
  letter-spacing: 3px;
  color: rgb(253, 255, 253);
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: fadeout 3.9s;
  -moz-animation: fadeout 3.9s; /* Firefox */
  -webkit-animation: fadeout 3.9s; /* Safari and Chrome */
  -o-animation: fadeout 3.9s; /* Opera */
  opacity: 0;
}

span {
  color: rgba(31, 34, 33);
  font-size: 23px;
  font-family: "Fondamento", cursive;
  animation: fadein 29s;
  -moz-animation: fadein 29s; /* Firefox */
  -webkit-animation: fadein 29s; /* Safari and Chrome */
  -o-animation: fadein 29s; /* Opera */
}

footer {
  margin-top: 10em;
}

@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-moz-keyframes fadeout {
  /* Firefox */
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes fadeout {
  /* Safari and Chrome */
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-o-keyframes fadeout {
  /* Opera */
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

p {
  margin: 0em 0 1em 0;
  letter-spacing: 1px;
  font-family: "Fondamento", cursive;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(31, 34, 33);
  font-size: 1.85em;
  animation: fadein 14s;
  -moz-animation: fadein 14s; /* Firefox */
  -webkit-animation: fadein 14s; /* Safari and Chrome */
  -o-animation: fadein 14s; /* Opera */
}

.box {
  border-radius: 4px;
  margin-bottom: 2em;
  overflow: hidden;
  padding: 4em;
}

#banner {
  display: -ms-flexbox;
  -ms-flex-pack: center;
  -ms-flex-align: center;
  padding: 8em 0 6em 0;
  -moz-align-items: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  display: -moz-flex;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -moz-justify-content: center;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-top: 0;
  min-height: 100vh;
  height: 100vh;
  position: relative;
  text-align: center;
  overflow: hidden;
}

#banner .inner {
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -moz-transition: opacity 1s ease, -moz-transform 1s ease;
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease;
  -ms-transition: opacity 1s ease, -ms-transform 1s ease;
  transition: opacity 1s ease, transform 1s ease;
  opacity: 1;
  position: relative;
  z-index: 2;
}

#banner:before {
  -moz-transition: opacity 8s ease;
  -webkit-transition: opacity 8s ease;
  -ms-transition: opacity 8s ease;
  transition: opacity 8s ease;
  -moz-transition-delay: 4.2 ease;
  -webkit-transition-delay: 4.2s ease;
  -ms-transition-delay: 4.2 ease;
  transition-delay: 4.2 ease;
  content: "";
  display: block;
  background-color: #000;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body.is-loading #banner:before {
  opacity: 1;
}

body.is-loading .box {
  opacity: 0;
}

/*Google Store button*/

.fa-google-play {
  margin-top: 0.2em;
  color: rgb(192, 110, 82);
  animation: fadein 16s;
  -moz-animation: fadein 16s; /* Firefox */
  -webkit-animation: fadein 16s; /* Safari and Chrome */
  -o-animation: fadein 16s; /* Opera */
}

.fa-google-play:hover {
  transform: translate(0.4px);
  text-shadow: 0 0 3px rgb(21, 51, 21);
}

@media screen and (max-width: 840px) {
  /* @font-face {
    font-family: "Fondamento", cursive;
    src: url("webfont.ttf") format("truetype"); 
  } */

  #banner:before {
    -moz-transition: opacity 9s ease;
    -webkit-transition: opacity 9s ease;
    -ms-transition: opacity 9s ease;
    transition: opacity 9s ease;
    -moz-transition-delay: 1.4s ease;
    -webkit-transition-delay: 1.4s ease;
    -ms-transition-delay: 1.4s ease;
    transition-delay: 1.4s ease;
  }

  #banner h2 {
    font-family: "Didot", serif;
    font-size: 24px;
    font-weight: 400;
    animation: fadeout 4s;
    -moz-animation: fadeout 4s;
    -webkit-animation: fadeout 4s;
    -o-animation: fadeout 4s;
  }

  span {
    font-family: "Times New Roman", Times, serif;
    margin-top: 5em;
    font-size: 17px;
    animation: fadein 30s;
    -moz-animation: fadein 30s;
    -webkit-animation: fadein 30s;
    -o-animation: fadein 30s;
  }

  .fa-google-play:after {
    background-color: transparent;
  }

  #banner .btn-google {
    font-size: 11px;
    animation: fadein 16s;
    -moz-animation: fadein 16s; /* Firefox */
    -webkit-animation: fadein 16s; /* Safari and Chrome */
    -o-animation: fadein 16s; /* Opera */
  }

  #banner p {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.1em;
    text-align: center;
    color: rgb(0, 0, 0);
  }

  .box {
    padding: 6em;
    margin-bottom: 5em;
  }
}

@media screen and (max-width: 840px) and (orientation: landscape) {
  p {
    font-family: "Times New Roman", Times, serif;
    font-size: 1em;
    margin: 0em 0px 0em 0;
  }

  #banner .btn-google {
    font-size: 10px;
  }

  #banner footer {
    margin-top: 2em;
  }

  span {
    font-family: "Times New Roman", Times, serif;
    margin-top: 0em;
    font-size: 15px;
  }
}
