

:root {
    --colorOrange: #f08944;
    --colorGreen: #55a685;
    --colorRed:  #a63320;
    --colorBlue: #bbdbce;
  }

.chau-philomene-one-regular {
  font-family: "Chau Philomene One", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 20px;
color: black;
}

.hidden {
  display: none !important;
}

.team-card-content {
    display: flex;
    flex-direction: column;
justify-content: space-between;
height: 100%;
    
};
.text-blk {
  height: 200px;
  margin-top: 10px;
  color: #6E6E6E;
}
  .zwischenLinie {
    display:block; 
    height: 1px; 
    border:0; 
    border-top: 1px solid black; 
    margin: 15px 0 15px 0;
    padding: 0;
}
  
  .text-blk {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    line-height: 25px;


  }
  
.cardOben {
  width: 100%;

  display: flex;
  flex-direction: row;
align-items: center;


}

.cardObenName
{
display: flex;
height: 100%;
padding-left: 24px;
flex-direction: row;
align-items: center;

}

.img-container {
  width: 180px;
  height: 190px;
  overflow: hidden;
  display: flex;
  align-items:start;
  justify-content:flex-start;
  border-radius: 16px;
  overflow: hidden;
}
.mehrInfos {
  align-self: flex-end; /* sticks to bottom-right */
  text-align: right;
  color: #BC002F;
  cursor: pointer;
  margin-top: 14px; /* small gap from content */
  position: static; /* remove old relative positioning */
  bottom: auto;
}

.img-container img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

  .responsive-container-block {
    min-height: 75px;
    height: fit-content;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    justify-content: flex-start;
  }
  
  .container-block {
    min-height: 75px;
    height: fit-content;
    width: 100%;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    display: block;
  }
  
  .responsive-cell-block {
    min-height: 75px;
  }
  
  .container {
    max-width: 1380px;
    margin-top: 80px;
    margin-right: auto;
    margin-bottom: 80px;
    margin-left: auto;
    padding-top: 0px;
    padding-right: 30px;
    padding-bottom: 0px;
    padding-left: 30px;
  }
  
  .team-head-text {
    font-size: 48px;
    line-height: 50px;
    font-weight: 900;
    text-align: center;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 70px;
    margin-left: 0px;
  }
  
  .name {
    font-size: 18px;
    margin-top: 11px;
    margin-right: 0px;
    margin-bottom: 8px;
    margin-left: 0px;
    font-weight: 700;
  }
  
  .position {
    margin-top: 10px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }
  
.team-card {
  width: 400px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.08);

  display: flex;
  flex-direction: column;
  justify-content: space-between; /* top content at top, button at bottom */

}


  .team-card:hover {

box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 200ms ease;
  }
  
  .teamcard-container {
    justify-content: space-evenly;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 10px;
  padding-top: 20px;
  width: 100%;

  }

  .imgWrap {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .team-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    margin-bottom: 10px;
  }
  
  .team-img {
    width: 150px;
  }

  .dozentBild {
    width: 100%;
    border-radius: 50%;
  }

  .buttonDozent {

    cursor: pointer;
background: var(--colorGreen);

  }

  .buttonDozentContainer {
position: relative;
bottom: 5px;
  }
  
  @media (max-width: 500px) {
  .team-card-container {
    width: 100%;
    height: auto;
    min-height: 250px; /* prevents collapsing */
    padding: 10px;
  }
  
    .team-img {
      width: 100%;
    }
    .container {


         padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
    }
  }






  /* DIALOG */


.dozentenDialogHeader {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

  .dialogDozenten {

border-radius: 16px;
width: 60%;
min-height: 600px;
max-height: 80vh;
background: white;
padding: 16px 8px 16px 8px;

border: none !important;
}

.dialogContainer {

display: flex;
justify-content: center;
align-items: center;
    transform: translateX(-1000px);
    opacity: 0;
    z-index: 100;
}

dialog[open] {
    animation: fadein 500ms ease-out forwards;
  }
  
  @keyframes fadein{
    0%{
        opacity: 0;
        transform: translateX(-1000px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);

    }
  }

.dtextDozent {
    margin-top: 20px;
    line-height: 24px;
    font-size: 18px;
    color: black;
    
}


.closeBtn {
    position: sticky;
    top: 0;
    right: 0;
    width: 100%;
    text-align: right;
    height: 40px;

}
.closeBtn img {
    width: 40px;
    height: 40px;
    margin: 10px 10px 0 0;
}

.closeBtn:hover {
    cursor: pointer;
}

.dozentenDialogHeader {
    max-width: 100%;
display: flex;
flex-direction: row;
    border-radius: 10px;


}

.dozentLinks {
    width: 30%;
}


.dialogDozenten::backdrop {
  background: rgba(0, 0, 0, 0.8);
  
  
}
.dozentRechts {
    width: 100%;
    padding: 0 0 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dutitel {
    margin: 0;
    padding: 0;
}

.dname {
    margin: 0;
    padding: 0;
}

.containerSeminare  {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
margin-top: 20px;
}

.seminarCard {
    width: 280px;
    margin: 20px;
    padding: 10px;
    background: var(--colorBlue);
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.seminarCard:hover {
    cursor: pointer;
}

.dozentKurse {
    width: 100%;

    display: flex;

    padding: 30px 0 0 24px;
    font-size: 16pt;
    font-weight: regular;
}

.team-head-text
{
    color: black;
    padding-top: 40px;
}

@media (max-width: 750px) {
    .dialogDozenten {
        width: 100%;
        padding: 5px;
    }

    .seminarCard {
        width: 80%;

    }
    .containerSeminare {
        justify-content: center;
    }
    .dozentenDialogHeader {
        flex-direction: column;
    }
    .dozentLinks {
        width: 100%;
    }
    .dozentRechts {
        padding: 20px 0 0 0;
        width: 100%;
    }

}

#eventContainer {
  margin: 20px 0;
}

.event-card {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background: #fff;
  width: 700px;
  margin: 20px auto;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.event-card img {
  width: 40%;
  min-height: 200px;
  max-height: 240px;
  object-fit: cover;
}

.event-info {
  padding: 16px 20px;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

}

.event-info h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #222;
}

.event-info p {
  margin: 4px 0;
  color: #555;
  font-size: 0.95rem;
}

.event-info .price {
  margin-top: 8px;
  font-weight: bold;
  color: #000;
}

@media (max-width: 600px) {
  .event-card {
    flex-direction: column; /* stack image above text */
    width: 100%;
    max-width: 400px; /* optional, to prevent too wide cards */
    margin: 20px auto;
  }

  .event-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* keep image square */
    object-fit: cover;    /* crop properly */
    border-radius: 12px 12px 0 0; /* keep rounded corners on top */
  }

  .event-info {
    padding: 12px 16px;
  }

  .event-info h3 {
    font-size: 1.1rem;
  }

  .event-info p {
    font-size: 0.9rem;
  }

  .event-info .price {
    font-size: 1rem;
  }
}


.hidden {
    display: none;
}
