@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Theano Didot';
    src: url('/fonts/TheanoDidot-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('/fonts/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('/fonts/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('/fonts/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url('/fonts/SourceSansPro-Regular.ttf') format('truetype');
    font-stretch: normal;
}

@font-face {
    font-family: "Source Sans Pro";
    font-style: italic;
    font-weight: 400;
    font-display: fallback;
    src: url('/fonts/SourceSansPro-Italic.ttf') format('truetype');
    font-stretch: normal;
}

@font-face {
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 600;
    font-display: fallback;
    src: url('/fonts/SourceSansPro-SemiBold.ttf') format('truetype');
    font-stretch: normal;
}

@font-face {
    font-family: "Source Sans Pro";
    font-style: normal;
    font-weight: 700;
    font-display: fallback;
    src: url('/fonts/SourceSansPro-Bold.ttf') format('truetype');
    font-stretch: normal;
}

@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: fallback;
    src: url('/fonts/DMSerifDisplay-Regular.ttf') format('truetype');
    font-stretch: normal;
}

@font-face {
    font-family: "DM Serif Display";
    font-style: italic;
    font-weight: 400;
    font-display: fallback;
    src: url('/fonts/DMSerifDisplay-Italic.ttf') format('truetype');
    font-stretch: normal;
}

html {
    font-family: 'Source Sans Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.maxiheader {
    font-family: 'DM Serif Display', 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 4.7rem;
    line-height: 5rem;
    text-align: center;
}

h1,
h2,
h3 {
    font-family: 'DM Serif Display', 'Libre Baskerville', serif;
    font-weight: 400;
}

h4,
h5,
h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}

blockquote,
.quote,
.fancy-text {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
}

small,
strong,
b {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}

a:link {
    font-family: 'Libre Baskerville', serif;
    color: var(--link-color);
}

a:visited {
    color: var(--link-color-visited);
}

a:hover {
    color: var(--link-color-hover);
}

a:active {
    color: var(--link-color-active);
}

body {
    background: var(--background-color);
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
    margin-top: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 2rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.75;
}

h5 {
    font-size: 1.125rem;
    line-height: 1.625rem;
}

h6 {
    font-size: 1rem;
    line-height: 1.5rem;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    margin-top: 16px;
    margin-bottom: 32px;
}

hr {
    border: none;
    border-bottom: 2px solid var(--background-color-accent);
}

pre {
    font-size: 0.8rem;
    line-height: 1.25rem;
    padding: 1rem;
    margin: 2rem auto;
    border-radius: 16px;
    border: 3px solid var(--background-color-accent);
}

pre code {
    text-shadow: none;
    font-family: monospace;
    display: block;
    overflow-x: auto;
    white-space: pre;
    -webkit-overflow-scrolling: touch;
}

pre code a {
    border-bottom: 1px dotted var(--text-color);
}

pre.snippet {
    margin-bottom: 0;
}

a.source.github::before {
    content: 'Source: ';
    font-weight: bold;
}

a.source.github {
    display: block;
    margin-top: 4px;
    margin-left: 16px;
    margin-bottom: 32px;
}

li {
    margin-bottom: 16px;
    line-height: 1.5rem;
}

p code,
li code {
    font-family: monospace;
    font-weight: bold;
}

p code a,
li code a {
    font-weight: normal;
}

li p {
    margin: 0;
}

p code a,
li code a {
    border-bottom: 1px dotted var(--text-color);
}

@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  box-sizing: border-box;
}

/* instead, wrap your content in something like this: */
.container {
  max-width: 37.5rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

* {
  box-sizing: border-box;
  scrollbar-color: transparent transparent; /* thumb and track color */
  scrollbar-width: 0px;
}

*::-webkit-scrollbar {
  width: 0;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}

* {
  -ms-overflow-style: none;
}

.carousel ol,
.carousel li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel {
  position: relative;
  padding-top: 75%;
  perspective: 100px;
}

.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  counter-reset: item;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  background-color: var(--background-color);
  counter-increment: item;
}

.carousel__slide:nth-child(even) {
  background-color: var(--background-color);
}

.carousel__slide:before {
  content: counter(item);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-40%,70px);
  color: #fff;
  font-size: 2em;
}

.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 4s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

.carousel__navigation-list,
.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--button-bg);
  background-clip: content-box;
  border: 0.25rem solid transparent;
  border-radius: 50%;
  font-size: 0;
  transition: transform 0.1s;
}

.carousel::before,
.carousel::after,
.carousel__prev,
.carousel__next {
  position: absolute;
  top: 0;
  margin-top: 37.5%;
  width: 4rem;
  height: 4rem;
  transform: translateY(-50%);
  border-radius: 50%;
  font-size: 0;
  outline: 0;
}

.carousel::before,
.carousel__prev {
  left: -1rem;
}

.carousel::after,
.carousel__next {
  right: -1rem;
}

.carousel::before,
.carousel::after {
  content: '';
  z-index: 1;
  background-color: #333;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  font-size: 2.5rem;
  line-height: 4rem;
  text-align: center;
  pointer-events: none;
}

.carousel::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='0,50 80,100 80,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='100,50 20,100 20,0' fill='%23fff'/%3E%3C/svg%3E");
}

.carousel__slide img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
  }

  .carousel__snapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }