#header-img { 
    border-radius: 50%; 
    
    width: 400px;
    height: 400px;
}

#header-div {
    display: flex;
    width: fit-content;
    margin: auto;
    margin-top: 50px;
}

#header-text-container {
    margin-left: 90px; 
    display: flex; 
    flex-direction:column; 
    align-items:end;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 96px;

    margin-top: 5px;
    margin-bottom: 5px;

    text-align: right;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;

    margin-top: 5px;
    margin-bottom: 5px;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 40px;

    margin-top: 5px;
    margin-bottom: 5px;

    text-align: right;
}

#header-paragraph {
    max-width: 770px;
    margin-right: -3px;
    text-align: right;
    font-size: 36px;
    font-weight: 200;
}

#links-div {
    display: grid;
    column-gap: 40px; 
    grid-auto-flow: column; 
    width: fit-content; 
    margin: auto; 
    margin-top: 100px;
}

p {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;

    margin-top: 5px;
    margin-bottom: 5px;
}

a:link { 
    text-decoration: none;
    color: grey;
} 
a:visited { 
    text-decoration: none;
    color: grey;
} 
a:hover { 
    text-decoration: none; 
    color: #536878;
} 
a:active { 
    text-decoration: none; 
    color: grey;
}

strong {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
}

.cv-section {
    display: grid;
    grid-auto-flow: row;
    column-gap: 50px;
    width: fit-content;
}

.date {
    margin-left: 10px;

    font-style: italic;
}

.subtext {
    font-weight: 200;
    font-size: 26px;
}

@media only screen and (max-width: 1000px) {
    /* Mobile version */
    #header-img {
        align-self: center;
    }
    #header-div {
        flex-direction: column;
    }
    #header-text-container {
        margin-left: 0px;
        display: flex; 
        flex-direction:column; 
        align-items:center;
    }
    h1 {
        text-align: center;
    }
    h4 {
        text-align: center;
    }
    #header-paragraph {
        text-align: center;
    }

    #links-div {
        display: grid;
        column-gap: 40px;
        row-gap: 40px;
        grid-auto-flow: row;
        width: fit-content; 
        margin: auto;
        margin-top: 100px;
    }
}