/* ----------------------------------------------
 * Generated by Animista on 2022-8-15 8:59:31
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation slide-in-right
 * ----------------------------------------
 */

.hero-anim {
  overflow-x: hidden;
}

.home .hero-anim .wp-block-column:last-of-type {
  position: relative;
}

.hero-anim .highlighted-image {
  position: relative;
  inset-inline-end: calc(-1 * var(--wp--custom--spacing--outer));
}

.animated-bars {
  width: calc(
    200% + var(--wp--custom--spacing--outer) + var(--wp--custom--spacing--outer)
  );
  height: 55%;
  position: absolute;
  top: 22%;
  inset-inline-start: calc(-1 * var(--wp--custom--spacing--outer));
  inset-block-end: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.animated-bars__single {
  height: 3.125rem;
  border-radius: 40.5px 0 0 40.5px;
  background-color: var(--wp--preset--color--fcs-navy);
  -webkit-animation: slide-in-right 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation: slide-in-right 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.animated-bars__single:nth-of-type(1) {
  width: 81.25%;
  background-color: var(--wp--preset--color--accent-lavender);
  background: linear-gradient(
    270deg,
    rgba(217, 148, 255, 0.1) 0%,
    rgba(217, 148, 255, 1) 100%
  );
}

.animated-bars__single:nth-of-type(2) {
  width: 93.75%;
  background-color: var(--wp--preset--color--accent-lime-green);
  background: linear-gradient(
    270deg,
    rgba(61, 240, 120, 0.1) 0%,
    rgba(61, 240, 120, 1) 100%
  );
}

.animated-bars__single:nth-of-type(3) {
  width: calc(100% + 3rem);
  background-color: var(--wp--preset--color--accent-cobalt-blue);
  background: rgba(0, 111, 247, 1);
  z-index: 10;
  display: flex;
  align-items: center;
}
.animated-bars__single:nth-of-type(3) h2 {
  color: white !important;
  letter-spacing: 2px !important;
}

.animated-bars__text {
  padding: 0 2rem 0 5rem;
  font-size: clamp(0.875rem, 2vw, 2rem);
  letter-spacing: 1.17px;
  font-weight: 700;
}

@media screen and (min-width: 903px) {
  .animated-bars__single:nth-of-type(3) h2 {
    font-size: 24px !important;
  }
}
@media screen and (max-width: 904px) {
  .animated-bars__single:nth-of-type(3) h2 {
    font-size: 14px !important;
  }
}

@media only screen and (min-width: 904px) {
  .homepage-hero {
    position: relative;
    height: 550px;
    min-height: 550px;
  }

  .animated-bars {
    inset-inline-start: unset;
    /*
    inset-inline-end: calc(-1 * var(--wp--custom--spacing--outer));
    */
  }

  .animated-bars__single {
    height: 5.0625rem;
  }

  .animated-bars__single:nth-of-type(3) {
    width: 150%;
  }
  .animated-bars__single:nth-of-type(3) h2 {
    color: white;
    margin-left: 4rem;
  }

  .animated-bars__text {
    padding: 0 2rem 0 4.25rem;
    font-size: clamp(0.875rem, 2.22vmax, 2rem);
    letter-spacing: 2.67px;
  }

  /* .homepage-hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30.25rem;
    background-color: red;
    opacity: .25;
  } */

  .highlighted-image {
    height: 30.25rem;
  }

  .highlighted-image.wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
  }
}

.slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-container figure:first-child {
  animation: slide-in-left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider-container figure {
  position: absolute !important;
  bottom: 0;
  right: 0;
  width: auto;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.75s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slider-container figure.active {
  opacity: 1;
  transform: translateX(0%);
}

.slider-container figure.frame {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  right: 0;
  max-width: 600px;
  height: auto;
  bottom: 10%;
}

.slider-container figure.frame .subtitle {
  position: absolute;
  width: 75%;
  height: 90%;
  background-color: rgba(0, 111, 247, 0.2);
}

.slider-container figure.frame img {
  object-position: center center;
  aspect-ratio: 1.5;
  border-radius: 24px;
  width: 100%;
  height: 100%;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-content .slider-text {
  position: absolute !important;
  bottom: 20%;
  left: -100%;
  width: 95%;
  height: auto;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.165, 0.84, 0.44, 1),
    left 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content .slider-text p {
  font-family: var(--wp--preset--font-family--arquitecta);
  font-size: 21px !important;
  line-height: 26px !important;
  font-weight: 450;
  letter-spacing: 0.4px !important;
}

.hero-content .slider-text.active {
  opacity: 1;
  left: 0;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 4.75rem;
  position: relative;
  margin-block-start: 0rem !important;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.bottom-bar .back {
  position: absolute;
  top: 0;
  left: -50vw;
  background-color: #d994ff;
  width: 300vw;
  height: 100%;
  z-index: -1;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33%;
  max-width: 400px;
  position: relative;
}

.slider-controls .back {
  position: absolute;
  height: 100%;
  width: 100vw;
  background-color: #d994ff;
  top: 0;
  left: 0;
}

.slide-btn {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-bullets {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border: 2px solid #032640;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: scale 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.slide-btn {
  transition: scale 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.slider-dot:hover,
.slide-btn:hover {
  scale: 1.2;
}

.slider-dot.active {
  background-color: #032640;
}

.ribbon-text {
  color: white;
  background-color: #006ff7;
  width: 100%;
  position: absolute;
  height: 100%;
  right: -90%;
}

.homepage-hero {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 903px) {
  .homepage-hero {
    height: 100%;
  }

  .homepage-hero .wp-block-column {
  }

  .homepage-hero .wp-block-column:last-child {
    height: 340px !important;
  }

  .bottom-bar {
    flex-direction: column-reverse;
  }
  .bottom-bar .back {
  }

  .slider-controls {
    width: 100vw !important;
    max-width: 500px !important;
    padding: 2px 25px;
    background-color: #d994ff;
  }

  .animated-bars__single:nth-of-type(3) {
    position: initial;
    border-radius: unset;
    width: 100vw;
    left: -25px;
  }

  .animated-bars__single:nth-of-type(3) h2 {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
  }

  .slide-btn {
    scale: 0.5;
  }

  .slider-container {
    overflow: visible;
  }



  .hero-content {
    /* height: 75%; */
  }

  .hero-content .slider-text {
    bottom: 0;
    width: 100%;
  }

  .hero-content .slider-text.active {
    position: relative !important;
  }

  .slider-container figure img {
    height: 100% !important;
    width: auto !important;
    max-width: unset !important;
    bottom: -5%;
  }

  .slider-container figure.active {
    right: unset !important;
  }

  .slider-container figure.frame {
    width: unset;
  }
  .slider-container figure.frame img {
    width: 100% !important;
    max-width: 600px !important;
    max-height: 290px;
  }

  .custom-logo-link {
    width: 140px !important;
  }
}

figure.duo img {
    filter: url('#wp-duotone-00121e-e9c3ff-7') !important;
}
@-webkit-keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(1000px);
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}


.is-sticky-block .wp-block-columns {
 align-items: stretch; 
}

.is-sticky-block .wp-block-column  {
  position: relative;
  overflow: visible;
}

.sticky-sidebar {
  color: white;
  padding: 20px 25px 25px;

  position: relative;

  position: sticky;
  top: 0;
  left: 0;
  z-index: 2;

}

.sticky-sidebar .block-content > * {
  color: white;
}

.sticky-sidebar:after {
  display: block;
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-color: #032640;
  z-index: -1;
  border-radius: 8px;
}

.sticky-sidebar a {
  color: white;
}


  /* Make sure columns don't vertically center, or sticky won't scroll */
  .wp-block-columns {
    align-items: flex-start;
  }

  .wp-block-group.is-sticky-block {
    overflow: clip!important;
  }

  @media (min-width: 768px) {
    .sticky-sidebar:after {
      width: 50vw;
      border-radius: 8px 0 0 8px;
    }

    .sticky-sidebar {
      padding: 40px 0 40px 25px;
    }

  }

@media (min-width: 992px) {
  /* Don’t clip the sticky child */
  .is-sticky-block .wp-block-column {
    overflow: visible;
  }

  /* The sticky element */
  .wp-block-column .sticky-sidebar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    /* Admin bar aware top offset with a little breathing room */
    top: calc(var(--admin-bar-offset, 0px) + 44px);
  }

  /* Admin bar height on desktop */
  body.admin-bar {
    --admin-bar-offset: 32px; /* WP admin bar desktop height */
  }


}

@media (min-width: 1024px) {
  .sticky-sidebar {
    color: white;
    padding: 60px 20px 60px 100px;
  }
}