/*
	Dimension by @BaoChn under CCA 3.0 license
	https://creativecommons.org/licenses/by/3.0/
*/
@import url('https://fonts.loli.net/css2?family=ZCOOL+QingKe+HuangYou');

@font-face {
  font-family: "GT-Flexa";
  src: url("./assets/gt-flexa.woff2");
  font-display: block;
  font-style: normal italic;
  font-weight: 100 800;
  font-stretch: 10% 200%;
}
@font-face {
  font-family: 'Alighty-Nesia';
  src: url('./assets/alighty-nesia.ttf');
}

:root {
  --fw: 600;
  --fs: 150;
  --fontSize: 15;
  --baseColor: "blue";
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0098EF;
  background-image: linear-gradient(to top, #6f86d6 0%, #48c6ef 100%);
  font-family: "GT-Flexa";
  font-size: 20px;
  color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: url("./assets/cursor.svg") 32 32, pointer;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.content {
  text-align: center;
}

.txt {
  margin: 0;
  font-size: calc(var(--fontSize)*1vw);
  font-weight: var(--fw);
  font-stretch: calc(var(--fs) * 1%);
  line-height: 0.6;
  letter-spacing: -1vw;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  text-shadow: 0 0.05em 0 #ABDCFF, 0 0.1em 0.1em rgba(70, 0, 35, 0.3), 0 0.4em 0.3em rgba(70, 0, 35, 0.1);
}

.char {
  padding-top: 1.08vw;
  text-align: center;
  will-change: font-weight, font-stretch, transform;
}
.grab {
  cursor: url("./assets/grab.svg") 32 32, pointer;
}

p {
  margin: 32px 0 0;
}

/* Corner */
@-webkit-keyframes curl-bg {
  0% {
    transform: rotate(-36.87deg);
  }
  8.3333333333% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: rotate(-40deg) translateY(-13px);
  }
  31.6666666667% {
    transform: rotate(-36.87deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: rotate(-36.87deg);
  }
  42.5% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: rotate(-38.435deg) translateY(-6.5px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: rotate(-38.435deg) translateY(-6.5px);
  }
  48.3333333333% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: rotate(-36.87deg);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: rotate(-36.87deg);
  }
}
@keyframes curl-bg {
  0% {
    transform: rotate(-36.87deg);
  }
  8.3333333333% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: rotate(-40deg) translateY(-13px);
  }
  31.6666666667% {
    transform: rotate(-36.87deg);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: rotate(-36.87deg);
  }
  42.5% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: rotate(-38.435deg) translateY(-6.5px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: rotate(-38.435deg) translateY(-6.5px);
  }
  48.3333333333% {
    transform: rotate(-40deg) translateY(-13px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: rotate(-36.87deg);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: rotate(-36.87deg);
  }
}
@-webkit-keyframes curl-bg-pattern {
  0% {
    transform: rotate(0) translateY(-13px);
  }
  8.3333333333% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: rotate(3.13deg) translateY(0);
  }
  31.6666666667% {
    transform: rotate(0) translateY(-13px);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: rotate(0) translateY(-13px);
  }
  42.5% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: rotate(1.565deg) translateY(-6.5px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: rotate(1.565deg) translateY(-6.5px);
  }
  48.3333333333% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: rotate(0) translateY(-13px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: rotate(0) translateY(-13px);
  }
}
@keyframes curl-bg-pattern {
  0% {
    transform: rotate(0) translateY(-13px);
  }
  8.3333333333% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: rotate(3.13deg) translateY(0);
  }
  31.6666666667% {
    transform: rotate(0) translateY(-13px);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: rotate(0) translateY(-13px);
  }
  42.5% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: rotate(1.565deg) translateY(-6.5px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: rotate(1.565deg) translateY(-6.5px);
  }
  48.3333333333% {
    transform: rotate(3.13deg) translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: rotate(0) translateY(-13px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: rotate(0) translateY(-13px);
  }
}
.corner-bg {
  width: 300px;
  height: 300px;
  background: #6A707C;
  position: fixed;
  top: 100%;
  left: 100%;
  margin-top: -90px;
  margin-left: -113px;
  transform: rotate(-36.87deg);
  -webkit-animation-name: curl-bg;
  animation-name: curl-bg;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.corner-bg:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./assets/pattern.png);
  -webkit-animation-name: curl-bg-pattern;
  animation-name: curl-bg-pattern;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes curl-curl {
  0% {
    transform: scaleX(1) scaleY(1);
  }
  8.3333333333% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: scaleX(1.09) scaleY(1.22625);
  }
  31.6666666667% {
    transform: scaleX(1) scaleY(1);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: scaleX(1) scaleY(1);
  }
  42.5% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: scaleX(1.045) scaleY(1.113125);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: scaleX(1.045) scaleY(1.113125);
  }
  48.3333333333% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: scaleX(1) scaleY(1);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: scaleX(1) scaleY(1);
  }
}
@keyframes curl-curl {
  0% {
    transform: scaleX(1) scaleY(1);
  }
  8.3333333333% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  16.6666666667% {
    transform: scaleX(1.09) scaleY(1.22625);
  }
  31.6666666667% {
    transform: scaleX(1) scaleY(1);
    -webkit-animation-timing-function: ease-in-out;
            animation-timing-function: ease-in-out;
  }
  40% {
    transform: scaleX(1) scaleY(1);
  }
  42.5% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  45.8333333333% {
    transform: scaleX(1.045) scaleY(1.113125);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  45.8333333333% {
    transform: scaleX(1.045) scaleY(1.113125);
  }
  48.3333333333% {
    transform: scaleX(1.09) scaleY(1.22625);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  55% {
    transform: scaleX(1) scaleY(1);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    transform: scaleX(1) scaleY(1);
  }
}
.corner-curl {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 299px;
  height: 275px;
  background: url(./assets/corner.png) bottom right no-repeat;
  transform-origin: bottom right;
  -webkit-animation-name: curl-curl;
  animation-name: curl-curl;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.corner-txt {
  position: fixed;
  bottom: 0;
  right: 0;
  margin-bottom:15px;
  margin-right: 8px;
  background: url(./assets/avatar.svg) center/100% no-repeat;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));
  height: 55px;
  width: 55px;
}

.copyright {
  position:absolute;
  font-size: 15px;
  font-family: 'Alighty-Nesia';
  color: rgba(255, 255, 255, 0.5);
  transform:translateX(-10px)translatey(50px);
}
/* btn */
.btn {
  align-items: center;
  appearance: none;
  background-color: #FCFCFD;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395A;
  cursor: pointer;
  display: inline-flex;
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  /**height: 48px;**/
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding: 8px 12px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 22px;
}

.btn:focus {
  box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.btn:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.btn:active {
  box-shadow: #D6D6E7 0 3px 7px inset;
  transform: translateY(2px);
}