html,
body {
  font-family: 'eb-garamond', serif;
  font-weight: 400;
  font-size: 18px;
  text-rendering: optimizeLegibility;
}

.h4 {
  font-weight: 700;
}

.caption {
  font-weight: 400;
}

.container {
  max-width: 700px;
  margin: 0 auto;
}

a {
  color: #212529;
  text-decoration: underline;
}

.title {
  text-align: center !important;
  justify-content: center;
  position: relative;
  margin-bottom: auto;
  font-size: 70px;
  font-weight: bold;
  font-family: cinema-script, sans-serif;
  font-style: normal;
  font-weight: 400;
}

.dek {
  text-align: center !important;
  padding-top: 10px;
  justify-content: center;
  position: relative;
  margin-bottom: auto;
  font-weight: 400;
  font-size: 20px;
}

.caption {
  font-size: 13px;
}

.hidden {
  visibility: hidden;
}

.gap {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: #ec9679;
}

.scrolly-container {
  position: relative;
  margin-bottom: 1.2em;
}

.sticky-thing {
  position: sticky;
  top: 0;
  transform: translate(0px, 0px);
  z-index: 0;
  height: 100svh;
  width: 100%;
  margin: 0;
  overflow: hidden;
  /* Center everything inside */
  display: flex;
  /* justify-content: center; */
  flex-direction: column;
  overflow: hidden;
}

.sticky-thing > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.steps-container {
  transform: translate3d(0, 0, 0);
  position: relative;
  padding: 0;
  z-index: 10;
  max-width: 35rem;
  margin: 0 auto;
  padding-bottom: 4em;
}

.col-lg-9 img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#shake {
  display: block;
  height: 100%;
  max-width: 30%;
}

.step {
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50svh;
  transform: translate(0px, 0px);
}

#step1 {
  margin-top: -60svh;
}

#step7 {
  opacity: 0;
}

#step8 {
  opacity: 0.8;
}

#step8 .title {
  line-height: 1.1;
}

.first-letter {
  font-size: 55px;
  line-height: 55px;
  float: left;
}

.step p {
  text-align: left;
}

.step > * {
  width: 700px;
  margin-left: 1.3em;
  margin-right: 1.3em;
  text-align: center;
  padding: 1.2em !important;
  background-color: #ffffff;
  -webkit-transform: translate3d(0, 0, 0);
  z-index: 999;
  opacity: 1;
}

.sticky-thing-desktop > canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* When it's less than 700 pixels wide, do normal scrollytelling */

@media only screen and (min-width: 550px) {

  .scrolly-container.side-by-side > div {
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 0.75em;
  }

  .scrolly-container.side-by-side .scrolly-overlay {
    margin-top: 70vh;
    order: 0;
    /* Change these to adjust sizing options */
    min-width: 15rem;
    max-width: 20rem;
  }

  .scrolly-container.side-by-side .sticky-thing {
    order: 1;
    flex-grow: 2;
  }
}
/* When it's less than 500 pixels wide */

@media only screen and (max-width: 549px) and (min-width: 300px) {
  .sticky-thing {
    position: sticky;
    top: 0;
    transform: translate(0px, 0px);
    z-index: 0;
    height: 100svh;
    width: 100%;
    margin: 0;
    overflow: hidden;
    /* Center everything inside */
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .sticky-thing > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .title {
    text-align: center !important;
    justify-content: center;
    position: relative;
    margin-bottom: auto;
    font-size: 42px;
    font-weight: bold;
  }

  .dek {
    text-align: center !important;
    justify-content: center;
    position: relative;
    font-size: 16px;
    background: #ffffff;
  }

  .scrolly-container {
    margin-bottom: 0.5em;
  }
}
