:root {
  --primary: #0b74de;
  --text: #222;
  --bg: #fff;
  --muted: #666;
  --max-width: 1.5vw;
}

*,
*::before,
*::after { box-sizing: border-box; }


address,dl,ol,p,ul {
    margin-bottom: 1vw
}

body {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-family: "PT Serif";
}


.my-links{ color: blue; }

.my-Textbox-right{
  background-color: rgba(238, 244, 247, 0.849) !important; 
  padding: 2vw;                            
  border-radius: 8px;                         
  -shadow: 0 4px 10px rgba(0,0,0,0.2);   
  color: black;
  text-align: justify;

  max-width: 100vw;                             
  margin-right: 5vw;
  font-size: 1.1vw;
  padding-top: 1vw;
  }

.my-Textbox-left{
  background-color: rgba(238, 244, 247, 0.849) !important; 
  padding: 2vw;                            
  border-radius: 8px;                         
  -shadow: 0 4px 10px rgba(0,0,0,0.2);   
  color: black;
  text-align: justify;

  max-width: 80%;                             
  margin-left: 15%;
  font-size: 1.1vw;

  }


  .my-Textbox-center{
  background-color: rgba(238, 244, 247, 0.849) !important; 
  padding: 1vw;                            
  border-radius: 7px;                         
  -shadow: 0 4px 10px rgba(0,0,0,0.2);   
  color: black;
  text-align: justify;

  max-width: 80%;                             
  margin-left: 15%;
  font-size: 1vw;

  }

  
@media (max-width: 600px) {
.my-Textbox-right{
  background-color: rgba(238, 244, 247, 0.849); 
  padding: 2vw;                            
  border-radius: 8px;                         
  -shadow: 0 4px 10px rgba(0,0,0,0.2);   
  color: black;
  text-align: justify;
  max-width: 95%;                             
  font-size: clamp(12px, 1.1vw, 18px);
  padding-top: 1vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5vw !important;
  }

.my-Textbox-left{
  background-color: rgba(238, 244, 247, 0.849); 
  padding: 2vw;                            
  border-radius: 8px;                         
  -shadow: 0 4px 10px rgba(0,0,0,0.2);   
  color: black;
  text-align: justify;
  max-width: 95%;                             
  font-size: clamp(12px, 1.1vw, 18px);
  padding-top: 1vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5vw !important;
  }


  }





.my-Link-no-under-line
{
  text-decoration: none; 
  color: var(--text);
}




/* Sections */
.my-section { padding: 5rem 5vw; }




.my-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;                      /


}


/* Container */
.my-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 2rem;
  align-items: center;          
}


  
@media (max-width: 600px) {
.my-container {
  width: 100%;
  margin: auto auto;
  padding: 0%;
  align-items: center;          
  
}

.my-two-col {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;                      
  align-items: center; 

}

}



/* Members */
  #members-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20vw, 1fr));
    min-width: 200px;
    max-width: auto;

    margin: 0 0;
    gap: 20px;
    padding-left: 1vw;
    padding-right: 1vw;

    font-family: "PT Serif", serif !important;
  }

  .my-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    font-family: "PT Serif", serif !important;
    min-height: 5vw;
  }




  .my-card:hover {
    transform: translateY(-5px);
    font-family: "PT Serif", serif !important;
  }



  .my-card-block {
    padding: 1vw;
    font-family: "PT Serif", serif !important;
  }

  .my-feature-title {
    font-size: 1.3rem;
    margin-top:  0.1vw;
    font-family: "PT Serif", serif !important;
    text-align: center;

  }

  .my-feature-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.8vw;
    font-family: "PT Serif", serif !important;
  }

  .my-feature-text {

    color: #333;

    font-family: "PT Serif", serif !important;

  }

  .my-feature-img {
    width: 100%;
    height: 13vw;
    overflow: hidden;
    margin: 0 auto 10px;
    border-radius: 8px;
    font-family: "PT Serif", serif !important;
  }

  .my-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    font-family: "PT Serif", serif !important;
  }

@media (max-width: 600px) {
  #members-container {
    grid-template-columns: 1fr; /* nur eine Spalte */
  }

  .my-feature-img {
    height: 50vw; 
  }

  .my-card-block {
    padding: 4vw;
  }

  .my-feature-title {
    font-size: 1.3rem;
  }

  .my-feature-subtitle {
    font-size: 1.1rem;
  }

  .my-feature-text {
    font-size: 1rem;
  }
}


/* Lab Gallery */

.my-hero { padding-top: 3vw; padding-bottom: 2vw; background: #eef6ff; }

.my-hero-gallery {

  margin-left: auto;
  margin-right: auto;

}


.my-hero-gallery .my-main-image {
  position: relative; 
  overflow: hidden;
  object-fit: contain;
  width: auto;

  
}

.my-main-image img {
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: auto; 
  height: 25vw; 
  margin-left: auto;
  margin-right: auto;

}
.my-big-image{
  width: auto; 
  height: auto; 
  max-width: 50vw;
}

@media (max-width: 600px) {
.my-hero-gallery .my-main-image {
  margin: auto auto;   
  padding-top: 10vw;
  
}
.my-big-image{
  display: block;
  height: auto; 
  max-width: 50vw;
  margin: auto auto;
}


}





.my-thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.my-thumbnails img {
  width: 20%;
  height: 20%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.my-thumbnails img:hover,
.my-thumbnails img.active {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 600px) {

.my-thumbnails {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
}


/* DD */

.my-btn-dd {
  background-color: #d1d8df;
  color: #130303;
  transition: background-color 0.2s;
}
.my-btn-dd:hover,
.my-btn-dd:focus {
  background-color: #b0b1b3;
  color: #222;
}

.my-DD-title {
  text-align: center;          
  font-size: 1.5vw;             
  font-weight: 600;          
  margin: 1rem 0;              
  line-height: 1.4;  
  font-family: "PT Serif", serif !important;
         
}

#my-dd-intro { 
  padding: 1rem 0; 
  text-align: center;
  font-family: "PT Serif", serif !important;                
}

.my-partner-logo{ 
  width: 8vw; 
  border: 0.1vw solid black;
}


@media (max-width: 600px) {
.my-partner-logo{ 
  width: 30%; 
  border: 0.1vw solid black;
}
}

/* Container mit 2 Spalten nebeneinander */
.my-col-flex {
  display: flex;
  align-items: center;   
  gap: 2rem;                 
  justify-content: center;
  
}

/* Spaltenbreite */
.my-image-box {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 1vw;
  max-width: 20vw;          
  padding-bottom: 2rem;
  padding-top: 20px;
  justify-content: center;


}

/* Bild korrekt skalieren */
.my-image-box img {
  width: 40vw;               
  height: auto;              
  display: block;

  object-fit: contain;       
  border-radius: 4px;       

}



/* Logo Style Footer */
.my-logo-style {

  width: auto; 
  height: 3vw;

}


@media (max-width: 600px) {
/* Spaltenbreite */
.my-image-box {
  
  width: 80%;
  max-width: 400vw;         
  padding-top: 20px;
  
  margin-left: auto;   
  margin-right: auto;  
  text-align: center;  
}
/* Bild korrekt skalieren */
.my-image-box img {
  width: 100%;             
  height: auto;          
  display: block;
  object-fit: contain;       
  border-radius: 4px;        

}

}


.my-background-image{
  background-size: 100%; 
  background-repeat: no-repeat;
  background-position: center; 


}



@media (max-width: 600px) {
.my-background-image{
  background-size: cover; 
  background-repeat: no-repeat;
  background-position: center; 
  background-attachment: fixed; 

}
}


/* button profile page */
.my-btn-section{
  display: flex;
  justify-content: center; 
  gap: 1rem;               
  flex-wrap: nowrap       
}

.my-btn-color{
    background-color: #7e9b9f;
    border-color: #7e9b9f;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 0.75vw 2.1875vw;
    font-size: 0.85vw;
    line-height: 1.5;
    border-radius: 3px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-decoration: none;

}

@media (max-width: 600px) {
.my-btn-section{
  display: flex;
  justify-content: center; 
  gap: 1rem;               
  flex-wrap: nowrap       
}

.my-btn-color{
    background-color: #7e9b9f;
    border-color: #7e9b9f;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    padding: 0.75vw 2.1875vw;
    font-size: clamp(10px, 0.75vw, 18px);
    line-height: 1.5;
    border-radius: 3px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-decoration: none;
}
}




.research-card {
  text-decoration: none;
  color: black;
  background: white;
  border-radius: 16px;
  padding: 1vw;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.research-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 14px rgba(0,0,0,0.15);
}





  .my-card-Symposium {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    font-family: "PT Serif", serif !important;
    min-height: 1vw;
  }

  #members-container-Symposium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
    min-width: 50px;
    max-width: auto;

    gap: 10px;
    padding-left: 1vw;
    padding-right: 1vw;
    margin-left: 0;
    margin-right: 0;
    justify-items: center;

    font-family: "PT Serif", serif !important;
  }

  .my-list-card {
  display: flex;
  align-items: flex-start;
  border: 0px solid #bbb;
  padding: 12px;
  margin-bottom: 10px;
  background: white;
  width: 90%;
}

.my-list-img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.my-list-info {
  flex: 1;
}

.my-list-name {
  margin: 0 0 6px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.my-list-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}
