@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Libre+Baskerville&display=swap");

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track-piece {
  background-color: #393939;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}

html {
  scrollbar-color: #ffffff #393939;
  scrollbar-width: thin;
}

body {
  position: relative;
  margin: 0;
  color: white;
  background: #000000;
  text-shadow: 0px 0px 5px black;
  width: 100vw;
  height: 100vh;
  font-weight: normal;
  font-family: "Libre Baskerville";
  font-size: 24px;
}

.line-div {
  display: flex;
}

#cursor-div {
  left: -50%;
  top: 50%;
  position: absolute;
  backdrop-filter: invert(100%);
  color: transparent;
  transition: all 0.1s ease-in-out;
}

.character-div {
  color: white;
  font-weight: normal;
}

.character-div-error {
  color: red;
}

.character-div-written {
  font-weight: bold;
}

#lines-container {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#status-container {
  position: absolute;
  left: 20%;
  top: 20%;
  font-weight: bold;
  font-family: "Source Sans Pro";
  font-size: 24px;
}

#container {
  position: relative;
  width: 100%;
  height: 100vh;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

#home-link {
  position: absolute;
  top: 40px;
  right: 40px;
}

#home-link-a {
  color: white;
  text-decoration: none;
  font-size: 32px;
  font-weight: 400;
}

#home-icon {
  width: 32px;
  height: 32px;
}
