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

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

.sticky-thing > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;  
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.video-container {
    position: sticky;
    top: 0;
    z-index: -1;
}

.scrolly-container video {
    position: absolute;
    top: 0;
    height: auto;
    width: 100%;
}

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

.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: #ffa880cc;
}

.sticky-thing > 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: 700px) {
    .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;
    }
}

.scrolly-container {
  background: #f8f8f8 !important;
}
.sticky-thing > img {
  background: transparent !important;
}

/* Estilos específicos para o segundo scrolly */
#scrolly-images-2 {
  position: relative;
  margin-bottom: 1.2em;
}

#scrolly-images-2 .sticky-thing {
  position: sticky;
  top: 0;
  transform: translate(0px, 0px);
  z-index: 0;
  height: 100svh;
  width: 100vw;
  margin: 0;
  overflow: hidden;
  background: #f8f8f8 !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#scrolly-images-2 .sticky-thing > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent !important;
}

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

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

#scrolly-images-2 .step > * {
  width: 700px;
  margin-left: 1.3em;
  margin-right: 1.3em;
  text-align: center;
  padding: 1.2em !important;
  background-color: #ffa880cc;
}

/* Esconder os steps do segundo scrolly */
#scrolly-dois .step {
  visibility: hidden !important;
  opacity: 0 !important;
  margin-bottom: 40vh !important;
}