html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img,
video {
  height: auto;
  max-width: 100%;
}

iframe {
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  padding-top: 4rem;
}

:root {
  --color-primary: #009DDC;
  --color-secondary: #F68B33;
  --anim-duration: 1000ms;
}

@font-face {
  font-family: "Eras ITC Light";
  src: url("/eras-itc-light.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background-color: #fff;
  z-index: 1000;
  transition: 300ms;
}

#main-header img {
  height: 3.5rem;
}

#main-header.scrolled {
  height: 4rem;
  /* background-color: #000; */
  transition: 300ms;
}

#main-header.scrolled img {
  height: 2.5rem;
}

.f-light {
  font-weight: 300;
}

.btn-primary::before,
.btn-primary::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 2rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(/frame-left.svg);
    transition: 300ms;
}

.btn-primary::before {
    left: 0;
    transform: translateX(0);
}

.btn-primary::after {
  right: 0;
  transform: scaleX(-1);
}
.btn-primary {
  display: flex;
  align-items: center;
  position: relative;
  transition: 300ms;
  padding: .25rem 1rem;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  color: white!important;
  padding: .25rem 1.5rem;
  background-color: var(--color-primary);
}
.btn-primary:hover::before {
  transform: translateX(.25rem);
}

.btn-primary:hover::after {
  transform: scaleX(-1) translateX(.25rem);
}

#main-header.scrolled .btn-primary {
  padding: .25rem 1.25rem;
  transition: 300ms;
}

.db {
  display: block;
}

.dib {
  display: inline-block;
}

.df {
  display: flex;
}

.my-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-5 {
  margin-top: 5rem;
}

.oh {
  overflow: hidden;
}

.oxh {
  overflow-x: hidden;
}

.container-extended {
  max-width: 1600px;
  margin: 0 auto;
}

.is-align-items-center {
  align-items: center !important;
}

.hero,
.hero > .container-extended,
.hero > .container-extended > section,
.hero > .container-extended > section > div {
  height: 100vh;
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  align-items: center;
}

.hero-content h1 {
  color: var(--color-primary);
}

.buttons-group {
  border-top: 2px solid #eee;
}

.mask {
  position: relative;
  overflow: hidden;
  aspect-ratio: 7.25;
  -webkit-mask-image: url(/captured.svg);
  mask-image: url(/captured.svg);
  width: 100%;
  mask-repeat: no-repeat;
  mask-size: 100%;
  pointer-events: none;
}

.rec {
  width: 70vw;
  margin: 0 auto;
  transform-origin: center;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.rec:after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background-color: #ff0000;
  border-radius: 50%;
  animation: rec-blink 1.5s infinite;
  transform: translate(0.5rem, -1.5rem);
}

.rec-heading:after {
  content: "";
  display: inline-block;
  width: .75rem;
  height: .75rem;
  background-color: #ff0000;
  border-radius: 50%;
  margin-left: .25rem;
  animation: rec-blink 1.5s infinite;
}

@keyframes rec-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.is-relative {
  position: relative;
}

.z-index-1 {
  z-index: 1;
}

#bg-video {
  /* opacity: 0; */
  transition: 300ms;
}

#videoAppend.has-bg:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 1;
  background-image: url(/bg-preload.jpg);
  transition: 1500ms;
}

.disappear:before {
  opacity: 0!important;
}

.hero.scrolled #bg-video {
  opacity: 1;
}

#captured {
  height: auto;
  width: 100%;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 100vw #fff;
}

.main-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.5rem;
}

.main-menu ul li a {
  font-size: 1.25rem;
  text-decoration: none;
  color: #000;
  border-bottom: 2px solid transparent;
  transition: 300ms;
}

.main-menu ul li a:hover,
.main-menu ul li.active a {
  border-color: var(--color-primary);
}

.main-menu ul li.has-children > a {
  position: relative;
  display: flex;
  align-items: center;
}

.main-menu ul li.has-children > a::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  height: 1.5rem;
  width: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(/arrow-down.svg);
  transform: scaleY(1);
  transition: 300ms;
}

.main-menu ul li.has-children:hover > a::after {
  transform: scaleY(-1);
  transition: 300ms;
}

.btn-gap {
  gap: 2rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: #000!important;
  border: none;
  font-weight: bold;
  /* padding: 0.75rem 1.5rem; */
  border-radius: 5rem;
  text-decoration: none;
  /* border: 2px solid var(--color-secondary); */
  /* background-color: var(--color-secondary); */
  transition: 300ms;
}

.btn-secondary span {
  position: relative;
  font-size: 1.25rem;
  transform: translateX(-2rem);
  transition: 300ms;
}
.btn-secondary::before {
  content: "";
  display: block;
  /* position: absolute; */
  /* top: 0; */
  /* left: 0; */
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  background-color: var(--color-secondary);
  transform: scale(1);
  transition: 300ms;
}

.btn-secondary:hover span {
  transform: translateX(-2.5rem);
  transition: 300ms;
}

.btn-secondary:hover::before {
  /* color: var(--color-secondary)!important; */
  /* background-color: #fff; */
  transform: scale(1.25);
  transition: 300ms;
}

@keyframes border-angle-rotate {
  from { --border-angle: 0deg; }
  to { --border-angle: 360deg; }
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn-rotate {
  --border-angle: 0deg;
  border-radius: 5rem;
  /* width: 100px; */
  /* height: 100px; */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem 1.5rem;
  box-shadow: 0px 2px 4px hsl(0 0% 0% / 25%);
  animation: border-angle-rotate 4s infinite linear;
  border: 2px solid transparent;
  position: relative;
  text-decoration: none;
  color: black;
  transition: 300ms;

  background: linear-gradient(white, white) padding-box,
      conic-gradient(
          from var(--border-angle),
          #eee,
          var(--color-secondary)
        )
        border-box;

  /* background: linear-gradient(white, white) padding-box,
      conic-gradient(
          from var(--border-angle),
          var(--color-primary),
          black
        )
        border-box; */
}

.btn-rotate:hover {
  background: var(--color-secondary)!important;
  transition: 300ms;
}

.gradient-border {
  --border-width: 2px;

  border: none;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5rem;
  background: white;
  padding: .5rem 1.5rem;
  text-decoration: none;
  color: black;
}

.gradient-border:after {
    position: absolute;
    content: "";
    top: calc(-1 * var(--border-width));
    left: calc(-1 * var(--border-width));
    z-index: -1;
    width: calc(100% + var(--border-width) * 2);
    height: calc(100% + var(--border-width) * 2);
    background: linear-gradient(
      60deg,
      #eee,
      var(--color-secondary)
    );
    background-size: 300% 300%;
    background-position: 0 50%;
    border-radius: 5rem;
    animation: moveGradient 4s alternate infinite;
    transition: 300ms;
  }

@keyframes moveGradient {
  50% {
    background-position: 100% 50%;
  }
}

.gradient-border:hover {
  background: var(--color-secondary)!important;
  transition: 300ms;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-1rem);
  }
}

.btn-vertical {
  position: absolute;
  left: 0;
  bottom: 45%;
  transform: rotate(-90deg) translateY(-19rem);
  text-decoration: none;
  color: #aaa;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.btn-vertical .df {
  align-items: center;
}

.btn-vertical .df::before {
  content: "";
  display: inline-block;
  height: 1.5rem;
  width: 6.5rem;
  margin-right: .75rem;
  background-repeat: no-repeat;
  background-image: url(/arrow-left.svg);
  animation: bounce 1.5s infinite;
}

.hover-zoom {
  transform: scale(1);
  transition: transform 300ms;
}

.hover-zoom:hover {
  transform: scale(1.1);
}

.scroll-animate .word {
  color: #ccc;
  transition: color 500ms ease;
  white-space: pre;
}
.scroll-animate .word.active {
  color: #000;
}

.hero__gallery {
  overflow: hidden;
  width: 100%;
}

.images-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  align-items: center;
}

.hero__gallery-image {
  /* cursor: url(play.svg), auto; */
  width: 36vw;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
}
/* 
.hero__gallery-image:nth-child(odd) {
  width: 28vw;
}

.hero__gallery-image:nth-child(8),
.hero__gallery-image:nth-child(5),
.hero__gallery-image:nth-child(1) {
  width: 24vw;
} */

.hero__gallery-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.icon:before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: .5rem;
  background-repeat: no-repeat;
  background-size: contain;
}

.corporate-icon:before {
  background-image: url(/corporate.svg);
}

.calendar-icon:before {
  background-image: url(/calendar.svg);
}

.campaign-icon:before {
  background-image: url(/campaign.svg);
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  align-items: center;
}

@keyframes float {
  0% {
    transform: translate(-10px, 0px);
  }
  50% {
    transform: translate(0px, -20px);
  }
  100% {
    transform: translate(-10px, 0px);
  }
}

@keyframes floatreverse {
  0% {
    transform: translate(0, -20px);
  }
  50% {
    transform: translate(10px, 0px);
  }
  100% {
    transform: translate(0, -20px);
  }
}

@keyframes floatsides {
  0% {
    transform: translate(0, -15px);
  }
  50% {
    transform: translate(15px, 0px);
  }
  100% {
    transform: translate(0, -15px);
  }
}

@keyframes zoomin {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.client:nth-child(odd) img {
  animation: float 6s ease-in-out infinite;
}

.client:nth-child(even) img {
  animation: floatreverse 8s ease-in-out infinite;
}
.client:nth-child(3n) img {
  animation: floatsides 6s ease-in-out infinite;
}

.anim-zoomin {
  animation: zoomin 1s ease-in-out forwards;
}

.client {
  width: 16%;
  transform: translatey(0px);
}

.client.aa {
  width: 18%;
  margin-top: 1rem;
}

.client img {
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0'/></filter></svg>#grayscale");
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  filter: gray;
  transition: 300ms;
}

.client img:hover {
  /* filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='saturate' values='0'/></filter></svg>#grayscale"); */
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
  filter: gray;
  transition: 300ms;
}

.client.block-visible {
  width: 16%;
  opacity: 0;
  /* animation: fadeIn 1.2s ease forwards; */
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.bgshadow {
  box-shadow: 0 0 10px 0 #eee;
  border-radius: 50px;
}



.dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none; /* don't block clicks */
  transform: translate(-50%, -50%);
  border-radius: 50%;
  will-change: transform, opacity;
  transition: opacity .15s linear;
  z-index: 5000;
}

/* tiny, instant-follow dot: 0.25rem */
.dot.small {
  width: .5rem;
  height: .5rem;
  background: var(--color-secondary);
  box-shadow: 0 0 .15rem rgba(0,0,0,0.25);
  opacity: 1;
}

/* larger, lagging halo: 2rem */
.dot.big {
  width: 2rem;
  height: 2rem;
  background: var(--color-secondary);
  opacity: 0.1;
  display: block;
}

/* optional: hide on inactive */
body.inactive .dot { opacity: 0; }

.video-item-info {
  text-align: center;
  margin-top: 1.25rem;
  padding: 0 1rem;
}

.video-item-title {
  font-size: 2rem;
  font-weight: 500;
}

.video-item-types {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: .75rem;
  font-size: .875rem;
  color: #fff;
}

.video-item-types span {
  color: var(--color-primary);
}

.video-item-types span::before {
  content: "#";
}

.video-item-frame {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
}

.w-big-play-button > div {
  border-radius: 2rem!important;
}


.anim-block {
    opacity: 0;
    /* overflow-x: hidden; */
}

.anim-zoom {
    opacity: 1;
    animation: zoomIn 1s ease-out;
    animation-delay: 500ms;
}
  
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.anim-left.visible {
    animation: animLeft var(--anim-duration) ease-in-out forwards;
}

@-webkit-keyframes animLeft {
    0% {
        -webkit-transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}

@keyframes animLeft {
    0% {
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.anim-right.visible {
    animation: animRight var(--anim-duration) ease-in-out forwards;
}

@-webkit-keyframes animRight {
    0% {
        -webkit-transform: translateX(100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        opacity: 1;
    }
}

@keyframes animRight {
    0% {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
    }
}

.anim-top.visible {
    animation: animTop var(--anim-duration) ease-in-out forwards;
}

@keyframes animTop {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.anim-bottom.visible {
    animation: animBottom var(--anim-duration) ease-in-out forwards;
}

@keyframes animBottom {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.anim-zoom-in.visible {
    animation: animZoomIn var(--anim-duration) ease-in-out forwards;
}

@keyframes animZoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.anim-opacity.visible {
    animation: animOpacity var(--anim-duration) ease-in-out forwards;
}

.anim-delay-1 {
    animation-delay: 200ms!important;
}
.anim-delay-2 {
    animation-delay: 400ms!important;
}
.anim-delay-3 {
    animation-delay: 600ms!important;
}
.anim-delay-4 {
    animation-delay: 800ms!important;
}
.anim-delay-5 {
    animation-delay: 1000ms!important;
}
.anim-delay-6 {
    animation-delay: 1200ms!important;
}
.anim-delay-7 {
    animation-delay: 1400ms!important;
}
.anim-delay-8 {
    animation-delay: 1600ms!important;
}
.anim-delay-9 {
    animation-delay: 1800ms!important;
}
.anim-delay-10 {
    animation-delay: 2000ms!important;
}
.anim-delay-11 {
    animation-delay: 2200ms!important;
}
.anim-delay-12 {
    animation-delay: 2400ms!important;
}
.anim-delay-13 {
    animation-delay: 2600ms!important;
}
.anim-delay-14 {
    animation-delay: 2800ms!important;
}
.anim-delay-15 {
    animation-delay: 3000ms!important;
}
.anim-delay-16 {
    animation-delay: 3200ms!important;
}
.anim-delay-17 {
    animation-delay: 3400ms!important;
}
.anim-delay-18 {
    animation-delay: 3600ms!important;
}
.anim-delay-19 {
    animation-delay: 3800ms!important;
}
.anim-delay-20 {
    animation-delay: 4000ms!important;
}

@keyframes animOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


#track3 {
  align-items: flex-start;
  transition: 300ms;
}

.btn-carousel:hover {
  background-color: #eee;
  transition: 300ms;
}

.btn-carousel {
  border: 2px solid #ccc;
  background-color: transparent;
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background-size: 1.5rem;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  background-image: url(arrow-carousel.svg);
  transition: 300ms;
}

#btn-carousel-prev {
  transform: scaleX(-1);
}

.my-icon {
  display: inline-flex;
  align-items: center;
}

.my-icon:after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: .5rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='m6 17 1.45-1.4 3.55 3.55v-18.15h2v18.15l3.549999-3.55 1.450001 1.4-6 6z' fill='%23aaa'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  transform: rotate(-90deg)
}


/* .run-text {
  display: inline-flex;
  flex-shrink: 0;
  width: auto;
  font-size: 10vw;
} */


.runner {
  overflow: hidden;
  width: 100vw;
  white-space: nowrap;
}

.run-track {
  display: inline-flex;
  margin-left: 0;
  transition: none;
}

.run-text {
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 8vw;
  line-height: 1.3;
}

.link-absolute {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  z-index: 2;
  /* cursor: url(/bubble.svg) 48 48, auto; */
  /* cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle cx='16' cy='16' r='12' fill='red'/></svg>") 16 16, auto; */
  transition: 300ms;
}

.link-absolute:hover {
  cursor: none;
}

/* custom cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 4rem;
  height: 4rem;
  background-size: contain;
  background-image: url(/bubble.svg);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  opacity: 1;
  transition: 300ms;
  z-index: 6000;
    pointer-events: none;      /* so it doesn't block links/buttons */

}

#custom-cursor.active {
  transition: 300ms;
  transform: translate(-50%, -50%) scale(1);
}

/* .link-absolute:hover + div {
  color: var(--color-primary);
  transition: 300ms;
} */

html, body, * {
  cursor: none !important;   /* force hiding everywhere */
}

