/*
Theme Name: Desein Website
Author: Stefan Gl&ouml;ggl
Version: 1.0
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

@font-face {
  font-family: "Avenir LT Std";
  src: url("fonts/AvenirLTStd-Light.eot");
  src: local("Avenir LT Std 35 Light"), local("AvenirLTStd-Light"),
    url("fonts/AvenirLTStd-Light.eot?#iefix") format("embedded-opentype"),
    url("fonts/AvenirLTStd-Light.woff2") format("woff2"),
    url("fonts/AvenirLTStd-Light.woff") format("woff"),
    url("fonts/AvenirLTStd-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("fonts/AvenirLTStd-Medium.eot");
  src: local("Avenir LT Std 65 Medium"), local("AvenirLTStd-Medium"),
    url("fonts/AvenirLTStd-Medium.eot?#iefix") format("embedded-opentype"),
    url("fonts/AvenirLTStd-Medium.woff2") format("woff2"),
    url("fonts/AvenirLTStd-Medium.woff") format("woff"),
    url("fonts/AvenirLTStd-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Avenir LT Std";
  src: url("fonts/AvenirLTStd-Heavy.eot");
  src: local("Avenir LT Std 85 Heavy"), local("AvenirLTStd-Heavy"),
    url("fonts/AvenirLTStd-Heavy.eot?#iefix") format("embedded-opentype"),
    url("fonts/AvenirLTStd-Heavy.woff2") format("woff2"),
    url("fonts/AvenirLTStd-Heavy.woff") format("woff"),
    url("fonts/AvenirLTStd-Heavy.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --window-visible-height: 100%;

  --max-width-1: 100rem;
  --max-width-2: 77.5rem;
  --max-width-3: 50rem;

  --project-gutter-mobile: 0.3rem;
  --project-gutter-desktop: 0.7rem;

  --fs-xl: 3rem;
  --fs-l: 2.4rem;
  --fs-m: 1.7rem;
  --fs-std: 1.2rem;
  --fs-s: 1rem;
  --fs-xs: 0.7rem;

  --fw-l: 400;
  --fw-m: 500;
  --fw-b: 600;

  --clr-red: #bd1c1d;
  --clr-light-blue: #789dde;
  --clr-neutral-blue: #5c769e;
  --clr-blue: #182332;
  --clr-dark-blue: #0b111a;
  --clr-grey: #a7a7a7;

  --clr-tinted-grey: #f6f7f8;
  --clr-white: #fff;

  --rounded-corners: 7px;
}

@media (max-width: 50em) {
  :root {
    --fs-xl: 2.5rem;
    --fs-l: 2.1rem;
    --fs-m: 1.4rem;
    --fs-std: 1.1rem;
    --fs-s: 1rem;
    --fs-xs: 0.6rem;
  }
}

/* --------------------- GENERAL --------------------- */

body {
  font-family: avenir-next-world, "Avenir LT Std", sans-serif;
  /* font-family: avenir-next-lt-pro, "Avenir LT Std", sans-serif; */
  font-size: 1.2rem;
  font-size: var(--fs-std);
  font-style: normal;
  font-weight: 400;
  font-weight: var(--fw-l);
  line-height: 1.4;
  color: #0a0a0a;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

/*--------- FOR PRELOAD ---------*/

.home .header {
  animation: showContent 5s steps(1) forwards;
}

.home #about-ccc {
  animation: showContent 5s steps(1) forwards;
}

.home #about-ccc-mobile span {
  animation: showContent 5s steps(1) forwards;
}

.home .video-button.hide-mobile {
  animation: showContent 5s steps(1) forwards;
}

@keyframes showContent {
  to {
    opacity: 1;
  }
}

/*--------- HELPER CLASSES AND SETUP ---------*/

.hide {
  display: none !important;
}

.prevent-scroll {
  overflow-y: hidden;
}

.absolute-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  margin: 0 auto;
  max-width: 100rem;
  max-width: var(--max-width-1);
}

.project-content {
  margin: 0 auto;
  max-width: 77.5rem;
  max-width: var(--max-width-2);
}

.legal-container {
  max-width: 50rem;
  max-width: var(--max-width-3);
}

/* MAX 45 EM */

@media (max-width: 50em) {
  .container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .project-content .project-title,
  .project-content .project-credits span,
  .project-content p,
  .project-content figcaption {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hide-mobile {
    display: none !important;
  }
}

/* MIN 45 EM */

@media (min-width: 50em) {
  .flex {
    display: flex;
  }

  .hide-desktop {
    display: none !important;
  }
  .container,
  .project-content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .project-content p,
  .project-content figcaption {
    width: 95%;
  }
}

@media (min-width: 60em) {
  .project-content p,
  .project-content figcaption {
    width: 75%;
  }

  .project-content > .project-title,
  .project-content > .project-description,
  .project-content > .project-services {
    padding-left: 12%;
    padding-right: 15%;
    width: 100%;
  }
}

/* --------------------- TEXT STYLING AND BUTTONS --------------------- */

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.uppercase-bold {
  display: block;
  letter-spacing: 0.5px;
  font-weight: 600;
  font-weight: var(--fw-b);
  text-transform: uppercase;
}

strong {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.textline {
  justify-content: space-between;
  display: flex;
  align-items: center;
  margin-bottom: 0.6em;
}

.textline > h2 {
  max-width: 35ch;
}

@media (min-width: 50em) {
  .textline > h2 {
    text-wrap: balance;
  }
}

.textline,
.large-text {
  font-size: 3rem;
  font-size: var(--fs-xl);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.button {
  background-color: #fff;
  background-color: var(--clr-white);
  border-radius: 3rem;
  cursor: pointer;
  padding: 0.8rem 1.1rem;
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 1.2rem;
  font-size: var(--fs-std);
  letter-spacing: 0;
}

.button-grey {
  background-color: #f6f7f8;
  background-color: var(--clr-tinted-grey);
}

.button img {
  width: 1.2rem;
  margin-left: 0.2rem;
  transition: transform 0.5s;
  display: none;
}

/* --------------------- DESKTOP MENU --------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 700;
}

.header-container {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
}

.header-container #header-logo {
  margin-right: auto;
}

#header-logo svg {
  width: 14rem;
  height: auto;
}

.header svg {
  display: block;
}

.desktop-menu svg {
  height: 1.9rem;
  width: auto;
}

.desktop-menu ul {
  align-items: center;
}

.desktop-menu li {
  font-size: 1rem;
  font-size: var(--fs-s);
  text-transform: uppercase;
  font-weight: 500 !important;
  font-weight: var(--fw-m) !important;
  letter-spacing: 0.1rem;
  transition: opacity 400ms;
}

.page-about .desktop-menu .about-page,
.page-projects .desktop-menu .projects-page,
.page-contact .desktop-menu .contact-page {
  font-weight: 600 !important;
  font-weight: var(--fw-b) !important;
}

.desktop-menu a:hover {
  opacity: 0.5 !important;
}

.menu a {
  display: block;
}

.desktop-menu .social-menu svg {
  margin-top: -2px;
}

.desktop-menu .social-menu .menu-item:last-child {
  margin-right: 0;
}

/* --------------------- MOBILE MENU --------------------- */

.mobile-menu {
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  background: #0b111a;
  background: var(--clr-dark-blue);
  list-style: none;
  z-index: 600;
  color: #fff;
  color: var(--clr-white);
  visibility: hidden;
  padding: 5%;
  align-items: flex-start;
}

.mobile-menu .page-menu {
  font-size: 2.4rem;
  font-size: var(--fs-l);
}

.sub-menu {
  display: flex;
}

.mobile-menu .sub-menu {
  margin-top: auto;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.mobile-menu .lang-menu {
  display: flex;
  text-transform: uppercase;
  font-weight: 500;
  font-weight: var(--fw-m);
  padding-top: 0.3rem;
}

.mobile-menu .lang-menu li {
  position: relative;
}

.mobile-menu .lang-menu li + li {
  margin-left: 1.4rem;
}

.mobile-menu .lang-menu li + li::before {
  content: "";
  width: 1px;
  height: 1.2rem;
  display: inline-block;
  position: absolute;
  background-color: white;
  left: -0.7rem;
  top: 2px;
}

.mobile-menu .menu {
  display: flex;
}

.mobile-menu .page-menu {
  margin-top: auto;
  flex-wrap: wrap;
  width: 100%;
}

.mobile-menu .social-menu li {
  margin-right: 0.8rem;
}

.mobile-menu .social-menu svg {
  width: 2rem;
  height: auto;
}

.mobile-menu .page-menu li {
  width: 100%;
  padding: 0.8rem 0;
  border-bottom: solid 1px #182332;
  border-bottom: solid 1px var(--clr-blue);
}

.mobile-menu .page-menu li:last-of-type {
  border: none;
}

.footer a,
.mobile-menu a {
  transition: opacity 0.4s;
  cursor: pointer;
}

.footer a:hover,
.mobile-menu .menu-item:hover {
  opacity: 0.5 !important;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.menu-icon div {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 16px;
}

.menu-icon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  background-color: var(--clr-white);
  border-radius: 1px;
}

.menu-icon span:first-of-type {
  top: 0;
}

.menu-icon span:last-of-type {
  bottom: 0;
}

/* --------------------- MENU COLOR --------------------- */

.desktop-menu a {
  color: #000;
}

.desktop-menu .lang-menu a {
  border-color: #000;
}

.desktop-menu li {
  position: relative;
}

.desktop-menu .lang-menu li + li {
  margin-left: 1rem;
}

.desktop-menu .lang-menu {
  display: flex !important;
  flex-wrap: nowrap;
  margin-left: 1.6rem;
}

.desktop-menu .lang-menu li + li::before {
  content: "";
  width: 1px;
  height: 1.2rem;
  display: inline-block;
  position: absolute;
  background-color: #000;
  left: -0.6rem;
  top: 2px;
  transition: 0.5s ease;
}

.home .desktop-menu .lang-menu li + li::before,
.single-post .desktop-menu .lang-menu li + li::before,
.page-contact .desktop-menu .lang-menu li + li::before {
  background: #fff;
  background: var(--clr-white);
}

.desktop-menu svg * {
  fill: #000;
}

.header .menu-icon span {
  background: #000;
  transition: 0.5s ease;
}

.home .header a,
.home .header svg *,
.single-post .header a,
.single-post .header svg *,
.page-contact .header a,
.page-contact .header svg * {
  color: #fff;
  color: var(--clr-white);
  fill: #fff;
  fill: var(--clr-white);
  transition: 0.5s ease;
}

.home .header .menu-icon span,
.single-post .header .menu-icon span,
.page-contact .header .menu-icon span {
  background: #fff;
  background: var(--clr-white);
}

.home .header .lang-menu a,
.single-post .header .lang-menu a,
.page-contact .header .lang-menu a {
  border-color: #fff;
  border-color: var(--clr-white);
}

.header.header-clr-change a,
.header.header-clr-overwrite a {
  color: #000;
}

.header.header-clr-change .lang-menu a {
  border-color: #000;
}

.header.header-clr-change svg *,
.header.header-clr-overwrite svg * {
  fill: #000;
}

.header.header-clr-change .lang-menu a {
  border-color: #000;
}

.header.header-clr-change .menu-icon span,
.header.header-clr-overwrite .menu-icon span {
  background-color: #000;
}

.header.header-clr-change .desktop-menu .lang-menu li + li::before,
.header.header-clr-overwrite .desktop-menu .lang-menu li + li::before {
  background-color: #000;
}

/* --------------------- INDEX HEADER ABOUT --------------------- */

.index-header {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  position: relative;
  overflow: hidden;

  background-color: #de0215;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;

  color: #fff;

  color: var(--clr-white);
}

.video-button-container {
  position: absolute;
  bottom: 1.2rem;
  width: 100%;
  display: flex;
}

.video-button {
  background-color: transparent;
  cursor: pointer;
  margin-left: auto;
  z-index: 300;
  border-radius: 10rem;
  overflow: hidden;
  border: 3px solid #fff;
  width: 7rem;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-button.hide-desktop {
  width: 5rem;
  height: 5rem;
  justify-content: center;
  padding: 0.3rem;
}

.video-button span {
  text-align: center;
  padding: 0 0.8rem;
  white-space: nowrap;
}

.video-button.hide-mobile img {
  position: absolute;
  left: 32%;
  width: 2.5rem;
  height: auto;
}

.video-button img:first-child {
  z-index: 1;
}

.video-button img:last-child {
  z-index: 2;
}

.mobile-header-background {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.lightbox-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.85);
  padding: 5%;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
}

.header-video-container {
  width: 100%;
  height: 100%;
}

.header-video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.header-video-container iframe {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -10;
}

@media (min-aspect-ratio: 16/9) {
  .header-video-container iframe {
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .header-video-container iframe {
    width: 177.78vh;
  }
}

#lightbox-iframe-container {
  padding-bottom: 56.25%;
  margin: auto;
  height: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100vh * (16 / 9) - 40vh);
}

.index-about {
  padding-top: 14rem;
  padding-bottom: 10rem;
  flex-wrap: wrap;
  /*   align-items: end;
 */
}

.index-about > * {
  flex: 1;
}

@media (min-width: 30em) {
  .index-about > * {
    min-width: 30ch;
  }
  .index-about h1 > * {
    display: block;
  }
}

.index-about > * {
  margin-bottom: 2rem;
  margin-right: 2rem;
}

.index-about-long {
  max-width: 60ch;
  font-size: 1.7rem;
  font-size: var(--fs-m);
}

#about-more {
  position: relative;
}

#about-ccc {
  position: relative;
  z-index: 200;
  display: inline-block;
}

#about-ccc-mobile {
  position: absolute;
  bottom: 1.4rem;
  left: 5%;
  z-index: 500;
  text-align: left;
  font-size: 3rem;
  font-size: var(--fs-xl);
  line-height: 1.2;
}

#about-ccc-mobile div {
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

#about-ccc-mobile span {
  display: block;
}

/* --------------------- PROJECTS --------------------- */

.single .wrapper {
  overflow: hidden;
}

.project-grid {
  display: flex;
  flex-wrap: wrap;
}

.project-card {
  width: 100%;
  padding-bottom: 2.3rem;
  box-sizing: border-box;
}

.project-card .thumbnail {
  display: flex;
  height: 16rem;
  overflow: hidden;
}

.project-card picture {
  width: 100%;
  height: 100%;
}

.project-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition-duration: 0.4s;
}

.project-card-text {
  margin-top: 1rem;
  align-items: baseline;
}

.project-card .thumbnail {
  position: relative;
}

.thumbnail:hover img {
  transform: scale(1.03);
}

.page-projects .project-grid .project-card:last-child .thumbnail:hover img {
  transform: none !important;
}

/* --------------------- ARCHIVE --------------------- */

.page-archive-container {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.page-archive-container .textline {
  align-items: flex-end;
}

.page-archive-container h3 {
  max-width: 35ch;
}

.page-archive-container .button {
  flex-shrink: 0;
}

/* --------------------- CLIENTS --------------------- */

.index-clients {
  padding: 10rem 0;
}

.index-clients p {
  padding-bottom: 4rem;
  text-wrap: balance;
}

.clients-slider {
  overflow: hidden;
  position: relative;
}

.clients-slider-container {
  min-height: 6.5rem;
  position: relative;
  overflow-x: hidden;
}

.clients-slider-container + .clients-slider-container {
  margin-top: 1rem;
}

.clients-slider-container > div {
  position: absolute;
  top: 0px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}

.clients-slider-container:first-of-type .clients-inner {
  left: 0px;
}

.clients-slider-container:last-of-type .clients-inner {
  right: 0px;
}

.clients-slider img {
  height: 6rem;
  margin: 0 1.6rem;
  width: auto;
}

/* --------------------- ABOUT PAGE --------------------- */

.page-about footer {
  padding-top: 3rem;
  background: linear-gradient(0, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0) 100%);
}

.page-about .legal-links {
  color: #999;
}

.page-about .footer-contact a:first-child::after {
  background: #999;
  width: 1px;
}

.page-about-container a {
  transition-duration: 400ms;
}

.about-general * + .uppercase-grey {
  margin-top: 3rem;
}

.about-partners {
  padding-top: 4rem;
}

.about-partners .uppercase-bold {
  font-size: calc(1.2rem + 0.2rem);
  font-size: calc(var(--fs-std) + 0.2rem);
  color: #a7a7a7;
  color: var(--clr-grey);
  margin-bottom: 0.5em;
}

/* @media (max-width: 50em) {
  .about-partners .uppercase-bold {
    font-size: var(--fs-m);
  }
} */

.about-partners p:first-of-type {
  letter-spacing: 0;
}

.about-general {
  margin-bottom: 2.5em;
}

.about-team {
  margin-bottom: 3rem;
}

.page-about a {
  transition: opacity 0.4s;
}

.page-about a:hover {
  opacity: 0.5;
}

.about-partners a,
.about-general a {
  -webkit-text-decoration: underline solid 2px;
          text-decoration: underline solid 2px;
  text-underline-offset: 0.2em;
}

#about-team-box {
  flex-wrap: wrap;
  margin: 0 -0.3rem;
}

.team-member {
  background: center;
  background-size: cover;
  width: 100%;
  margin: 0.3rem;
  color: #fff;
  color: var(--clr-white);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.team-member-container {
  height: 0;
  padding-top: 125% !important;
}

.team-gradient {
  background: #182332;
  background: var(--clr-blue);
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  mix-blend-mode: multiply;
}

.team-darken {
  background: darkgrey;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  mix-blend-mode: multiply;
}

.team-member-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.member-name,
.member-links {
  position: relative;
  letter-spacing: 0.7px;
}

.member-about {
  position: relative;
  margin-bottom: auto;
  text-transform: none;
  font-weight: 500;
  font-weight: var(--fw-m);
}

.member-links {
  color: #789dde;
  color: var(--clr-light-blue);
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: inherit;
  transition: inherit;
  transition: transform 0.7s;
}

.team-member:hover::before {
  transition: transform 0.3s;
  transform: scale(1.02);
}

.team-darken,
.member-about {
  transition: opacity 0.7s;
  opacity: 0;
}

.team-member:hover .team-darken,
.team-member:hover .member-about {
  transition: opacity 0.3s;
  opacity: 1;
}

@media (min-width: 50em) {
  .team-member {
    flex: 35%;
  }
}

@media (min-width: 80em) {
  .team-member {
    flex: 1%;
  }
}

.page-about-container {
  position: relative;
  padding-top: 10rem;
}

#about-effect-background {
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  position: fixed;
  background-size: cover;
  z-index: -2;
  opacity: 0;
}

#about-services-container {
  padding-top: 10rem;
  padding-bottom: 10rem;

  display: flex;

  position: relative;
  align-items: center;
  justify-content: center;
}

#scroll-down {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  padding-top: 3rem;
  letter-spacing: 2px;
  color: white;
}

#scroll-down div {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  margin: 0 auto;
  margin-bottom: -1.5rem;
  background-image: url("/wp-content/themes/desein/media/arrow-down.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#about-services-box img {
  display: block;
  margin: 0 auto;
  width: 80vh;
}

@media (max-width: 50em) {
  #about-services-box img {
    width: 90vh;
  }
}

@media (orientation: portrait) {
  #about-services-box img {
    width: 93vw;
  }
}

.agency-service-part {
  width: 90vw;
  display: block;
  margin: 0 auto;
}

/*--------- PROJECTS PAGE ---------*/

@media (min-width: 70em) {
  .page-projects section.textline {
    display: none;
  }
}

@media (max-width: 70em) {
  .container .textline a {
    display: none;
  }
}

/* --------------------- CONTACT --------------------- */

.page-contact {
  background: #0b111a;
  background: var(--clr-dark-blue);
  color: white;
  font-size: 1.7rem;
  font-size: var(--fs-m);
  text-wrap: balance;
}

.page-contact #smooth-content {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.page-contact a {
  transition: opacity 0.4s;
}

.page-contact a:not(.button):hover {
  opacity: 0.5;
}

.page-contact .large-text {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.contact-contact a {
  display: block;
}

.contact-social a::before {
  opacity: 1 !important;
}

.contact-social a:hover::before {
  opacity: 1 !important;
}

@media (max-width: 50em) {
  .contact-top-left {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #5c769e;
    border-bottom: 1px solid var(--clr-neutral-blue);
  }
  .contact-contact a {
    display: block;
    font-size: 1.7rem;
    font-size: var(--fs-m);
  }

  .page-contact .textline h2 {
    display: none;
  }
}

.contact-top > div:first-child {
  padding-right: 2rem;
}

.page-contact footer {
  display: none;
}

.contact-top {
  width: 100%;
  margin-top: auto;
  margin-bottom: 2rem;
  align-items: end;
  justify-content: space-between;
}

.contact-contact a {
  white-space: nowrap;
}

.contact-social a {
  display: inline-flex;
  height: -moz-fit-content;
  height: fit-content;
}

.contact-top-right {
  margin-right: 3rem;
  margin-right: clamp(2rem, 4vw, 4rem);
}

.contact-top-left div p {
  display: inline-block;
}

.contact-top-left div p::after {
  content: "·";
  display: inline-block;
  margin: 0 0.3rem 0 0.7rem;
}

.contact-top-left div p:last-child::after {
  content: "";
}

/* @media (max-width: 80em) {
  .contact-top-left div p:nth-child(3):before {
    content: "";
    display: inline-block;
    margin: 0;
  }
} */

@media (min-width: 80em) {
  .contact-contact a {
    display: inline-block;
  }
  .contact-contact a:first-child::after {
    content: "";
    width: 1px;
    height: 1.5em;
    background: #5c769e;
    background: var(--clr-neutral-blue);
    position: absolute;
    margin-left: 1rem;
  }
}

@media (min-width: 50em) and (max-width: 60em) {
  .contact-top-left .large-text br {
    display: none;
  }
}

.contact-top-left > * + *,
.contact-top-right > * + * {
  display: block;
  margin-top: 0.7rem;
}

.contact-social {
  display: flex;
}

.contact-social a:first-child svg {
  margin-left: -0.2rem;
}

.contact-page .wrapper {
  position: relative;
}

.map-shading {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  pointer-events: none;
}

.page-contact .button {
  background: #789dde;
  background: var(--clr-light-blue);
}

.mapboxgl-popup {
  line-height: 1.4;
}

.mapboxgl-popup a {
  color: #789dde;
  color: var(--clr-light-blue);
}

@media (min-width: 50em) {
  .page-contact #mapbox {
    height: 100%;
    width: 100%;
  }

  .contact-bottom {
    height: 50vh;
    position: relative;
  }
  .contact-bottom-info {
    position: absolute;
    bottom: 2rem;
    z-index: 2;
    width: 100%;
  }

  .map-shading {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.7) 10%,
      rgba(0, 0, 0, 0) 40%
    );
  }

  .contact-social svg {
    width: 2.8rem;
  }
}

.contact-social svg {
  width: 2.4rem;
  height: auto;
}

@media (max-width: 50em) {
  .page-contact #mapbox {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    pointer-events: none;
  }
  .map-shading {
    position: fixed;
    background-color: #000;
    opacity: 0.3;
    z-index: -1;
  }
}

.contact-social span {
  display: none;
}

@media (min-width: 80em) {
  .contact-social span {
    display: inherit;
  }

  .contact-social svg {
    display: none;
  }
  .contact-social a + a::before {
    content: "·";
    margin: 0 0.3rem;
    color: #5c769e;
    color: var(--clr-neutral-blue);
  }
}

.contact-contact a:first-child {
  margin-right: 1.5rem;
}

/* --------------------- FOOTER --------------------- */

.office-photo {
  height: 20rem;
  background-size: cover;
  background-position: center;
}

.footer {
  width: 100%;
  color: #fff;
  color: var(--clr-white);
  background: #0b111a;
  background: var(--clr-dark-blue);
  overflow: hidden;
}

.footer-container {
  padding-top: 2rem;
  padding-bottom: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  align-content: space-between;
}

.footer-middle {
  align-items: end;
  -webkit-align-items: flex-end;
}

.footer-logo {
  flex: 6;
  display: inline-flex;
}

.footer-contact {
  flex: 6;
}

.footer-middle-about {
  flex: 6;
}

.footer-logo img {
  width: 15rem;
  height: auto;
}

.footer-middle-adress {
  flex: 4;
  -moz-column-count: 2;
  column-count: 2;
  align-items: end;
}

.footer-middle-adress-child {
  margin-right: 2rem;
}

.footer-middle-social {
  flex: 2;
  line-height: 0;
}

.footer-contact,
.footer-middle-about {
  font-size: 1.7rem;
  font-size: var(--fs-m);
}

.footer-contact a + a {
  margin-left: 1.4rem;
}

.footer-contact a:first-child::after {
  content: "";
  width: 1px;
  height: 1.5em;
  background: #5c769e;
  background: var(--clr-neutral-blue);
  position: absolute;
  margin-left: 1rem;
  margin-right: 1rem;
}

.footer .social-link {
  margin-right: 0.2rem;
}

.footer .social-link svg {
  height: 2.2rem;
  width: auto;
}

.footer .legal-links > * {
  margin-bottom: 0.3rem;
}

@media (max-width: 60em) {
  .footer > div > div > * {
    margin-bottom: 3rem;
  }

  .footer > div > div > .footer-logo {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 60em) {
  .office-photo {
    height: 25rem;
  }

  .footer-top {
    display: flex;
    margin-bottom: 2.5rem;
    vertical-align: middle;
  }

  .footer-middle {
    display: flex;
    margin-bottom: 7rem;
  }

  .footer-middle-adress-child {
    flex: 1;
  }

  .footer .left {
    width: 45%;
  }

  .footer .right {
    width: 45%;
    margin-left: 5rem;
  }
}

/*--------- LEGAL LINKS ---------*/

.legal-links {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.7rem;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #789dde;
  color: var(--clr-light-blue);
  line-height: 1.2rem;
}

.legal-links > *::after {
  content: "\00B7";
  padding: 0 0.6rem;
}

.legal-links > *:last-child:after {
  content: none;
}

.legal-links .language-switcher {
  display: flex;
  font-weight: 600;
  font-weight: var(--fw-b);
}

.legal-links .language-switcher li {
  list-style: none;
}

.legal-links .language-switcher li + li::before {
  content: "\00B7";
  padding: 0 0.6rem;
}

/* --------------------- PROJECT SITE --------------------- */

.project-content {
  padding-top: 4rem;
  padding-bottom: 2rem;
  box-sizing: content-box;
}

.project-header {
  height: 20rem;
  overflow: hidden;
}

.project-header img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.project-title {
  font-size: 2.4rem;
  font-size: var(--fs-l);
  color: #000;
  font-weight: 500;
  font-weight: var(--fw-m);
  line-height: 100%;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  width: 80%;
}

.wp-block-image,
.wp-block-embed,
.wp-block-video,
.project-video {
  margin-bottom: 0.3rem;
  margin-bottom: var(--project-gutter-mobile);
}

.wp-block-video {
  line-height: 0;
}

.wp-block-video video {
  width: 100%;
  background-color: transparent !important;
}

@media (min-width: 60em) {
  .wp-block-columns {
    display: flex;
  }

  .wp-block-image,
  .wp-block-embed,
  .wp-block-video,
  .wp-block-columns,
  .project-video {
    margin-bottom: 0.7rem;
    margin-bottom: var(--project-gutter-desktop);
  }

  .wp-block-column figure {
    margin-bottom: 0;
  }

  .wp-block-column figure + figure {
    margin-top: 0.7rem;
    margin-top: var(--project-gutter-desktop);
  }

  .wp-block-column figure:only-child {
    display: flex;
    height: 100%;
  }

  .wp-block-columns .wp-block-column {
    margin-right: 0.7rem;
    margin-right: var(--project-gutter-desktop);
    flex-basis: 100% !important;
  }

  .wp-block-columns .wp-block-column:last-child {
    margin-right: 0;
  }
}

.wp-block-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.wp-block-column figure {
  display: block;
}

.wp-block-column figure img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-content p {
  margin: 9rem 0 5rem 0;
}

.project-description {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

p.project-services {
  font-weight: 500;
  font-weight: var(--fw-m);
  margin: 1rem 0 6rem 0;
}

.project-credits {
  margin-top: 5rem;
}

.project-credits span {
  color: #a7a7a7;
  color: var(--clr-grey);
  margin-bottom: 1rem;
}

.project-credits p {
  margin-top: 0 !important;
}

.wp-block-image figcaption {
  color: #a7a7a7;
  color: var(--clr-grey);
  margin-top: 1.2rem;
  margin-bottom: 5rem;
}

.full-width {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  margin-top: 5rem;
}

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 0 auto;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed,
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.project-content a {
  transition: color 200ms;
}

.project-content a:hover {
  color: #a7a7a7;
  color: var(--clr-grey);
}

/* --------------------- OTHER PROJECTS --------------------- */

.other-projects {
  background: #f6f7f8;
  background: var(--clr-tinted-grey);
  padding-top: 2.3rem;
  padding-bottom: 5rem;
}

.splide .project-card {
  width: 100%;
  padding: 0;
}

.splide__arrow {
  width: 3.6rem !important;
  height: 3.6rem !important;
  position: absolute;
  z-index: 4;
  cursor: pointer;
  top: 30%;
  border: none;
  background-color: #fff;
  background-color: var(--clr-white);
  border-radius: 50rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 700ms;
}

.splide__arrow img {
  width: 2.5rem;
  height: auto;
}

.splide__arrow:hover {
  transition: transform 300ms;
  transform: scale(0.9);
}

.splide__arrow--prev {
  position: absolute;
  left: 0;
  margin-left: -1.5rem;
}

.splide__arrow--next {
  position: absolute;
  right: 0;
  margin-right: -1.5rem;
}

/* --------------------- PAGE LEGAL ------------------------*/

.single-legal .legal-container {
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.legal-container > * + * {
  margin-top: 0.5rem;
}

.legal-container h1,
.legal-container h2,
.legal-container h3,
.legal-container h4,
.legal-container h5 {
  font-weight: 500;
  font-weight: var(--fw-m);
}

.legal-container h1 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}

.legal-container * + h1 {
  margin-top: 5rem;
}

.legal-container h2 {
  margin-top: 3rem;
  padding-top: 3rem;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}

.legal-container h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 3rem;
}

.legal-container h2 + h3 {
  margin-top: 2rem;
}

.legal-container h4 {
  margin-top: 1.2rem;
}

.legal-container ul li::before {
  content: "–";
  margin-right: 0.5rem;
}

.legal-container a {
  color: var(--clr-primary-5);
  font-weight: 500;
  font-weight: var(--fw-m);
}

/*--------- COOKIE YES ---------*/

.cky-consent-container {
  border-radius: 0px !important;
}

.cky-consent-container .cky-consent-bar {
  border-radius: 0px !important;
  box-shadow: none !important;
}

.cky-consent-container * {
  color: #f6f7f8 !important;
  color: var(--clr-tinted-grey) !important;
}

.cky-btn-customize {
  border-width: 1px !important;
}

.cky-title {
  color: white !important;
}

/* .cky-btn-customize {
  background: var(--clr-blue) !important;
  border-color: var(--clr-blue) !important;
} */

/* --------------------- MAIN MEDIA QUERIES --------------------- */

@media (max-width: 50em) {
  .textline {
    margin-bottom: 1em;
    font-size: 1.7rem;
    font-size: var(--fs-m);
  }

  .page-archive-container h2 {
    font-size: 2.4rem;
    font-size: var(--fs-l);
  }

  .large-text {
    font-size: 2.4rem;
    font-size: var(--fs-l);
  }

  .index-about h1 {
    font-size: 3rem;
    font-size: var(--fs-xl);
  }

  .index-about {
    padding-top: 7rem;
    padding-bottom: 6rem;
  }

  .wp-block-spacer {
    display: none;
  }

  .page-archive-container .textline {
    padding-right: 2rem;
    flex-wrap: wrap;
  }

  .index-clients {
    padding: 6rem 0 6rem 0;
  }

  .clients-slider img {
    height: 4.8rem;
    margin: 0 0.8rem;
  }

  .clients-slider-container {
    min-height: 6rem;
  }

  .other-projects {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .about-general {
    margin-bottom: 2.5em;
  }

  .about-partners br {
    display: none;
  }

  .project-content figure > p,
  .project-content div > p {
    margin: 5rem 0 2rem 0;
  }

  .project-title {
    width: 100%;
  }

  .project-credits {
    margin-top: 3rem;
  }

  .splide__arrow {
    width: 2.9rem !important;
    height: 2.9rem !important;
  }

  .splide__arrow--prev {
    margin-left: -0.9rem;
  }

  .splide__arrow--next {
    margin-right: -0.9rem;
  }

  .footer .social-link svg {
    width: 2rem;
    height: auto;
  }

  .zoom-20 {
    width: 120%;
    margin-left: -10%;
  }

  .zoom-40 {
    width: 140%;
    margin-left: -20%;
  }

  .zoom-60 {
    width: 160%;
    margin-left: -30%;
  }

  .video-button img {
    width: 2rem;
  }
}

@media (max-width: 60em) {
  .desktop-menu .sub-menu {
    display: none;
  }
}

@media (min-width: 50em) {
  .header-container {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .desktop-menu .sub-menu {
    margin-left: 1.6rem;
  }

  .desktop-menu .menu-item-page + .menu-item-page {
    margin-left: 1.2rem;
  }

  .desktop-menu .menu-item-icon + .menu-item-icon {
    margin-left: 0.3rem;
  }

  /* --------------------- GENERAL --------------------- */

  .header {
    padding-top: 2rem;
  }

  .project-content {
    padding-top: 12rem;
    padding-bottom: 8rem;
  }

  p.project-services {
    margin: 1.5rem 0 12rem 0;
  }

  .project-card .thumbnail {
    box-shadow: inset 0px 0px 0px 0px #fff;
    box-shadow: inset 0px 0px 0px 0px var(--clr-white);
    transition: box-shadow 0.4s !important;
  }

  .project-card .thumbnail img,
  .project-card .thumbnail picture {
    z-index: -2;
  }

  .project-grid .project-card .thumbnail:hover {
    box-shadow: inset 0px 0px 0px 7px #fff;
    box-shadow: inset 0px 0px 0px 7px var(--clr-white);
  }

  .other-projects .project-card .thumbnail::after {
    box-shadow: inset 0px 0px 0px 0px #f6f7f8;
    box-shadow: inset 0px 0px 0px 0px var(--clr-tinted-grey);
  }

  .other-projects .project-card .thumbnail:hover::after {
    box-shadow: inset 0px 0px 0px 7px #f6f7f8;
    box-shadow: inset 0px 0px 0px 7px var(--clr-tinted-grey);
  }

  .page-projects
    .project-grid
    .project-card:last-child
    .thumbnail:hover::after {
    box-shadow: none;
  }

  .button {
    padding: 1rem 1.5rem;
  }

  .button img {
    height: 1.2rem;
    width: auto;
    margin-left: 1.6rem;
    display: block;
    transition: transform 0.3s;
  }

  .button:hover img {
    transform: translateX(0.2rem);
  }

  #header-logo svg,
  .footer-logo img {
    width: 20rem;
  }

  .video-button-container {
    bottom: 1.2rem;
  }

  .video-button {
    margin-right: 0rem;
  }

  .footer-description {
    max-width: 40ch;
  }

  .about-text-child {
    will-change: transform;
    /* transform: translateY(-20rem); */
    /* color: white; */
  }

  .page-template-page-legal .wrapper {
    margin: 15rem 0;
  }

  .page-about-container {
    padding-top: 20rem;
  }

  .page-archive-container {
    padding-top: 20rem;
    padding-bottom: 8rem;
  }

  .page-about .contact-about,
  .page-about .contact-partners {
    padding-right: 5%;
  }

  /* --------------------- INDEX PROJECTS --------------------- */

  .project-grid {
    margin: -1.5rem;
  }

  .project-card {
    width: 50%;
    padding: 1.5rem;
    padding-bottom: 2rem;
  }

  .home .project-card {
    padding-bottom: 2.4rem;
  }

  .home .project-card:nth-of-type(1) {
    width: 100%;
  }

  .home .project-card:nth-of-type(1) .thumbnail {
    height: 30rem;
  }

  .home .project-card:nth-of-type(1) .project-card-text {
    display: flex;
  }

  .project-card-text h3 {
    margin-right: 0.7rem;
  }

  /* .index-projects .project-card .thumbnail img {
    transform: scale(1.1);
  } */

  /* --------------------- INDEX CLIENTS --------------------- */

  .client-grid {
    padding: 0 1rem;
  }

  .client-grid img {
    height: 3rem;
    margin: 2rem;
  }

  /* --------------------- PROJECT SITE --------------------- */

  .project-header {
    height: 40rem;
  }

  .wp-block-spacer {
    height: 10rem !important;
  }

  #cookiescript_injected {
    padding: 0.7rem 1.2rem !important;
    bottom: 2rem !important;
    left: 2rem !important;
  }
}

@media (min-width: 60em) {
  /* .about-text-child {
    transform: translateY(-20.5rem);
  } */

  /* --------------------- INDEX PROJECTS --------------------- */

  .project-card {
    width: calc(100% / 3);
  }

  .home .project-card:nth-of-type(2),
  .home .project-card:nth-of-type(3) {
    width: 50%;
  }

  .home .project-card:nth-of-type(2) .thumbnail,
  .home .project-card:nth-of-type(3) .thumbnail {
    height: 25rem;
  }

  .home .project-card:nth-of-type(1) .project-card-text,
  .home .project-card:nth-of-type(2) .project-card-text,
  .home .project-card:nth-of-type(3) .project-card-text {
    display: flex;
  }

  .project-card .thumbnail {
    height: 17rem;
    height: clamp(13rem, 20vw, 18rem);
  }

  .about-general,
  .about-partners {
    padding-right: 7vw;
  }
}

/* ––––––––––––––– MAPBOX ––––––––––––––– */

.mapboxgl-ctrl.mapboxgl-ctrl-attrib {
  background-color: transparent !important;
}

.mapboxgl-ctrl.mapboxgl-ctrl-attrib * {
  color: white !important;
}

.mapboxgl-popup-content {
  border-radius: 16px !important;
  padding: 1rem !important;
}

.mapboxgl-popup-close-button {
  font-size: 1.5rem !important;
  line-height: 0;
  top: 5px !important;
  right: 5px !important;
  color: #a7a7a7 !important;
  color: var(--clr-grey) !important;
}

a.mapboxgl-ctrl-logo {
  width: 70px !important;
  background-size: contain;
}

.mapboxgl-popup-tip {
  margin-top: -1px !important;
}

.marker {
  height: 4rem;
  width: 4rem;
  background-image: url("../media/map-marker.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.mapboxgl-ctrl-bottom-left {
  top: 0;
  left: 0;
  bottom: auto !important;
}

.mapboxgl-ctrl {
  margin: 10px !important;
}

.mapboxgl-ctrl-bottom-right {
  top: 0;
  right: 0;
  bottom: auto !important;
}

.mapboxgl-popup {
  color: #000;
}
