html,
body {
  font: 'Roboto';
  text-rendering: optimizeLegibility;
}

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

.top-image-container {
  position: relative;
  text-align: center;
}

img {
  width: 20%;
  justify-content: center;
  margin-bottom: auto;
}

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

.title {
  text-align: center !important;
  justify-content: center;
  position: relative;
  margin-bottom: auto;
  color: #333333;
  font-size: 40px;
  font-weight: bold;
}

.byline {
  text-align: center !important;
  justify-content: center;
  position: relative;
  margin-bottom: auto;
  color: #333333;
  font-size: 16px;
}

.caption {
  font-size: 11px;
}

.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: 90%;
  object-fit: contain;
  display: flex;
}

.sticky-thing iframe {
  position: absolute;
  top: 0;
  max-width: 100%;
  min-height: 100vh;
}

.steps-container {
  transform: translate3d(0, 0, 0);
  position: relative;
  padding: 0;
  z-index: 10;
  max-width: 35rem;
  margin: 0 auto;
  padding-bottom: 4em;
}

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

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

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

.step p {
  text-align: left;
}

.step p:last-child {
  padding: 0;
}

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

.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: 600px) {
  .scrolly-container.side-by-side {
    display: flex;
  }

  .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: 500px) 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;
  }

  img {
    width: 90%;
  }

  .sticky-thing > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
  }

  .title {
    text-align: center !important;
    justify-content: center;
    position: relative;
    margin-bottom: auto;
    color: #333333;
    font-size: 20px;
    font-weight: bold;
  }

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

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