:root {
  --secondary-color: #818386;
  --button-color: #3B3636;
}

[data-theme="dark"] {
  --secondary-color: #818386;
  --button-color: #818386;
}

* {
  margin: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  font-family: 'Montserrat';
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
  background-color: #fff;
}

.client-wrap {
  margin: 0 auto 0;
  padding: 0;
  max-width: 1280px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 40px;
  column-gap: 40px;
}

.client {
  vertical-align: middle;
  position: relative;
  margin: 5px;
  height: 100%;
  width: 100%;
  list-style-type: none;
  display: inline-block;
  text-align: center;
  transition: .2s ease all;
}

.overflow-wrapper {
  position: relative;
  padding-top: calc(60% - 45px);
  width: 100%;
  display: inline-block;
  z-index: 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: .2s ease all;
}

.client {
  vertical-align: middle;
  position: relative;
  margin: 5px;
  height: 100%;
  width: 100%;
  list-style-type: none;
  display: inline-block;
  text-align: center;
  transition: .2s ease all;
}


.opacity-focus:hover>.client,
.solid.client {
  opacity: 1;
}


.client:hover .client-logo {
  width: 76%;
}

img.reset-logo {
  width: 80%;
}

.project-list:hover .overflow-wrapper img,
.opaque {
  opacity: 1;
}

.overflow-wrapper {
  position: relative;
  padding-top: calc(60%);
  width: 100%;
  display: inline-block;
  z-index: 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: .2s ease all;
}


.client-logo {
  z-index: 1;
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  top: 50%;
  display: block;
  transition: .2s ease all;
  -webkit-animation: fadein .8s;
  -moz-animation: fadein .8s;
  -ms-animation: fadein .8s;
  -o-animation: fadein .8s;
  animation: fadein .8s;
}

.client-logo img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  overflow: hidden;
}

.square {
  padding: 0 40% 0 0;
}

.smaller {
  padding: 0 10% 0 0;
}

@media screen and (max-width: 1024px) {
  .client-wrap {
    padding: 0 30px;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 60px;
    column-gap: 60px;
  }
}

@media screen and (max-width: 820px) {
  .client-wrap {
    padding: 0 30px;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 40px;
    column-gap: 40px;
  }
}

@media screen and (max-width: 620px) {
  .client-wrap {
    padding: 0 30px;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 30px;
    column-gap: 30px;
  }
}

@media screen and (max-width: 525px) {
  .client-wrap {
    padding: 0 20px;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 15px;
    text-align: center;
    column-gap: 15px;
  }
}

.client-logo {
  z-index: 1;
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  top: 50%;
  width: 80%;
  height: auto;
  transition: .2s ease all;
  -webkit-animation: fadein .8s;
  -moz-animation: fadein .8s;
  -ms-animation: fadein .8s;
  -o-animation: fadein .8s;
  animation: fadein .8s;
}

.header {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  text-align: center;
  background: url("../img/header.jpg") center / cover;
  display: grid;
  place-items: center;
}

.header-imp {
  position: relative;
  width: 100%;
  height: 50%;
  max-height: 150vw;
  text-align: center;
  background: url("../img/header.jpg") center / cover;
  display: grid;
  place-items: center;
}

.nav-link {
  font-weight: 600;
  color: #000;
}

.navbar-custom {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(3px);
}

.impressum a {
  color: #000;
}

.image-seperator {
  width: 100%;
  perspective: 2px;
  padding-top: 0;
}

.service-icon i {
  font-size: 5em !important;
  padding-bottom: .4em;
}

.separator-img {
  height: 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  display: flex;
}

.content-center {

  display: grid;
  place-items: center;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.seperator-title {
  font-size: 3em;
  font-weight: 900;
  color: #fff;
}

.color-white {
  color: #fff
}

.title img {
  height: 20em;
  max-width: 80vw;
  bottom: 110px;
  position: relative;
}

.separator-img-wrapper {
  height: 400px;
  width: 100%;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
}

h1,
label,
button,
.description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

h1 {
  color: var(--h1-color);
  text-transform: uppercase;
  font-size: 2.5rem;
  letter-spacing: 0.5rem;
  font-weight: 300;
}

.fa-paragraphs:before {
  font-weight: bold;
  content: '§';
}

.file-euro:after {
  font-family: 'Montserrat';
  font-weight: 800;
  position: relative;
  left: -1.2em;
  bottom: 0.2em;
  font-size: .5em;
  content: '€';
}

.file-euro {
  position: relative;
  left: 0.2em;
}

label,
.description {
  text-transform: uppercase;
  font-size: 0.625rem;
}

form {
  position: relative;
  margin-top: 2rem;
  padding: 1rem 0;
}

input,
textarea,
label {
  width: 100%;
  display: block;
}

p,
placeholder,
input,
textarea {
  font-family: 'Montserrat', sans-serif;
}

input::placeholder,
textarea::placeholder {
  color: var(--primary-color);
}

input,
textarea {
  color: var(--primary-color);
  font-weight: 500;
  border: none;
  border-bottom: 1px solid var(--secondary-color);
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  outline: none;
  background-color: transparent;
}

textarea {
  resize: none;
}

button {
  text-transform: uppercase;
  font-weight: 300;
  background: var(--button-color);
  color: white;
  width: 10rem;
  height: 2.25rem;
  border: none;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

input:hover,
textarea:hover,
button:hover {
  opacity: 0.5;
}

button:active {
  opacity: 0.8;
}


.description {
  margin-left: 1.25rem;
}

#error,
#success-msg {
  width: 40vw;
  margin: 0.125rem 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: 'Montserrat';
}

.separator {
  z-index: 3;
  margin-top: calc(11vw * -1);
  position: relative;
  top: 1px;
}

#success-msg {
  transition-delay: 3s;
}

@media only screen and (max-width: 950px) {
  h1 {
    font-size: 1.75rem;
  }

  p {
    font-size: 0.7rem;
  }

  input,
  textarea,
  button {
    font-size: 0.65rem;
  }

  .description {
    font-size: 0.3rem;
    margin-left: 0.4rem;
  }

  button {
    width: 7rem;
  }

  .separator-img {
    background-attachment: initial;
  }
}



.viewport-header {
  position: relative;
  height: 100%;
  min-height: 750px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg {
  background-image: url('../img/header-2.jpg');
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

header a {
  position: absolute;
  bottom: 290px;
}

header a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}

header a span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

header a span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}

header a span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}

@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes sdb07 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}