* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.5rem
}

.githubLink {
  position: absolute;
  right: 20px;
  top: 20px;
}

.githubLink > img {
  opacity: 0.3;
  width: 30px;
  height: 30px;
  transition: all .5s ease;
}

.githubLink:hover > img {
  opacity: 1;
}

body {
  background-color: rgb(240,240,240);
}

.sentenceContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.sentence {
  display: flex;
  align-items: center;
  width: 75vw;
  height: 70vh;
  white-space: pre;
  overflow: hidden;
}

#completedLeters {
  margin-left: 35%;
}

#currentLetter {
  background-color: rgba(1,1,1,.2)
}

.right {
  color: rgb(0, 177, 0);
}

.wrong {
  color: rgb(228, 1, 1);
}

.stats {
  display: flex;
  justify-content: space-between;
}

.statsContainer {
  margin: 0 auto;
  width: 60vw;
}

.stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tapScreen {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%,-50%);
  width: 15em;
  text-align: center;
  font-weight: 700;
  display: none;
}

.inputBox {
  position: absolute;
  top: -100px;
}


@media  screen and (max-width: 700px) {
  * {
    font-size: 1.1rem;
  }

  .sentence {
    width: 90vw;
  }

  .statsContainer {
    width: 75vw;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
  }

  .tapScreen {
    display: block;
  }
}