/*
Theme Name: WP_LE-NXT
Author: Christoph Schuetze
Author URI: 
Description: Minimalistisches Starter-Theme für WordPress mit Bootstrap
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/* ------------------------
   Basis-Setup
------------------------ */
@font-face {
  font-family: "AlanSans";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/AlanSans-VariableFont_wght.ttf");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Thin.ttf");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-ThinItalic.ttf");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-ExtraLight.ttf");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-ExtraLightItalic.ttf");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Light.ttf");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-LightItalic.ttf");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Regular.ttf");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Italic.ttf");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Medium.ttf");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-MediumItalic.ttf");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-SemiBold.ttf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-SemiBoldItalic.ttf");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Bold.ttf");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-BoldItalic.ttf");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-ExtraBold.ttf");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-ExtraBoldItalic.ttf");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-Black.ttf");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/wp-content/themes/WP_LE-NXT/assets/fonts/Poppins-BlackItalic.ttf");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --text-color: #29547b;
  --bg-color: #f1edea;
  --emphasis-color: #eba399;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: var(--bg-color); /* neutraler Hintergrund */
  color: var(--text-color); /* Standard Textfarbe */
  font-size: 16px;
}

.logo .text,
.logo-main .text {
  font-family: "AlanSans";
}

/* ------------------------
   Navbar
------------------------ */

#about,
#recap,
#info,
#contact {
  scroll-margin-top: 82px;
}

.navbar-toggler {
  width: 50px;
  height: 20px;
  position: relative;
  transition: 0.5s ease-in-out;
  margin-bottom: 20px;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--text-color);
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.navbar-toggler:hover {
  .toggler-icon {
    background: var(--emphasis-color);
  }
}

.middle-bar {
  margin-top: 10px;
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
  margin-top: 10px;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 10px;
  transform: rotate(-135deg);
}

/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
  margin-top: -5px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 25px;
  transform: rotate(0deg);
}

.nav-link {
  color: var(--text-color);
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1.2px;
}

.nav-link:hover,
.nav-link:active,
.nav-link:focus {
  color: var(--emphasis-color);
}

.logo,
.logo-main {
  position: relative;
}

.le,
.dot {
  color: var(--text-color);
  display: inline-block;
}

.dot {
  position: relative;
  bottom: 3px;
}

.nxt {
  color: var(--emphasis-color);
  display: inline-block;
}

.arrow {
  position: absolute;
  top: -7%;
  left: 72%;
  width: 44%;
  z-index: -5;
}

.header-wrapper {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-brand {
  position: relative;
  top: 6px;
}

/* ------------------------
   WPML-Sprachmenü
------------------------ */

nav .dropdown-menu {
  background-color: transparent;
  border: none;
  min-width: auto;
  padding: 0;
  margin: 0 !important;
  position: relative !important;
  top: -4px !important;
  left: -7px !important;
}

nav .dropdown-menu .nav-link {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ------------------------
   Header
------------------------ */

.logo-main .text {
  font-size: 4.5rem;
  text-align: center;
  display: flex;
  justify-content: start;
}
.logo-main .subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0;
  animation: appear-subtitle 1.5s forwards;
  animation-delay: 2.5s;
  transform: translateY(50px);
  position: relative;
  top: -15px;
  text-align: center;
  left: 0px;
}

.logo-main .arrow {
  top: 11%;
  left: 72%;
  width: 43%;
}

.logo-main .le span {
  opacity: 0;
  transform: translateY(20px); /* startet nach unten */
  display: inline-block;
  animation: appear-le 1s forwards;
}

/* Verzögerung pro Buchstabe */
.logo-main .text .le span:nth-child(1) {
  animation-delay: 0s;
} /* L */
.logo-main .text .le span:nth-child(2) {
  animation-delay: 0.3s;
} /* E */
.logo-main .text .le .dot {
  animation-delay: 0.6s;
} /* : */

/* Keyframes für Fade-in + Slide-up */
@keyframes appear-le {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-main .nxt span {
  opacity: 0;
  transform: translateY(-20px); /* startet oben vom Ziel */
  display: inline-block;
  animation: appear-nxt 1s forwards;
}

.logo-main .text .nxt span:nth-child(1) {
  animation-delay: 0.9s;
} /* N */
.logo-main .text .nxt span:nth-child(2) {
  animation-delay: 1.2s;
} /* X */
.logo-main .text .nxt span:nth-child(3) {
  animation-delay: 1.5s;
} /* T */

/* Keyframes NXT */
@keyframes appear-nxt {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-main .arrow {
  opacity: 0;
  transform: translateX(100px);
  animation: appear-arrow 1s forwards;
}

/* Keyframes NXT */
@keyframes appear-arrow {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-main .arrow {
  animation-delay: 1.8s;
}

/* Keyframes Subtitle */
@keyframes appear-subtitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------
   About
------------------------ */

#about {
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
}

.about-wrapper {
  padding: 40px 10px 20px 10px;
}

.about-text {
  opacity: 0;
  transform: translateY(100px); /* startet nach unten */
}

.about-member {
  opacity: 0;
  transform: translateY(100px); /* startet nach unten */
}

.about-text.in-view {
  animation: appear-about 0.5s forwards;
}

.about-member.in-view {
  animation: appear-about 0.5s forwards;
}

/* Keyframes für Fade-in + Slide-up */
@keyframes appear-about {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.img-member {
  max-width: 75%;
  object-fit: cover;
  aspect-ratio: 3/4;
  border-radius: 30px;
}

.name_member {
  padding-top: 15px;
  font-size: 16px;
  font-weight: 500;
}

.task_member {
  padding-bottom: 15px;
  font-size: 12px;
}

/* [1] The container */
.img-hover-zoom {
  overflow: hidden; /* [1.2] Hide the overflowing of child elements */
  position: relative;
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom img {
  transition: transform 0.5s ease !important;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
  transform: scale(1.1);
}

/* Overlay */
.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto; /* wird von allen Seiten gleichmäßig gesetzt */
  width: 75%; /* Gleiche Breite wie das Bild */
  aspect-ratio: 3/4; /* Gleiche Höhe wie das Bild */
  border-radius: 30px; /* Gleiche Rundung wie das Bild */
  transition:
    transform 0.5s ease,
    background-color 0.5s ease !important;
}

.img-overlay:hover {
  background-color: rgba(235, 163, 153, 0.5);
  transform: scale(1.1);
}

.arrow-text {
  display: inline-block;
  width: 64px;
  height: 64px;
  position: relative;
  top: -1px;
  margin-right: 15px;
}

.arrow-contact {
  display: inline-block;
  width: 32px;
  height: 32px;
  position: relative;
  top: -1px;
  margin-right: 15px;
}

/* ------------------------
   Recap
------------------------ */

#recap {
  background-color: white;
  display: flex;
  justify-content: center;
}

.recap-wrapper {
  padding: 40px 10px 20px 10px;
}

.video-wrapper {
  padding: 40px 10px 20px 10px;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.gallery-wrapper {
  background-color: white;
}


/* ------------------------
   Projektinfo
------------------------ */

#info {
  background-color: white;
  display: flex;
  justify-content: center;
}

.info-wrapper {
  padding: 40px 10px 20px 10px;
}

.info-text {
  opacity: 0;
  transform: translateY(100px); /* startet nach unten */
}

.info-text.in-view {
  animation: appear-about 0.5s forwards;
}

.img-logo {
  object-fit: contain;
  width: 150px;
  aspect-ratio: 4/3;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-text {
  font-size: 14px;
}

/* ------------------------
   Contact
------------------------ */

#contact {
  background-color: white;
  display: flex;
  justify-content: center;
}

.contact-wrapper {
  padding: 40px 10px 20px 10px;
}

.contact-info {
  padding-bottom: 20px;
}

.name,
.mail {
  font-size: 20px;
}

.name {
  padding-top: 30px;
}

.mail {
  padding-bottom: 30px;
}

.contact-info {
  opacity: 0;
  transform: translateY(100px); /* startet nach unten */
}

#contact-form {
  opacity: 0;
  transform: translateY(100px); /* startet nach unten */
}

.contact-info.in-view {
  animation: appear-about 0.5s forwards;
}

#contact-form.in-view {
  animation: appear-about 0.5s forwards;
}

.form-control {
  background-color: var(--bg-color);
}

.form-control:focus,
.form-check-input:focus {
  border-color: var(--emphasis-color);
  box-shadow: 0 0 0 0.25rem rgba(235, 165, 153, 0.25);
}

.checkbox-wrapper {
  margin-left: -1rem;
}

.wpcf7-not-valid-tip {
  color: var(--emphasis-color);
}

input[type="submit"]:not(:disabled) {
  color: var(--text-color);
  background-color: var(--bg-color);
  border-color: var(--emphasis-color);
}

.form-check-input {
  --bs-form-check-bg-image: none !important; /* entfernt das SVG-Häkchen */
  background-color: var(
    --bg-color
  ) !important; /* optional eigene Hintergrundfarbe */
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 1px;
  position: relative;
  cursor: pointer;
}

.form-check-input:checked::after {
  content: "✔"; /* eigenes Häkchen */
  position: relative;
  top: -7px;
  left: 0px;
  color: var(--text-color);
  font-size: 18px;
}

/* ------------------------
   Kickoff
------------------------ */

.eventplan-wrapper {
  padding-top: 100px;
}

.eventplan-wrapper img {
  max-height: 100vh;
  border: 0.5rem solid;
}

.eventplan-wrapper a {
  text-decoration: none;
  color: inherit;
}

.eventplan-wrapper a:hover {
  text-decoration: none;
  color: inherit;
}

/* ------------------------
   Privacy
------------------------ */

.privacy-wrapper {
  padding: 100px 10px 20px 10px;
  min-height: 80vh;
}

/* ------------------------
   Footer
------------------------ */

footer .nav-link {
  font-size: 10px;
  text-decoration: underline;
}

footer .copyright,
footer .design {
  font-size: 10px;
}

.separator {
  font-size: 12px;
}

/* ------------------------
   Tablet-Styles
------------------------ */

@media (min-width: 768px) {
  /* ------------------------
   Navbar
------------------------ */
  .nav-link {
    font-size: 18px;
  }

  .navbar-nav {
    flex-grow: 1;
    justify-content: space-around;
  }

  /* ------------------------
   WPML-Sprachmenü
------------------------ */

  nav .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    top: 38px !important;
  }

  /* ------------------------
   Header
------------------------ */

  .logo-main .text {
    font-size: 7rem;
  }

  .logo-main .subtitle {
    font-size: 19px;
    top: -25px;
    left: 4px;
  }

  .logo-main .arrow {
    top: 12%;
    left: 72%;
    width: 43%;
  }

  /* ------------------------
   About
------------------------ */

  .about-wrapper {
    padding: 40px 60px 20px 60px;
    max-width: 1100px;
  }

  .name_member {
    font-size: 20px;
  }

  .task_member {
    font-size: 14px;
  }

  /* ------------------------
   Recap
------------------------ */
  .recap-wrapper {
    padding: 40px 60px 20px 60px;
    max-width: 1100px;
  }

  /* ------------------------
   Projektinfo
------------------------ */
  .info-wrapper {
    padding: 40px 60px 20px 60px;
    max-width: 1100px;
  }

  /* ------------------------
   Contact
------------------------ */

  .contact-wrapper {
    padding: 40px 60px 20px 60px;
    max-width: 1100px;
  }

  /* ------------------------
   Privacy
------------------------ */

  .privacy-wrapper {
    padding: 100px 60px 20px 60px;
    max-width: 1100px;
  }

  /* ------------------------
   Footer
------------------------ */

  footer .nav-link {
    font-size: 12px;
  }

  footer .copyright,
  footer .design {
    font-size: 12px;
  }
}

/* ------------------------
   LG-Styles
------------------------ */
@media (min-width: 992px) {
  .about-member.in-view {
    animation-delay: 0.3s;
  }
}

/* ------------------------
   Desktop-Styles
------------------------ */

@media (min-width: 1400px) {
  /* ------------------------
   Navbar
------------------------ */
  nav .container-fluid {
    max-width: 2000px;
  }

  .nav-link {
    font-size: 22px;
  }

  /* ------------------------
   Header
------------------------ */
  .logo-main .text {
    font-size: 12rem;
  }

  .logo-main .subtitle {
    font-size: 32px;
    top: -40px;
    left: 1px;
  }

  .logo-main .arrow {
    top: 9%;
    left: 72%;
    width: 44%;
  }

  /* ------------------------
   About
------------------------ */

  .about-wrapper {
    max-width: 2000px;
  }

  .name_member {
    font-size: 24px;
  }

  .task_member {
    font-size: 16px;
  }

  /* ------------------------
   Recap
------------------------ */

  .recap-wrapper {
    max-width: 2000px;
  }

  /* ------------------------
   Projektinfo
------------------------ */

  .info-wrapper {
    max-width: 2000px;
  }

  /* ------------------------
   Contact
------------------------ */

  .contact-wrapper {
    max-width: 2000px;
  }

  .privacy-wrapper {
    max-width: 2000px;
  }
}
