* {
  box-sizing: border-box;
  font-family: "Perfect DOS VGA 437 Win";
}

#qanda {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 64rem;
  height: 32rem;
  position: absolute;
  top: 1rem;
  left: calc(50% - 32rem);
  background: #202020;
  color: #fff;
}

#qanda p {
  margin: .5rem;
  font-size: large;
  text-align: justify;
  display: none;
}

#qanda img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

html {
  scroll-behavior: smooth;
  background: #393939;
}

body {
  margin: 0;
  padding: 0;
}

a {
  color: fff;
}

@font-face {
  font-family: "Perfect DOS VGA 437 Win";
  src: url("/fonts/Perfect-DOS-VGA-437-Win.woff2") format("woff2"),
    url("/fonts/Perfect-DOS-VGA-437-Win.woff") format("woff");
}

#readmore {
  position: absolute;
  top: 2000px;
}

div.username__input {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 34rem;
  left: calc(50% - 8rem);
  width: 16rem;
}

div.username__input input {
  font-family: "Perfect DOS VGA 437 Win";
  font-size: 1.5rem;
  text-transform: uppercase;
  width: 100%;
  padding: 0.5rem;
  border: 2px solid dimgray;
  background-color: #393939;
  color: white;
}

div.username__input button {
  font-family: "Perfect DOS VGA 437 Win";
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 2px solid dimgray;
  border-left: none;
  background-color: crimson;
  color: white;
  cursor: pointer;
}

p#username__field {
  position: absolute;
  top: 37rem;
  left: 5vw;
  width: 90vw;
  font-family: "Perfect DOS VGA 437 Win";
  font-size: 1.5rem;
  text-transform: uppercase;
  color: white;
  margin: 0.5rem 0rem;
  text-align: center;
}

.question {
  position: inherit;
  height: auto;
  width: auto;
  top: 0px;
  left: 0px;
  font-family: "Perfect DOS VGA 437 Win";
  text-transform: uppercase;
  font-size: 2rem;
  color: #04ff00;
  overflow: hidden;
}

#buzz__button {
  position: absolute;
  top: 40rem;
  left: calc(50% - 6rem);
  font-family: "Perfect DOS VGA 437 Win";
  text-transform: uppercase;
  font-size: 2rem;
  color: white;
  background-color: crimson;
  border: 4px solid dimgray;
  padding: auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 0px 10px 0px black;
}

#buzz__button:hover {
  background-color: darkred;
}

#buzz__button:active {
  background-color: darkred;
  transform: scale(0.9);
  box-shadow: 0px 0px 0px 0px black;
}

#buzz__button:disabled,
#buzz__button:disabled:hover,
#buzz__button:disabled:active {
  background-color: darkred;
  transform: none;
  box-shadow: 0px 0px 10px 0px black;
}

#buzz__alert {
  position: absolute;
  height: 8rem;
  max-width: 550px;
  left: -8px;
  top: 634px;
  font-family: "Perfect DOS VGA 437 Win";
  text-transform: uppercase;
  font-size: 2vmin;
  color: red;
  padding: 2rem;
  padding-top: 0rem;
  overflow: hidden;
}

#buzz__alert p {
  margin: 0rem;
}

.screen {
  position: fixed;
  height: 0%;
  top: 15%;
  z-index: 1;
  overflow: hidden;
  top: 0px;
  left: 0px;
  height: 710px;
  width: 934px;
  z-index: 3;
  padding-right: 0em;
  margin-right: 0em;
  margin-bottom: 0em;
}

.question img {
  max-width: calc(100% - 4rem);
  max-height: calc(100% - 4rem);
  object-fit: contain;
  object-position: center;
}

.scroll {
  position: absolute;
  left: 950px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.scroll input {
  font-family: "Perfect DOS VGA 437 Win";
  font-size: 1.5rem;
  text-transform: uppercase;
  width: 100%;
  padding: 0.5rem;
  border: 2px solid dimgray;
  background-color: #393939;
  color: white;
}

.scroll button {
  font-family: "Perfect DOS VGA 437 Win";
  font-size: 1.5rem;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 2px solid dimgray;
  border-left: none;
  background-color: crimson;
  color: white;
  cursor: pointer;
}

.scroll #position__div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
}

#position__div button {
  min-width: 33.33%;
}

#position__div input {
  max-width: 66.66%;
}

p#position {
  margin: 0rem;
  font-size: 2rem;
}

button,
#position {
  font-family: "Perfect DOS VGA 437 Win";
}

.typewriter__cursor {
  -webkit-animation: typewriter-cursor 1s infinite;
  animation: typewriter-cursor 1s infinite;
  margin-left: 1px;
}

@-webkit-keyframes typewriter-cursor {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes typewriter-cursor {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}
