*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}


@font-face {
  font-family: "Inter-Light";
  src: url(../fonts/InterTight-Light.ttf) format("truetype");
  font-display: swap;
}


:root {
  --blau: #1F4E8C;
  --dunkel-blau: #18213b;
  --hell-grau: #F0F0F0;
  --rot: #D70026;
  --weiss: #FFFFEE;
  --schwarz: #000;
  --primaere-schriftart: "Inter_Light";
  --border-style: 2px solid;
  --border-transition: border .5s ease-in-out;
  --gradient: linear-gradient(to left, var(--dunkel-blau), var(--dunkel-blau) 80%, var(--hell-grau));
  --secGradient: linear-gradient(-120deg, var(--blau) 10%, var(--dunkel-blau) 60%);
  --slideshowWidth: 20vw;
  --videoWidth: 60vw;
  --sectionPadding: 10rem 6rem;
  /*-----------------FONTSIZES-----------------------------------*/
  --FSnavbrowser: calc(0.6rem + 0.3vw);
  --FSnav1024: calc(1rem + 0.5vw);
  --FStextbrowser: calc(0.5rem + 1.25vw);
  --FStext1024: calc(0.8rem + 2vw);
  --FStext450: calc(0.6rem + 2vw);
  --FSh1browser: calc(2rem + 1.5vw);
  --scaleFactor: 1.03;
}


body {
  width: 100vw;
  position: relative; 
  letter-spacing: 0.5px;
}

header {
  width: 100%;
  height: 50px;
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--dunkel-blau);
  background: var(--gradient);
}

nav {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#logo-wrapper {
  position: relative;
  top: 50%;
  margin-left: 100px;
}

.nav-icon-link {
  text-decoration: none;
  margin-right: 20px;
}

.nav-icon-link img:hover {
  transform: scale(1.1);
  transition: all 0.1s;
}

.nav-icon-link img {
  height: 80px;
  transition: all 0.1s;
}

#dom-nav-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: 100px;
}

.menu-icon {
  color: white;
  font-weight: bold;
  font-size: 40px;
  display: none;
  height: inherit;
  align-items: center;
  padding: 1px 10px;
  position: relative;
  flex-direction: column;
  justify-content: space-evenly;
}

.menu-bars {
 width: 25px;
 height: 1.5px;
 background-color: var(--weiss);
 border-radius: 2px;
 transform-origin: left;
 transition: all 0.3s ease-in-out;
}

#bar-middle {
  align-self: flex-start;
}

.menu-icon.open > #bar-top {
  transform: rotateZ(45deg)
}

.menu-icon.open > #bar-middle {
  width: 0;
}

.menu-icon.open > #bar-bottom {
  transform: rotateZ(-45deg)
}

#dom-nav-wrapper ul {
  height: 100%;
  display: flex;
  align-items: center;
  list-style: none;
}

#dom-nav-wrapper ul li a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-family: "Inter-Light", Arial, Helvetica, sans-serif;
  font-size: var(--FSnavbrowser);
  margin-left: 20px;
  position: relative;
}

#dom-nav-wrapper ul li a:hover {
  transform: scale(var(--scaleFactor));
  box-shadow: 0 3px 3px #00000070;
  transition: all 0.1s;
}

/*
#dom-nav-wrapper ul li a:before {
  content: "";
  width: 0;
  height: 1px;
  background-color: white;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  position: absolute;
  left: 0;
  top: -2px;
  transition: all 0.2s ease-in-out;
}

#dom-nav-wrapper ul li a:hover:before {
  width: 105%;
  transition: all 0.2s ease-in-out;
}

#dom-nav-wrapper ul li a:after {
  content: "";
  width: 0;
  height: 0.5px;
  background-color: white;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  display: block;
  position: absolute;
  right: 0;
  transition: all 0.2s ease-in-out;
}

#dom-nav-wrapper ul li a:hover:after {
  width: 100%;
  transition: all 0.2s ease-in-out;
}

*/

main {
  height: calc(100vh - 50px);
  perspective: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

main::-webkit-scrollbar {
  display: none;  /*Chrome and Brave*/
}


h1 {
  width: 100%;
  font-family: "Inter-Light";
  font-size: var(--FSh1browser);
  text-align: center;
  line-height: 1.3;
  color: #FFFFEE;
  margin-bottom: 3rem;
  text-shadow: black 2px 2px;
}

#parallax-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transform-style: preserve-3d;
  z-index: -1;
}

.background {
  transform: translateZ(-32px) scale(4.3);
  object-fit: cover;
}

.foreground {
  transform: translateZ(-7px) scale(1.7);
  object-fit: cover;
}

.logo {
  transform: translateZ(0px) scale(0.7);
  object-fit: contain;
}

.background,
.foreground,
.logo {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: -1;
}

/* --------------------------scroll down arrows----------------------- */

.arrows {
  width: 60px;
  height: 72px;
  position: absolute;
  left: 50%;
  margin-left: -30px;
  bottom: 20px;
}

.arrows path {
  stroke: var(--weiss);
  fill: transparent;
  stroke-width: 1px;
  animation: arrow 2s infinite;
  -webkit-animation: arrow 2s infinite;
}

@keyframes arrow
{
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
  0% {opacity:0}
  40% {opacity:1}
  80% {opacity:0}
  100% {opacity:0}
}

.arrows path.a1 {
  animation-delay:-1s;
  -webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
  animation-delay:-0.5s;
  -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 {
  animation-delay:0s;
  -webkit-animation-delay:0s; /* Safari 和 Chrome */
}


/* --------------------------Floodlight----------------------- */

#parallax-wrapper::before, #parallax-wrapper:after
{
  position: absolute;
  content: "";
  top: -35%;
  height: 150%;
  width: 150%;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

#parallax-wrapper::after
{
  background-color: #00A6FF;
  z-index: -3;
  animation: backGlow2 12s ease infinite;
}

#parallax-wrapper::before
{
  background-color: #ff0072;
  z-index: -2;
  animation: backGlow1 13s ease infinite;
}

@keyframes backGlow1
{
  0%
  {
    transform: translate(10%, 10%) scale(1);
    opacity: 0.05;
  }

  25%
  {
    transform: translate(-20%, 10%) scale(0.4);
    opacity: 0.1;
  }

  50%
  {
    transform: translate(-10%, -10%) scale(1.2);
    opacity: 0.25;
  }

  75%
  {
    transform: translate(10%, -20%) scale(1);
    opacity: 0.1;
  }

  100%
  {
    transform: translate(10%, 10%) scale(1);
    opacity: 0.05;
  }
}

@keyframes backGlow2
{
  0%
  {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.25;
  }

  25%
  {
    transform: translate(15%, -10%) scale(1.2);
    opacity: 0.1;
  }

  50%
  {
    transform: translate(10%, 20%) scale(0.8);
    opacity: 0.05;
  }

  75%
  {
    transform: translate(-10%, 10%) scale(0.5);
    opacity: 0.1;
  }

  100%
  {
    transform: translate(-10%, -10%) scale(1);
    opacity: 0.25;
  }
}


/* --------------------------Intro----------------------- */

#intro-sec {
  padding: var(--sectionPadding);
  width: 100%;
  height: fit-content;
  background: var(--secGradient);
}

#intro-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 5rem;
}

#intro-text {
  width: 40vw;
}

#intro-text p {
  width: 100%;
  color: var(--weiss);
  font-family: "Inter-Light";
  font-size: var(--FStextbrowser);
  line-height: 1.3;
  text-align: justify;
}

#slideshow-side {
  width: 50vw;
  display: flex;
  align-items: center;
  justify-content: end;
}

#slideshow-container {
  height: calc(var(--slideshowWidth) * 1.08);
  width: calc(var(--slideshowWidth) * 1.92);
  transform: scale(1);
  border-radius: 10px;
  border: 3px solid #FFFFEE;
  overflow: hidden;
  box-shadow: 0 3px 6px #000000a0;
}

.member-slide-pic {
  width: 100%;
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-direction: forwards;
  position: absolute;
}

/* ----------------------Video-------------------- */

#video-sec {
  width: 100vw;
  height: fit-content;
  background-image: url("../img/Hannes1.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: top center;
  padding: var(--sectionPadding);
  z-index:-1;
}

#video-wrapper {
  box-shadow: 0 3px 6px #000000a0;
  border-radius: 10px;
  border: 4px solid #FFFFEE;
  overflow: hidden;
  width: var(--videoWidth);
  height: calc(var(--videoWidth) * 0.5625);
  margin: 2rem auto;
  background-color: #000;
}

video {
  width: inherit;
  background-color: #000;
  height: inherit;
  background-size: inherit;
}



/* -----------------Kontakt-Formular------------- */

#contact-sec {
  padding: var(--sectionPadding);
  background: var(--secGradient);
  position: relative;
  z-index: 1;
  display: flex;
}

#contact-flex {
  display: flex;
  width:100%;
}


#contact-container {
  width: 70%;
  align-items: center;
  justify-content: space-evenly;
}

#downloads-div {
  width: 30%;
  color: var(--weiss);
  font-family: "Inter-Light";
  font-size: var(--FSnavbrowser);
  margin-top: 20vw;
  line-height: 1.3;
  display: flex;
  align-items: center;
  flex-direction: column;
}

#download-link-wrapper {
  width: 50%;
}

.download-link:nth-child(2) {
  position: relative;
}

/* .download-link:nth-child(3) {
  align-self: center;
} */

.download-link:nth-child(4) {
  position: relative;
}

.download-link {
  width: auto;
  text-decoration: none;
  color: var(--weiss);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 1rem 2.2vw;
  padding: 0.5vw;
  border-radius: 10px;
  transition: all 0.1s;
  border: thin solid var(--weiss);
}

.download-link:hover {
  transform: scale(var(--scaleFactor));
  box-shadow: 0 3px 3px #00000070;
  transition: all 0.1s;
}

.download-label {
  display: block;
}

.download-pic {
  width: 3vw;
}

#contact-logo {
  position: absolute;
  z-index: -1;
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: inherit;
}

#contactshort {
  width: 50vw;
  margin: auto;
  color: var(--weiss);
  font-family: "Inter-Light";
  font-size: var(--FSnavbrowser);
  line-height: 1.7;

  /*font-weight: 600;*/
  z-index: 0;
  text-align: center;
}

#contactshort>a{
  display: block;
  color: var(--weiss);
  position: relative;
  transition: all 0.1s;
  text-decoration: none;
}

#contactshort>a:hover{
  transform: scale(var(--scaleFactor));
  text-shadow: black 1px 1px;
}

#form-body {
  width: 50vw;
  margin: auto;
  margin-top: 50px;
  color: var(--weiss);
  font-size: var(--FSnavbrowser);
  font-family: "Inter-Light";
  text-shadow: black 2px 2px;
  /*font-weight: 600;*/
  z-index: 0;
}

#form-body>fieldset>input::placeholder {
  font-family: "Inter-Light";
  font-size: var(--FSnavbrowser);
}

#fieldset-personal-data {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: none;
  border-top: 1px solid var(--weiss);
}

#fieldset-personal-data>legend {
  margin: auto;
}

#fieldset-personal-data>label {
  margin-top: 1rem;
}

#fieldset-personal-data>#send-btn {
  margin: 2rem auto;
  padding: 10px 20px;
  font-size: var(--FSnavbrowser);
  background-color: var(--dunkel-blau);
  color: var(--weiss);
  border: thin solid var(--weiss);
  border-radius: 10px;
}

#fieldset-personal-data>input,
#fieldset-personal-data>textarea {
  font-family: "Inter-Light";
  font-size: var(--FSnavbrowser);
  padding: 5px;
  color: var(--schwarz);
  background-color: var(--weiss);
  border: thin solid var(--dunkel-blau);
  border-radius: 10px;
}

#send-btn:hover {
  transform: scale(var(--scaleFactor));
  box-shadow: 0 3px 3px #00000070;
  transition: all 0.1s;
}

#send-btn:active {
  background-color: var(--blau);
  color: var(--weiss);
}

#email-success-message-pane {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: var(--weiss);
  opacity: 0.6;
  top: 0;
  z-index: 1;
  display: none;
}

#email-success-message-container {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
}

#email-success-message-wrapper {
  width: 40vw;
  height: 40vh;
  background-color: black;
  background-image: url(../img/Backlayer_HD.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem;
  box-shadow: 0 10px 13px -7px #000000,
  10px 10px 20px 10px rgba(0, 0, 0, 0.62);
  border-radius: 10px;
  border: 4px solid #FFFFEE;
  z-index: 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--weiss);
  font-family: "Inter-Light";
  font-size: var(--FStextbrowser);
  text-shadow: black 2px 2px;
  font-weight: 600;
}

#email-fail-message-pane {
  width: 100vw;
  height: 100vh;
  position: absolute;
  background-color: var(--weiss);
  opacity: 0.6;
  top: 0;
  z-index: 1;
  display: none;
}

#email-fail-message-container {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
}

#email-fail-message-wrapper {
  width: 40vw;
  height: 40vh;
  background-color: black;
  background-image: url(../img/Backlayer_HD.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 2rem;
  box-shadow: 0 10px 13px -7px #000000,
  10px 10px 20px 10px rgba(0, 0, 0, 0.62);
  border-radius: 10px;
  border: 4px solid #FFFFEE;
  z-index: 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--weiss);
  font-family: "Inter-Light";
  font-size: var(--FStextbrowser);
  text-shadow: black 2px 2px;
  /*font-weight: 600;*/
}

#message-esc-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--weiss);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
  transition: all 0.1s;
  color: var(--schwarz);
  text-shadow: none;
  transform: rotateZ(45deg);
  cursor: pointer;
}

#message-esc-btn:active {
  background-color: var(--blau);
  color: var(--weiss);
  transition: all 0.1s;
}

#message-esc-btn:hover {
  box-shadow: 0 0 32px 6px #000000;
  transition: all 0.1s;
}

#failmessage-esc-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--weiss);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 28px;
  transition: all 0.1s;
  color: var(--schwarz);
  text-shadow: none;
  transform: rotateZ(45deg);
  cursor: pointer;
}

#failmessage-esc-btn:active {
  background-color: var(--blau);
  color: var(--weiss);
  transition: all 0.1s;
}

#failmessage-esc-btn:hover {
  box-shadow: 0 0 32px 6px #000000;
  transition: all 0.1s;
}



/*------------------Keyframes-----------------*/

@keyframes slide-in-down {
  0% {
    transform: translateY(-100%);
  }

  40% {
    transform: translateY(0);
  }

}

@keyframes slide-in-left {
  0% {
    transform: translateX(100%);
  }

  40% {
    transform: translateX(0);
  }

}

@keyframes slide-in-up {
  0% {
    transform: translateY(100%);
  }

  40% {
    transform: translateY(0);
  }

}

@keyframes slide-in-right {
  0% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(0);
  }

}


/* ----------------------Mediaframes---------------------- */

@media screen and (max-width: 1024px) {
  #logo-wrapper {
    position: static;
    top: unset;
    margin-left: 40px;
  }

  .nav-icon-link img {
    height: 40px;
  }

  #dom-nav-wrapper {
    margin-right: 40px;
  }

  #dom-nav-wrapper ul li a {
    font-size: var(--FSnav1024);
  }

  #intro-sec {
    padding: 10rem 3rem;
  }

  #intro-container {
    flex-direction: column-reverse;
  }

  .vertical-menu {
    display: flex;
    flex-direction: column;
  }

  .vertical-menu li{
    width:100%;
  }


  /* CSS für das mobil geöffnete Menü */
  .mobile-menu-open #dom-nav-wrapper > ul {
    display: block;
  }

  .mobile-menu-open #dom-nav-wrapper > ul li {
    display: block;
    width: 100%;
  }



  #slideshow-side {
    margin-bottom: 3rem;
    justify-content: center;
  }

  #intro-text,
  #slideshow-side {
    width: 80vw;
  }

  #intro-text p {
    font-size: var(--FStext1024);
  }

  :root {
    --slideshowWidth: 30vw;
    --videoWidth: 80vw
  }

  #form-body {
    width: 60vw;
    font-size: var(--FSnav1024);
  }

  #video-sec {
    padding: 10rem 3rem;
  }

  #video-wrapper {
    width: 100%;
  }

  #downloads-div {
    width: 60%;
    margin: 10vw auto;
    font-size: var(--FSnav1024);
  }

  .download-pic {
    margin: 0.5rem;
    width: 6vw;
  }

  #form-body,
  #contactshort{
    font-size: var(--FSnav1024);
  }

  #contactshort{
    width: 80vw;
  }

  #contact-sec {
    padding: 10rem 3rem;
  }

  #contact-container {
    width: 100%;
  }

  #contact-flex {
    flex-direction: column;
  }

  #fieldset-personal-data>input,
  #fieldset-personal-data>textarea,
  #fieldset-personal-data>#send-btn,
  #fieldset-personal-data>label
  {
    font-size: var(--FSnav1024);
  }


  #form-body>fieldset>input::placeholder {
    font-size: var(--FSnav1024);
  }

}



@media screen and (max-width: 800px) {
  .logo {
    transform: translateZ(0px) scale(0.9);
    object-fit: contain;
  }

  .menu-icon {
    display: flex;
  }

  #intro-sec {
    padding: 6rem 1rem;
  }

  #video-sec {
    padding: 6rem 1rem;
  }

  #contact-sec {
    padding: 6rem 1rem;
  }

  #dom-nav-wrapper {
    display: block;
    padding: 7px 0;
  }

  .arrows {
    bottom: 80px;
  }

  .logo {
    bottom:60px;
  }

  #dom-nav-wrapper ul {
    position: absolute;
    right: 0;
    top: 100%;
    align-items: flex-start;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    height: fit-content;
    display: none;
  }

  #dom-nav-wrapper ul li {
    padding: 15px;
    background-color: rgba(24, 33, 59, 0.5);
  }

  #dom-nav-wrapper ul li a {
    font-size: var(--FSnav1024);
  }

  h1 {
    font-size: calc(1rem + 3vw);
    text-shadow: black 2px 2px;
    margin-bottom: 2rem;
  }

  :root {
    --slideshowWidth: 35vw;
  }

  #form-body {
    width: 80vw;
  }

  #downloads-div {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 6rem;
  }

  .download-pic {
    width: 9vw;
  }
}

@media screen and (max-width: 450px) {

  #fieldset-personal-data>input,
  #fieldset-personal-data>textarea,
  #fieldset-personal-data>#send-btn,
  #downloads-div,
  #intro-text p {
    font-size: var(--FStext450);
  }

  #contact-sec{
    padding: 6rem 0;
  }

  #contactshort, #form-body{
    width: 100vw;
  }
}
