/* RESET */
@view-transition {
  navigation: auto;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display: block;
}
blockquote,q {
  quotes: none;
}
blockquote:before,blockquote:after,q:before,q:after {
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
img {
  width: 100%;
  max-width: 100%;
}
/* end RESET */

:root {
  --base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --base-heading-family: Georgia,'Times New Roman',serif;
  --small-font: 85%;
  --large-font: 125%;
  --xsmall-font: calc(0.75 * var(--small-font));
  --color-brand: #6ae1fa;
  --dark-grey: slategrey;
  --color-link: var(--dark-grey);
  --color-link-hover: var(--color-brand);
  --link-decoration: none;
  --transition: 0.5s;
}

@font-face {
  font-family: 'HeadingFont';
  src: url('fonts/Goldman-Regular.ttf')  format('truetype'),
}

body {
  scrollbar-gutter: stable both-edges;
  display: flex;
  flex-direction:column;
  height:100vh;
  overflow-y: auto;
  font-family: 'BaseFont', var(--base-font-family);
  line-height: 1.75;
}

header {
  display: none;
  body.page & {
    display: block;
    text-align: center;
    padding: 1rem;
  }
}
main {
  flex-grow: 1;
  display: grid;
  align-content: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
footer {
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  background-color: color-mix(in srgb, var(--color-brand) 10%, grey);
}

a {
  color: var(--color-link);
  text-decoration: var(--link-decoration);
  transition: var(--transition) all ease;
  &:visited {
    color: var(--color-link);
  }
  &:hover {
    color: var(--color-link-hover);
  }
  footer & {
    font-family: 'HeadingFont';
    text-transform: uppercase;
    color: white;
    &:visited {
      color: white;
    }
    &.current {
      color: var(--color-link-hover);
    }
  }
}

.small {
  font-size: var(--small-font);
}
.lead {
  font-size: var(--large-font);
}
p {
  text-wrap: pretty;
  &:not(:first-of-type) {
    padding-top: 1em;
  }
}

strong {
  font-weight: bold;
}
em {
  font-style: italic;
}

ol, ul {
  padding-left: 1rem;
  li {
    margin: 1rem 0 1rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'HeadingFont', var(--base-heading-family);
  word-wrap: anywhere;
  hyphens: auto;
}
h1 {
  font-size: 2rem;
  &.brand {
    font-size: 5rem;
    letter-spacing: 0.25rem;
    color: slategrey;
    span {
      color: var(--color-brand);
    }
    body:not(.page) & {
      line-height: 100%;
    }
  }
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.15rem;
}
h6 {
  font-size: 1rem;
}

#strap {
  color: var(--color-brand);
  font-size: var(--large-font);
  font-family: 'HeadingFont', var(--base-heading-family);
  letter-spacing: 0.25rem;
  margin-bottom: 2rem;
}

.content {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: justify;
  h2, h3, h4, h5, h6 {
    text-align: center;
    margin-bottom: 1rem;
  }
  .text-center {
    text-align: center;
  }
  .text-uppercase {
    text-transform: uppercase;
  }
  .spaced-b {
    margin-bottom: 1rem;
  }
  .spaced-b-xl {
    margin-bottom: 2rem;
  }
  .spaced-t-l {
    margin-top: 1.5rem;
  }
  .question {
    display: block;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
  }
  .unstyled {
    list-style: none;
    line-height: 1;
  }
}
