html {
  height: 100%;
}

.score-container {
  position: absolute;
  top: 10px;
  right: 10px;
  transition: transform 0.5s 4s;
}

canvas {
  width: 100%;
  height: 100%;
}

.score-container #score {
  color: white;
  font-size: 1em;
  font-family: "Permanent Marker", sans-serif;
  font-weight: 700;
}

body {
  background: rgb(13, 11, 43);
  background: radial-gradient(
    circle,
    rgba(13, 11, 43, 1) 0%,
    rgba(11, 11, 56, 1) 45%,
    rgba(16, 39, 43, 1) 100%
  );
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  display: flex;
}

.intro {
  display: none;
}

.mobile-message {
  display: block;
  margin: 0 auto;
  color: white;
  position: absolute;
  z-index: 10;
  width: 80%;
  text-align: center;
  font-family: "Open Sans", "Helvetica";
  font-size: 1.5em;
}

#ThreeJS {
  display: none;
}

@media only screen and (min-width: 500px) {
  .intro {
    position: absolute;
    z-index: 10;
    display: block;
  }

  #ThreeJS {
    display: block;
  }

  .mobile-message {
    display: none;
  }
}

h1.title {
  color: white;
  font-size: 70px;
  text-align: center;
  margin-bottom: 0.5em;
  font-family: "Impact";
  display: block;
  opacity: 1;
  margin-top: 0;
  transition: opacity 1s;
}

div#connect {
  margin: 0 auto;
  display: block;
  text-align: center;
  font-size: 14px;
  color: white;
  font-family: "Open Sans", "Helvetica";
  transition: opacity 1s ease-out;
}

button {
  font-size: 14px;
  margin-top: 0.5em;
  border: none;
  border-radius: 2px;
  padding: 0.5em 1em;
  cursor: pointer;
  font-family: "Open Sans", "Helvetica";
}

div#connect.fade-out {
  opacity: 0;
}

.counter {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(237, 71, 93);
  font-size: 100px;
  z-index: 20;
  transition: display 1s ease-out;
  font-family: "Permanent Marker", sans-serif;
  font-weight: 700;
}

.counter.fade-out {
  display: none;
}

.title.fade-out {
  opacity: 0;
}
