* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background: beige;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
}
.restart {
  background: white;
  border: none;
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
}
main {
  background: white;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 480px;
}
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

h1 {
  font-size: 1.5rem;
}

h3 {
  font-size: 2.5rem;
  text-transform: uppercase;
}
.message {
  padding: 0.5rem 0.75rem;
  background: hsl(138, 100%, 84%);
  color: hsl(138, 100%, 24%);
  border-radius: 0.5rem;
  width: 100%;
  font-size: 0.875rem;
  text-align: center;
}
.hidden {
  display: none;
}

.error {
  background: hsl(0, 100%, 84%);
  color: hsl(0, 100%, 24%);
}
select {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0 5px rgb(0, 0, 0, 0.2);
  padding: 0.5rem;
  cursor: pointer;
}
section {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
button {
  height: 50px;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  transition: transform 0.3s linear;
}
button:hover:not(:disabled) {
  transform: scale(1.1) rotate(2deg);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.2;
}
