/*  _____________________________________
    _____________GENERAL_________________   */

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

body {
   font-family: "Simonetta", cursive;
   background-color: beige;
   color: #333;
}

#myVideo {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   opacity: 20%;
   object-fit: cover; /* Ensure video covers entire body */
   z-index: -1; /* Place video behind other content */
}


/*  _____________________________________
    ______________INDEX__________________   */

header {
   display: flex;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: rgb(59, 143, 45);
   padding: 0.2em 2em;
   justify-content: space-between;
   align-items: center;
   z-index: 98;
}

.logo {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 1em;
   min-width: 20%;
   max-width: 40%;
}
.logo h1 {
   display: flex;
   color: white;
   text-decoration: none;
   text-wrap: nowrap;
   transform: translateY(0.15em);
   font-family: "Simonetta", cursive;
   font-size: 2.3em;
}
.logo img {
   max-width: 4em;
}

.main-menu {
   list-style: none;
   font-family: "Simonetta", cursive;
   transform: translateY(0.5em);
   font-size: 0.7em;
   overflow: hidden;
}
.main-menu li {
   display: inline-block;
   margin-right: 20px;
}
.main-menu a {
   color: white;
   text-decoration: none;
   font-size: 1.5em;
}
.menu-button {
   display: none;
}

.dynamic-content {
   display: flex;
   flex-direction: column;
   justify-content: space-evenly;
}

#content {
   display: flex;
   flex-direction: column;
   justify-content: space-evenly;
}

/* _____________________________________
   _______________HOME__________________   */

.hero {
   display: flex;
   align-items: center;
   justify-content: space-around;
   margin: 14dvh 5dvw 4dvh 5dvw;
   gap: 35dvw;
}

.name {
   margin: 0 0 0 2em;
   width: 80%;
   height: 15dvh;
   display: flex;
   flex: 1;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   font-family: "Simonetta", cursive;
}
.name h3 {
   color: #1e6b0c;
}
.name h2 {
   font-size: 2.5em;
   text-align: center;
   padding-top: 2dvh;
   color: rgb(59, 143, 45);
}

.description {
   margin: 0;
   flex: 1;
   display: flex;
   /* flex-direction: column; */
   align-items: center;
   gap: 2.5dvh;
}
.description h3{
   text-align: center;
   margin-inline: 3dvw;
   padding-top: 3dvh;
   color: #1e6b0c;
   /* transform: translateX(-2.5em); */
}

.whats {
   background-color: rgb(59, 143, 45);
}

/* .banner {
   margin: -2dvh 0 -3dvh 0;
   padding: 0;
   width: 100vw;
   height: 53dvh;
   background: url('./assets/garden2.jpg') no-repeat center bottom fixed;
   box-shadow: inset 0 5px 5px -2px #205314, inset 0 -5px 5px -2px #1c3317e3;
} */

#garden {
   /* margin: -2dvh 0 -3dvh 0; */
   object-fit: cover;
   height: 47dvh;
   width: 100vw;
   box-shadow: inset 0 5px 5px -2px #205314, inset 0 -5px 5px -2px #1c3317e3;
}

.container {
   display: flex;
   flex-direction: column;
   align-items: center;
}

details > summary {
   list-style-type: none;
   border-radius: 15px;
   color: darkslategrey;
   margin: -1dvh 0 -2dvh 0;
   display: flex;
   align-items: center;
   justify-content: end;
   font-size: 1.2em;
}

/* Hide the default marker for WebKit browsers (like Safari) */
details > summary::-webkit-details-marker {
   display: none;
}

/* Set custom icons using Unicode characters */
details > summary::after {
   content: '\2BAF'; 
   color: #1e6b0c;
   font-size: 1.5em; 
   margin-left: 0.5em; /* Add spacing between icon and summary text */
}
details[open] > summary::after {
   content: '\2BAD'; /* Black Curved Rightwards and Downwards Arrow (U+2BAF) when details are open */
}
details[open] > p {
   display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   margin-left: 9%;
   width: 90%;
   height: min-content;
   padding: 1em;
   vertical-align: middle;
   color: darkslategrey;
   text-align: end;
}
details[open] p {
   text-wrap: pretty;
   text-align: end;
}

/* Reset all paragraph alignment within the disclaimer */
.disclaimer p {
   text-align: end;
}

/* Specific rule for the second disclaimer section (Datenschutzerklärung) */
details.disclaimer:nth-of-type(2) {
   text-align: end;
}

/* Apply additional styling to details and summary if necessary */
details > summary {
   list-style-type: none;
   border-radius: 15px;
   color: darkslategrey;
   margin: -1dvh 0 -2dvh 0;
   display: flex;
   align-items: center;
   justify-content: end;
   font-size: 1.2em;
}

/* Hide the default marker for WebKit browsers (like Safari) */
details > summary::-webkit-details-marker {
   display: none;
}

/* Set custom icons using Unicode characters */
details > summary::after {
   content: '\2BAF'; 
   color: #1e6b0c;
   font-size: 1.5em; 
   margin-left: 0.5em; /* Add spacing between icon and summary text */
}
details[open] > summary::after {
   content: '\2BAD'; /* Black Curved Rightwards and Downwards Arrow (U+2BAF) when details are open */
}


.disclaimer {
   font-style: italic;
   margin: 2em;
}
.disclaimer[open] {
   font-size: 0.85em;
}




/* _____________________________________
   ____________UBER MICH________________   */

#myTitle {
   width: 100%;
   text-align: center;
   margin-bottom: 5dvh;
   margin-top: 15dvh;
}

.myContainer {
   display: grid;
   grid-template-columns: 40% 60%;
   width: 95dvw;
   align-items: center;
   justify-items: center;
   margin-inline: 2dvw;
}

#myimage {
   width: 20dvw;
   margin: 1em;
   border-radius: 1em;
   box-shadow: 2px 2px 10px -3px #333;
}

.mytext {
   display: flex;
   flex-flow: row wrap;
}

.col1 {
   width: 45%;
}
.col2 {
   width: 55%;
   transform: translateX(2dvw);
}

#col1 {
   text-align: start;
   margin: 0;
}
#col2 {
   text-align: end;
   margin: 0;
}

#mytext {
   margin: 0;
   width: 100%;
   text-align: justify;
}

#mytext2 {
   margin: 0;
   width: 100%;
   text-align: center;
}

/* _____________________________________
   ____________THERAPIEN________________   */

.card-body {
   display: none;
}
.card {
   width: 60vw;
   height: 20vh;
   margin: 1em;
   border-radius: 1em;
   display:flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   box-shadow: 2px 2px 5px #333;
   transition: all 0.5s ease;
   justify-content: space-around;
}
.card-header {
   text-align: center;
}
.card:hover .card-header{
   text-transform: uppercase;
   text-align: center;
   margin: 1.5em;
}
.card:hover .image {
   display: flex;
   width: 15%;
   justify-content: end;
}
.card:hover .card-body{
   display: flex;
   height: auto;
   margin: 1em;
   width: 90vw;
   overflow: hidden;
   align-items: center;
}
.card:hover p{
   color: darkslategrey;
   width: 90%;
   text-wrap: pretty;
   text-align: justify;
   align-items: center;
   margin: 0;
}
.card:hover{
   width: 90vw;
   height: min-content;
   flex-wrap: wrap;
   transition: all 0.3s ease;
   background-color: rgba(255,255,255,0.6);
   color: darkslategrey;
   border-radius: 1em;
}

/* .card:focus .card-header{
   text-transform: uppercase;
   text-align: center;
   margin: 1.5em;
}
.card:focus .image {
   display: flex;
   width: 15%;
   justify-content: end;
}
.card:focus .card-body{
   display: flex;
   height: auto;
   margin: 1em;
   width: 90vw;
   overflow: hidden;
   align-items: center;
}
.card:focus p{
   color: darkslategrey;
   width: 90%;
   text-wrap: pretty;
   text-align: justify;
   align-items: center;
   margin: 0;
}
.card:focus{
   width: 90vw;
   height: min-content;
   flex-wrap: wrap;
   transition: all 0.3s ease;
   background-color: rgba(255,255,255,0.6);
   color: darkslategrey;
   border-radius: 1em;
}

   .card:focus .kursimage {
   display: flex;
   width: 20%;
   justify-content: end;
} */


/* _____________________________________
   ______________KURSE__________________   */

#kurstext {
   text-align: center;
   width: 80dvw;
   margin-inline: 10dvw;
}

.card:hover .kursimage {
   display: flex;
   width: 20%;
   justify-content: end;
}

.calendar {
   width: 60vw;
   aspect-ratio: 4/2;
   transform: translateX(32.5%);
   box-shadow: 1px 1px 5px #333;
}
   

/* _____________________________________
   _____________KONTAKT_________________   */

.bigContainer {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   justify-items: center;
   align-items: center;
   margin-top: 12dvh;
}

.contact  {
   width: 45vw;
   height: 38vh;
   margin: 1em;
   padding: 0em;
   display: flex;
   flex-direction: column;
   justify-content: space-around;
   align-items: center;
   border-radius: 1em;
   box-shadow: 2px 2px 10px -3px #333;
}

.contact-map  {
   width: 45vw;
   height: 38vh;
   margin: 1em;
   padding: 0em;
   display: grid;
   grid-template-columns: 40% 60%;
   align-items: center;
   border-radius: 1em;
   box-shadow: 2px 2px 10px -3px #333;
}
.contact-map p {
   width: 95%;
   text-align: center;
}

.contact p {
   margin: 0 0.5em 0 0;
   /* width: 80%; */
   text-align: center;
   /* height: 20%; */
}

#hausimage {
   max-height: 90%;
   max-width: 90%;
   margin: 0.5em;
}

#map {
   height: 90%;
   width: 95%;
   border: 0;
}

.socialHolder {
   display: flex;
   gap: 3dvw;
   height: 50%;
   align-items: center;
}

.social{
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   height: 5em;
   margin-bottom: 3em;
}

.imagelink{
   height: 3em;
   transform: translateX(-5px);
}

#yt{
   width: 4em;
}

button {
   background-color: rgba(51, 157, 12, 0.8);
   color: beige;
   width: 200px;
   height: 50px;
   border-radius: 1em;
   font-family: "Simonetta", cursive;
   border: none;
   box-shadow: 1px 1px 5px #333;
   margin-bottom: 2em;
}
button :hover {
   border-radius: 1em;
}


/* _____________________________________
   _______________BLOG__________________   */

#blog {
   margin: 2em 0 0 0;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin-top: 10dvh;
   width: 100dvw;
   height: 90dvh;
   background-blend-mode: overlay;
}








/* _____________________________________
   ___________RESPONSIVENESS____________
   _____________________________________   */


@media (max-aspect-ratio: 1/1) {

   .header {
      position: sticky top;
   }

   .logo {
      margin-left: 7dvw;
   }

   .main-menu {
      display: none;
   }
   .menu-button {
      float: right;
      display: block;
      color: white;
      z-index: 99;
   }
   .main-menu.responsive {
      position: fixed;
      right: 0;
      top: 0;
      background-color: #1e6b0c;
      display: flex;
      flex-direction: column;
      gap: 1em;
      padding: 2em;
      padding-top: 3.5em;
      font-size: 1em;
   }
   .main-menu.responsive a.menu-button {
      position: absolute;
      right: 0;
      top: 0;
   }
   .main-menu.responsive a {
      position: relative;
      right: 0;
      top: 0;
      display: block;
      text-align: left;
   }
   
   .bar1, .bar2, .bar3 {
      width: 30px;
      height: 4px;
      background-color: white;
      margin: 4px 0;
   }
   
   /* Rotate first bar */
   .bar1.responsive {
      -webkit-transform: rotate(-45deg) translate(-6px, 6px);
      transform: rotate(-45deg) translate(-6px, 6px);
   }   
   /* Fade out the second bar */
   .bar2.responsive {
      opacity: 0;
   }
      /* Rotate last bar */
   .bar3.responsive {
      -webkit-transform: rotate(45deg) translate(-6px, -6px);
      transform: rotate(45deg) translate(-6px, -6px);
   }


   .name {
      align-items: center;
      margin: 0;
      padding: 0;
      width: 100vw;
      margin-top: 12dvh;
   }
   .hero {
      flex-direction: column;
      margin: 0;
      padding: 0;
      align-items: center;
      gap: 5dvh;
   }
   
   .description {
      margin-bottom: 5dvh;
   }
   
   #garden {
      height: 40dvh;
   }

   .myContainer {
      display: flex;
      flex-direction: column;
   }

   .bigContainer {
      display: flex;
      flex-direction: column;
   }
   .contact, .contact-map  {
      width: 90vw;
   }
   .socialHolder {
      justify-content:space-evenly;
      gap: 5dvw;
   }

  /*.card:focus .card-body{
   flex-direction: column;
   height: 50vh;
  } 
   
   .card:focus .card-body{
      flex-direction: column;
   }
   
  .card:focus .image {
      width: 50dvw;
   }

   .card:focus .kursimage {
   width: 50dvw;
   }*/

  .card:hover .card-body{
   flex-direction: column;
  }

  

  #myTitle {
   margin-top: 12dvh;
  }

  #mytext {
   text-align: center;
  }

  #myimage {
   width: 50dvw;
  }

  .calendar {
   width: 90vw;
   aspect-ratio: 4/4;
   transform: translateX(5%);
   }

   .card:hover .image {
      width: 50dvw;
   }

   .card:hover .kursimage {
   width: 50dvw;
   }

   

   #blog {
      width: 100dvw;
      height: 90dvh;
   }
}



footer {
   background-color: darkolivegreen;
}