@font-face {
  font-family: 'Quicksand';
  src: url('https://altosadventure.com/press/spiritofthemountain/quicksand-variable.ttf') format('truetype');
  font-weight: 300 700;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 20px;
}
body {
  margin: 0;
  background: linear-gradient(to bottom, #1f2323 60vh, #000000);
  color: #EEEEEE;
  font-family: 'Quicksand', Helvetica, -apple-system, system-ui, sans-serif;
  font-size: 14px;
  padding-bottom: 30px;
}

header {
  text-align: center;
}
header img {
  height: 30vh;
}

#content {
  display: flex;
  justify-content: center;
  gap: 0 30px;
}

h1 {
  /* color: #CDA5C1; */
  color: #97c8b5;
  margin: 0;
  font-weight: 500;
}
h2 {
  margin: 30px 0 20px;
  font-weight: 500;
}

a {
  /* color: #FFA5BD; */
  color: #97c8b5;
  text-decoration: none;
}
a:hover, a:focus {
  /* color: #DC8EA3; */
  color: #79a493;
  text-decoration: underline;
}

nav {
  width: 200px;
  margin-top: 30px;
  position: relative;
}
nav > div {
  position: absolute;
  width: 200px;
}
nav.sticky > div {
  position: fixed;
  top: 30px;
}
nav a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: .2em;
  transition: background-color .15s;
}
nav a:hover, nav a:focus {
  background-color: rgba(255,255,255,.2);
  text-decoration: none;
}

main {
  max-width: 100%;
  width: 800px;
  padding: 0 30px;
  box-sizing: border-box;
}

section {
  line-height: 1.5em;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.columns.gallery {
  grid-template-columns: 1fr 1fr 1fr;
}
.columns > a {
  display: block;
}
.columns > a img {
  width: 100%;
  display: block;
}
.columns > p {
  margin: 0;
}

ul {
  padding-left: 1.2em;
}

.video {
  position: relative;
  padding-bottom: 56.5%;
  margin: 20px 0;
}
.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

@media (max-width: 800px) {
  #content {
    flex-direction: column;
  }
  nav {
    width: 100%;
  }
  nav > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: static;
  }
  nav.sticky > div {
    position: static;
  }
}
@media (max-width: 500px) {
  .columns:not(.gallery) {
    display: block;
  }
  .columns > p {
    margin: 20px 0;
  }
  .columns.gallery {
    grid-template-columns: 1fr 1fr;
  }
}
