*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 100dvh;
  background: #0f2027;
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right,
      #2c5364,
      #203a43,
      #0f2027);
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right,
      #2c5364,
      #203a43,
      #0f2027);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  font-family: sans-serif;
  color: rgb(235, 235, 235);
}

h1 {
  font-size: 2.5rem;
}

.btn {
  padding: 8px 32px;
  border: none;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: bold;
}

#sentence {
  color: #dfebf1;
  font-size: 1.2rem;
  font-weight: 500;
  display: none;
}

/* From Uiverse.io by ercnersoy */
.input {
  display: none;
  border: none;
  padding: 1rem;
  border-radius: 1rem;
  width: 425px;
  background: #e8e8e8;
  box-shadow: 0px 0px 60px #ffffff;
  transition: 0.3s;
}

.input:focus {
  outline-color: #e8e8e8;
  box-shadow: inset 20px 20px 60px #c5c5c5, inset -20px -20px 60px #ffffff;
  transition: 0.3s;
}

input.inputError {
  outline: 2px solid red !important;
  box-shadow: 0px 0px 60px #ff0000 !important;
  transition: all 0.3s ease !important;
}

#timerBox {
  display: none;
  background-color: #f3f3f31e;
  padding: 0.5rem 1rem;
  position: fixed;
  top: 5%;
  right: 10%;
  font-size: 2rem;
  border-radius: 10px;
  align-items: center;
  flex-direction: column;
}

.timebtn {
  font-size: 0.8rem;
  padding: 8px;
}

#result {
  display: none;
  font-size: 1.2rem;
}

#resultBtn {
  display: none;
}

#restartBtn {
  display: none;
}