body,
html {
  --dark_grey: rgb(100, 100, 100);
  overflow: hidden;
}
body {
  display: flex;
  background-color: black;
  background-size: cover;      
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  height: 100vh;
}

* {
  font-family: "Nunito", sans-serif;
  user-select: none;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Quicksand", sans-serif;
  font-size: 0px;
  transition: font-size 100ms, color 500ms;
}

#best {
  position: absolute;
  color: var(--dark_grey);
  top: 8px;
  right: 15px;
}

/* Scores */
#Scoreboard {
  color: rgb(125, 125, 125);
  position: absolute;
  top: 2px;
  left: 10px;
}

.Scores {
  position: absolute;
  color: var(--dark_grey);
  left: 10px;
}

.player_name {
  color: rgb(150, 150, 150);
}

.player_score {
  color: white;
}

#Username_div {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 5px;
}

#Username {
  color: var(--dark_grey);
}

input {
  margin-left: 5px;
  font-size: 25px;
  color: black;
  background-color: var(--dark_grey);
  text-align: center;
  border: 0;
  border-radius: 2px;
  width: 125px;
  height: 28px;
  outline: none;
}

/* Text gradient animation */
.Gradient_animation {
  --bg-size: 400%;
  background: linear-gradient(
      90deg,
      rgb(255, 0, 0),
      rgb(255, 150, 0),
      rgb(255, 255, 0),
      rgb(0, 255, 0),
      rgb(0, 200, 255),
      rgb(0, 0, 255),
      rgb(200, 0, 255),
      rgb(255, 0, 0)
    )
    0 0 / var(--bg-size) 100%;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: move-bg 75s linear infinite;
}

@keyframes move-bg {
  to {
    background-position: var(--bg-size) 0;
  }
}

#about {
  position: absolute;
  color: var(--dark_grey);
  right: 25px;
  bottom: 10px;
}
#about:hover {
  cursor: pointer;
  color: rgb(70, 70, 70);
}

@media only screen and (max-width: 500px) {
  body {
    font-size: 28px;
  }

  #Scoreboard {
    top: 30px;
    text-indent: -9999px;
    line-height: 0;
  }

  #Scoreboard::after {
    content: "Top 5:";
    text-indent: 0;
    display: block;
    line-height: initial;
  }

  #Scoreboard,
  .Scores {
    left: 5px;
  }
  #Username_div {
    top: 0px;
  }
  #best,
  #Username {
    right: 5px;
  }
  #best {
    top: 30px;
  }
  #top_1 {
    top: 60px !important;
  }
  #top_2 {
    top: 90px !important;
  }
  #top_3 {
    top: 120px !important;
  }
  #top_4 {
    top: 150px !important;
  }
  #top_5 {
    top: 180px !important;
  }
}
