@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");

html {
  font-size: 120%;

  /* These numbers are arbitrary at the moment */
  --safeAreaTop: 16px;
  --safeAreaHorizontal: 24px;
  --safeAreaBottom: 48px;

  --safeArea: var(--safeAreaTop) var(--safeAreaHorizontal) var(--safeAreaBottom);
}

body {
  overflow-x: auto;
  min-height: 100svh;
  font-family: Cinzel;

  display: flex;
  flex-direction: column;
  align-items: stretch;
}

h1 {
  font-size: 3.5em;
  @media (orientation: landscape) {
    font-size: 4em;
  }
}
h2 {
  font-size: 2.25em;
}
h3 {
  font-size: 2em;
}
h4 {
  font-size: 1.75em;
}
h5 {
  font-size: 1.5em;
}
h6 {
  font-size: 1em;
}

button {
  padding: 0;
  border: none;
  background: none;
}

a:where(:visited),
a:where(:any-link) {
  color: inherit;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;

  .button {
    margin: 0;
  }
}

.button {
  margin: 12px 0;

  border: 2px solid var(--white);
  padding: 8px 16px;
  color: var(--white);

  text-decoration: none;
  font-weight: 650;

  &:disabled {
    opacity: 0.75;
  }

  &:active {
    background-color: oklch(from var(--white) l c h / 0.2);
  }

  &.secondary {
    background-color: oklch(from var(--white) l c h / 0.1);
    color: var(--white);
  }

  @media (hover: hover) {
    padding: 4px 12px;
    transition: transform 100ms ease-in-out;

    &:not(:disabled):hover {
      transform: scale(1.1);
    }
  }
}
