



.titelPic {
    width: 100%;
    height: 30vh;
    background: url("../img/headerPic.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.profile-Infos {
   max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: 25vh;


}

.profile-Infos h2 {
    margin-top: 3rem;
}
.profile-pic{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid white;
    margin: 0;
    padding: 0;
}




main {
    margin-top: 8vh;
    padding: 5rem 2rem;
}

footer {
    h2 {
        font-size: 1rem;
    }
}

@media screen and (min-width: 800px) {
    .profile-Infos {
        width: 500px;
        max-width: 800px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: unset;
        gap: 20px;
        left: 40%;
        transform: translateX(-50%);
        position: absolute;
        top: 25vh;
    }

    .profile-pic{
        width: 160px;
        height: 160px;
        object-fit: cover;
        border: 3px solid white;
        margin: 0;
        padding: 0;
    }
}