/*
  Reset adapted from
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

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

body {
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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;
}
/* END OF RESET */


:root {
  scrollbar-gutter: stable;
  font-family: arial, sans-serif;

  --lightest-peachy: #ffecd2;
  --light-peachy: #fedcc3;
  --middle-peachy: #fdc1a9;
  --darkest-peachy: #fcb69f;
  --baroque-grey: #5e5c64;
  --water-raceway: #0086c9;
  --blue-damselfly: #2da3de;
}

body {
  background: var(--light-peachy);
  background: linear-gradient(
    to right,
    var(--lightest-peachy),
    var(--darkest-peachy)
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: TjfPastaRegular;
}

header,
footer {
  background-color: rgb(255 255 255 / 0.3);
  width: 100%;
  padding-block: 0.5rem;
}

nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: end;
  gap: 1rem;
  padding-inline-start: 2rem;
  padding-inline-end: 2rem;
}

nav a {
  padding: 0.5rem;
  outline-color: transparent;
  border: 1px solid darkgrey;
  color: var(--baroque-grey);
  background: var(--middle-peachy);
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

nav a.selected {
  border: 1px solid var(--blue-damselfly);
  color: var(--water-raceway);
}

nav a:hover,
nav a:focus {
  color: var(--blue-damselfly);
}

nav a:active {
  color: white;
  background: var(--blue-damselfly);
}

main {
  flex: auto;
  padding: 2.1rem 0.7rem;

  @media (width > 38rem) {
    inline-size: 38rem;
  }
}

#landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  inline-size: auto;
  line-height: 1;
  gap: 2.1rem;
}

#landing hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#landing h1, #landing p, #landing address {
  text-align: center;
  padding: 0;
  margin: 0;
}

#landing h1 {
  font-size: 5.4rem;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  gap: 0.1rem;
}

#footerlinks {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
}

#footerlinks a {
  color: var(--baroque-grey);
}

#footerlinks a:hover, #footerlinks a:focus {
  color: darkgrey;
}

.content h1 {
  font-size: 3rem;
  margin-block: 1.2rem;
  line-height: 1.3;
}

.content h2 {
  font-size: 1.8rem;
  margin-block-start: 2.3rem;
  margin-block-end: 0.5rem;
}

.content h3 {
  margin-block-start: 2.3rem;
  margin-block-end: 0.5rem;
}

.content h3:first-child {
  margin-block-start: 0.5rem;
}

.content h3::before {
  content: "\2234  ";
  color: var(--water-raceway);
}

.content p {
  margin-block: 0.5rem;
}

.content hgroup h1 {
  margin-block-end: 0;
}
.content hgroup p {
  margin-block-start: 0;
  margin-block-end: 1.2rem;
}

ul, ol {
  padding-left: 1.5rem;
}
li::marker {
  color: var(--water-raceway);
}

code:not(pre code) {
  color: #cbccc6;
  background-color: #202734;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}

pre {
  color: #cbccc6;
  background-color: #202734;
  padding: 0.5rem 0.3rem;
  border-radius: 3px;
  overflow: auto;
  font-size: 0.8rem;
}
pre code, pre span {
  color: #cbccc6;
  background-color: inherit;
}

.content section {
  border-inline-start: solid var(--water-raceway) 2px;
  padding-inline-start: 1rem;
}

.zola-anchor {
  text-decoration: inherit;
  color: inherit;
}

.zola-anchor:hover,
.zola-anchor:focus {
  text-decoration: underline;
}

.feather {
  color: black;
}
.feather:hover,
.feather:focus {
  background-color: var(--lightest-peachy);
}

@font-face {
  font-family: "TjfPastaRegular";
  src:
    url("fonts/TjfPastaRegular-3lRDz.ttf") format("truetype");
}
