.scrbtn {
  width: 100%;
  display: inline-grid;
  margin-bottom: 25px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
  border: none;
  color: white;
  padding: 5px;
  border-radius: 0.25rem;
}

#clickarea {
  cursor: pointer;
  height: 300px;
  overflow: hidden;
  border-width: 3px;
  border-style: solid;
  border-image-slice: 1 !important;
  font-size: 20px;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}

.pro-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.clicking {
  margin-bottom: 20px;
  padding-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%),
    0 8px 10px -5px rgb(0 0 0 / 20%);
}

#logo {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  margin-top: 50px;
  display: block;
  user-select: none;
}

#start {
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
}

.ripple {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: rippleEffect 0.88s 1;
  opacity: 0;
}

@keyframes rippleEffect {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  100% {
    transform: scale(100);
    opacity: 0;
  }
}

.waves-input-wrapper {
  border-radius: 0.2em;
  vertical-align: bottom;
}

.waves-input-wrapper .waves-button-input {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}

.waves-block {
  display: block;
}

.rank-div {
  margin: 20px;
  border-width: 3px;
  border-style: solid;
  border-image-slice: 1 !important;
}

.half {
  margin: 10px;
  padding: 0;
  margin-bottom: 5%;
}

#animale-rank {
  font-weight: bold;
  font-size: 35px;
  margin-bottom: 5%;
}

.next-half {
  font-size: 30px;
  margin: 10px;
  margin-bottom: 5%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  margin: 10px;
  margin-bottom: 5%;
}

div#starSec {
  margin-bottom: 5%;
}

.Modscrbtn {
  width: 100%;
  display: inline-grid;
  /* margin-bottom: 26px; */
  box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
  border: none;
  color: white;
  padding: 12px 0px 12px 0px;
  border-radius: 0.25rem;
  font-size: 18px;
}

.inner .scrbtn {
  text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
  #animale-rank{
    font-size: 20px;
  }
  #speed-rank{
    font-size: 16px;
  }
  .Modscrbtn{
    padding: 15px;
  }
  .scroll-box #movingarea #score {
    font-size: 25px !important;
  }

  .scroll-box #movingarea #start {
    font-size: 18px;
  }
  .scrbtn{
    border-radius: 10px;
  }

}

kbd {
  margin: 0px 10px 0px 8px;
}

.scroll-box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 350px;
  box-sizing: border-box;
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(45deg, #00b09b, #96c93d);
  border-image-slice: 1;
}

.clk_scroll-boxbox .clk_area {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  width: 100%;
}

.scroll-box #movingarea {
  position: relative;
  height: 100%;
}

.scroll-box .clk_area {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  width: 100%;
  height: 100%;
}

.scroll-box #movingarea #score {
  position: absolute;
  top: 0;
  text-shadow: 1px 1px 1px #000;
  height: 65%;
}

.scroll-box #movingarea>* {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scroll-box #movingarea #start {
  position: absolute;
  bottom: 0;
  height: 65%;
}

@media (min-width: 768px) and (max-width: 991px) {
  .scroll-box .clk_area #start {
    font-size: 18px;
  }

  .word-input {
    flex-direction: column;
  }

  .type-word {
    margin-bottom: 10px;
  }
}

.scroll-box .clk_area #start {
  width: 100%;
  height: 100%;
  border: none;
  background: 0 0;
  font-size: 25px;
}

span.word-letter {
  font-size: 20px;
}

.word {
  line-height: 20px;
}

.word-line {
  width: 100%;
}

.scroll-box {
  border-radius: 8px;
  border: none;
  background: linear-gradient(124deg,
      #ff2400,
      #e81d1d,
      #e8b71d,
      #e3e81d,
      #1de840,
      #1ddde8,
      #2b1de8,
      #dd00f3,
      #dd00f3);
  background-size: 1800% 1800%;

  -webkit-animation: rainbow 18s ease infinite;
  -z-animation: rainbow 18s ease infinite;
  -o-animation: rainbow 18s ease infinite;
  animation: rainbow 18s ease infinite;
}

@-webkit-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@-moz-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@-o-keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

@keyframes rainbow {
  0% {
    background-position: 0% 82%;
  }

  50% {
    background-position: 100% 19%;
  }

  100% {
    background-position: 0% 82%;
  }
}

.test-container {
  width: 900px;
  position: relative;
  margin: 0 auto;
}

.timer {
  width: 100%;
  height: 3px;
  top: 0;
  left: 0;
  transition: 0.2s;
  background-color: green;
}

.output {
  font-size: 1em;
  height: 8em;
  line-height: 1em;
  border-radius: 0.25em;
  position: relative;
  overflow: hidden;
  min-height: 187px;
  border-image: linear-gradient(45deg, #fc4a1a, #f7b733);
  border-image-slice: 1;
  padding: 10px 10px 10px 10px;
  border-width: 2px;
  border-style: solid;
}

.word-letter-anim::before {
  position: absolute;
  content: "";
  background-color: rgba(85, 177, 252, 0.2);
  width: 100%;
  height: 0;
  left: 0;
  bottom: 0;
  animation: grow 0.2s 1;
}

@keyframes grow {
  0% {}

  100% {
    height: 100%;
  }
}

.word-input {
  display: flex;
  margin-top: 20px;
  justify-content: center;
}

.refresh {
  outline: none;
  border: none;
  background: linear-gradient(45deg, #fc4a1a, #f7b733);
  font-size: 20px;
  color: #fff;
  padding: 5px;
  max-width: 50px;
  cursor: pointer;
  flex: 1;
  transition: 0.2s;
}

.type-word {
  flex: 15;
  padding: 5px;
  outline: none;
  font-size: 20px;
  color: #344354;
}

.count-down {
  flex: 1;
  text-align: center;
  line-height: 50px;
  vertical-align: middle;
  font-size: 20px;
}

#spacebar {
  flex-direction: row;
  display: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  width: auto;
  line-height: 2.5;
  padding: 0 20px;
  left: 50%;
}

.moving-area {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  z-index: 99;
  width: 100%;
  border-width: 2px;
  border-style: solid;
  /* border-image-slice: 1 !important;
  border-image: linear-gradient(45deg, #00b09b, #96c93d); */
  min-height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: #1b2fe7;
}

#mydiv {
  padding: 10px;
  border-radius: 8px;
  position: absolute;
  z-index: 9;
  cursor: pointer;
  text-align: center;
  border: 3px solid #28a745;
  background: #1b2fe7;
  color: white;
}