@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("../fonts/poppins-v20-latin-regular.woff2") format("woff2"), url("../fonts/poppins-v20-latin-regular.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  src: local(""), url("../fonts/poppins-v20-latin-italic.woff2") format("woff2"), url("../fonts/poppins-v20-latin-italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
:root {
  --red: #ff5e4a;
  --lightgrey: #e4e3e4;
  --darkgrey: #58595b;
  font-size: 62.5%; /* Font Size normalizing for REM */
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins";
  font-size: 1.8rem;
  color: var(--darkgrey);
  text-rendering: geometricPrecision;
}
@media (max-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}

h1, h2, h3 {
  color: var(--red);
  font-weight: 600;
  margin: 0 0 3rem;
  font-family: "Work Sans";
}

h1 {
  font-size: 5.2rem;
  line-height: 4.8rem;
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 4.2rem;
  }
}

h2, .bigtext {
  font-size: 3.6rem;
  padding: 0 20px;
}
@media (max-width: 768px) {
  h2, .bigtext {
    font-size: 2.4rem;
  }
}

h3 {
  font-size: 2.4rem;
  line-height: 3rem;
  margin: 1.8rem 0 0.4rem;
}
@media (max-width: 768px) {
  h3 {
    margin-top: 1rem;
    font-size: 2rem;
  }
}

p {
  margin: 0 0 1.8rem;
}

a, a:visited {
  text-decoration: none;
  color: var(--red);
}

.red {
  color: var(--red);
}

.grey {
  color: var(--darkgrey);
}

.bg-grey {
  background-color: var(--lightgrey);
}

img {
  width: 100%;
  height: auto;
}

.center {
  text-align: center;
}

.loader-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--red);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.loader {
  border: 4px solid #ff7f6f; /* COlor Circle  */
  border-top: 4px solid #fff; /* Color Spinner */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
nav {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 150px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 50px;
  margin: 0 auto;
  position: relative;
  z-index: 800;
}
@media (max-width: 768px) {
  nav {
    height: 100px;
    padding: 0 20px;
  }
}
nav .nav-section ul {
  display: flex;
  gap: 2.4rem;
  list-style-type: none;
  font-size: 1.6rem;
  margin: 0;
  padding: 0;
}
nav .nav-section ul li {
  display: inline-block;
  position: relative;
}
nav .nav-section ul li::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--red);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
nav .nav-section ul li:hover::after, nav .nav-section ul li.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
nav .logo-wrapper a {
  display: inline-block;
}
nav .logo-wrapper .logo {
  width: 190px;
  height: auto;
}
@media (max-width: 768px) {
  nav .logo-wrapper .logo {
    width: 120px;
  }
}
nav .menu-wrapper {
  margin-top: -4px;
}
@media (max-width: 768px) {
  nav .menu-wrapper {
    display: none;
  }
}

/* MOBILE MENU ======================================================= */
.button_container {
  display: block;
  position: absolute;
  top: 35px;
  right: 4%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 101;
  transition: opacity 0.25s ease;
}
@media all and (min-width: 768px) {
  .button_container {
    display: none;
  }
}
.button_container:hover {
  opacity: 1;
}
.button_container.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: var(--lightgrey);
  width: 100%;
}
.button_container.active .middle {
  opacity: 0;
  background: var(--lightgrey);
}
.button_container.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: var(--lightgrey);
  width: 100%;
  left: 0;
}
.button_container span {
  background: var(--red);
  border: none;
  height: 3px;
  width: 100%;
  /* width: 60%; */
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 11px;
  width: 100%;
  left: 0;
}
.button_container span:nth-of-type(3) {
  top: 22px;
  /* width: 60%;
  left: 40%; */
}
.button_container:hover span {
  width: 100%;
  left: 0;
}

.overlay {
  position: fixed;
  background: var(--red);
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
  z-index: 100;
}
.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.3s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: 0.31s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: 0.42s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: 0.53s;
}
.overlay.open li:nth-of-type(5) {
  animation-delay: 0.64s;
}
.overlay.open li:nth-of-type(6) {
  animation-delay: 0.75s;
}
.overlay.open li:nth-of-type(7) {
  animation-delay: 0.86s;
}
.overlay.open li:nth-of-type(8) {
  animation-delay: 0.97s;
}
.overlay .overlay-menu {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  font-weight: 400;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  min-height: 30px;
  position: relative;
  opacity: 0;
  padding: 2px 0;
  /* &.active:after{
   content: "";
   position: absolute;
   height: 1px;
   width: 100%;
   top: 50%;
   background: #fff;
   display: block;
   transform: rotateZ(-2deg);
  } */
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: var(--color-main);
  transition: 0.35s;
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}
.head-section {
  width: 100%;
  position: relative;
  margin-top: -150px;
  padding: 150px 0 0;
  background: var(--lightgrey);
}

.page-title {
  text-align: center;
  padding: 15px 0 65px;
}

.underline {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.6rem;
  padding: 0 20px;
}
.underline a {
  color: var(--darkgrey);
  text-decoration: underline;
}
.underline a:hover {
  color: var(--red);
}
.underline.red a {
  color: var(--red);
}
.underline.red a:hover {
  color: var(--darkgrey);
}
.underline p {
  margin: 0;
}
@media (max-width: 768px) {
  .underline {
    font-size: 1.4rem;
  }
}

.hero-banner {
  width: 100%;
  background: var(--lightgrey);
}

.hero-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
.hero-wrapper .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
}
.hero-wrapper .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
}

.max780 {
  max-width: 780px;
}

.textblock {
  padding: 90px 0 50px;
}
.textblock .text-wrapper {
  padding: 0 0 60px;
}
.textblock .text-wrapper.teasertext {
  padding-top: 140px;
  padding-bottom: 180px;
}
@media (max-width: 768px) {
  .textblock .text-wrapper.teasertext {
    padding-top: 60px;
    padding-bottom: 140px;
  }
}

.introtext {
  font-size: 2.4rem;
}
@media (max-width: 768px) {
  .introtext {
    font-size: 1.8rem;
  }
}

.teasertext, .starttext {
  font-size: 2.8rem;
}
@media (max-width: 768px) {
  .teasertext, .starttext {
    font-size: 2.2rem;
  }
}

.mb-extra {
  margin-bottom: 120px;
}

.image-wrapper {
  margin: 0 auto;
}

.image-gallery {
  padding-bottom: 120px;
}

.gallery-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /* justify-content: space-between; */
  margin-left: -5%;
}
.gallery-wrapper .item {
  flex-basis: 33.3333333333%;
  padding: 0 0 20px 5%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .gallery-wrapper .item {
    flex-basis: 50%;
  }
}
.gallery-wrapper .item a {
  display: inline-block;
  line-height: 0;
  position: relative;
  background: var(--red);
}
.gallery-wrapper .item a::after {
  content: "";
  position: absolute;
  width: 100.2%;
  transform: scaleX(0);
  height: 6px;
  bottom: 0;
  left: 0;
  background-color: var(--red);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.gallery-wrapper .item a:hover::after, .gallery-wrapper .item a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.gallery-wrapper .item a:hover {
  cursor: zoom-in;
}
.gallery-wrapper .item a:hover img {
  opacity: 0.8;
}

.lightboxOverlay {
  background-color: var(--red);
  opacity: 0.8;
}

.lightbox .lb-image {
  border: none;
}

.lb-data .lb-number {
  color: #fff;
}

.lb-outerContainer {
  background-color: transparent;
}

.related-projects {
  box-sizing: border-box;
  padding: 90px 0 180px;
}

.project-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: -5%;
  padding-bottom: 90px;
}
.project-wrapper .item {
  width: 50%;
  padding: 0 0 20px 5%;
  box-sizing: border-box;
  padding-bottom: 60px;
}
@media (max-width: 768px) {
  .project-wrapper .item {
    width: 100%;
  }
}
.project-wrapper .item .project-image {
  position: relative;
  background: var(--red);
  line-height: 0;
}
.project-wrapper .item a {
  display: inline-block;
  position: relative;
}
.project-wrapper .item a img {
  transition: all 0.2s ease;
}
.project-wrapper .item a span.subline {
  color: var(--darkgrey);
  font-size: 1.6rem;
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
  .project-wrapper .item a span.subline {
    font-size: 1.4rem;
  }
}
.project-wrapper .item a:hover img {
  opacity: 0.8;
}
.project-wrapper .item a:hover .subline {
  color: var(--red);
}

.button-wrapper {
  text-align: center;
}

/* Sweep To Right */
.button {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  /* font-size: 2.4rem; */
  padding: 1rem 3rem;
  border: 1px solid var(--red);
}

.button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.button:hover, .button:focus, .button:active {
  color: white;
}

.button:hover:before, .button:focus:before, .button:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* ANIMALS TEAM SEITE ---------------------------*/
.animals-wrapper {
  background: var(--lightgrey);
  padding: 60px 0 180px;
}
@media (max-width: 768px) {
  .animals-wrapper {
    padding: 0 0 180px;
  }
}
.animals-wrapper .container {
  display: flex;
  flex-wrap: wrap;
}

.animal-item {
  width: 33%;
  text-align: center;
  margin-bottom: 90px;
  box-sizing: border-box;
  padding: 0 5px;
}
@media (max-width: 768px) {
  .animal-item {
    width: 50%;
    margin-bottom: 40px;
  }
}
.animal-item a .animal-name h3 {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}
.animal-item a .animal-portrait .portrait-wrapper {
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}
.animal-item a:hover .animal-name h3 {
  border-bottom: 2px solid var(--red);
}
.animal-item a:hover .animal-portrait .portrait-wrapper {
  /* padding: 6px 0 0 6px; */
  /* margin-bottom: 6px; */
}
.animal-item a:hover .animal-portrait .portrait-wrapper img {
  border: 0px solid var(--red);
  transition: all 0.2s ease-in-out;
}

.animal-portrait .portrait-wrapper {
  transition: all 0.2s ease;
  width: 90%;
  max-width: 240px;
  position: relative;
  margin: 0 auto;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 0;
  margin-bottom: 0px;
}
.animal-portrait .portrait-wrapper img {
  border-radius: 50%;
  border: 6px solid var(--red);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

/* ANIMAL SEITE ---------------------------*/
.animal-page .head-section {
  padding-bottom: 110px;
}
.animal-page .textblock {
  padding-top: 60px;
}
.animal-page .gallery-wrapper {
  margin-left: -3%;
}
.animal-page .gallery-wrapper .item {
  flex-basis: 25%;
  padding: 0 0 20px 3%;
}
@media (max-width: 768px) {
  .animal-page .gallery-wrapper .item {
    flex-basis: 50%;
  }
}

.portrait {
  margin-top: -110px;
}
.portrait .portrait-wrapper {
  max-width: 220px;
  position: relative;
  margin: 0 auto;
}
.portrait .portrait-wrapper img {
  border-radius: 50%;
  border: 6px solid var(--red);
}

/* WORKS SEITE ---------------------------*/
.works-page .head-section {
  padding-bottom: 12px;
}
@media (max-width: 768px) {
  .works-page .head-section {
    padding-bottom: 12px;
  }
}

.filter-menu {
  position: relative;
  width: 100%;
  text-align: center;
  margin: -36px 0 100px;
}
.filter-menu .filter-wrapper a {
  display: inline-block;
  position: relative;
  padding: 4px 0;
  margin: 0 8px;
}
.filter-menu .filter-wrapper a::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--red);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.filter-menu .filter-wrapper a:hover::after, .filter-menu .filter-wrapper a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: auto;
}

.main-carousel {
  width: 100%;
  position: relative;
}
.main-carousel .carousel-item {
  width: 100%;
  display: block;
  position: absolute;
  z-index: 900;
}
.main-carousel .carousel-item .item-wrapper {
  position: relative;
  width: 100%;
  height: 0%;
  overflow: hidden;
  padding-top: 41.66%; /* 56.25%; */
}
.main-carousel .carousel-item .vimeo-embed {
  position: absolute;
  left: 0%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  width: 100%;
  height: 100%;
  /* background: #000; */
}
.main-carousel .carousel-item .video-title {
  width: 90%;
  max-width: 900px;
  margin-left: 50px;
  margin-top: 3px;
}
.main-carousel .carousel-item .video-title h2 {
  padding: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .main-carousel .carousel-item .video-title {
    margin-left: 20px;
  }
}
.main-carousel .carousel-item iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.carousel-nav {
  position: absolute;
  top: 0;
  right: 50px;
  padding-top: 40.2%; /* 54.6% */
}
.carousel-nav a {
  display: inline-block;
  height: 50px;
  width: 50px;
  background-color: var(--red);
  color: #fff;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 0.15s ease-in-out;
}
.carousel-nav a.prev-btn {
  background-image: url(../images/arrow-prev.png);
}
.carousel-nav a.prev-btn:hover {
  background-position: 12px;
}
.carousel-nav a.next-btn {
  background-image: url(../images/arrow-next.png);
}
.carousel-nav a.next-btn:hover {
  background-position: 23px;
}

@media (max-width: 768px) {
  .carousel-nav {
    display: none;
  }
}
@media (max-width: 1200px) {
  .carousel-nav {
    padding-top: 39.5%;
  }
}
/* FOOTER ---------------------------------*/
footer {
  background: var(--red);
  color: var(--lightgrey);
  font-size: 1.6rem;
  padding: 90px 0;
}
footer a, footer a:visited {
  color: var(--lightgrey);
}
footer .footer-logo {
  width: 140px;
  margin-bottom: 30px;
  display: block;
}
footer .footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0 60px;
}
footer .footer-wrapper .one-col {
  width: 33%;
}
footer .footer-wrapper .two-col {
  width: 66%;
}
@media (max-width: 768px) {
  footer .footer-wrapper .one-col, footer .footer-wrapper .two-col {
    width: 100%;
    margin-bottom: 20px;
  }
}
