* {
  margin: 0;
  padding: 0;
}

body,
html {
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #151e2d;
}

h1 {
  font-weight: 600;
  width: 390px;
  border-radius: 1rem;
  background: oklch(0.372 0.044 257.287);
  box-shadow: 0px 6px 12px rgba(16, 22, 32, 0.5);
  padding: 1rem;
  text-align: center;
}

.score-panel {
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  z-index: 1000;
  color: #fff;
  padding: 0.5rem;
  display: flex;
  color: #ffffff;
}

.score-panel > p {
  font-size: 24px;
  font-weight: 400;
  margin-right: 12px;
}

.ui {
  display: block;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
}

button {
  width: 420px;
  padding: 1.5rem;
  border-radius: 10rem;
  background: oklch(0.623 0.214 259.815);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  outline: 0;
  border: none;
  box-shadow: 0px 6px 12px rgba(16, 22, 32, 0.5);
}

button:hover {
  background: oklch(0.643 0.214 259.815);
}

.hide {
  display: none;
}

.hide-cursor {
  cursor: none;
}

.controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: oklch(0.372 0.044 257.287);
  padding: 20px;
  border-radius: 1rem;
  box-shadow: 0px 6px 12px rgba(16, 22, 32, 0.5);
  width: 380px;
}

h3 {
  margin-bottom: 1rem;
}

table {
  color: white;
  text-align: left;
}

.keys {
  text-align: right;
  padding-right: 24px;
  font-weight: 600;
}

.lives {
  position: absolute;
  display: flex;
  left: 1.75rem;
  bottom: 1.75rem;
}

.life {
  width: 45px;
  height: 45px;
  margin-right: 1rem;
}
