/*  */:root {
    --primary_color: #802013;
    --primary: 80, 20, 13;
    --secondary_color1: #efc8ae;
    --secondary_color: #e7d7d4;
    --mintgreen: #94f3ae;
    --navbar-height: 100px;
    --footer-height: 50px;
    --navbar-sidePadding: 10px;
    --transition-time: 0.3s;
    --header-image-height: 500px;
    --image-border: 30px;
    --width: 60%;
    --padding: 16px;
    --dropdownArrow: 30px;
    --dropdownItem-radius: 10px;
    --margin-tiles: 25px;
    --tile-size: 30vw;
    --tile-size-media: 45vw;
    --navbar-BurgerHight: 8vh;
    --burgerIcon-size: 4.5vh;
    --HeaderMarginTop: 10px;
    --profileWidth: 300px;

    --marginHeader: 50px;
    
    --fontSize: 24px;
    --fontSize-small: 20px;
    --fontSize-kacheln: 24px;
    --fontSize-footer: 20px;
    --fontSize-navbar: 26px;
    --fontSize-burgerDropdown: 22px;

    --fontSize-pageHeader: 72px;
    --fontSize-pageHeaderSmall: 52px;

    --fontSize-logo: 16px;
    --fontSize-logoSmall: 12px;
}
*{
    margin: 0;
    padding: 0;
    font-family: 'Abel'; /* work sans, barlow, dosis,  */
    font-size: var(--fontSize);
    line-height: 150%;
    color: var(--primary_color);
    
}

@font-face {
  font-family: 'Abel';
  src: url('Abel-Regular.ttf') format('truetype')
}

html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
 ul {
    list-style: none;
}
body {
    overflow-x: hidden;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}

#content {
    flex: 1;
}

#navSection {
    color: var(--primary_color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    z-index: 2;
    padding: var(--padding);
    height: var(--navbar-height);
  }
  #topNav {
    height: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 5;
    
    
  }
  #logoDescription {
    padding-left: 12px;
    height: 100%;
    display: flex;
    justify-content: center;

  }
  #logoImgDiv {
    height: inherit;  
  }
  #logoImg {
    height: inherit;
  }
  
  #instagramA{
    position: absolute;
    left: var(--padding);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #instagramLogo {
  /*   min-height: 45px;
    min-width: 45px; */
    height: var(--burgerIcon-size);
    width: var(--burgerIcon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  #topNav {
    display: flex;
    align-items: center;
  }
  
  #logoDescription {
    display: flex;
    flex-direction: column;
  }
  
  #logoDescription_big {
    color: black;
    font-size: var(--fontSize-logo);
  }
  
  #logoDescription_small {
    color: black;
    font-size: var(--fontSize-logoSmall);
  }
  
  li {
    
    min-width: max-content;   
    background-color: white;
    font-size: var(--fontSize-navbar);
    
  }
  
  #mainList {
    display: flex;
    list-style: none;
    position: relative;
    background-color: white;
    justify-content: center;
  }
 /*  #mainList a:hover::after, .dropdown a:hover::after, .navItem.active::after {
    font-weight: 900;
    /* visibility: hidden; 
} */
  
  #mainList a:hover, .dropdown a:hover, .navItem.active, .dropdown:hover {
      font-weight: 900;
  }


  .dropdown li {
    font-weight: 100;
  }
  #navbar ul li {
    padding: var(--padding);   
  }
  #mainList a {
    text-decoration: none;
    cursor: pointer;
  }
  
  .dropdown {
    position: relative;
    height: max-content;
    cursor: pointer;
  }
  
  .dropdownList {
    position: absolute;
    width: 100%;
    margin-left: calc(-1* var(--padding));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    top: 80%;
    list-style: none;
    cursor: default;
    transition: opacity var(--transition-time) ease, top var(--transition-time) ease;
    background-color: none;
    
  }
  .dropdownItem {
    background-color: white;
    position: relative;
    z-index: 5;
  }
  
  .dropdown:hover .dropdownList, .dropdownOpen .dropdownList {
    opacity: 1;
    top: calc(100% + 1 *var(--dropdownArrow));
    z-index: 500;
  
  }

/*   .dropdownClosed .dropdownList {
    display: none;
  } */
  
  .dropdownDiv {
    height: var(--dropdownArrow);
    width: 100%;
    background-color: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    
    margin-top: calc(-1 * var(--dropdownArrow));
  
  }
  .dropdownItem.borderBottom {
    border-bottom-left-radius: var(--dropdownItem-radius);
    border-bottom-right-radius: var(--dropdownItem-radius);
  }
  .dropdownItem.borderTop {
    border-top-left-radius: var(--dropdownItem-radius);
    border-top-right-radius: var(--dropdownItem-radius);
  }
  
  .dropdownArrow {
    height: var(--dropdownArrow);
    width: var(--dropdownArrow);
    background-color: white;
    margin-top: calc(1.7 * var(--dropdownArrow));
    transform: rotate(-135deg);
    
  }
  
  .dropdown:hover .arrow, .dropdownOpen .arrow {
    transform: rotate(45deg);
  }
  
  .arrow {
    position: relative;
    border: solid;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    left: 5px;
    margin-top: 5px;
    transform: rotate(-135deg);
    transition: transform var(--transition-time) ease; 
  }
  
  #burgericon {
    display: none;
  }
  
  @media (max-width: 1200px) {
  
    #navSection {
      height: var(--navbar-BurgerHight);
      padding: 0;
  
      flex-direction: row;
    }
    #topNav {
      position: absolute;
      width: 300px;
      height: inherit;
      
      left: calc(50% - 150px);
      
    }
  
    #navbar {
      
      display:flex;
      z-index: 5;
      flex-direction: column;
      align-items: flex-end;
      position:absolute;
      top: calc(0.5 * (var(--navbar-BurgerHight) - var(--burgerIcon-size)));
      right: 0;
      overflow-y: scroll;
      scrollbar-width: none;
      bottom: 0;
      -ms-overflow-style: none;
      overflow-x: hidden;
    }
  
     #navbar.mainListOpen {
      position: fixed;   
    }
    
    
    #navbar::-webkit-scrollbar {
      display: none;
    }
  
#burgericon {
  height: var(--burgerIcon-size);
  width: var(--burgerIcon-size);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  margin-right: 16px;

  /* Add border */
  box-sizing: border-box;    /* Ensures border doesn’t affect layout */
  background-color: white;
}

#burgericon div {
  width: 70%;
  height: 100%;
}

#burgericon .line {
  background-color: var(--primary_color);
  border-radius: 5px;
}
  
    #mainList {
      flex-direction: column;
      width: fit-content;
      padding: var(--padding);
      border-top-left-radius: var(--dropdownItem-radius);
      border-bottom-left-radius: var(--dropdownItem-radius);
      position: relative;
      top: calc(0.5 * var(--navbar-BurgerHight) - 0.5 * var(--burgerIcon-size));
      
      
      
      /* border: solid 2px black; */
    }
    .mainListClosed {
      left: 100%;
      transition: left var(--transition-time) ease;
    }
  
    .mainListOpen {
      left: 0;
      transition: left var(--transition-time) ease;
    }
  
    .dropdown {
      position: relative;
      z-index: 15;
      height: max-content;
    }
    .dropdownDiv {
      display: none;
    }
  
    .dropdownList {   
      width: inherit;
      visibility: visible;
      position: static;
      height: 0;
      overflow: hidden;
      transition:  height var(--transition-time) ease;
      
    }
  
    .dropdown:hover .dropdownList, .dropdownOpen .dropdownList{
      height: 180px;
      margin-top: var(--padding);
    }
    
  
    .dropdownItem {
      width: inherit;
      font-size: var(--fontSize-burgerDropdown);
      
    }
    .dropdownArrow {
      display: none;
    }
  
  }

  #ueber_uns_description {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-bottom: var(--marginHeader);

}
#ueber_uns_content {
    width: 100%;
    display: flex;
    justify-content: center;    
}

#ueber_uns_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: max(60%, var(--profileWidth));
}

#members {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    width: 100%;
    height: max-content;
}
.profileMiddle {
    margin: 0 25px;
}

.profile img {
    display: block;
    width: 100%;
    border-radius: var(--image-border);
}

.profile a {
    font-family: inherit;  
    padding: 14px 16px;
}
@media (max-width: 900px) {
    #members {
        flex-direction: column;
    }
    .profileMiddle {
        margin: 0;
    }
}
.pageHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: fit-content;
    max-height: var(--header-image-height);
    margin-top: var(--HeaderMarginTop);
    margin-bottom: var(--marginHeader);
    box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.3), 0px -3px 3px 2px rgba(0, 0, 0, 0.1);
}
.imagePageHeader {
    width: 100%;
    
}

.descriptionPageHeader {

    position:absolute;
    /* top: 50%; */
    width: fit-content;
    border: none;
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 0.04em;
    text-underline-offset: 0.15em;
    font-size: var(--fontSize-pageHeader);
}
@media (max-width: 600px) {
    .descriptionPageHeader {
        font-size: var(--fontSize-pageHeaderSmall);
    }
    /* #header_kontakt img{
        margin-right: 150px;
    } */
}
#kurse_content {
    display: flex;
    align-items: center;
    justify-content: center;
}

#kurse_img {
    margin: 75px;
    overflow: hidden;
    /* transform: rotate(-90deg); */
    
    display: flex;
}
#kurse_img img {
    position: relative;
    width: 500px;
    height: 500px;
    
    border-radius: var(--image-border);
    
}

#kurse_content li{
    cursor: default;
}
.tileContent {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tileContent * {
    font-size: var(--fontSize-kacheln);
}

.tileContainer {
    width: 100%;
    display: flex;
    height: 100%;

}
.leftTile {
    justify-content: flex-end;
    margin-right: var(--margin-tiles);
}
.rightTile {
    margin-left: var(--margin-tiles);
}

.tile {
    width: var(--tile-size);
    height: var(--tile-size);
    overflow: hidden;
}
.tileImg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--image-border);
    margin: 0;
}

.tileImg img{
    width: inherit;
}
.kachelList {
    list-style: none; 
    padding: 0;
    margin: 0;
    width: inherit;
}

.kachelList li {
    position: relative;
    padding: 0 20px;
}
.tileText {
    overflow-y: scroll;
    -ms-overflow-style:  none;
    scrollbar-width: none;
    width: calc(0.7 * var(--tile-size));
}
.tileText::-webkit-scrollbar {
    display: none;
}

.kachelList li p {
    word-break: break-word;
    width: inherit;
    overflow: hidden;
}
.kachelList li::before {
    content: "-"; /* Add dash before list item */
    position: absolute; /* Position it absolutely within the relative li */
    left: 0; /* Align it to the left */
}




#willkommenTileImg img {  
    height: inherit;
    width: auto;
    margin-right: 30%;
}

#zusatzleistungenTileImg img {
    height: inherit;
    width: auto;
}

@media (max-width: 1200px) {
    .tileContent {
        height: var(--tile-size-media);
    }
    .tile {
        width: var(--tile-size-media);
        height: var(--tile-size-media);
    } 
}
@media (max-width: 840px) {
    .tileContent {
        flex-direction: column;
        height: fit-content;
    }
    .tileContainer {
        margin: 0;
        align-items: center;
        justify-content: center;
    }
    .tile {
        width: 80%;
        margin: 0;
    }
    .tile img {
        width: 100%;
    }
    .leftTile {
        margin-bottom: var(--margin-tiles);
    }
    .rightTile {
        margin-top: var(--margin-tiles);
    }
    
    .tileText {
        height: fit-content;
    }
    .kachelList {
        width: 100%;
    }
}
#impressumContent {
    font-size: var(--fontSize);
    margin-left: 50px;
    width: var(--width);
    margin-top: var(--marginHeader);
}
@media (max-width: 600px) {
    #impressumContent {
        width: 80%;
        position: relative;
        left: 50%;
        transform: translate(-50%);
        margin: 0;
    }
}
footer {
    height: var(--footer-height);
    border-top: solid 1px;
    width: 100%;
    display: flex;
    justify-content: center;
    font-family: inherit;
    color: var(--secondary_color);
    padding: var(--padding);
    margin-top: var(--marginHeader);
}

footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--padding);
    text-decoration: none;
    cursor: pointer;
    font-size: var(--fontSize-footer);
}

footer a:hover {
    font-weight: 900;
}
#kontaktDiv {
    display: flex;
    width: var(--width);
    flex-direction: column;
    margin-left: 50px;
}

.partKontaktInfos {
    display: flex;
    flex-direction: row;
    margin: var(--padding) 0;
    width: inherit;
}
.iconDiv {
    
    flex-shrink: 0;
    padding-top: 0px;

    width: 30px;

}
.infoDiv {
    padding-left: 16px;
    height: fit-content;
}



#kontaktKlein{
    font-size: var(--fontSize-small);
    word-wrap: break-word;   
}

#email {
    width: fit-content;
}

.icon {
    height: 30px;
    width: 30px;
}
@media (max-width: 600px) {
    #kontaktDiv {
        width: 80%;
        position: relative;
        left: 50%;
        transform: translate(-50%);
        margin: 0;
    }
    .infoDiv {
        font-size: 20px;
    }
    .infoDiv a {
        font-size: 20px;
    }
    

}
#datenschutzDiv {
    width: var(--width);
    margin-left: 50px;
    margin-top: var(--marginHeader);
}
#datenschutzDiv * {
    font-size: 16px;
    line-height: 120%;
}
#datenschutzDiv li p {
    width: 75%;
    
}


@media (max-width: 600px) {
    #datenschutzDiv {
        width: 80%;
        position: relative;
        left: 50%;
        transform: translate(-50%);
        margin: 0;
        margin-top: var(--marginHeader);
        
    }
}

#top-banner {
  /* Fade from solid color (#802013) at top to transparent at bottom */
  background: linear-gradient(to bottom, #802013 calc(100% - 10px), rgba(128,32,19,0) 100%);
  color: white;
  text-align: center;
  padding: 15px 50px;
  
}

#kursanmeldung {
  font-weight: bold;
}