/*@font-face {*/
/*  font-family: 'Lazar Oljaca';*/
/*  src: url('../fonts/Lazar Oljaca.woff2') format('woff2'),*/
/*       url('../fonts/Lazar Oljaca.woff') format('woff'),*/
/*       url('../fonts/Lazar Oljaca.ttf') format('truetype');*/
/*}*/

/*@font-face {*/
/*  font-family: 'Lazar Oljaca Roman';*/
/*  src: url('../fonts/Lazar Oljaca Roman.woff2') format('woff2'),*/
/*       url('../fonts/Lazar Oljaca Roman.woff') format('woff'),*/
/*       url('../fonts/Lazar Oljaca Roman.ttf') format('truetype');*/
/*}*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
  font-family: 'Inter';
}

body {
  font-family: "Inter", serif;
  font-weight: medium;
  color: #0D0D0D;
}

.white-on-black,
.white-on-black footer h2,
.white-on-black .bottom-footer,
.white-on-black .bottom-footer a,
.white-on-black h2,
.white-on-black h3 {
  background-color: #000000;
  color: #FFFFFF;
}

.works {
  margin-bottom: 1.6rem;
}

.white-on-black .logo, .white-on-black .menu2 {
  filter: invert();
}

.header {
  position: fixed;
  z-index: 5;
  width: 100%;
  padding-left: 1.6rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  background: transparent;
  /*height: 75px;*/
}

#header {
  top: 0;
  transition: top 0.3s;
}

p {
  margin: 0;
}

.menu-logo {
  position: absolute;
  top: calc(1.6rem + 6px);
  left: 1.6rem;
  width: 96px;
  font-size: 1.6rem;
}

.logo img{
  width: 96px !important;
}

.menu-socials {
  position: absolute;
  bottom: 1.6rem;
  left: 1.6rem;
  color: white;
}

.menu-socials span {
  margin-right: 10px;
}

.menu-socials span a {
  color: white;
  text-decoration: none;
}

.burger {
  position: absolute;
  z-index: 10;
  right: 1.6rem;
  top: 2.6rem;
  cursor: pointer;
  transform: rotateY(0);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.burger__patty {
  width: 43px;
  height: 2px;
  margin: 0 0 10px 0;
  background: #0D0D0D;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.burger__patty:last-child {
  margin-bottom: 0;
}
.burger--close {
  transform: rotate(180deg);
}
.burger--close .burger__patty:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
  background: white;
}
.burger--close .burger__patty:nth-child(2) {
  opacity: 0;
}
.burger--close .burger__patty:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: white;
}

hr {
  width: 100%;
  background-color: #000;
  border: 0;
  margin-top: 7.5rem;
  margin-bottom: 7.5rem;
  height: 1px;
  opacity: 100%;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
}
.menu--active {
  visibility: visible;
}
.menu__brand {
  width: 0;
}
 .menu__list {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  overflow: hidden;
   width: 100%;
   height: 100vh;
}
.menu__list {
  margin: 0;
  padding: 0;
  background: #0D0D0D;
  list-style-type: none;
  transform: translate3d(0, 100%, 0);

  -webkit-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition:    all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition:      all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition:     all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.menu__list--active {
  transform: translate3d(0, 0, 0);
}
.menu__brand {
  background: #38C5B9;
  -webkit-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition:    all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition:      all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition:     all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translate3d(0, 100%, 0);
}
.menu__brand--active {
  transform: translate3d(0, 0, 0);
}
.menu__item {
  opacity: 0;
  transition: opacity ease-in 0.6s;
  transform: translate3d(0, 0, 0);
  margin-bottom: -20px;
}

li.menu__item--active:nth-of-type(2) {
  opacity: 1;
  transition-delay: 1s;
}

li.menu__item--active:nth-of-type(3) {
  opacity: 1;
  transition-delay: 1.2s;
}

li.menu__item--active:nth-of-type(4) {
  opacity: 1;
  transition-delay: 1.4s;
}

li.menu__item--active:nth-of-type(5) {
  opacity: 1;
  transition-delay: 1.6s;
}


.menu__link {
  display: inline-block;
  position: relative;
  font-size: 60px;
  color: white;
  text-decoration: none;
  -webkit-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition:    all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition:      all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition:     all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  margin-left: 1.6rem;
}

.menu__link svg {
  display: none;
  opacity: 0;
}

.menu__link:hover svg{
  display: none;
  opacity: 1;
  margin-top: -20px;
}

.menu__link:hover:before {
  /*width: 100%;*/
  /*color: #FF00B1;*/
  display: block;
}
.menu__link:hover {
  color: white;
}

.menu__title {
  position: absolute;
  right:1.6rem;
  margin-right:60px;
  top:2.1rem;
}

.white-text {
  color: white;
}

section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 0 1.6rem;
}

.section-3 {
  margin-bottom: 1.6rem;
}
  
  .landing-text {
/*    font-size: 45px;*/
    font-size: 40px;
    font-weight: 400;
    /*padding: 1.6rem;*/
/*    letter-spacing: -1.11px;*/
/*    line-height: 60px;*/
    letter-spacing: 0px;
    text-align: left;
    margin: 0px;
  }

.accordion-item:first-of-type .accordion-button {
  border-radius: 0px;
}

.accordion-button:not(.collapsed), .accordion-button {
  background-color: #fff;
  color: #0D0D0D;
  border: 0px;
}

.accordion-item {
  border: 0px;
  border-radius: 0px;
  padding-bottom: 0px;
  background-color: transparent;
  transition: max-height 1s cubic-bezier(.075, .82, .165, 1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.accordion-button::after {
  height: 40px;
  width: 40px;
  background-size: 40px;
  display: none;
}

.accordion {
  margin-bottom: 0px;
}

.accordion-button {
  padding-bottom: 0px;
}

.collapse {
  transition: height 3s cubic-bezier(.075, .82, .165, 1) !important;
}

.collapsing {
  transition: height 1s cubic-bezier(.075, .82, .165, 1) !important;
}

@media screen and (max-width: 768px) {
  .accordion-button:not(.collapsed), .accordion-button {
    font-size: 18px;
  }

  .accordion-item h4 {
    font-size: 20px !important;
  }

  .accordion-item p {
    font-size: 16px !important;
  }
}

@media only screen and (max-width: 768px) {
  .landing-text, .about-headline {
    padding-right: 0 !important;
    font-size: clamp(32px, -16.98366px + 7.42942vw, 44px) !important;
  }
}

.work-image {
/*  height: 96vh;*/
  width: 100%;
}

.section:hover h2{
  display: none;
}

.section:hover h3{
  display: block !important;
}

.logo img {
  margin-right: 1.6rem;
}

footer {
/*  background-color: #0D0D0D;*/
  padding: 1.6rem;
  padding-top: 3.2rem;
  padding-bottom: 3rem;
}

footer h2 {
  color: #0D0D0D;
  font-size: 60px;
/*  margin-top: calc(1.6rem + 23px);*/
  margin-bottom: 1.6rem;
}

footer h3 {
  color: #0D0D0D;
  display: inline-block;
  font-size: 2rem;
}

footer .sitemap a {
  color: #0D0D0D !important;
  text-decoration: none;
  margin-right: 25px;
}

.bottom-footer {
  line-height: 1.6rem;
  background: white;
  padding-left: 1.6rem;
  padding-right: 1.6rem;
  padding-bottom: 1.6rem;
  padding-top: 5rem;
}

.bottom-footer span {
  margin-right: 8px;
}

.no-padd {
  padding: 0 !important;
}

.work-title {
  font-size: 25px;
  line-height: 40px;
  /*letter-spacing: -13;*/
}

/*
 CSS for the main interaction
*/
.accordion > input[type="checkbox"] {
  position: absolute;
  left: -100vw;
}

.accordion .content {
  overflow-y: hidden;
  height: 0;
  transition: height 0.3s ease;
}

.accordion > input[type="checkbox"]:checked ~ .content {
  height: auto;
  overflow: visible;
}

.accordion label {
  display: block;
}

.accordion {
  margin-bottom: 1em;
}

.accordion > input[type="checkbox"]:checked ~ .content {
  padding: 15px;
  border: 1px solid #e8e8e8;
  border-top: 0;
}

.accordion .handle {
  margin: 0;
  font-size: 1.125em;
  line-height: 1.2em;
}

.accordion label {
  color: #333;
  cursor: pointer;
  font-weight: normal;
  padding: 15px;
  background: #e8e8e8;
}

.accordion label:hover,
.accordion label:focus {
  background: #d8d8d8;
}

.accordion .handle label:before {
  font-family: 'fontawesome';
  content: "\f054";
  display: inline-block;
  margin-right: 10px;
  font-size: .58em;
  line-height: 1.556em;
  vertical-align: middle;
}

.accordion > input[type="checkbox"]:checked ~ .handle label:before {
  content: "\f078";
}



.accordion p:last-child {
  margin-bottom: 0;
}

.menu-logo {
  opacity: 0;
  transition: opacity ease-in 0.6s;
  filter: invert(1);
}

.show--logo {
  opacity: 1;
  transition-delay: 0.6s !important;
  transition: opacity ease-in 0.6s;
}

.btn4 {
  position: absolute;
  z-index: 999;
  width: 36px;
  height: 60px;
  top: 1.1rem;
  right: 1.6rem;
  transition-duration: 0.5s;
}
.btn4 .icon {
  transition-duration: 0.5s;
  position: absolute;
  height: 0px;
  width: 36px;
  top: 1.6rem;
  background-color: #212121;
}
.btn4 .icon:before {
  transition-duration: 0.5s;
  position: absolute;
  width: 36px;
  height: 2px;
  background-color: #212121;
  content: "";
  top: -5px;
}
.btn4 .icon:after {
  transition-duration: 0.5s;
  position: absolute;
  width: 36px;
  height: 2px;
  background-color: #212121;
  content: "";
  top: 5px;
}
.btn4.open .icon {
  transition: 0.5s;
  color: white;
}
.btn4.open .icon:before {
  transform: rotateZ(45deg) scaleX(1.25) translate(3px, 3px);
  background-color: white;
}
.btn4.open .icon:after {
  transform: rotateZ(-45deg) scaleX(1.25) translate(3px, -3px);
  background-color: white;
}
.btn4:hover {
  cursor: pointer;
}

.mobile-image {
  display: none;
}

.desktop-hide {
  display: none;
}

.accordion-single {
  margin-bottom: 1.6rem;
}

.accordion-single-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 1s cubic-bezier(.075,.82,.165,1);
}

.accordion-single-item.is-open .accordion-single-content  {
  height: auto;
  max-height: 30vh;
  transition: max-height 3s cubic-bezier(.075,.82,.165,1);
}

.accordion-single-item.is-open .accordion-single-title::after  {
  transform: translateY(-50%) rotate(315deg);
}

.underline {
  visibility: visible;
  height: 1px;
  background: black;
  width: 99%;
  margin: 0 auto;
  margin-top: -3px;
}

h2:hover .underline {
  visibility: hidden;
}

.box-container-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2.4rem;
  flex-wrap: wrap;
}

.box-container {
  flex: 1 1 calc((100% - (2 * 1.6rem)) / 5);
}

.bg-default {
  background-color: #ffffff;
  transition: all 1s ease;
}

.bg-alternate {
  background-color: #FFFFFF;
  transition: all 1s ease;
}

.bg-second-alternate {
  background-color: #000000;
  transition: all 1s ease;
}

.bg-second-alternate .btn4 .icon:before, .bg-second-alternate .btn4 .icon:after  {
  color: white;
  background-color: white;
}

.bg-second-alternate header .logo {
  filter: invert(1);
}

.bg-second-alternate footer h2,
.bg-second-alternate h2,
.bg-second-alternate h3,
.bg-second-alternate h4,
.bg-second-alternate p,
.bg-second-alternate .menu__item,
.bg-second-alternate .menu__title {
  color: white;
}

.hero-text-mask {
  display: flex;
  flex-wrap: wrap; /* Allow words to wrap */
  justify-content: flex-start; /* Align text to the left */
  align-items: flex-start;
  overflow: hidden;
  gap: 22px;
  /*text-transform: capitalize;*/
}

.text-line {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap; /* Keep individual words together initially */
  transform: translateY(200px); /* Start animation off-screen */
  will-change: transform, opacity; /* Optimize for animations */
  opacity: 0;
  animation: reveal-text 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  font-size: 8rem; /* Responsive font size */
}

.line-break {
  flex-basis: 100%; /* Force a line break */
  height: 0; /* Invisible spacer */
  margin: 0;
  padding: 0;
}

.we-tell-stories {
  font-family: 'Inter', serif;
  font-size: 52px !important;
  line-height: 1.11;
}

.accordion-body {
  padding: 0;
}

@keyframes reveal-text {
  0% {
    transform: translateY(200px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .hero-text-mask {
    flex-wrap: wrap; /* Keep wrapping enabled */
    gap: 10px;
  }

  .text-line {
    font-size: 6rem; /* Adjust font size for better fitting */
    white-space: nowrap; /* Keep words together */
  }
}

@media (max-width: 768px) {
  .hero-text-mask {
    flex-wrap: wrap; /* Allow wrapping */
    gap: 10px; /* Consistent spacing */
  }

  .text-line {
    font-size: 3rem; /* Smaller font size for more room */
    white-space: nowrap; /* Prevent breaking */
  }
}

@media (max-width: 480px) {
  .hero-text-mask {
    gap: 6px; /* Reduce spacing on small screens */
    margin-bottom: 8px;
  }

  .text-line {
    font-size: 2rem; /* Smaller font size */
    white-space: nowrap; /* Prevent breaking */
  }

  .line-break {
    display: none; /* Ignore line break */
  }

  .contact-our-clients {
    padding: 0;
    margin-top: 7.5rem;
  }

  .we-tell-stories {
    font-size: 32px !important;
  }

  .box-container-wrapper {
    flex-direction: column;
  }

  .menu__item {
    margin-bottom: 0;
  }

  .hide-on-mobile {
    display: none;
  }
}


@media screen and (max-width: 768px) {
  .top-mobile-services {
    margin-top: 1.8rem !important;
  }
  h2:hover .underline {
    visibility: visible;
  }
  .box-container {
    margin-bottom:2rem;
  }
  .accordion-body {
    padding: 0;
  }
  .mb-mobile {
    margin-bottom: 3rem !important;
  }
  .mt-mobile {
    margin-top: 2.6rem !important; 
  }
  .services-headline {
    font-size: 40px !important;
  }
  .services-second-headline {
    font-size: 40px !important;
  }
  .services-second-headline br {
    display: none;
  }

  .accordion-button::after {
    height: 30px !important;
    width: 30px !important;
    background-size: 30px !important;
    display: none;
  }

  .accordion-item h4 {
    font-size: 20px;
  }

  .accordion-item p {
    font-size: 16px;
  }

  footer h2 {
    font-size: 50px;
  }

  .similar-work-headline {
    font-size: 26px !important;
  }
  .mobile-distance {
    padding-bottom: 1.6rem !important;
  }

  .accordion-single-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 1.6s cubic-bezier(.075,.82,.165,1);
  }

  .accordion-single-item.is-open .accordion-single-content  {
    height: auto;
    max-height: 50vh;
    transition: max-height 1s cubic-bezier(.075,.82,.165,1);
  }
  .landing-text{
    font-size: 18px;
  }

  .mobile-image {
    display: block;
    width: 100%;
  }

  section {
    height: auto;
  }

  .section-1 {
    height: 100vh;
  }

  .mobile-break {
    display: block;
  }

  .mob-hide {
    display: none;
  }

  .desktop-hide {
    display: block;
  }

  ul.menu__list,
div.menu__brand {
    float: none;
    width: 100%;
    min-height: 100vh;
    top: 0;
  }

  ul.menu__list:nth-child(1), div.menu__brand {
    display: none;
  }

  ul.menu__list--active,
div.menu__brand--active {
    transform: translate3d(0, 0, 0);
  }

  .menu__list {
    height: 75vh;
    transform: translate3d(0, 100%, 0);
    -webkit-transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -moz-transition:    all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition:      all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  -ms-transition:     all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menu__link {
    font-size: 34px;
  }

  .menu__brand {
    height: 25vh;
    transform: translate3d(100%, 0, 0);
  }
  .menu__brand .logo {
    width: 90px;
    height: 90px;
  }


  .menu-socials {
    left: 1.6rem;
  }
}

/*@media screen and (max-width: 380px) {
  .landing-text {
    font-size: 23px;
  }
} */