* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main {
  width: 100vw;
  height: 100vh;
  border: 4px solid black;
}

section[name="register"] {
  position: absolute;
  background-color: white;
  width: 300px;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background-color: aliceblue;
}

section[name="register"] input {
  width: -webkit-fill-available;
  padding: 5px;
}

section[name="register"] .button-container {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

section[name="register"] .button-container > button {
  padding: 5px;
  border-radius: 20px;
  background-color: aliceblue;
  cursor: pointer;
}

section[name="gameOver"] {
  display: none;
  position: absolute;
  width: 300px;
  height: 100px;
  display: none;
  align-items: center;
  padding: 15px;
  border-radius: 5px;
  background-color: aliceblue;
}

section[name="gameOver"] .modal {
  width: 100%;
  display: flex;
  flex-direction: column;
}

section[name="gameOver"] h1,h2 {
  text-align: center;
}

section[name="gameOver"] .score-container {
  display: flex;
  justify-content: center;
}

section[name="gameOver"] .button-container {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

section[name="gameOver"] .button-container > button {
  padding: 5px;
  border-radius: 20px;
  background-color: aliceblue;
  cursor: pointer;
}