@import url('https://fonts.googleapis.com/css2?family=DotGothic16&display=swap');

*{
    box-sizing: border-box;
    font-family: 'DotGothic16', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* background-color: rgb(185, 230, 224); */
  background: linear-gradient(
    to left top,
    rgb(219, 143, 143),
    rgb(121, 231, 173),
    #ff000078
  );
}

.container {
  background-color: rgb(93, 183, 235);
  font-size: 2.4rem;
  font-weight: 600;
  padding: 4rem;
  border-radius: 0.5rem;
  width: 1000px;
  min-height: 600px;
  max-width: 90%;
  box-shadow: 1px 5px 6px rgb(80, 80, 80);
}

.container .type-input {
  margin-top: 4rem;
  font-size: 3rem;
}

.timer {
  position: absolute;
  top: 2rem;
  font-size: 5rem;
  font-weight: bold;
  color: rgb(202, 87, 87);
}

.type-display {
  margin-bottom: 1rem;
  margin-left: 1rem;
}

.type-input {
  background: transparent;
  border: 2px solid rgb(158, 52, 52);
  outline: none;
  width: 100%;
  height: 14rem;
  margin: auto;
  resize: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.type-input:focus {
  border-color: black;
}

.correct {
  color: green;
}

.incorrect {
  color: red;
  text-decoration: underline;
}