* {
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

:root {
  /* green */
  --h1: 120;
  --s1: 20%;
  --l1: 58%;
}

body {
  image-rendering: pixelated;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
}

#site-header {
  margin: 0.5rem 0.5rem 3rem 0.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

#site-header>* {
  display: inline;
}

#flex-body,
#flex-footer {
  display: flex;
  flex-wrap: nowrap;

  margin-left: auto;
  margin-right: auto;
}

#flex-body {
  flex-direction: row-reverse;
  justify-content: space-around;
}

#flex-footer {
  flex-direction: row;
  justify-content: center;
}

#flex-body>* {
  flex: 1 1 0;
  margin-left: 1rem;
  margin-right: 1rem;
}

#flex-footer>* {
  flex: 0;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.card,
.button {
  background-color: hsl(var(--h1), var(--s1), 69%);
  box-shadow: 0.3rem 0.4rem 0.2rem rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
}

.card {
  border-radius: 1rem;
}

.card>header {
  margin-bottom: 1rem;
}

.button {
  text-align: center;
  border-radius: 1rem;
  min-width: 18rem;
}

main .card {
  margin-bottom: 1rem;
}

main {
  max-width: 100rem;
}

#sidebar {
  max-width: 15rem;
}

@media (min-width: 1200px) {
  #flex-body {
    min-width: 1200px;
    max-width: 70%;
  }
}

a {
  text-decoration-line: none;
  color: black;
}

p a,
ul a {
  text-decoration-line: underline;
}

a:not(.link-without-arrow, .link-arrow-left)::after,
.link-arrow-right::after {
  content: " ▸";
}

.link-arrow-left::before {
  content: "◂ ";
}

#flex-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: space-between;
  justify-content: center;
}

#flex-gallery .card {
  margin-left: 1rem;
  margin-right: 1rem;
}

#flex-gallery .card img {
  max-height: 15rem;
  width: auto;
}

.img-large {
  max-width: 100%;
  height: auto;
}

img {
  border-radius: 0.5rem;
}

.hidden {
  visibility: hidden;
}

.note {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;

  border-left: 4px solid black;
  border-radius: 0.5rem;
  padding-left: 0.5rem;
  background-color: rgba(0, 0, 0, 0.1);
}

p {
  margin-top: 1rem;
}

img {
  display: block;
}