
/*--------------------------------------------------------------
## FullPage Journeys
--------------------------------------------------------------*/

@keyframes bounceVertical {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

@keyframes bounceHorizontal {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }

  40% {
    transform: translateX(-30px);
  }

  60% {
    transform: translateX(-15px);
  }
}


.fullpage-wrapper {
  opacity: 0;
  transition: all 0.25s ease-out;

}

.fp-enabled .fullpage-wrapper {
  opacity: 1;
}


.vertical-scrolling>.fp-overflow>*:not(.wp-block-video, .section-bg),
.horizontal-scrolling>.fp-overflow>*:not(.wp-block-video, .section-bg),
.vertical-scrolling>.journey-section-title-container {
  opacity: 0;
  transition: all 500ms ease-out;
  transition-delay: 500ms;
}

.vertical-scrolling.active>.fp-overflow>*,
.horizontal-scrolling.active>.fp-overflow>*,
.vertical-scrolling.fp-completely>.journey-section-title-container {
  opacity: 1;
}

.fp-enabled .fullpage-wrapper {
  opacity: 1;
}





body.page-template-page-journey .site-header {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 9999;
}

body.page-template-page-journey .site-header.scroll-away {
  top: -90px;
  opacity: 0;
}

body.page-template-page-journey #site-header-fixed,
body.page-template-page-journey #mobile-navigation {
  display: none;
}

body.page-template-page-journey .site-content {
  padding: 0;
  max-width: none;
  margin: 0 0 0 0;
  min-height: unset;
  position: unset;
}



.fp-is-overflow .fp-overflow.fp-auto-height-responsive,
.fp-is-overflow .fp-overflow.fp-auto-height,
.fp-is-overflow>.fp-overflow {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: relative;
}




.vertical-scrolling .fp-overflow>* {
  max-width: 490px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 300;
}

.vertical-scrolling .fp-overflow>.wp-block-video {
  z-index: 100;
}


.vertical-scrolling .fp-overflow>.section-bg {
  position: absolute;
  z-index: 100;
  margin: 0;
  max-width: 100%;
}


.vertical-scrolling .fp-overflow>.wp-block-heading {}






/* Arrow Buttons */
.vertical-scrolling .arrow-button-container {
  max-width: 90%;
  width: 90%;
  overflow: visible;
}

.vertical-scrolling button.fullpage-inline-arrow {
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-delay: 2.5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

.vertical-scrolling button.fullpage-inline-arrow span {
  display: none;
}

.horizontal-scrolling.active>.fp-overflow button.next-slide,
.vertical-scrolling.active>.fp-overflow button.next-slide {
  animation-name: bounceHorizontal;
}

.horizontal-scrolling.active>.fp-overflow button.next-section,
.vertical-scrolling.active>.fp-overflow button.next-section {
  animation-name: bounceVertical;
}


/* General Text Styles */
.vertical-scrolling :is(h1, h2, h3, h4, h5, p, .wp-block-image) {
  padding-left: 54px;
  padding-right: 54px;
  font-family: var(--tfnt-body);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.vertical-scrolling strong {
  font-weight: 800;
}

.vertical-scrolling h1 {
  font-size: 40px;
  line-height: 1;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.vertical-scrolling h2 {
  font-weight: 800;
  font-size: 22px;
}


.vertical-scrolling h3 {
  font-weight: 800;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 24px;
}

.vertical-scrolling h2 a,
.vertical-scrolling h3 a {
  display: block;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}



.vertical-scrolling h2 a {
  margin-bottom: 8px;
}


.vertical-scrolling p {}

.vertical-scrolling p a {
  color: #333;
}


.horizontal-scrolling>.fp-overflow>.section-title-display {
  opacity: 0;
  transition: all 0.5s linear;
  transition-delay: 0.25s;
}





/* ToC Styles */
.journey-toc h2 {
  font-size: 18px;
}

.journey-toc p {
  margin-bottom: 50px;
}



/* Video Styles */

.vertical-scrolling .fp-overflow>.wp-block-group__inner-container.has-a-video,
.vertical-scrolling .fp-overflow>.wp-block-video {
  max-width: 100%;
  height: 100%;
}

.vertical-scrolling .fp-overflow>.wp-block-video.is-style-no-buttons {
  width: 100%;
  height: 100%;
  overflow: hidden;

}




.vertical-scrolling .fp-overflow.has-a-video {
  vertical-align: top !important;
}


.vertical-scrolling .wp-block-video {
  margin: 0px auto;
  max-width: 100vw;
  overflow: hidden;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
}


.vertical-scrolling .wp-block-video video {
  height: 100%;
  width: auto;
  display: block;
  margin: 0px auto;
}

.vertical-scrolling .wp-block-video.fill-width video,
.vertical-scrolling .fp-overflow>.wp-block-video.is-style-no-buttons video {
  width: 100%;
  height: auto;
}


.vertical-scrolling .wp-block-video .video-button {
  z-index: 500;
}

.vertical-scrolling .wp-block-video .video-button.active {
  display: block;
  top: auto;
  bottom: 48px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
}


/* Slidenav Gradients */
div.horizontal-scrolling .slidenav-gradient {
  width: 100%;
  max-width: none;
  position: absolute;
  background-repeat: repeat-x;
  background-size: auto 100%;
  left: 0px;
  transition: none;
  z-index: 200;
  transition: all 0.25s ease-out;
  opacity: 0;
  height: 0;
}

div.horizontal-scrolling .slidenav-gradient-top {
  top: 0px;
  background-image: url(images/slide-gradient-top.svg);
}

div.horizontal-scrolling .slidenav-gradient-bottom {
  bottom: 0px;
  background-image: url(images/slide-gradient-bottom.svg);
}

div.horizontal-scrolling .slidenav-gradient-bottom.visible {
  height: 14%;
  opacity: 1;
}

div.horizontal-scrolling.black-gradient-bottom .slidenav-gradient-bottom.visible,
div.horizontal-scrolling.slide-text-bottom .slidenav-gradient-bottom.visible,
.horizontal-scrolling.is-style-video-caption.animation-started .slidenav-gradient-bottom.visible {
  height: 84%;
}

div.horizontal-scrolling.black-gradient-top .slidenav-gradient-top.visible,
div.horizontal-scrolling.slide-text-bottom .slidenav-gradient-top.visible,
.horizontal-scrolling.is-style-video-caption.animation-started .slidenav-gradient-top.visible {
  height: 14%;
  opacity: 1;
}



/* Video/GIF BackGround */
.horizontal-scrolling.is-style-video-caption video {
  opacity: 0.2;
  transition: all 0.5s ease-in-out;
}

.horizontal-scrolling.is-style-video-caption p {
  position: absolute;
  bottom: 40%;
  transition: all 1.25s cubic-bezier(.17, .74, .42, .85);
}

.horizontal-scrolling.is-style-video-caption.animation-started video {
  opacity: 1;
}

.horizontal-scrolling.is-style-video-caption.animation-started p {
  bottom: 28px;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
}





/* Bottom/Caption Text */
.fp-is-overflow.slide-text-bottom>.fp-overflow,
div.horizontal-scrolling.slide-text-bottom {
  justify-content: flex-end;
}

.vertical-scrolling div.horizontal-scrolling.slide-text-bottom p {
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.fp-is-overflow.slide-text-bottom>.fp-overflow> :last-child {
  padding-bottom: 28px;
}



.page-template-page-journey #fp-nav ul li a span,
.page-template-page-journey .fp-slidesNav ul li a span {
  -webkit-transition: all 0.25s ease-in-out;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}







/* Main Navigation */
.page-template-page-journey #fp-nav ul li a.active span,
.page-template-page-journey #fp-nav ul li:hover a.active span {
  border: 1px solid #333;
}


/* Slide Navigation */
.page-template-page-journey .fp-slidesNav.fp-bottom {
  text-align: center;
}

.page-template-page-journey .fp-slidesNav ul {
  list-style: none;
  max-width: 500px;
  margin: 0px auto;
}

.page-template-page-journey .fp-slidesNav ul li {
  margin: 0;
  height: 18px;
  width: 18%;
}

.page-template-page-journey .fp-slidesNav ul li a {
  height: 18px;
}

.page-template-page-journey .fp-slidesNav ul li a span {
  background: rgba(255, 255, 255, 0.4);
  height: 3px;
  width: 100%;
  border-radius: 0;
  transition: all .5s linear;
  position: static;
  left: auto;
  top: auto;
  display: inline-block;
  margin: 0;
  background: linear-gradient(to left,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 0.4) 3px,
      rgba(255, 255, 255, 0.4));



}

.page-template-page-journey .fp-slidesNav ul li:first-child a span,
.page-template-page-journey .fp-slidesNav ul li.past-this-slide a span,
.page-template-page-journey .fp-slidesNav ul li a.active span,
.page-template-page-journey .fp-slidesNav ul li:hover a.active span,
.page-template-page-journey .fp-slidesNav ul li:hover a span {
  height: 3px;
  width: 100%;
  border-radius: 0;
  position: static;
  display: inline-block;
  margin: 0;
  left: unset;
  top: unset;
  background: linear-gradient(to left,
      transparent,
      transparent 3px,
      rgba(255, 255, 255, 1) 3px,
      rgba(255, 255, 255, 1));


}

.page-template-page-journey .fp-slidesNav ul li a:focus {
  outline: none;
}

.page-template-page-journey .fp-slidesNav ul li a.active span.fp-sr-only,
.page-template-page-journey .fp-slidesNav ul li:hover a.active span.fp-sr-only,
.page-template-page-journey .fp-slidesNav ul li a span.fp-sr-only {
  width: 0;
  height: 0;
  overflow: hidden;
  display: none;
}



.page-template-page-journey div#wpadminbar {
  display: none !important;
}

html.fp-enabled {
  margin-top: 0 !important;
}







@media only screen and (min-width: 390px) {
  .vertical-scrolling h1 {
    font-size: 48px;
  }

  .vertical-scrolling h2 {
    font-size: 32px;
  }

  .journey-toc h2 {
    font-size: 24px;
  }

  .vertical-scrolling h3 {
    font-size: 22px;
    line-height: 24px;
  }
}

@media only screen and (min-width: 414px) {
  .vertical-scrolling h1 {
    font-size: 50px;

  }
}

@media only screen and (max-width: 1023px) {

  .fp-section,
  .fp-slide,
  .fp-slidesContainer {
    height: 100svh !important;
  }
}


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




  .vertical-scrolling h1 {
    font-size: 40px;
  }

  .vertical-scrolling h2 {
    font-size: 22px;
  }



  .vertical-scrolling h3 {
    font-size: 20px;
  }


  .vertical-scrolling p {}

  .vertical-scrolling p a {}

  body.page-template-page-journey {
    background-image: url('https://ripped.topps.com/wp-content/uploads/2023/10/fullpage-background-final-scaled.jpg');
    background-size: cover;
    background-repeat: no-repeat;
  }

  body.fp-viewing-sectionOne {
    padding-top: 50px !important;
  }

  .wp-block-mkl-section-block.vertical-scrolling {
    max-width: 490px !important;
    margin-left: auto;
    margin-right: auto;
    transition: 750ms all linear;
    opacity: 0.3;
    transform-origin: bottom;
    margin-bottom: 50px;
    padding: 0px 50px 0px 50px;
    background-color: transparent !important;
    max-height: 722px !important;
  }

  .wp-block-mkl-section-block.vertical-scrolling.active {
    opacity: 1;


  }


  .wp-block-mkl-section-block.vertical-scrolling.active+section {
    transform: scale(.75);
    transform-origin: top;
  }


  .wp-block-mkl-section-block.vertical-scrolling.has-slides {
    max-width: none !important;
    background: transparent !important;
    padding: 0px 0px 0px 0px !important;
  }



  .wp-block-mkl-section-block.horizontal-scrolling {

    width: 490px !important;
    max-width: 490px !important;
    transition: clip-path 0.5s;
    transform: translateX(calc((100vw*.625) - 490px));
    opacity: 0.4;
    padding: 0px 50px 0px 50px;
    transform-origin: right;
    background-color: transparent !important;
    clip-path: polygon(0 4%, 100% 4%, 100% 98%, 0 98%);

  }

  .wp-block-mkl-section-block.horizontal-scrolling.active {
    transform: translateX(calc((100vw*.625) - 490px));
    opacity: 1;
    padding: 0px 50px 0px 50px;
    clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0 100%);

  }

  .wp-block-mkl-section-block.horizontal-scrolling.active+section {

    transform: translateX(calc((100vw*.625) - 490px));
    transform-origin: left;
    padding: 0px 50px 0px 50px;
  }

  #fp-nav.fp-left {
    width: 30px;
  }

  .page-template-page-journey #fp-nav ul li a span {
    background: #fff;
  }

  .page-template-page-journey .fp-slidesNav {
    transform: translateX(-44px);
  }

  .page-template-page-journey .fp-slidesNav ul {
    max-width: 390px;
    margin: 0px auto;
    transform: translateX(-4px);
  }

  div.horizontal-scrolling .slidenav-gradient {
    width: 100%;
    max-width: 390px;
    margin: 0 0 0 50px;
    opacity: 0;
  }


  div.horizontal-scrolling .slidenav-gradient.visible {
    opacity: 1;
  }


  .vertical-scrolling .wp-block-video video {
    width: 100%;
    height: auto;
  }


  .vertical-scrolling .fp-controlArrow {
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(images/fullpage-arrow.svg);
  }

  .vertical-scrolling .fp-next {
    left: calc((100vw * .625) - 38px) !important;
    right: auto !important;
  }

  .vertical-scrolling .fp-prev {
    left: calc((100vw * .625) - 496px) !important;
    transform: rotate(180deg);
    transform-origin: center center;
  }



  /* Background Gradients */

  .has-topps-education-color-1-background-color .wp-block-mkl-section-block.horizontal-scrolling,
  .wp-block-mkl-section-block.has-topps-education-color-1-background-color.horizontal-scrolling {
    background: linear-gradient(to right,
        transparent,
        transparent 50px,
        #68ec93 50px,
        #68ec93 440px,
        transparent 440px,
        transparent);
  }

  .has-topps-education-color-2-background-color .wp-block-mkl-section-block.horizontal-scrolling,
  .wp-block-mkl-section-block.has-topps-education-color-2-background-color.horizontal-scrolling {
    background: linear-gradient(to right,
        transparent,
        transparent 50px,
        #ff5077 50px,
        #ff5077 440px,
        transparent 440px,
        transparent);
  }

  .has-topps-education-color-3-background-color .wp-block-mkl-section-block.horizontal-scrolling,
  .wp-block-mkl-section-block.has-topps-education-color-3-background-color.horizontal-scrolling {
    background: linear-gradient(to right,
        transparent,
        transparent 50px,
        #eaf853 50px,
        #eaf853 440px,
        transparent 440px,
        transparent);
  }

  .has-topps-education-color-4-background-color .wp-block-mkl-section-block.horizontal-scrolling,
  .wp-block-mkl-section-block.has-topps-education-color-4-background-color.horizontal-scrolling {
    background: linear-gradient(to right,
        transparent,
        transparent 50px,
        #ffbe54 50px,
        #ffbe54 440px,
        transparent 440px,
        transparent);
  }

  .has-topps-education-color-5-background-color .wp-block-mkl-section-block.horizontal-scrolling,
  .wp-block-mkl-section-block.has-topps-education-color-5-background-color.horizontal-scrolling {
    background: linear-gradient(to right,
        transparent,
        transparent 50px,
        #70F5E4 50px,
        #70F5E4 440px,
        transparent 440px,
        transparent);
  }
}

@keyframes spinEnter {
  0% {
    opacity: 0.2;
    transform: scale(0) rotate(0deg);
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(2525.92deg);
  }
}


@keyframes burstEnter {
  0% {
    transform: scale3d(0, 0, 0);
  }

  5% {
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(0.97, 0.97, 0.97);

  }

  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);

  }
}

.horizontal-scrolling>.fp-overflow .wp-block-image.animation-spin img {
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-duration: 1.75s;
  animation-delay: 500ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  opacity: 0;
  max-width: 66%;
}

.horizontal-scrolling.active>.fp-overflow .wp-block-image.animation-spin img {
  animation-name: spinEnter;
  border-radius: 24px;
  filter: drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25));



}


.horizontal-scrolling>.fp-overflow .wp-block-image.animation-burst img {
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-duration: .75s;
  animation-delay: 2.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  max-width: 100%;
  transform: scale3d(0, 0, 0)
}


.horizontal-scrolling.active>.fp-overflow .wp-block-image.animation-burst img {
  animation-name: burstEnter;

}

