@import url('/Assets/css/fonts.css');
/*var(--white): #ffffff;
var(--black): #121212;*/
html {
  scroll-behavior: smooth;
  font-size: 16px;
  --white: #ffffff;
  --black: #121212;
  --paragraph-f-s: 1.125rem;
}
body {
  background-color: var(--black);
  line-height: 1.2;
  color: var(--white);
  font-family: 'PPFormula', sans-serif;
  overflow-x: hidden;
}
html.mediumFonts {
  font-size: 17px !important;
  line-height: 1.4;
}
html.mediumFonts h1 {
  font-size: 220px;
}
html.largeFonts {
  font-size: 19px !important;
  line-height: 1.6;
}
html.largeFonts h1 {
  font-size: 220px;
}
html.light-theme {
  --white: #121212;
  --black: #ffffff;
}
.cookies-wrap {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5em;
  border-radius: 20px;
  position: fixed;
  right: 1rem;
  bottom: -100%;
  width: 300px;
  color: var(--black);
  z-index: 8;
  transition: all linear 1.5s;
}
.cookies-wrap p,
.cookies-wrap .btnCommon {
  font-size: 0.875rem;
}
.AccessibilityTools {
  height: 75px;
  width: 0;
  opacity: 0;
  background: var(--white);
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  z-index: 3;
  padding: 17px 35px 20px 90px;
  border-radius: 50px;
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  transition: width 400ms, height 400ms 400ms;
}
.AccessibilityTools p {
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 15px;
}
.AccessibilityTools .fontsWrapper {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
}
.AccessibilityTools .tools {
  background-color: #E6E6E6;
  font-size: 14px;
  color: #121212;
  line-height: 1.2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.AccessibilityTools .tools:hover {
  background-color: var(--black);
  color: var(--white);
}
.AccessibilityTools .tools:hover img {
  filter: invert(1);
}
.AccessibilityTools.active {
  height: 75px;
  width: 300px;
  opacity: 1;
  /*transition: width 400ms 400ms, height 400ms ;*/
}
.AccessibilityTools.close {
  height: 75px;
  width: 0;
  opacity: 0;
  transition: width 400ms, height 400ms, opacity 400ms;
}
.accessibilityIcon {
  background-color: #E6E6E6;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 2.5rem;
  left: 2rem;
  z-index: 4;
  border: solid 3px #E6E6E6;
  box-shadow: inset 0px 0px 0px 1px white;
  cursor: pointer;
}
.accessibilityIcon img {
  width: 23px;
}
.espa-banner img {
  max-width: 300px;
  width: 100%;
}
@media (min-width: 768px) {
  #cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    transition: transform 0.15s ease-in-out;
    z-index: 999;
  }
  #cursor.active {
    transform: scale(2);
  }
  * {
    cursor: none;
  }
}
p {
  font-size: var(--paragraph-f-s);
  line-height: 1.4;
  font-weight: 400;
}
h1 {
  font-size: 13.75rem;
  line-height: 1;
}
.H1 {
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
}
h2 {
  font-size: 8.75rem;
  font-weight: 900;
  line-height: 1;
}
h3 {
  font-size: 3.875rem;
}
h4 {
  font-size: 2.625rem;
}
h5 {
  font-size: 2rem;
}
h6 {
  font-size: 1.5rem;
}
.p3 p {
  font-size: 1rem;
}
.w900 {
  font-weight: 900;
}
a {
  text-decoration: none;
}
.btnCommon {
  width: fit-content;
  border-radius: 100px;
  padding: 0.562rem 0.875rem 0.35rem 0.875rem;
  margin-block: 1rem;
  font-size: 1.25rem;
}
.btnCommon._black {
  background-color: var(--black);
  color: var(--white);
  border: solid thin var(--black);
}
.btnCommon._black:hover {
  background-color: var(--white);
  color: var(--black);
}
.btnCommon._white {
  background-color: var(--white);
  color: var(--black);
  border: solid thin var(--black);
}
.btnCommon._white:hover {
  background-color: var(--black);
  border: solid thin var(--white);
  color: var(--white);
}
a.links-with-arrow {
  font-size: 1rem;
  color: var(--white);
  position: relative;
  width: fit-content;
  display: block;
  padding-right: 1.3rem;
}
a.links-with-arrow::before {
  content: '';
  position: absolute;
  right: 1px;
  bottom: 3px;
  height: 15px;
  width: 15px;
  background: url('/Assets/images/diagonal-arrow.svg') center center no-repeat;
  background-size: 100%;
  filter: invert(1);
}
a.links-with-arrow::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: all ease 0.15s;
}
a.links-with-arrow span {
  font-size: 120%;
}
a.links-with-arrow:hover::after {
  left: unset;
  right: 0;
  width: 0;
}
a.links-with-arrow.black {
  color: var(--black);
}
a.links-with-arrow.black::before {
  filter: invert(0);
}
a.links-with-arrow.black::after {
  background-color: var(--black);
}
.clrBlack {
  color: var(--black);
}
.space20 {
  height: 1.25rem;
}
.space40 {
  height: 2.5rem;
}
.space60 {
  height: 3.75rem;
}
/***************AccessibilityTools****************/
.anchors {
  position: relative;
  top: -8rem;
  width: 12px;
  height: 12px;
  background: red;
  z-index: 99999;
}
header {
  margin-bottom: 3rem;
}
nav {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  background-color: var(--black);
}
nav .logo-wrapper {
  width: 118px;
  height: 106px;
  flex-shrink: 0;
}
nav .logo-wrapper a {
  display: block;
}
nav .logo-wrapper a svg {
  width: fit-content;
  fill: var(--white);
}
nav ul {
  transform: translateY(100px);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
}
nav ul li {
  list-style: none;
  font-size: 1.25rem;
  color: var(--white);
}
nav ul li a {
  color: inherit;
  display: block;
  position: relative;
}
nav ul li a::before {
  content: '';
  position: absolute;
  height: 2px;
  width: 0;
  inset: auto 0 -2px auto;
  background: var(--white);
  transition: all linear 0.15s;
}
nav ul li:not(:last-child):hover a::before {
  width: 100%;
  inset: auto auto -2px 0;
}
nav ul li.active a::before {
  width: 100%;
}
nav ul li:last-child {
  background-color: var(--white);
  color: var(--black);
  border-radius: 100px;
  padding: 0.562rem 0.875rem 0.35rem 0.875rem;
  position: relative;
  top: -3px;
  border: solid thin transparent;
}
nav ul li:last-child:hover {
  background-color: var(--black);
  color: var(--white);
  border: solid thin var(--white);
}
nav.isScroll {
  position: fixed;
  z-index: 900;
  inset: 0 0 auto 0;
  /*background-color: rgba(255,255,255,0);
    backdrop-filter: blur(34px);*/
  animation: navMove 0.5s;
  animation-iteration-count: 1;
}
@keyframes navMove {
  0% {
    top: -150px;
  }
  100% {
    top: 0;
  }
}
.header_logo {
  transform: translateY(-100%);
}
.heroText {
  padding-top: 1rem;
}
.heroText span {
  position: relative;
}
.heroText span img {
  position: absolute;
  bottom: calc(100% - 60px);
  right: 0;
  width: 200px;
  aspect-ratio: 1;
  opacity: 0;
  transform: translateY(50px);
}
.heroText .line {
  visibility: hidden;
}
.heroText .char {
  opacity: 0;
  transform: translateX(3rem);
  transition: all linear 0.2s;
}
.heroText .line:last-of-type .char:last-of-type {
  transform: translateX(4rem);
  transition: all linear 0.2s 0.5s;
}
.section1 .seperator {
  width: 0;
  margin-inline: auto 0;
}
.section1 p .line {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}
.section1 p .word {
  transform: translateY(50px);
}
#what-we-do,
#projects,
#team {
  /*border:solid 2px blue;*/
  padding-top: 5rem;
}
.secondaryTitles {
  /*border: solid thin red;*/
}
.secondaryTitles .line {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.secondaryTitles .word {
  transform: translateY(-100%);
  padding-top: 2px;
  transition: all cubic-bezier(0.64, 0.57, 0.67, 1.53) 0.4s;
}
.secondaryTitles .word:nth-child(odd) {
  transition-delay: 0.2s;
}
.secondaryTitles.active .word {
  transform: translateY(0);
}
.heroReel {
  cursor: url('/Assets/images/playButton.png'), auto !important;
  margin-top: 5rem;
  margin-inline: auto;
  position: relative;
}
.heroReel .left,
.heroReel .right {
  position: absolute;
  background-color: var(--black);
  width: 50%;
  z-index: 1;
}
.heroReel .left {
  inset: 0 auto 0 0;
}
.heroReel .right {
  inset: 0 0 0 auto;
}
.marquee {
  width: 100%;
  background-color: #0000EE;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  color: var(--white);
  font-size: 1.125rem;
  padding-block: 1rem;
  margin-top: -5px;
}
.marquee a {
  /*     z-index: 1;
        position: absolute;
        inset: 0 0 0 0;*/
  color: inherit;
  display: block;
}
.marquee__inner {
  display: inline-block;
  animation: marquee 40s linear infinite;
}
.marquee__inner span.highlighted {
  background-color: var(--black);
  padding: 0.5rem 1.2rem 0.3rem 1.2rem;
  display: inline-block;
  border-radius: 50px;
  margin-inline: 3rem;
  position: relative;
}
.marquee__inner span.highlighted::before,
.marquee__inner span.highlighted::after {
  content: '';
  position: absolute;
  top: 50%;
  background: url('/Assets/images/star-seperator.svg') center center no-repeat;
  background-size: 100%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
}
.marquee__inner span.highlighted::before {
  left: -35px;
}
.marquee__inner span.highlighted::after {
  right: -35px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/*.homepage-accordion-wrapper {
    margin-top: -15rem;
}*/
.homepage-accordion {
  transform: translateY(-100px);
  opacity: 0;
}
.homepage-accordion .accordion-item {
  background-color: transparent;
  color: var(--white);
  border: none;
}
.homepage-accordion .accordion-item:first-child h4 {
  border-top: dashed thin var(--white);
}
.homepage-accordion .accordion-item:last-child h4 {
  border-bottom: dashed thin var(--white);
}
.homepage-accordion .accordion-item h4 {
  border-bottom: dashed thin var(--white);
  background-color: transparent;
  color: var(--white);
  padding: 1rem 0 1rem 0;
  box-shadow: none !important;
  font-size: 2.625rem;
  font-weight: 800;
  overflow: hidden;
  /*transition: border-bottom 0.1s linear;*/
  margin-bottom: 0;
}
.homepage-accordion .accordion-item h4 span {
  transform: translateY(100px);
}
.homepage-accordion .accordion-item h4::after {
  background-image: url('/Assets/images/yellow_arrow.svg') !important;
  background-size: 100%;
  width: 50px;
  height: 50px;
}
.homepage-accordion .accordion-item h4[aria-expanded='true'] {
  color: var(--white);
  background-color: transparent;
  border-bottom: dashed thin transparent;
}
.homepage-accordion .accordion-collapse {
  padding-bottom: 0.75rem;
  border-bottom: dashed thin var(--white) !important;
  /* &.collapse {
            border-bottom: dashed thin var(--white) !important;
        }*/
}
.projects-wrapper {
  background-color: #E6E6E6;
  padding-block: 0 5rem;
  margin-top: 9rem;
  overflow-x: hidden;
}
.projects-navbar .splide__slide {
  font-size: 1.125rem;
  padding: 1rem;
  position: relative;
  white-space: nowrap;
}
.projects-navbar .splide__slide a {
  color: var(--black);
}
.projects-navbar .splide__slide:after {
  content: '';
  position: absolute;
  inset: auto 0 1px auto;
  height: 4px;
  width: 0;
  background-color: #0000EE;
  transition: all linear 0.15s;
}
.projects-navbar .splide__slide:before {
  content: '';
  position: absolute;
  inset: auto 0 0px auto;
  height: 1px;
  width: 100%;
  background-color: var(--black);
  transition: all linear 0.15s;
}
.projects-navbar .splide__slide:hover:after {
  width: 100%;
  inset: auto auto 1px 0;
}
.projects-navbar .splide__slide.active a {
  color: #0000EE;
}
.projects-navbar .splide__slide.active:after {
  content: '';
  position: absolute;
  inset: auto 0 1px 0;
  height: 4px;
  width: 100%;
  background-color: #0000EE;
}
/*.projecs_list {
    display: inline-flex;
    list-style: none;
    padding-left: 0;
    position: relative;


    .item {
        font-size: 1.125rem;
        padding: 1rem;
        position: relative;
        white-space: nowrap;

        a {
            color: var(--black);
        }

        &:after {
            content: '';
            position: absolute;
            inset: auto 0 1px auto;
            height: 4px;
            width: 0;
            background-color: @blue;
            transition: all linear 0.15s;
        }

        &:before {
            content: '';
            position: absolute;
            inset: auto 0 0px auto;
            height: 1px;
            width: 100%;
            background-color: var(--black);
            transition: all linear 0.15s;
        }

        &:hover:after {
            width: 100%;
            inset: auto auto 1px 0;
        }

        &.active {
            a {
                color: @blue;
            }

            &:after {
                content: '';
                position: absolute;
                inset: auto 0 1px 0;
                height: 4px;
                width: 100%;
                background-color: @blue;
            }
        }
    }
}*/
.project_galllery_wrapper {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.5rem;
  position: relative;
}
.project_galllery_wrapper .item {
  position: relative;
  transition: all linear 0.15s;
  background-color:black;
  overflow: hidden;
  isolation: isolate;
  height: 18vw;
  min-height: 250px;
  max-height: 330px;
}
.project_galllery_wrapper .item a {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.project_galllery_wrapper .item img {
  height: 100%;
  width: 100%;
  max-width: 100%;
  transform: scale(1);
  transition: all linear 0.7s;
  object-fit: cover;
  object-position: center;
}
.project_galllery_wrapper .item:after {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  height: 0;
  width: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.75);
  transition: all ease 0.15s;
}
.project_galllery_wrapper .item:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -100%;
  background: url('/Assets/images/mascista-logo-decor.png') center center no-repeat;
  background-size: 100%;
  width: 30%;
  aspect-ratio: 1;
  z-index: 3;
  transition: all ease 0.23s 0.15s;
}
.project_galllery_wrapper .item:hover:before {
  bottom: 0;
}
.project_galllery_wrapper .item:hover:after {
  height: 100%;
}
.project_galllery_wrapper .item .title {
  font-weight: 800;
  position: absolute;
  color: #E6E6E6;
  bottom: 2.4rem;
  right: 2rem;
  text-align: right;
  width: 70%;
  z-index: 2;
  transition: all linear 0.15s;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.project_galllery_wrapper .item .title span {
  display: block;
  transform: translateY(100%);
  opacity: 1;
  position: relative;
  transition: all ease 0.15s 0.38s;
}
.project_galllery_wrapper .item:hover img {
  filter: grayscale(100);
  transform: scale(1.15);
}
.project_galllery_wrapper .item:hover .title span {
  opacity: 1;
  transform: translateY(0);
}
.loadMore {
  background-color: var(--black);
  color: white;
  font-size: 1rem;
  display: block;
  border-radius: 50px;
  padding: 0.7rem 1rem 0.5rem 1rem;
  width: fit-content;
  margin: 2rem auto 0 auto;
  cursor: pointer;
  display: block !important;
  grid-column: span 3 !important;
  /*&:hover {
        background-color: @red;
    }*/
}
.teamCard {
  width: 440px;
  margin: 0 auto;
  background-color: #E6E6E6;
  border-radius: 1.5rem;
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  position: relative;
  /*isolation: isolate;*/
  position: sticky;
  top: 140px;
}
.teamCard::before {
  content: '';
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 681px;
  aspect-ratio: 1;
  z-index: -1;
  background: url('/Assets/images/star.svg') center center no-repeat;
  background-size: 100%;
  animation: star linear 10s infinite;
}
@keyframes star {
  0% {
    transform: translateX(-50%) rotate(0);
    opacity: 0.6;
  }
  100% {
    transform: translateX(-50%) rotate(180deg);
    opacity: 1;
  }
}
.teamCard .totem {
  position: absolute;
  right: 0;
  top: -136px;
}
.teamCard .info-box {
  background-color: var(--black);
  border-radius: 0.9rem;
  padding: 1.2rem 1.2rem 1.1rem 1.2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.teamCard .poster {
  background-color: var(--black);
  height: 200px;
  border-radius: 0.5rem;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 1.85rem;
}
.teamCard p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.teamCard h3 {
  margin-block: 0.65rem 0.45rem;
}
.teamCard h4 {
  font-size: 2.625rem;
}
.teamCard .links-with-arrow {
  margin-right: 1rem;
  margin-bottom: 1rem;
}
.teamCard .powers {
  display: flex;
  align-items: center;
  border-bottom: dashed thin var(--black);
  padding-block: 1rem;
}
.teamCard .powers p {
  color: var(--black);
  font-size: 1rem;
  margin-bottom: 0;
}
.teamCard .powers div:first-child {
  max-width: 75px;
  flex-grow: 0;
}
.teamCard .powers div:first-child img {
  width: 100%;
  max-width: 100%;
}
.teamCard .powers:last-of-type {
  border-bottom: 0;
}
.teamCard.changeRotation::before {
  animation: star reverse 8s infinite;
}
.employees-board {
  display: flex;
  flex-wrap: wrap;
  align-self: start;
  gap: 1.5rem;
}
.employees-board > div {
  overflow: hidden;
  cursor: pointer;
  border: solid 2px transparent;
  flex: 0 1 calc(25% - 4px - 1.5rem);
  transition: all 0.3s;
}
.employees-board > div img {
  width: 100%;
  max-width: 100%;
}
.employees-board > div.active {
  border: solid 2px #FFC907;
  border-radius: 20px;
}
.teamCarousel_mob {
  margin-bottom: 4rem;
}
.teamCarousel_mob .splide__track {
  padding-inline: 1.4rem !important;
}
.teamCarousel_mob .splide__pagination {
  right: 0.5rem;
  left: unset;
  margin-inline: 0;
  bottom: -50px;
  padding: 0;
  display: flex !important;
}
.teamCarousel_mob .splide__pagination button {
  height: 14px !important;
  width: 14px !important;
  border-radius: 50%;
  background-color: white;
  opacity: 1;
  position: relative;
  transform: unset !important;
  margin-left: 0.5rem;
}
.teamCarousel_mob .splide__pagination button::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #121212;
  transition: all 0.2s;
}
.teamCarousel_mob .splide__pagination button.is-active::after {
  height: 6px;
  width: 6px;
}
.teamCarousel_mob .teamCard {
  height: 100%;
  width: 300px;
  border-radius: 12px;
}
.teamCarousel_mob .teamCard p {
  font-size: 0.75rem;
}
.teamCarousel_mob .teamCard h3 {
  font-size: 2rem;
  margin-block: 0.5rem 0.3rem;
}
.teamCarousel_mob .teamCard a.links-with-arrow {
  font-size: 0.75rem;
}
.teamCarousel_mob .teamCard a.links-with-arrow::before {
  height: 11px;
  width: 11px;
}
.teamCarousel_mob .teamCard h4 {
  font-size: 1.5rem;
}
.teamCarousel_mob .teamCard .info-box {
  margin-bottom: 1rem;
}
.teamCarousel_mob .teamCard .poster {
  height: 23vw;
  min-height: 130px;
  background-position: center top;
}
.teamCarousel_mob .teamCard .powers {
  padding-block: 0.8rem;
}
.teamCarousel_mob .teamCard .powers div:first-child {
  max-width: 48px;
}
.teamCarousel_mob .teamCard::before {
  content: unset;
}
/*
.teamCarousel {
    margin-top: 2rem;

    .owl-stage-outer {
        padding-left: 1.5rem;
    }

    .owl-dots {
        counter-reset: slides-num; 
        position: absolute;
        top: -50px;
        right: 1rem;
        margin-top: 15px;

        &:after {
            content: counter(slides-num); 
            display: inline-block;
            font-size: 0.875rem;
            font-weight: 700;
            vertical-align: middle;
            padding-left: 35px;
        }
    }

    .owl-dot {
        display: inline-block;
        counter-increment: slides-num; 
        margin-right: 0;

        span {
            display: none !important;
        }

        &.active {

            &:before {
                content: counter(slides-num) " of"; 
                display: inline-block;
                vertical-align: middle;
                font-size: 0.875rem;
                position: absolute;
                left: 0;
                top: 0;
            }
        }
    }

    .owl-stage {
        display: flex;
    }

    .item {
        height: 100%;
    }

    .teamCard {
        height: 100%;
        width: 300px;
        border-radius: 12px;

        p {
            font-size: @p5;
        }

        h3 {
            font-size: @H5;
            margin-block: .5rem 0.3rem;
        }

        a.links-with-arrow {
            font-size: @p5;

            &::before {
                height: 11px;
                width: 11px;
            }
        }

        h4 {
            font-size: @H6;
        }

        .info-box {
            margin-bottom: 1rem;
        }

        .poster {
            height: 23vw;
            min-height: 130px;
            background-position: center top;
        }

        .powers {
            padding-block: 0.8rem;

            div:first-child {
                max-width: 48px;
            }
        }

        &::before {
            content: unset;
        }
    }
}*/
footer {
  background: #E6E6E6 url('/Assets/images/footer-logo.png') 1rem bottom no-repeat;
  background-size: auto;
  padding-block: 5rem 1rem;
  color: var(--black);
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-left: 0;
  padding-right: 1rem;
  margin-bottom: 0;
}
footer ul li {
  list-style: none;
  margin-right: 1.5rem;
}
footer .author {
  font-size: 0.875rem;
}
.topBtn {
  background-color: var(--black);
  color: var(--white);
  width: 75px;
  flex-shrink: 0;
  padding: 1.5rem 0.5rem;
  border-radius: 50px;
  text-align: center;
  z-index: 8;
  font-size: 1rem;
  line-height: 1.5;
}
.topBtn img {
  display: block;
  width: 13px;
  margin: 0 auto 0.5rem auto;
  filter: invert(1);
  transform: rotate(-45deg);
  position: relative;
  top: 0;
  transition: top linear 0.1s;
}
.topBtn:hover img {
  top: -0.5rem;
}
.footerLinks {
  margin-bottom: 0.5rem;
  display: block;
  width: fit-content;
  color: var(--black);
}
.footerBtn {
  font-size: 1.125rem;
  color: var(--white);
  display: inline-block;
  width: fit-content;
  background-color: var(--black);
  border-radius: 100px;
  padding: 0.562rem 0.875rem 0.35rem 0.875rem;
  margin-top: 0.5rem;
  transition: all 0.1s;
  border: solid thin transparent;
}
.footerBtn:hover {
  background-color: var(--white);
  color: var(--black);
  border: solid thin var(--black);
}
.project-panel {
  position: fixed;
  inset: 0 0 0 100%;
  z-index: 998;
  box-sizing: border-box;
  display: flex;
  transition: all 300ms;
  transition-delay: 100ms;
  height: 100vh;
  background-color: var(--black);
  overflow: hidden;
}
.project-panel h4 {
  transform: translateY(50vh) rotate(-90deg);
  white-space: nowrap;
}
.project-panel p {
  line-height: 1.7;
}
.project-panel p a {
  color: inherit;
  text-decoration: underline;
}
.project-panel .panel__content {
  display: flex;
  width: 100%;
}
.project-panel .return {
  width: 100px;
  background-color: #E6E6E6;
  cursor: pointer;
  transform: translateX(-100%);
  transition: transform 400ms;
  transition-delay: 1600ms;
}
.project-panel .return:hover .closeBtn span:first-child {
  width: 60%;
  top: 50%;
  left: 0;
  transform: rotate(-45deg) translate(0, -50%);
}
.project-panel .return:hover .closeBtn span:nth-child(2) {
  width: 100%;
}
.project-panel .return:hover .closeBtn span:last-child {
  width: 60%;
  top: 50%;
  left: 0;
  transform: rotate(45deg) translate(0, -50%);
}
.project-panel .closeBtn {
  width: 1.75rem;
  height: 1.75rem;
  margin-inline: auto;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
}
.project-panel .closeBtn span {
  background-color: var(--black);
  height: 2px;
  width: 100%;
  display: block;
  position: absolute;
  transform-origin: 0 0;
  transition: all linear 0.15s;
}
.project-panel .closeBtn span:first-child {
  top: 50%;
  left: 50%;
  transform: rotate(-45deg) translate(-50%, -50%);
}
.project-panel .closeBtn span:nth-child(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
}
.project-panel .closeBtn span:last-child {
  top: 50%;
  left: 50%;
  transform: rotate(45deg) translate(-50%, -50%);
}
.project-panel figcaption {
  font-size: 0.75rem;
  line-height: 1.2;
  margin-top: 0.4rem;
  color: var(--white);
}
.project-panel .video-details {
  border-left: dashed thin var(--white);
  padding-left: 2rem;
}
.project-panel .project-wrapper {
  background-color: #E42013;
  width: calc(100% - 100px);
  min-height: 100vh;
  padding: 2.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 700ms;
  transition-delay: 400ms;
  flex-shrink: 0;
}
.project-panel .project-wrapper video,
.project-panel .project-wrapper .vimeo-video,
.project-panel .project-wrapper .youtube-video {
  width: 74%;
  aspect-ratio: 1.8;
  position: relative;
}
.project-panel .project-wrapper .splide-video-gallery {
  width: 74%;
  aspect-ratio: 1.8;
  margin-bottom: 4.5rem;
}
.project-panel .project-wrapper .splide-video-gallery .splide__track {
  height: 100%;
}
.project-panel .project-wrapper .splide-video-gallery .splide__video__wrapper video {
  width: 100%;
}
.project-panel .project-wrapper .splide-video-gallery .poster {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.project-panel .project-wrapper .splide-video-gallery .splide__pagination {
  right: 0;
  left: unset;
  margin-inline: 0;
  bottom: -30px;
  padding: 0;
  display: flex !important;
}
.project-panel .project-wrapper .splide-video-gallery .splide__pagination button {
  height: 14px !important;
  width: 14px !important;
  border-radius: 50%;
  background-color: white;
  opacity: 1;
  position: relative;
  transform: unset !important;
  margin-left: 0.5rem;
}
.project-panel .project-wrapper .splide-video-gallery .splide__pagination button::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #121212;
  transition: all 0.2s;
}
.project-panel .project-wrapper .splide-video-gallery .splide__pagination button.is-active::after {
  height: 6px;
  width: 6px;
}
.project-panel .project-wrapper .splide-video-gallery .splide__arrows button:disabled {
  opacity: 0.9;
}
.project-panel .project-wrapper .splide-video-gallery .splide__arrows .splide__arrow {
  left: 100%;
  width: 60px;
  height: 120px;
  background-color: var(--white);
  opacity: 1;
  border-radius: 0;
}
.project-panel .project-wrapper .splide-video-gallery .splide__arrows .splide__arrow--prev {
  top: calc(50% - 61px);
}
.project-panel .project-wrapper .splide-video-gallery .splide__arrows .splide__arrow--next {
  top: calc(50% + 61px);
}
.project-panel .project-wrapper .video-gallery {
  border: solid thin red;
  width: 74%;
  position: relative;
}
.project-panel .project-wrapper .video-gallery .carousel-inner,
.project-panel .project-wrapper .video-gallery .carousel-item {
  height: 100%;
  aspect-ratio: 1.8;
  margin-bottom: 5rem;
}
.project-panel .project-wrapper .video-gallery .carousel-indicators {
  right: 0;
  left: unset;
  margin-inline: 0;
  bottom: -60px;
}
.project-panel .project-wrapper .video-gallery .carousel-indicators button {
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background-color: white;
  opacity: 1;
  position: relative;
}
.project-panel .project-wrapper .video-gallery .carousel-indicators button::after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #121212;
  transition: all 0.2s;
}
.project-panel .project-wrapper .video-gallery .carousel-indicators button.active::after {
  height: 6px;
  width: 6px;
}
.project-panel .project-wrapper .video-gallery button.carousel-controls {
  width: 60px;
  height: 120px;
  background-color: var(--white);
  opacity: 1;
  right: -60px;
  left: unset;
  bottom: unset;
  transform: translateY(-50%);
}
.project-panel .project-wrapper .video-gallery button.carousel-controls span {
  filter: invert(1);
}
.project-panel .project-wrapper .video-gallery button.carousel-controls:hover {
  background-color: #242424;
}
.project-panel .project-wrapper .video-gallery button.carousel-controls:hover span {
  filter: invert(0);
}
.project-panel .project-wrapper .video-gallery .carousel-control-prev {
  top: calc(50% - 61px);
}
.project-panel .project-wrapper .video-gallery .carousel-control-next {
  top: calc(50% + 61px);
}
.project-panel .project-wrapper .video-gallery iframe {
  height: 100%;
  width: 100%;
}
.project-panel .project-wrapper-inner {
  transform: translateY(5%);
  opacity: 0;
  transition: all 400ms;
  transition-delay: 1300ms;
}
.project-panel.open {
  inset: 0 0 0 0;
}
.project-panel.open .return {
  transform: translateX(0);
}
.project-panel.open .project-wrapper {
  transform: translateX(0);
}
.project-panel.open .project-wrapper-inner {
  transform: translateY(0);
  opacity: 1;
}
.project-panel.close {
  inset: -120% 0 0 0;
  transition: all 200ms;
  transition-delay: 1500ms;
}
.project-panel.close .return {
  transform: translateX(-100%);
  transition-delay: 1000ms;
}
.project-panel.close .project-wrapper {
  transform: translateX(100%);
  transition: transform 700ms;
  transition-delay: 400ms;
}
.project-panel.close .project-wrapper-inner {
  transform: translateY(5%);
  opacity: 0;
  transition: all 400ms;
  transition-delay: 0;
}
.contact-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
.contact-header .logo-wrapper {
  width: 118px;
  height: 106px;
  flex-shrink: 0;
}
.contact-header .logo-wrapper a {
  display: block;
}
.contact-header .logo-wrapper a svg {
  width: fit-content;
  fill: var(--black);
}
.contact-header a.backBtn {
  color: var(--black);
  padding-block: 1rem;
}
.contact-header a.backBtn img {
  width: 10px;
  transform: rotate(-135deg);
  margin-right: 0.4rem;
}
.contact-inputs {
  margin-bottom: 1.4rem;
  position: relative;
}
.contact-inputs label {
  color: var(--black);
  display: block;
  position: absolute;
  top: 0.8rem;
  left: 0;
  transition: all 400ms;
  font-size: 1.25rem;
}
.contact-inputs input,
.contact-inputs textarea {
  background-color: transparent;
  border: none;
  border-bottom: dashed thin var(--black);
  height: 45px;
  width: 100%;
  position: relative;
  z-index: 1;
  transition: all 700ms;
  transition-delay: 200ms;
  color: var(--black);
  font-weight: 400;
  padding-bottom: 0;
  font-size: 1.25rem;
}
.contact-inputs input:focus,
.contact-inputs textarea:focus {
  outline: none;
}
.contact-inputs textarea {
  height: 100px;
}
.contact-inputs .error-mssg {
  margin-top: 0.5rem;
  color: #E42013;
  font-size: 0.75rem;
  font-style: italic;
  display: none;
}
.contact-inputs.focus label {
  font-size: 65%;
  top: -0.5rem;
}
.contact-inputs.focus input,
.contact-inputs.focus textarea {
  border-bottom: solid thin var(--black);
}
.terms-and-conditions {
  font-size: 1.125rem;
  color: var(--black);
  display: flex;
  align-items: center;
}
.terms-and-conditions input {
  margin-right: 1rem;
  border: solid thin var(--black);
  width: 23px;
  height: 23px;
  background-color: transparent;
  position: relative;
  top: -2px;
  cursor: pointer;
}
.terms-and-conditions label {
  cursor: pointer;
}
.sendBtn {
  font-size: 1.5rem;
  border: none;
  color: #fff;
  display: inline-block;
  width: fit-content;
  background-color: var(--black);
  border-radius: 100px;
  padding: 0.562rem 1rem 0.35rem 1rem;
  transition: all 0.1s;
  border: solid thin transparent;
}
.sendBtn:hover {
  background-color: var(--white);
  color: var(--black);
  border: solid thin var(--black);
}
.general-popup-wrap {
  position: fixed;
  inset: 0;
  padding: 1rem;
  background: rgba(230, 230, 230, 0.9);
  display: flex;
  justify-content: center;
  z-index: 2;
  isolation: isolate;
}
.general-popup {
  align-self: center;
  max-width: 400px;
  width: 100%;
  padding: 3em 2em;
  text-align: center;
  background-color: var(--black);
  color: var(--white);
  isolation: isolate;
  z-index: 2;
}
@media (max-width: 1727px) {
  html.mediumFonts h1,
  html.largeFonts h1 {
    font-size: 8.75rem;
  }
  h1 {
    font-size: 8.75rem;
  }
}
@media (max-width: 1200px) {
  .heroText span img {
    width: 170px;
  }
  .project_galllery_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .project_galllery_wrapper .item {
    height: 29vw;
  }
  .loadMore {
    grid-column: span 2 !important;
  }
  .project-panel .project-wrapper video,
  .project-panel .project-wrapper .vimeo-video,
  .project-panel .project-wrapper .youtube-video {
    width: 100%;
  }
  .project-panel .project-wrapper .video-gallery,
  .project-panel .project-wrapper .splide-video-gallery {
    width: calc(100% - 60px);
  }
  .employees-board div {
    flex: 0 1 calc(33.3% - 4px - 1.5rem);
  }
  footer {
    background-size: 38%;
  }
}
@media (max-width: 992px) {
  nav ul {
    gap: 1.3rem;
  }
  .projects-navbar .splide__slide {
    width: fit-content;
  }
  /*    .projecs_list {
        .item {
            width: fit-content;
            text-align: center;
        }

        .owl-nav {
            color: var(--black);
            font-size: 2rem;
        }
    }*/
  .project-panel .video-details {
    border-left: none;
    padding-left: 0;
  }
  .project_galllery_wrapper .item .title {
    font-size: 2rem;
    width: fit-content;
    padding-inline: 2rem;
    inset: auto auto 2rem 0;
    text-align: left;
  }
  .project_galllery_wrapper .item .title span {
    opacity: 1;
    transform: translateY(0);
  }
  .project_galllery_wrapper .item::before {
    content: unset;
  }
  .project_galllery_wrapper .item::after {
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .project_galllery_wrapper .item:hover img {
    transform: scale(1);
    filter: grayscale(0);
  }
  footer ul li {
    margin-right: 0.5rem;
  }
  .project-panel {
    z-index: 999;
  }
  .contactPage h1 {
    font-size: 3.875rem;
  }
}
@media (max-width: 768px) {
  .anchors {
    position: relative;
    top: -8rem;
  }
  html.mediumFonts h1,
  html.largeFonts h1 {
    font-size: 126px;
  }
  h1 {
    font-size: 7.875rem;
  }
  h4 {
    font-size: 2rem !important;
  }
  p,
  .footerLinks {
    font-size: 1rem;
  }
  .btnCommon {
    font-size: 0.875rem;
  }
  nav .logo-wrapper {
    width: 75px;
    height: 65px;
  }
  nav .logo-wrapper a svg use {
    transform: scale(0.6);
  }
  nav ul {
    gap: 1.2rem;
  }
  nav ul li {
    font-size: 0.875rem;
  }
  .homepage-accordion-wrapper {
    margin-top: -1rem;
  }
  .homepage-accordion .accordion-item h4::after {
    width: 40px;
    height: 40px;
  }
  #what-we-do,
  #projects,
  #team {
    padding-top: 2rem;
  }
  .projects-wrapper {
    margin-top: 3.8rem;
  }
  .project-panel h2 {
    font-size: 3.875rem !important;
  }
  .project-panel .project-wrapper .splide-video-gallery {
    width: 100%;
  }
  .project-panel .project-wrapper .splide-video-gallery .splide__arrows {
    display: none;
  }
  .project-panel .project-wrapper .video-gallery .carousel-inner,
  .project-panel .project-wrapper .video-gallery .carousel-item {
    margin-bottom: 4rem;
  }
  .project-panel .project-wrapper .video-gallery button.carousel-controls {
    display: none;
  }
  .contactPage h3 {
    font-size: 2.625rem;
  }
  .contactPage .envelope {
    max-width: 140px;
    width: 100%;
  }
}
@media (max-width: 576px) {
     .espa-banner{
        background:white;
    }
    .espa-banner img{
        max-width:250px;
    }
  header {
    margin-bottom: 1rem;
  }
  html.mediumFonts h1,
  html.largeFonts h1 {
    font-size: 62px;
  }
  h1 {
    font-size: 3.875rem;
  }
  h4 {
    font-size: 1.5rem !important;
  }
  p,
  a.links-with-arrow,
  .footerLinks {
    font-size: 0.875rem;
  }
  .p3 p {
    font-size: 0.875rem;
  }
  nav .logo-wrapper {
    width: 75px;
  }
  nav ul li:not(:last-child) {
    display: none;
  }
  /*.heroText {
        .line {
            line-height: 0.4;
        }
    }*/
  .mascita_totem {
    width: 140px;
  }
  .marquee {
    font-size: 0.875rem;
    padding-block: 0.8rem;
    margin-top: 5px;
  }
  .homepage-accordion-wrapper {
    margin-top: 1rem;
  }
  .homepage-accordion .accordion-item h4::after {
    width: 25px;
    height: 25px;
  }
  .projects-navbar .splide__list a {
    font-size: 1rem;
  }
  /* .projecs_list {

        .item {
            font-size: 1rem;
        }
    }*/
  .project_galllery_wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  .project_galllery_wrapper .item {
    min-height: 220px;
  }
  .project_galllery_wrapper .item .title {
    font-size: 1.5rem;
  }
  .loadMore {
    grid-column: span 1 !important;
  }
  .teamCarousel_mob .teamCard {
    width: 260px;
  }
  .teamCarousel_mob .splide__pagination button {
    height: 12px !important;
    width: 12px !important;
  }
  /*  .teamCarousel {
        .teamCard {
            width: 260px;
        }
    }*/
  footer {
    background: #e6e6e6 url('/Assets/images/footer-logo.png') 2rem bottom no-repeat;
    background-size: 90%;
    padding-block: 3.5rem 80%;
  }
  .topBtn {
    width: 65px;
    flex-shrink: 0;
    padding: 1.5rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .project-panel h4 {
    transform: unset;
    white-space: unset;
    margin-bottom: 0;
    padding-top: 0.35rem;
  }
  .project-panel .panel__content {
    flex-direction: column;
  }
  .project-panel .return {
    width: 100%;
    order: 2;
    height: 60px;
    display: flex;
    justify-content: center;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 2;
    align-items: center;
    gap: 1rem;
  }
  .project-panel .return .closeBtn {
    margin: 0;
  }
  .project-panel figcaption {
    font-size: 0.6rem;
    line-height: 1.4;
    opacity: 0.6;
    color: inherit;
    padding-block: 0.8em 1.2em;
  }
  .project-panel .project-wrapper {
    order: 1;
    width: 100%;
    /*height: calc(~"100% - 60px");*/
    height: 100%;
    padding: 1.2rem 1.2rem 100px 1.2rem;
    min-height: unset;
  }
  .project-panel .project-wrapper .splide-video-gallery .splide__pagination button {
    height: 12px !important;
    width: 12px !important;
  }
  .project-panel .project-wrapper .video-gallery .carousel-indicators button {
    height: 12px;
    width: 12px;
  }
  .contact-header .logo-wrapper {
    width: 75px;
    height: 65px;
  }
  .contact-header .logo-wrapper a svg use {
    transform: scale(0.6);
  }
  .contact-inputs label {
    font-size: 1.125rem;
  }
  .contact-inputs input {
    font-size: 1rem;
  }
  .terms-and-conditions {
    font-size: 0.75rem;
  }
  .terms-and-conditions input {
    width: 16px;
    height: 16px;
  }
}