@charset "utf-8";

/* splash
---------------------------------------------------- */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1880e7, #17b7c2);
  z-index: 9999999;
  text-align:center;
  color:#fff;
}

@media only screen and (max-width: 767px) {
html, body {overflow-x: hidden;}
html.no-scroll, body.no-scroll {
  overflow: hidden !important;
  width: 100vw !important;
  position: fixed !important;
  touch-action: none !important;
}
  
  #splash-logo {
    position: absolute !important;
    top: 48% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 85vw;
    max-width: 300px;
  }

  #splash-logo img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
}


@media print, screen and (min-width: 768px) {
#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	}
}

/* splash body
---------------------------------------------------- */
body{
  background: linear-gradient(90deg, #1880e7, #17b7c2);
}

body.appear{
	background: #f5f5f3;
}

.splashbg1,
.splashbg2{
    display: none;
}

body.appear .splashbg1,
body.appear .splashbg2{
  display:block;
}

body.appear .splashbg1{
  animation-name:PageAnime;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
  left:0;
    transform: scaleY(1);
  background: linear-gradient(90deg, #1880e7, #17b7c2);
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(1);
  }

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

body.appear .splashbg2{
    animation-name:PageAnime2;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
  background: linear-gradient(90deg, #1880e7, #17b7c2);
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

#container{
  opacity: 0;
}

body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.2s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}