:root {
--blue_low_opacity_background: rgba(30, 73, 153, 0.9);
--lachs: rgb(255, 190, 179);
--light_yellow: rgb(255, 244, 221);
--grey: rgb(211, 206, 211)
}

#active_link {
    color: var(--blue_low_opacity_background);
}

.titel_about{
    color: var(--lachs);
    text-align: center;
    font-size: 25px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.bergtext{
    text-align: center;
    font-size: 15px;
    margin-bottom: 50px;
    margin: 30px;
    font-family: Arial, Helvetica, sans-serif;
  }

.vorundnachname{
    font-family: sansita;
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
} 
.rolle{
    color: var(--lachs);
    font-size: 15px;
    text-align: center;
    }

.informationen {
    max-width: 550px;
    font-size: 15px;
    text-align: center;
}

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

.person{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 30px;
    justify-content: center;
    align-items: center;
    max-width: 300px;
}

.text{
    display: block;
    align-items: center;
    width: 100%;
    height: auto;
  
}

.img{
    max-width: 350px;
    max-height: 300px;
    display: block;
    width: 100%; /* Make the image responsive */
    margin-bottom: 10px; 
}

.back_to_button {
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.20);
    text-shadow: 2px 2px #1E4999;
    padding: 15px;
    margin: 30px;
    width: 200px;
  
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back_to_button a div { 
    font-size: 15px;
    text-align: center;
    color: var(--lachs);  
}

.back_to_button:hover {
    transform: scale(1.1);
}

@media (min-width: 1000px) {

    #active_link {
        color: var(--lachs);
    }

    .titel_about{
        font-size: 50px;
    }

    .bergtext{
        font-size: 18px;
        margin: 30px;
      }

    .vorundnachname{
        font-size: 40px;
        margin-bottom: 20px;
    } 

    .person{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        margin-bottom: 60px;
        justify-content: center;
        align-items: center;
        min-width: 400px;
        height: auto;
    }

    .img{
        max-width: 1050px;
        max-height: 1000px;
        height: auto; /* Maintain the aspect ratio */
        margin-top: 20px; 
    }
    .back_to_button {
        width: auto;
    }
    
    .two_buttons {
        display: flex;
        justify-content: center;
    }
    
    .back_to_button a div { 
        text-align: center;
    }

}
