@font-face{
  font-family: "tiny";
  src: url(../src/fonts/TINY5x3-120.otf) format("opentype");
  font-weight: normal;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: default;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Click it */
#click-it{
  position: relative;
  user-select: none; 
} 
#click-it span{
  position: relative;
  display: inline-block;
  user-select: none;
  color: black;
  font-size: 4em;
  font-family: "tiny";
  text-transform: uppercase;
  animation: click 1s ease-in-out infinite;
  animation-delay: calc( 0.1s * var(--i) );
}

@keyframes click {
  0%{
    transform: translateY(0px);
  }
  20%{
    transform: translateY(-20px);
  }
  40%,100%{
    transform: translateY(0px);
  }
}

/* Ripple */
#container{
  width: 100%;
  height: 100%;
  position: relative;
  visibility: hidden;
}

.ripple{
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.r1{
  background-color: #faf36f;
  animation: ripple 4s linear infinite;
}
.r2{
  background-color: #f0a6bdcd;
  animation: ripple 4s linear infinite;
}
.r3{
  background-color: #9cc6d7d4;
  animation: ripple 4s linear infinite;
}
.r4{
  background-color: #f255b1d4;
  animation: ripple 4s linear infinite;
}
.r5{
  background-color: #28915095;
  animation: ripple 4s linear infinite;
}
.r6{
  background-color: #3a7dc195;
  animation: ripple 4s linear infinite;
}
.r7{
  background-color: #fff5a8d1;
  animation: ripple 4s linear infinite;
}

@keyframes ripple {
  0%{
      width: 0px;
      height: 0px;
  }
  50%{
      opacity: 1;
  }
  100%{
      width: 300px;
      height: 300px;
      opacity: 0;
  }
}

/* Button */
#stop{
  padding: 0px 4px 13px 5px;
  text-align: center;
  position: fixed;
  bottom: 30px;
  right: 30px;

  color: black;
  background-color: white;
  border: 2.4px solid black;
  border-radius: 20px;
  font-family:"tiny";
  font-size: 30px;

  visibility: hidden;
  cursor: pointer;
  z-index: 13;
  user-select: none; 
}

#stop:hover{
  transition-duration: 0.1s;
  background-color: whitesmoke;
}
 
#stop:active{
  bottom: 31px;
}
