.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/*.header::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-size: contain;   
    background-image: url(/assets/img/icons/header.svg);
}*/

.header .photo {
   width: 200px;
   height: 200px;
   border-radius: 50%; 
}

.header .titolo {
    font-family: "Space Grotesk", sans-serif;
    text-align: center;
}

.informazioni {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
} 

.informazioni p {
    display: flex;
    flex-direction: row;
    align-items: center;
    word-break: break-all;
    margin: .5rem; 
    font-size: 1.125rem;  
}

.informazioni p::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: .5rem;
}

.informazioni .field::before {
    background-image: url('/assets/img/icons/field.svg');
}

.informazioni .location::before {
    background-image: url('/assets/img/icons/location.svg');
}

.informazioni .email::before {
    background-image: url('/assets/img/icons/email.svg');
}

@media only screen and (min-width: 768px) {
    .header {
        display: grid;
        grid-template-areas: 
        "photo titolo"
        "photo informazioni"
        ;
    }

    .header .photo  {
        grid-area: photo;
        margin: 0 auto;
    }

    .header .titolo {
        grid-area: titolo;
        text-align: start;
        max-width: 250px;
    }

    .header .informazioni {
        grid-area: informazioni;
    }
}
