body {
  font-family: "EB Garamond", Times, serif;
}

h1 {
  font-family: "EB Garamond", Times, serif;
}

h2 {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
}

.top-10 {
  margin-top: 10px;
}

.bottom-10 {
  margin-bottom: 10px;
}

.top-20 {
  margin-top: 20px;
}

.bottom-20 {
  margin-bottom: 20px;
}

.top-30 {
  margin-top: 30px;
}

.bottom-30 {
  margin-bottom: 30px;
}

.top-40 {
  margin-top: 40px;
}

.bottom-40 {
  margin-bottom: 40px;
}

.top-50 {
  margin-top: 50px;
}

.bottom-50 {
  margin-bottom: 50px;
}

.top-60 {
  margin-top: 60px;
}

.bottom-60 {
  margin-bottom: 60px;
}

.top-70 {
  margin-top: 70px;
}

.bottom-70 {
  margin-bottom: 70px;
}

.top-80 {
  margin-top: 80px;
}

.bottom-80 {
  margin-bottom: 80px;
}

.top-90 {
  margin-top: 90px;
}

.bottom-90 {
  margin-bottom: 90px;
}

.top-100 {
  margin-top: 100px;
}

.bottom-100 {
  margin-bottom: 100px;
}

.inline-ul, ul.buttons, ul.social, ul.pipe-separated {
  list-style-type: none;
  padding-left: 0px;
}
.inline-ul li, ul.buttons li, ul.social li, ul.pipe-separated li {
  display: inline;
}

ul.pipe-separated {
  margin: 0;
}
ul.pipe-separated li:not(:last-child):after {
  content: " |";
}

ul.buttons li a {
  border-radius: 10px;
  border: 1px solid rgb(255, 255, 255);
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  font-family: "EB Garamond", Times, serif;
  font-style: italic;
}
ul.buttons li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

img.responsive {
  max-width: 100%;
}

p a {
  border-bottom: 1px dotted rgb(255, 255, 255);
}
p a:hover {
  border-bottom: 0px;
}

@media (min-width: 550px) {
  html {
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
}
#box {
  background-color: var(--box-background, rgba(34, 84, 123, 0.92));
  min-height: 300px;
  text-align: center;
  color: var(--box-text-color, white);
  border: none;
  border-radius: 0.5em;
  transition: background-color 0.8s ease, color 0.8s ease;
}
#box a {
  color: var(--box-text-color, white);
  text-decoration: none;
  transition: color 0.8s ease;
}
#box a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-bottom: 0;
}
#box h1 {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  font-size: 3.2em;
  letter-spacing: 0.1em;
  margin-top: 0.2em;
  margin-bottom: 0em;
}
#box h2 {
  font-family: "EB Garamond", Times, serif;
  font-style: italic;
  font-weight: 100;
  font-size: 1.4em;
  margin-top: 0.3em;
}
#box section {
  padding: 15px;
}
#box section:not(:last-child) {
  border-bottom: 1px dotted var(--box-separator-color, white);
  transition: border-color 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
  #box {
    animation: box-enter 0.7s ease-out both;
  }
}
@keyframes box-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 550px) {
  #box {
    margin-left: auto;
    margin-right: auto;
    width: 550px;
    min-width: 550px;
    max-width: 550px;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

#container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

#body {
  flex: 1 0 auto;
  padding-top: 16px;
  padding-bottom: 24px;
}

@media (min-width: 550px) {
  #body {
    padding-top: 72px;
    padding-bottom: 40px;
  }
}
.non-box, #footer {
  color: rgb(255, 255, 255);
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#footer {
  flex: 0 0 auto;
  width: 100%;
  min-height: 88px;
  color: var(--footer-text-color, white);
  text-align: center;
}
#footer a {
  color: var(--footer-text-color, white);
  text-decoration: none;
  transition: color 0.8s ease;
}
#footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
#footer section:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 12px 20px;
}

html {
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  transition: background-image 0.9s ease-in-out;
}

@media (max-width: 550px) {
  html {
    background-attachment: scroll;
  }
  #box {
    margin: 15px;
  }
  #box h1 {
    font-size: 2em;
  }
  #box h2 {
    font-size: 1.2em;
  }
  .profile-photo {
    width: 124px;
    height: 124px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    transition: none;
  }
  #box {
    transition: none;
  }
}
ul.social li {
  font-size: 2em;
  padding: 5px;
}

.profile-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.contact-block {
  margin-top: 0.35em;
}

.contact {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.contact-address {
  opacity: 0.72;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-email {
  margin-top: 0.55em;
  font-size: 15px;
  letter-spacing: 0.08em;
  opacity: 1;
}
.contact-email a {
  border-bottom: 1px dotted currentColor;
}
.contact-email a:hover {
  border-bottom: 0;
}

.sub-h1 {
  margin-top: 0.15em;
  margin-bottom: 0;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 0.85em;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.sub-h1 .upper {
  text-transform: uppercase;
}

.hikes-section {
  text-align: left;
}
.hikes-section h2 {
  text-align: center;
  margin-bottom: 0.8em;
}

ul.hike-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

li.hike {
  margin-bottom: 1.1em;
}
li.hike:last-child {
  margin-bottom: 0;
}
li.hike.hike--typed {
  display: flex;
  align-items: stretch;
  gap: 0.75em;
}

.hike-body {
  flex: 1;
  min-width: 0;
}

.hike-name {
  font-family: "EB Garamond", Times, serif;
  font-size: 1.15em;
}
.hike-name a {
  border-bottom: 1px dotted currentColor;
}
.hike-name a:hover {
  border-bottom: 0;
}

.hike-type-icon {
  flex: 0 0 3.25em;
  width: 3.25em;
  height: auto;
  align-self: flex-start;
  object-fit: contain;
}

.hike-meta {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.9em;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin-top: 0.15em;
}

ul.hike-stats {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  margin-top: 0.35em;
  opacity: 0.9;
}

.hike-notes {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.85em;
  margin: 0.35em 0 0;
  opacity: 0.8;
}

ul.hike-links {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  margin-top: 0.35em;
  opacity: 0.9;
}
ul.hike-links a {
  border-bottom: 1px dotted currentColor;
}
ul.hike-links a:hover {
  border-bottom: 0;
}

.hike-story {
  margin-top: 0.55em;
  padding-left: 0.8em;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.hike-story-intro {
  font-family: "EB Garamond", Times, serif;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.45;
  margin: 0;
  opacity: 0.9;
}

ul.hike-story-links {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.8em;
  letter-spacing: 0.06em;
  margin-top: 0.35em;
  opacity: 0.9;
}
ul.hike-story-links a {
  border-bottom: 1px dotted currentColor;
}
ul.hike-story-links a:hover {
  border-bottom: 0;
}

.hike-story-email {
  margin-top: 0.6em;
}
.hike-story-email summary {
  cursor: pointer;
  display: inline-block;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.82em;
  letter-spacing: 0.04em;
  opacity: 0.9;
  border-bottom: 1px dotted currentColor;
}
.hike-story-email summary:hover {
  opacity: 1;
}
.hike-story-email[open] summary {
  margin-bottom: 0.6em;
}

.email-verbatim {
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-weight: 200;
  font-size: 0.78em;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 1em;
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 0.25em;
  opacity: 0.9;
}