:root {
  --color-primary: #f06;
  --color-text: #333;
}

.primary {
  color: var(--color-primary);
}

body {
  align-items: center;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 125%;
  margin: 0;
  padding: 0 2em;
}

@media (min-width: 768px) {
  body {
    font-size: calc(20 / 768 * 100vw);
  }
}

@media (min-width: 1280px) {
  body {
    font-size: calc(20 / 768 * 1280px);
  }
}

a {
  color: inherit;
  text-decoration: var(--color-primary) dashed underline;
  -webkit-text-decoration: var(--color-primary) dashed underline;
}

@media (hover: hover) {
  a:hover {
    color: var(--color-primary);
    text-decoration-color: var(--color-text);
    -webkit-text-decoration-color: var(--color-text);
  }
}

h1,
h2,
h3 {
  font-weight: inherit;
  margin: 0;
  text-align: center;
}

body > header {
  margin-bottom: 2em;
}

body > header h1 {
  display: flex;
  font-size: 8em;
  justify-content: center;
  margin: 0.5em 0 0.25em 0;
}

@media (min-width: 768px) {
  body > header h1 {
    font-size: 12em;
  }
}

body > header h1 svg {
  display: block;
  height: 1em;
}

body > header h2 {
  font-size: 3em;
  margin: 0.25em 0 0.25em 0;
}

body > header h2 span {
  display: inline-block;
  margin: 0.25em 0;
}

h2 {
  font-size: 2em;
  margin: 1.5em 0 1em 0;
}

main {
  margin-bottom: 2em;
  text-align: center;
}

main .calendar-entry {
  font-size: 0.75em;
}

main .date {
  display: flex;
  flex-direction: column;
  font-size: 1.5em;
}

main .date .time {
  font-size: calc(2em / 3);
}
