/*
Theme Name: NinjaCoaching 2024 Theme
Description: Custom-Theme
Author: Florian Wirt
Author URI: pixelevate.de
Version: 1.0
*/

:root {
  --primary-color: #4535C1;
  --secondary-color: #8DEA1B;
}

/* CSS for adding a full-width and full-height background video to the header */
header {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust the height as needed */
  overflow: hidden;
}

.headercontent {
  position: absolute;
  z-index: 4;
  width: 100%;
  text-align: center;
  color: white;
}


.headline {
  position: absolute;
  z-index: 100;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.headline h1 {
  color: #fff;
  margin-bottom: 10px;
  margin: 0 auto;
  font-family: "Kanit";
  color: white;
  font-size: 3.25rem;
  line-height: 3.25rem;
  font-weight: 300;
  width: 80%;
}

.headline h2 {
  color: #fff;
  font-weight: normal;
  margin-top: 5px;
  font-size: 1.7rem;
}

.headline p {
  color: #fff;
  font-weight: normal;
  margin-top: 1rem;
  font-size: 1.5rem;
  width: 60%;
}

.headlinebig {
  color: var(--secondary-color);
  font-weight: 600;
}

.herofooter {
  position: absolute;
  z-index: 3;
  bottom: 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 100%;
}

.herofooter p {
  color: #fff;
  font-size: 1.25rem;
  position: relative;
  padding: 0 5px;
  top: -10px;
}

.herofooter img {
  height: 75px;
}

.cta {
  color: #fff;
  border: 2px solid var(--primary-color);
  text-transform: uppercase;
  background-color: var(--primary-color);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 6px 26px;
  outline: none;
  box-shadow: none;
  margin-top: 25px;
  font-family: "Kanit";
}

.cta:hover {
  border: 2px solid var(--secondary-color);
  background-color: transparent;
  color: var(--secondary-color);
}

header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: 2; 
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Schwarzer Hintergrund mit 0.5 Opazität */
  z-index: 3; /* Stellen Sie sicher, dass das Overlay über dem Video liegt */
  object-fit: cover; /* Stellt sicher, dass das Video den gesamten Bereich abdeckt */
    pointer-events: none; /* Verhindert Interaktionen */
}


html, body {
    font-family: "Work Sans";
    text-align: center;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #fff;
}

nav.scrolled {
  position: fixed;
  background-color: var(--primary-color);
  height: 75px;
  transition: all .4s ease-in-out;
}

nav img.scrolled {
  height: 60px;
  transition: all .4s ease-in-out;
}

.logolink {
  z-index: 1;
}

.burger.scrolled {
  top: 23px;
}

nav ul li {
  transition: all .4s ease-in-out;
}

nav li ul {
  display: none;
  position: absolute;
  padding-top: 40px;
  right: 0;
  background-color: #000; /* Hintergrundfarbe der Unterpunkte */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Schatten für die Unterpunkte */
}

nav li ul li{
  width: 250px;
  margin: 0 auto;
  position: relative;
  height: 40px;
}

nav li:hover ul {
  display: flex;
  flex-direction: column;
}

nav li ul.active {
  display: flex;
  flex-direction: column;
}

.burger {  
  cursor: pointer;
  padding: 12px 0;
  position: absolute;
  right: 50px;
  top: 30px;
  display: none;
  
  span {
    position: relative;
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all .2s ease-in-out;
    
    &:before, &:after {
      position: absolute;
      background: #fff;
      content: '';
      width: 25px;
      height: 2px;
      transition: all .2s ease-in-out;
      display: block;
    }
    
    &:before {
      top: -8px;
    }
    
    &:after {
      top: 8px;
    }
  }
}

.burger.active {
  span {
    background: transparent;  
    
    &:before {
      transform: rotate(45deg) translate(5px, 6px);
    }
    
    &:after {
      transform: rotate(-45deg) translate(5px, -6px);
    }
  }
} 

.container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

#intro {
  max-width: 1400px;
}

#intro {
  margin-top: 1.5rem;
  
  font-size: 1.25rem;
}

#intro ul {
  list-style-type: none; 
  padding: 0; 
  padding-top: 2rem;
  margin: 0; 
}

#intro ul li {
  position: relative; 
  margin-left: 40px;
  margin-bottom: 10px; 
}

#intro ul li::before {
  content: ''; 
  position: absolute; 
  background-image: url('/wp-content/uploads/2024/08/xicon.png');
  background-size: cover; 
  height: 22px;
  width: 22px;
  margin-left: -30px;
}

#intro, #skool, #startchallenge, #skoolcontent, #coaching, #challengesteps {
  margin-bottom: 8rem;
}

#skool, #startchallenge, #skoolcontent, #coaching, #challengesteps {
  max-width: 1600px;
  display: flex;
 /*  flex-wrap: wrap; */
  justify-content: space-around;
  align-items: center;
}

.aboutextended {
  display: none;
  opacity: 0; 
  transition: opacity 0.5s ease;
}

.aboutextended.show {
  display: block; 
  opacity: 1;
}

.rotate {
transition: transform 0.5s ease;
transform: rotate(180deg);
}

.cardiconcon {
  height: 120px;
  width: 120px;
  background: var(--primary-color);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

#skoolcontent .card {
  width: 30%;
  margin-bottom: 2rem;
  padding: 1rem;
}

#skoolcontent h3 {
  font-size: 1.5rem;
}

#skoolcontent p, #challengesteps p {
  font-size: 1.25rem;
}

#skoolcontent .card img {
  height: 75px;
  width: auto;
  max-width: 100%;
}

#skool .rightpart, #startchallenge .rightpart, #coaching .rightpart {
 font-size: 1.25rem;
text-align: left;
}

.container h1 {
  color: var(--secondary-color);
}

#skool .rightpart, #coaching .rightpart {
  width: 60%;
  padding: 0 1.25rem;
}

.leftpart img {
  max-height: 600px;
  width: auto;
  max-width: 100%;
}

#startchallenge img {
  max-height: 470px;
  width: auto;
  max-width: 100%;
  border-radius: 20px;
}

#startchallenge ul {
  list-style-type: none; 
  padding: 0; 
  padding-top: 2rem;
  margin: 0; 
}

#startchallenge ul li {
  position: relative; 
  margin-left: 40px;
  margin-bottom: 10px; 
}

#startchallenge ul li::before {
  content: ''; 
  position: absolute; 
  background-image: url('/wp-content/uploads/2024/08/checkicon.png');
  background-size: cover; 
  height: 22px;
  width: 22px;
  margin-left: -30px;
}

h1 {
  color: #313131;
  font-size: 3rem;
  margin-bottom: 60px;
}

h1, h2, h3, h4, h5, h6, p {
  margin-bottom: 0;
}

nav img {
  height: 75px;
}

nav {
  color: #fff;
  text-align: center;
  width: 100%;
  display: flex;
  z-index: 101;
  transition: all .4s ease-in-out;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  position: absolute;
}

.menulist {
  transition: all .4s ease-in-out;
}


nav ul {
    display: flex;
    list-style: none;
}

nav li {
  position: relative;
  padding-right: 50px;

}

nav a:not(.logolink) {
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    transition: all .2s ease-in-out;
}

nav a:hover {
  color: var(--secondary-color);
}

i:hover, .footertext a:hover {
  color: var(--primary-color);
}

.card-back .modul {
  color: lightgray;
}

i {
  font-size: 1.5rem;
  transition: all .2s ease-in;
  cursor: pointer;
}

.steps {
  width: 30%;
}

.stepcon {
  height: 100px;
  width: 100px;
  background: var(--primary-color);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 600;
  border-radius: 50%;
  font-family: "Kanit";
}

#coaching p {
  font-size: 1.25rem;
}

#footerend {
  background: var(--secondary-color);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footertext {
  color: white; /* Textfarbe auf Weiß ändern (oder eine Farbe Ihrer Wahl) */
  text-align: center; /* Text horizontal zentrieren, falls erforderlich */
  font-size: 1rem;
}

.footertext p {
  font-size: 1rem;
  margin: 5px 0px;
}

.footertext a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
}

#footerstart td {
  color: #fff;
}

/* Custom Page */

.navbg {
  background: var(--primary-color);
  height: 100px;
  width: 100%;
  position: absolute;
}

#customcon {
  text-align: left;
  max-width: 1400px;
  margin: 8rem 0;
}

#customcon a {
  color: #000;
}


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

  .cardcon {
    width: 35%; /* Eine Card pro Reihe, die volle Breite nutzen */
  }

}


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

.menulist {
  top: 0;
}



  .burger {
    display: block;
    transition: all .2s ease-in-out;
  }

  .hero-section {
    background: url('/wp-content/uploads/2024/01/Myobg-Small-min.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .menulist.active {
      background: var(--primary-color);
      height: 100%;
      position: fixed;
      right: 0;
      transition: all .2s ease-in-out;
  }

  nav {
    justify-content: space-between;
  }

  nav img {
    padding-left: 20px;
  }

  nav .firstul.active {
        display: block;
  }

  nav ul {
    display: none;
    text-align: right;
    top: 100px;
    position: relative;
  }

  nav li ul {
    display: none !important;
    position: relative;
    right: -20px;
    top: 0;
    z-index: 11;
    padding-top: 20px;
  }

  nav li ul li{
    height: auto;
    width: auto;
  }
  
  nav li:hover ul {
    display: flex;
    flex-direction: column;
  }

  nav ul li {
    padding-bottom: 20px;
  }

  nav a:not(.logolink) {
    font-size: 1.5rem;
  }

  .herofooter img {
    height: 50px;
  }

  .herofooter p {
    font-size: 1rem;
  }

  .headline h1 {
    font-size: 2.75rem;
    line-height: 2.75rem;
    width: 98%;
  }

  .headline p {
    font-size: 1.25rem;
    width: 90%;
  }

  #intro {
    text-align: left;
  }

  #skool {
    flex-wrap: wrap-reverse;
  }

  #skoolcontent .card, .steps {
    width: 45%;
  }

  .step1, .step2 {
    margin-bottom: 4rem;
  }

  #skool .rightpart, #startchallenge .rightpart, #coaching .rightpart {
    width: 100%;
    margin-bottom: 2rem;
  }

  #startchallenge .cta, #coaching .cta {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  #startchallenge, #coaching {
    flex-wrap: wrap;
  }

  #intro, #skool, #startchallenge, #skoolcontent, #coaching, #challengesteps {
    padding: 0 5%;
    margin-bottom: 5rem;
  }

  .fa-regular.fa-calendar-check {
    position: relative;
    top: 4px;
    padding-right: 5px;
  }

}

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

  .container h1 {
    font-size: 2.5rem;
  }

  #skoolcontent .card, .steps {
    width: 100%;
  }

  #skoolcontent .card {
    padding: 1rem 0;
  }

  #skool .rightpart, #coaching .rightpart {
    padding: 0 0;
  }

}

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

  .container {
    padding: 0 2%;
  }

  nav img.scrolled {
    height: 50px;
    top: 0;
  }

  nav img {
    height: 50px;
    padding-left: 10px;
    position: relative;
    top: -10px;
  }

  nav li
  {
    padding-right: 30px;
  }

  .menulist.active {
      width: 100%;
  }

  .burger {
    top: 23px;
    right: 30px;
  }


  .headline h1 {
    font-size: 2.25rem;
    line-height: 2.25rem;
  }

  .headline p {
    font-size: 1.25rem;
    width: 90%;
  }

  #intro, #skool, #startchallenge, #skoolcontent, #coaching, #challengesteps {
    padding: 0 0;
  }
}


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

  .container h1 {
    font-size: 2.25rem;
  }

  .cta
  {
      font-size: 1.25rem;
      padding: 10px 20px;
  }

  nav a:not(.logolink) {
    font-size: 1.25rem;
  }

  .fa-regular.fa-calendar-check {
    top: 2px;
  }

}

@media screen and (max-height: 750px) {

.subheadline {
  display: none;
}

}