*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
}

body {
  position: relative;
  background-color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  gap: var(--body-gap, 0);
}

/* spacing controls for the page's top-level sections */
body > site-header,
body > site-main,
body > site-footer {
  margin: var(--body-margin-y, 0) var(--body-margin-x, 0);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}
