/* ------------------------- */
/* ------- SCROLLAMA ------- */
/* ------------------------- */

#intro p {
  max-width: 650px;
}

#outro {
  height: 40vh;
}

#scrolly {
  position: relative;
  background-color: white;
  margin: 0 auto !important;
}

article.sud1, article.sud2 {
  position: relative;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
}

figure {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 0;
  text-align: center;
  width: 100%;
  height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  top: 0px !important;
}

figure p,
figure .money {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
}

.step {
  margin: 0 auto;
  font-size: 1rem;
  background-color: white;
  width: 80%;
  max-width: 600px;
  margin-bottom: 70vh;
  padding: 1em;
  -webkit-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

h4.steptitel {
  font-family: Veneer, fantasy, sans-serif;
  font-weight: 200 !important;
  font-size: 1.7em;
  margin-block: auto;
  margin-bottom: 20px;
}

.sud1 .steptitel {
  color: var(--grijs);
}

.sud2 .steptitel {
  color: #e2e2e2;
}

.sud1 .step {
  background-color: #e2e2e2;
}

.sud2 .step {
  background-color: #414141;
  color: #e2e2e2;
}

.step:last-child {
  margin-bottom: 0;
}

/* .step.is-active p {
    color: black;
  } */

.step p {
  text-align: left;
  padding-bottom: 0.5rem;
  font-size: 1.4rem;
  color: black;
  font-family: arnhem-blond, Georgia, serif;
  margin-block-start: 0.3em !important;
  margin-block-end: 0.3em !important;
}

.flourishken {
  width: 100%;
  height: 100vh;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  margin: 0 auto;
  border: none;
}

@media only screen and (max-width: 768px) {
  .achtergrond.scrollme {
    margin-top: 0 !important;
  }

  .step {
    -webkit-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.2);
  }

  .step p {
    font-size: 1.2rem;
  }

  .step div {
    padding: 0 1rem 1rem 1rem;
    font-size: 1.05rem;
  }

  .scroll-icon-container,
  .field,
  .mouse,
  .field-text {
    display: none;
  }

  .achtergrond {
    margin-top: 50px;
  }

  .DS2020-container__inner {
    padding: 30px;
  }
}

@media only screen and (min-width: 769px) {
  .theme-live .breadcrumb {
    display: none;
  }

  .step p {
    width: 100%;
    font-family: Arnhem bold, "Times New Roman", Times, serif !important;
    font-size: 1.5rem;
  }

  .article__body {
    margin-top: -70px;
  }

  figure {
    width: 100%;
    height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    top: 0px !important;
  }

  article.sud1, article.sud2 {
    margin-top: -70vh;
    margin: 0;
    max-width: 550px;
  }

  .flourishken {
    width: 100%;
    height: 100vh;
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  .step div {
    padding: 0;
    line-height: 1.3rem;
    font-size: 1rem;
  }

  .ntm {
    max-width: 997px;
    margin: 0 auto !important;
  }

  .main-container {
    max-width: 100%;
  }

  .DS2020-container__inner {
    padding: 50px !important;
    min-height: 50vh;
  }

  #scrolly {
    margin-top: 0px;
  }

  .step {
    margin-bottom: 50vh;
  }
}

/* FADE IN */

@-webkit-keyframes fade-in {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}


/* FADE IN */

.fadein {
  -webkit-animation: fade-in 2s ease-in both !important;
  animation: fade-in 2s ease-in both !important;
}


/* FADE OUT */

.money.spent.fadeout {
  -webkit-animation: fadeout 2s ease-out both !important;
  animation: fadeout 2s ease-out both !important;
}

@-webkit-keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* SCROLLICOON */

.scroll-icon-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px auto 0 auto;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: 300px;
}

.field-text {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8em;
  margin-bottom: 15px;
  font-family: Libre Franklin, Helvetica, Arial, sans-serif;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid #333;
  border-radius: 60px;
  position: relative;
}

.mouse::before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  border-radius: 50%;
  opacity: 1;
  animation: wheel 1.7s infinite;
  -webkit-animation: wheel 1.7s infinite;
}

@keyframes wheel {
  to {
    opacity: 0;
    top: 30px;
  }
}

@-webkit-keyframes wheel {
  to {
    opacity: 0;
    top: 30px;
  }
}

/* ---------------------------- */
/* ------- ANIMATIE TON ------- */
/* ---------------------------- */

figure.sud1 {
  background-color: #444444;
  height: 100%;
  text-align: center;
  background: #ffffff url("https://extra.standaard.be/html/anti/eic/assets/1-achtergrond-grain-donker.jpg") repeat left top;
}

figure.sud2 {
  background-color: #bbbbbb;
  height: 100%;
  background: #ffffff url("https://extra.standaard.be/html/anti/eic/assets/1-achtergrond-grain-licht.jpg") repeat left top;
}

.sud1 .tonachter,
.sud1 .tonvoor {
  position: absolute;
  bottom: -10px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: 0 auto;
}

.sud1 .tonachter img,
.sud1 .tonvoor img,
.sud2 .tonachter img,
.sud2 .tonvoor img {
  max-width: 400px;
}

.sud2 .tonachter,
.sud2 .tonvoor {
  position: absolute;
  top: 0%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  transform: translateX(-50%);
  margin: 0 auto;
}

.tonachter,
.tonachter img {
  z-index: 0 !important;
}

.tonvoor,
.tonvoor img {
  z-index: 400 !important;
}

.money {
  z-index: 300 !important;
  margin: 0 auto;
  opacity: 0;
  display: none;
  position: absolute;
  font-family: Veneer, fantasy, sans-serif;
  color: var(--rood) !important;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  /** X-axis align **/
}

.money span {
  color: white;
  display: block;
}

.money.show {
  display: inline-block;
  -webkit-animation: slide-out-bottom 1.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
  animation: slide-out-bottom 1.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}

.money.spent {
  display: inline-block;
  -webkit-animation: slide-in-blurred-top 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation: slide-in-blurred-top 1.2s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.notop {
  margin-top: -50vh;
}

.waitforit {
  position: absolute;
  bottom: 0;
  color: var(--lichtgrijs);
  left:15pc;
  font-size: 1em !important;
  font-family: "Veneer";
  z-index:1000!important;
  opacity:0;
}

.waitforit p {
  font-size: 1.5em !important;
  font-weight: 400;
  color: #bbb;
}

@media only screen and (max-width: 768px) {

  .sud1 .tonachter img,
  .sud1 .tonvoor img,
  .sud2 .tonachter img,
  .sud2 .tonvoor img {
    max-width: 300px;
  }

  .waitforit {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  .waitforit p {color: var(--grijs); font-size:0.95em!important;}

}

@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(0px) scaleY(2.5) scaleX(0.2);
    transform: translateY(0px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(400px) scaleY(1) scaleX(1);
    transform: translateY(400px) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(0px) scaleY(2.5) scaleX(0.2);
    transform: translateY(0px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(400px) scaleY(1) scaleX(1);
    transform: translateY(400px) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@-webkit-keyframes slide-out-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }
}

@keyframes slide-out-bottom {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(1000px);
    transform: translateY(1000px);
    opacity: 0;
  }
}
