:root {
  font-size: 20px;
  color: #1c1c1c;
}
body {
  margin: 0;
}

/* START scroll styles */
/* container & gradients */
.scroll-container {
  height: 100vh;
  width: 100%;
  background: transparent;
  z-index: 1000;
  position: absolute;
  top: calc(100vh + 477px);
}
/* gradients animation */
@keyframes gradients {
  0% {
    background-position: 0 0;
  }
  25% {
    background-position: 50% 0;
  }
  50% {
    background-position: 90% 0;
  }
  60% {
    background-position: 60%;
  }
  75% {
    background-position: 40%;
  }
  100% {
    background-position: 0 0;
  }
}
/* END scroll styles */
/* START description texts */
.speak {
  width: 100%;
  max-width: 1300px;
  margin: auto;
  height: 30vh;
  margin-top: 60vh;
  padding-right: 40px;
  padding-left: 40px;
}
.speak:first-child {
  margin-top: -69vh;
}
.speak[data-scroll] {
  transform: translatey(calc(var(--viewport-y) * 30vh));
  opacity: calc(var(--visible-y));
}
.scroll-sequence {
  position: sticky;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -5;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
h1 {
  font-size: 3em;
  width: 60vw;
  margin-bottom: 10px;
}

.speak.right h2,
.speak.right p {
  margin-left: 65%;
}

.speak h2,
.speak p {
  margin-bottom: 0;
}

.speak:not(:first-child) h2,
.speak:not(:first-child) p {
  width: 33%;
}

/* adjust texts timing to gif duration */

.speak:nth-child(2) {
  margin-top: 600px !important;
  padding-top: 0px !important;
}
/* SEM */
.speak:nth-child(3) {
  /*margin-top: 1400px !important;*/
}
/* SEO */
.speak:nth-child(4) {
  /*margin-top: 1400px !important;*/
}
/* BRANDING */
.speak:nth-child(5) {
  /*margin-top: 200px !important;*/
}
/* MKT */
.speak:nth-child(6) {
  /* margin-top: 1800px !important;*/
}
/* RSS */
.speak:nth-child(7) {
  /*margin-top: 1400px !important;*/
}
/* D.Gráfico */
.speak:nth-child(8) {
  /*margin-top: 1200px !important;*/
}

/* Vídeo */
.speak:nth-child(9) {
  /*margin-top: 400px !important;*/
}

/* DAW */
.speak:nth-child(10) {
  margin-bottom: 800px !important;
}

.scroll-sequence__content {
  padding: 20px;
  margin-top: 400px;
  padding-bottom: 500px;
}

.scroll-sequence.apple-sequence {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--blanco);
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2em;
    width: 100%;
  }
  .scroll-sequence__content {
    padding: 0;
  }

  /* START description texts */
  .speak {
    padding-right: 20px;
    padding-left: 20px;
  }

  /* adjust texts timing to gif duration */
  /* WEB */
  .speak:nth-child(1) {
    padding-top: 300px !important;
    margin-top: -800px !important;
    color: red
  }
  /* SEM */
  .speak:nth-child(2) {
   padding-top: 150px !important;
    margin-top: 0 !important;
  }
  /* SEO */
  .speak:nth-child(3) {
    padding-top: 600px !important;
    margin-top: -300px !important;
  }
  /* SEO */
  .speak:nth-child(4) {
    /*margin-top: 1400px !important;*/
  }
  /* BRANDING */
  .speak:nth-child(5) {
    /*margin-top: 200px !important;*/
  }
  /* MKT */
  .speak:nth-child(6) {
    /* margin-top: 1800px !important;*/
  }
  /* RSS */
  .speak:nth-child(7) {
    /*margin-top: 1400px !important;*/
  }
  /* D.Gráfico */
  .speak:nth-child(8) {
    /*margin-top: 1200px !important;*/
  }

  /* Vídeo */
  .speak:nth-child(9) {
    /*margin-top: 400px !important;*/
  }

  /* DAW */
  .speak:nth-child(10) {
    margin-bottom: 800px !important;
  }
}
