:root {
  --red: #f93822;
  --bcg-black: #000000;
  --bcg-fill-color: var(--bcg-black);
  --easing: cubic-bezier(0.5, 0.7, 0.4, 1);
}

/* Max Font Size */
@media screen and (min-width: 1600px) {
  body {
    /* font-size: 21.333333333333332px; */
    font-size: 17.77777777777778px;
  }
}
/* Min Font Size */
@media screen and (max-width: 991px) {
  body {
    font-size: 11.011111111111111px;
  }
}

body {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}
body::-webkit-scrollbar,
.f-navbar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.fill-background {
  pointer-events: none;
  will-change: background-color;
  background-color: var(--bcg-fill-color);
  transition: background-color 0.3s linear;
}

/* Reset */

.swiper-btn {
  outline: none;
  cursor: pointer;
}

.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.has-fixed,
.nav-active {
  overflow: hidden;
}

.h-angebot__name__track h1 {
  display: inherit;
}

.w-lightbox-backdrop {
  z-index: 5000;
}

/* ==== NAVBAR ==== */
.c-hamburger__bars::before,
.c-hamburger__bars::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  height: 1px;
  width: 100%;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0.001deg);
  background: #000000;
  transition: all 0.7s cubic-bezier(0.7, 0, 0.3, 1);
}

.c-hamburger__bars::before {
  top: 0px;
  transform: translate(-50%, -50%);
}

.c-hamburger__bars::after {
  top: 100%;
  transform: translate(-50%, -50%);
}

.c-hamburger.is-active .c-hamburger__bars::before {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.c-hamburger.is-active .c-hamburger__bars::after {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.has-scrolled .c-hamburger {
  transition: transform 0.5s cubic-bezier(0.5, 0.7, 0.4, 1);
  transform: scale(1) rotate(0.001deg);
}

.c-hamburger.is-active {
  transform: scale(1) rotate(0.001deg);
}

.f-navbar__overlay {
  pointer-events: none;
  will-change: opacity;
}

.f-navbar {
  /* transform: translate(calc(100% + 6vw), 0) rotate(0.001deg); */
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
  overflow-y: scroll;
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */

  height: calc(var(--vh, 1vh) * 100) !important;
}
.f-navbar__inner {
  transform: translate(0, 0) rotate(0.001deg);
  transition: all 0.6s cubic-bezier(0.7, 0, 0.2, 1);
  will-change: transform;
}

.f-navbar__link.w--current ~ .f-navbar__icon {
  display: block;
}
.f-navbar__link.c-text-link::before {
  background-color: #fff;
}

.nav-active .f-navbar__overlay {
  opacity: 0.35;
  pointer-events: all;
}
.nav-active .f-navbar {
  transform: translate(0, 0) rotate(0.001deg);
}
.nav-active .f-navbar__inner {
  transform: translate(0, 0) rotate(0.001deg);
}

/* ======= */

.clients__list {
  -webkit-transform: translateZ(0.9);
  -webkit-backface-visibility: hidden;
  transition: transform 0.4s linear, -webkit-transform 0.4s linear;
}
.swiper__wrapper {
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.swiper__item {
  -webkit-transform: scale(0.9);
  -ms-transform: scale(0.9);
  transform: scale(0.9);
  will-change: transform;
  -webkit-transition: -webkit-transform 800ms ease-in-out;
  transition: -webkit-transform 800ms ease-in-out;
  -o-transition: transform 800ms ease-in-out;
  transition: transform 800ms ease-in-out;
  transition: transform 800ms ease-in-out, -webkit-transform 800ms ease-in-out;
}
.swiper__item.swiper-slide-active {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  will-change: transform;
  -webkit-transition: -webkit-transform 800ms ease-in-out;
  transition: -webkit-transform 800ms ease-in-out;
  -o-transition: transform 800ms ease-in-out;
  transition: transform 800ms ease-in-out;
  transition: transform 800ms ease-in-out, -webkit-transform 800ms ease-in-out;
}

/* === FIXED NAV === */

.fixed-nav {
  position: absolute;

  top: calc(10vh * 2);
  /* left: 1.389vw; */
  /* left: 3.125em; */
}

.fixed-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding-left: 20px;
  transform: translateX(-20px);
  display: block;
  opacity: 0.4;
  transition: all 0.3s var(--easing);
}
.fixed-nav a:hover {
  opacity: 0.7;
}

.fixed-nav a::before {
  content: "";
  display: block;
  height: 1px;
  width: 10px;
  background-color: red;
  position: absolute;
  top: 50%;
  left: 0;
  opacity: 0;
}

.fixed-nav .fixed-nav__item.is-active a {
  transform: translateX(0);
  opacity: 1;
}
.fixed-nav .fixed-nav__item.is-active a::before {
  opacity: 1;
}

.so__item:nth-child(2n) .so__link {
  margin-left: auto;
}

/* === AGENTUR PAGE === */
.a-career:nth-of-type(1) {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.a-info__image {
  will-change: z-index;
}
.a-info__image:hover {
  z-index: 100;
}

.a-career #minus,
.a-career.cc-open #plus {
  display: none;
}
.a-career.cc-open #minus {
  display: block;
}
.a-career__image {
  transition: all 0.3s var(--easing);
}
.a-career__header:hover .a-career__image {
  opacity: 0.6;
}

/* === KAMPAGNEN === */
.swiper__wrapper,
.cases,
.p-hero .container.cc-p-hero {
  height: calc(var(--vh, 1vh) * 100) !important;
}

.c-container.cc-h-hero {
  min-height: calc(var(--vh, 1vh) * 100) !important;
}

/* === KONTAKT PAGE === */
.form__input.cc-invalid {
  border-color: var(--red);
}
.form__helper.cc-invalid {
  color: var(--red);
}

.uploadcare--widget__button {
  background: transparent;
  border: 1px solid white;
  border-radius: 0px;
}
.uploadcare--widget__button:hover {
  background-color: #fff;
  color: var(--bcg-black);
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--bcg-black) inset !important;
}
/*Change text in autofill textbox*/
input:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
}

/* === KAMPAGNEN PAGE === */
.swiper__item.swiper-slide-active .case__client,
.swiper__item.swiper-slide-active .case__year,
.swiper__item.swiper-slide-active .case__service,
.swiper__item.swiper-slide-active .case__title {
  opacity: 1;
}

/* === ROLLING TEXT === */

.rolling-text .rolling-text__container {
  position: relative;
  display: flex;
  width: 100%;
}

.rolling-text .spacer {
  padding: 0 3vw;
}

.rolling-text__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.rolling-text h1 {
  position: relative;
  display: flex;
  align-items: center;
  white-space: nowrap;
  pointer-events: none;
  margin: 0;
  padding: 0;
}
