:root {
  --background: lightgray;
  --background--hover: silver;
  --border-color: black;
  --shadow-color: black;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-size: 14px;
}

body {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 6px;
  box-sizing: border-box;
}

menu {
  display: flex;
  flex-direction: column;
  inset: 0 auto 0 0;
  margin: 0;
  padding: 6px;
  position: absolute;
}

button,
input,
label {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: bold;
  gap: 4px;
}

button,
input {
  border: solid 2px var(--border-color);
  border-radius: 4px;
  padding: 8px 12px;
}

button {
  box-shadow: 2px 2px var(--shadow-color);
  background: var(--background);
  flex-direction: column;
  margin-bottom: 12px;

  &:hover {
    background: var(--background--hover);
  }

  &:active {
    box-shadow: none;
    transform: translate(2px, 2px);
  }

  img {
    text-align: center;
  }
}

label {
  margin-top: 8px;
}
