@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background:#ece8df;
    color:#333;
    line-height:1.6;
}

.wrapper{
    width:95%;
    max-width:50rem;
    margin:2rem auto;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
}

header{
    background:#23395d;
    color:white;
    padding:2rem;
}

header h1{
    font-size:2rem;
}
h2{

    margin-bottom:1rem;
    color:#23395d;

}

header p{
    opacity:.85;
}

nav ul{

    display:flex;
    flex-wrap:wrap;
    justify-content:space-around;

    list-style:none;

    background:#315a8a;

    padding:.75rem 0;
}

nav ul li{

    flex:0 0 auto;

}

nav ul li a{

    color:white;
    text-decoration:none;
    padding:.6rem 1rem;
    display:block;
    border-radius:6px;

    transition:.3s;

}

nav ul li a:hover{

    background:white;
    color:#315a8a;

}

main{

    padding:2rem;

}

section{

    margin-bottom:2rem;

}

.hero{

    width:100%;
    border-radius:10px;
    margin-bottom:1.5rem;

}

.profilbild{

    float:left;

    width:180px;

    margin-right: 20px;

    margin-bottom:20px;

    border-radius:12px;

    box-shadow:0 5px 20px rgba(0,0,0,.2);

}

aside{

    clear:both;

    margin-top:2rem;

    background:#eef4fb;

    border-left:5px solid #315a8a;

    padding:1rem;

    border-radius:8px;

}

.cards{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.card{

    flex:1 1 220px;

    background:#f7f7f7;

    padding:20px;

    border-radius:10px;

}

.contact{

    background:#f8f8f8;

    padding:20px;

    border-radius:10px;

}

footer{

    background:#23395d;

    color:white;

    text-align:center;

    padding:1rem;

}

@media(max-width:700px){

.profilbild{

float:none;

display:block;

margin:0 auto 20px;

}

}