/* NORMALIZE */

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

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-weight: normal;
	font-size: 1em;
}
a {
    color: currentColor;

    &:hover, &:focus {
      text-decoration: none;
    }
}
time {
  font-size: small;
}

.skip-link {
    position: absolute;
    top: -30px;
}

.skip-link:focus-visible {
    top: 5px;
}



/* ROMY */

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif, Apple Color Emoji, "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 18px;
	line-height: 1.1667;
	-webkit-font-smoothing: antialiased;
}

body {
  margin: 0.5vw;
}

main {
  margin: 2em 0;
}

#header {
  nav {
    display: flex;
    justify-content: space-between;

    a {
      width: calc(100vw / 12 * 2);
      display: block;
    }
    > a.home-link {
      margin-left: calc(100vw / 12 * 2);
    }

    ul {
      list-style: none;
      padding: 0;
      display: flex;
      justify-content: space-between;
    }
  }
}


.header_text, .footer_text {
  /* TODO: re-enable? */
  display: none;
}