/* define colors as variables */

/*just tho test this*/
:root{
 --mainColor: rgb(0 0 0);
    --mainColortransparent: rgb(0 0 0 / 59%);
    --secondaryColor: rgb(238 31 36);
    --secondaryColorShadow: rgb(238 31 36 / 77%);
    --black: rgb(243 117 35);
    --white: rgb(245, 245, 245);
    --whitetransparent: rgba(245, 245, 245, 0.75);
  font-family: 'baskerville','Arial', 'sans-serif';


}
/*CSS general settings*/
body {
  margin: 0;
  box-sizing: border-box;
  background-color: var(--mainColor);

}

p{
  font-size: 25px;
}
h1{
  font-size: 50px;
  display: block;
}


div{
  display: block;
  padding:0px;
}

/* base styling for links */

a{
  color: var(--white);
  text-decoration:none ;
}
a:hover{
  color: var(--secondaryColor)
}

.downloadLink{
  color: var(--secondaryColor);
}
.downloadLink:hover{
  color: var(--black);
}
.content p .downloadLink{
  color: var(--mainColor);
}
.content  p .downloadLink:hover{
  color: var(--secondaryColor);
}
.linkspage > a{
  color: var(--secondaryColor);
}

.linkspage > a:hover{
  color: var(--mainColor);
}
  /*CSS background image color and skewed content block for header image*/

  .backgroundImage{
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 700px;
    margin-bottom: 0;
    background-position: bottom; 
    background-attachment: fixed;/* This will make the background start from the bottom */


  }

/* Cookie Banner */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 2.5vh;
    right: 2.5vh;
    width: 45%;
    background-color: var(--mainColor);
    padding: 15px;
    text-align: center;
    box-shadow: 0px 0px 15px var(--secondaryColorShadow);
    border-radius: 10px;
    color: var(--white);
}

#cookie-banner > p{
  font-size: 20px;
}
#accept-cookies {
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

#accept-cookies:hover {
  background-color: var(--secondaryColor);
}
/* Main content styling - base settings for boxes */

.Maincontent {
  background-color: var(--white);
  padding: 3% 2% 5%;
  min-height: 35vh;
  margin-top: -40px;
  transform: skew(0, +2deg);
  align-items: center;
  overflow: auto;
  justify-content: center;
} 

.questionright{
  position: absolute;
  top: 11%;
  right: 7%;
}

.questionright div p{
  color: var(--mainColor);
}

.Maincontent > * {
  transform: skew(0, -2deg);
}

.Maincontent > object {
    align-items: center;
    min-height: 100vh;
    width: 80vw;
    display: block;
    margin-left: auto;
    margin-right: auto;

  }
  .Maincontent > img {
    display: block;
    margin: auto;
    align-items: center;
  }
.Maincontent > p{
  padding-left: 15vw;
  padding-right: 15vw;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.impressum > p {
margin-left: 0;
margin-right: 0;
padding-left: 0;
padding-right: 0;
max-width: none;
}

.Image{
    max-width: 65vw;
  }

.shadow {
    box-shadow: 0px 0px 10px 2px var(--secondaryColorShadow); /* Shadow properties */
}

.logo{
    max-width: 450px;
    padding-top: 20px;
}
  .PDFMobileDownload{
    display: none; /* hides download for non-mobile*/
    
  }
  

.textleft{
  text-align: left;
}

.textcenter{
  text-align: center;
}



/* footer styling */

footer{
  margin: 2.5vh;
  color: var(--white);
  font-size: 25px;
  align-content: space-around;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

footer img{
  height: 40px;
}

.foot{
  margin-top: unset;
  margin-bottom: unset;
}


/*flipboxes*/
.flip-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

}
.flip-container > img {
 max-width: 400px;
 padding-right: 20px;
}


.flip-box {
  background-color: transparent;
  width: 300px;
  height: 350px;
  min-width: 300px;
  min-height: 350px;
  perspective: 1000px;
  margin-right: 15px;
  margin-bottom: 15px; /* Adjust spacing between flip boxes */
  border-radius: 15px; /* Rounded edges */

}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}



.flip-box-front,
.flip-box-back,
.flip-box-back-heim {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px; /* Rounded edges */

  
}

.flip-box-front {
  background-color: var(--mainColor);
  
}


.flip-box-front-heim {
  background-color: #000000;
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */

}

.flip-box-heim {
  background-color: transparent;
  width:  400px;
  height: 400px;
  min-width: 400px;
  min-height: 400px;
  perspective: 1000px;
  margin-right: 15px;
  margin-bottom: 15px; /* Adjust spacing between flip boxes */
  border-radius: 15px; /* Rounded edges */

}

.flip-box-heim:hover .flip-box-inner{
  transform: rotateY(180deg);
}
.flip-box-back {
  background-color: var(--secondaryColor);
  color: white;
  transform: rotateY(180deg);
  display:flex;
  flex-direction: column;
  justify-content: center;
}
.flip-box-back-heim {
  background-color: var(--secondaryColor);
  color: white;
  transform: rotateY(180deg);
  display:flex;
  flex-direction: column;
  justify-content: center;
}


.flip-box-back > p{
font-size: 20px;
}


.flip-box-back-heim > p{
  font-size: 20px;
  padding: 4px 15px 4px 15px;
  margin: 0;

} 

.flip-box-front> img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  object-position: top; /* Optional: maintains aspect ratio and covers entire container */
  border-radius: 10px; /* Rounded edges */

}

.flip-box-front-heim> img {
  width: 50%;
  height: auto;
  object-position: center; /* Optional: maintains aspect ratio and covers entire container */
  border-radius: 10px; /* Rounded edges */

}


.faqbox{
  border: 2px solid rgba(0, 0, 0, 0.881);
  width: 400px;
  height:450px;
  padding: 15px;
  background-color: var(--mainColor);
  color: var(--white);
  margin-right: 15px;
  margin-left: 15px;
  margin-bottom: 15px; /* Adjust spacing between flip boxes */
  border-radius: 15px;
  box-shadow: 10px 10px var(--secondaryColor) ;
  display: flex;
  justify-items: center;
  flex-direction: column;
}


.faqcontent h1 {
  font-size: 23px;
  min-height: 53px;
}

.faqcontent p {
  font-size: 19px;
}

.wrapper p a,
.faqcontent a{
  color: var(--secondaryColor);
}
.wrapper p a:hover{
  color: var(--black);
}
.faqcontent a:hover{
  color: var(--white);
}

.faqcontent a:hover{
  color: var(--white);
}

.image img{
  max-height: 185px;

}

.content{
  margin-bottom: auto;
}

.image{
  margin-top: auto;
}
/*collapsible on programm page*/
/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: var(--mainColor);
  color: var(--secondaryColor);
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 15px;
  margin-top: 7px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active{
  background-color: var(--mainColor);
}

.collapsible:hover {
  background-color: rgba(243, 118, 35, 0.776);
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  background-color: rgba(67, 67, 67, 0.6);
}

.content > p{
  text-align: left;
}


/*slider images*/
.slider {
  width: 100%;
  height: 510px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.slider img {
  height: 500px; /* Adjust this value as needed */
  position: absolute;
  top: 0;
  left: 50%; /* Set left to 50% */
  transform: translateX(-50%); /* Move the image back by half its width */
}

.slider img:first-child {
  z-index: 1;
}

.slider img:nth-child(2) {
  z-index: 0;
}
.navigation-button {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.activeD{

  background-color: #717171;
}

.dot:hover {
  background-color: #717171;
}
/*CSS for NAvigation Header at the top + responsive  hamburger for small screens*/
  .navigation-header {
    width: 100%;
    display: flex;
    justify-content: right;
    align-items: center;
    position:fixed;
    z-index: 5;
  }

/* navigation bar*/

div a img {
height: 100%;
}


nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:rgba(0, 0, 0, 0.734);
    height:73px;

  }

.logo-container{
    align-items: right;
    vertical-align: middle;
    height: 100%;

}



.logo-container > a {
    color: rgb(23, 23, 234);
    text-decoration: none;
    font-weight: 700;
    font-size: 35px;
    text-align: left;
  }

  .navigation-items {
    display: flex;
    gap: 30px;
    font-size: 20px;
    font-weight: bold;
    padding-right: 10px;
    align-items: center;
    align-content: center;
  }


.navigation-items > a {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    font-family: kalam;
    transition: .4s ease-in-out;
  }
/* .navigation-items > a > button{
  margin-bottom:auto;
  margin-top: auto;
} */
  .CTA{
    background-color: var(--secondaryColor);
    color: var(--white);
    padding: 10px 20px;
    height: 100%;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-family: kalam;
    font-size: 20px;
  }
.center{
  display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
  
.CTA:hover{
    background-color: var(--black);
}


.navigation-items > a:hover,
.navigation-items > a:active {
    color: var(--secondaryColor);
  }



.hamburger {
    display: none;
    font-size: 35px;
    font-weight: 800;
    color: var(--secondaryColor);
    align-items: center;
  }

.flexcenter{
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}


.circle {
  width: 250px; /* Adjust the size of the circle as needed */
  height: 250px; /* Adjust the size of the circle as needed */
  border-radius: 50%; /* Makes the element round */
  overflow: hidden; /* Hides overflow content (image) outside of the circle */
  background-color: var(--mainColor); /* Choose the color of the circle */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 10px 10px var(--secondaryColor) ;
}

.circlered {
  width: 170px; /* Adjust the size of the circle as needed */
  height: 170px; /* Adjust the size of the circle as needed */
  border-radius: 50%; /* Makes the element round */
  overflow: hidden; /* Hides overflow content (image) outside of the circle */
  background-color: var(--secondaryColor); /* Choose the color of the circle */
  display: flex;
  justify-content: center;
  align-items: center;
}

.wrapper{

    display: grid;
    grid-template-columns: 150px 285px 285px 285px 285px;
    /* width: 1500px; */
    height: 800px;
    grid-template-rows: repeat(3, 1fr);
    row-gap: 6px;
    /* column-gap: 100px; */
    grid-template-areas:
      "a a c d m"
      "e f f h n"
      "i j k k o";

    font-family: kalam;
}

.wrapper > p{
  font-size: 21px;
}

.a{
  grid-area: a;
  align-self: center;
  justify-self: center;
}
.b{
  grid-area: b;
  align-self: center;
  justify-self: center;
}

.c{
  grid-area: c;
  align-self: center;
  justify-self: center;
}
.g{
  grid-area: g;
  align-self: center;
  justify-self: center;
}
.l{
  grid-area: l;
  align-self: center;
  justify-self: center;
}
.f{
  grid-area: f;
  align-self: center;
  justify-self: center;}
.h{
  grid-area: h;
  align-self: center;
  justify-self: center;
}

.k{
  grid-area: k;
  align-self: center;
  justify-self: center;
}

.o{
  grid-area: o;
  align-self: center;
  justify-self: center;
}

.i{
  grid-area: i;
  align-self: center;
  justify-self: center;
  
}
.i > img{
  width: 230px;
}
.j{
  grid-area: j;
  align-self: baseline;
  justify-self: baseline;
  
}
.j > img{
  width: 150px;
}

.ef{  
  grid-area: e / e / f  ;
  align-self: end;
  justify-self: end;

}
.ef>img{
width: 150px;
}

.vertical-line {
  width: 85px;
  height: 2px; /* Adjust height as needed */
  background-color: rgba(64, 60, 60, 0.597); /* Adjust color as needed */
  /* position: absolute; */
  /* left: -50%; Adjust distance from circle as needed */
  /* bottom: 50%; */
  /* transform: translateX(-50%); */
  /* box-shadow: 2px 2px 2px rgba(64, 60, 60, 0.597); */
  justify-self: right;
}
  
  .circle img {
    max-width: 60%; /* Ensures the image doesn't exceed the circle's boundaries */
    max-height: 60%; /* Ensures the image doesn't exceed the circle's boundaries */
  }
  .circlered img {
    height: 110px;
  }
.questionpage{
  margin-bottom: 45px;
}

.flip-box-back>p>a:hover{
  color: var(--mainColor);
}
  @media screen and (max-width:1425px) {
    .wrapper{
      display: grid;
      grid-template-columns: 1fr 1fr 2fr;
      max-width: 650px;
      height: unset;
      column-gap: 8px;
      grid-template-rows: repeat(3, 1fr);
      row-gap: 6px;
      grid-template-areas:
        "a a c"
        "f f h"
        "k k o";
    }
   
    .wrapper > p {
      font-size: 22px;
    
    }
    .vertical-line {
      display: none;
    }
    .i > img,
    .j > img,
    .ef > img {
      display: none;
    }
    }
@media screen and (max-width:1150px) {
  p{
    font-size: 20px;
  }
  h1{
    font-size: 30px;
  }
    .hamburger {
        display: flex;
        cursor: pointer;
      }
      .hamburger #closeHam {
        display: none;
      }
      .navigation-items {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        right: 0;
        top: 73px;
        background-color: rgba(0, 0, 0, 0.734);
        width: 100%;
        height: calc(100vh);
        padding-top: 58px;
       
      }
      .navigation-items > a{
        color: var(--white);
        font-weight: bold;
      }
      .navigation-items > a:active {
        color: var(--secondaryColor)
      }
      .Maincontent > object {
        display: none;
      }
      .Maincontent > a{
        color: var(--black);
      }
      .Maincontent > a:hover{
        color: var(--secondaryColor);
      }
      .flip-box-heim {
        background-color: transparent;
        width:  375px;
        height: 375px;
        min-width: 375px;
        min-height: 375px;
        perspective: 1000px;
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 15px; /* Adjust spacing between flip boxes */
        border-radius: 15px; /* Rounded edges */
        
      }
  
    
      .PDFMobileDownload{
        align-items: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        padding-top: 10%;
      }


      #cookie-banner {
        width: 70%;
      }
.impressum > p {
        font-size: 15px;
        }
 .Image{
        max-width: 80vw;
        }

footer{
      font-size: 20px;
        }
.logo{
  max-width: 75vw;
  padding-top: 10px;
}

.questionright{
  bottom: 0;
  top: unset;
  position: absolute;
  right: 15px;

}
.circlered{
  width: 90px; /* Adjust the size of the circle as needed */
  height: 90px; /* Adjust the size of the circle as needed */
  border-radius: 50%; /* Makes the element round */
  overflow: hidden; /* Hides overflow content (image) outside of the circle */
  background-color: var(--secondaryColor); /* Choose the color of the circle */
  display: flex;
  justify-content: center;
  align-items: center;
}
.circlered img {
  height: 65px;
}
.questionpage{
  margin-bottom:10px;
}

.center{
  height: 50px;
}

footer img{
  height: 30px;
}
}

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

  .wrapper > p {
    font-size: 14px;
  
  }
  .slider {
    width: 85%;
    height: 250px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
  
  .slider img {
    height: 245px; /* Adjust this value as needed */
    position: absolute;
    top: 0;
    left: 50%; /* Set left to 50% */
    transform: translateX(-50%); /* Move the image back by half its width */
  }
  .circle {
    width: 120px; /* Adjust the size of the circle as needed */
    height: 120px; /* Adjust the size of the circle as needed */
    border-radius: 50%; /* Makes the element round */
    overflow: hidden; /* Hides overflow content (image) outside of the circle */
    background-color: var(--mainColor); /* Choose the color of the circle */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .image img{
    max-height: 150px;
  
  }
}   
@media (hover: none) {
  .backgroundImage {
      background-attachment: initial;
  }
}