* {
    font-family: "Inter", sans-serif;
}

h1 {
    font-size: 2.5rem; 
}

div {
    margin:0;
    padding:0;
}

.flex-container {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-container div.text {
    padding: 5% 0;
    max-width: 725px;
}

html, body {
    margin: 0 auto;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 300;
}

.opener, .experience, .interests, .contact-me {
    margin: 5% 0 5% 0;
}

hr {
    height: 1px;
    border: 0;
    width: 100%;
    border-top: 1px solid #ccc;
}

.footnotes {
    font-size: 0.85rem;
    text-align: left;
}

/* smaller browser */
@media only screen 
and (max-width: 900px) 
and (min-width: 400px) 
{   
    .flex-container div.text {
        padding: 10% 0;
        max-width: 650px;
    }

    h1 {
        font-size: 2rem; 
    } 

    .opener, .experience, .interests, .contact-me  {
        font-size: 14px;
        margin: 5% 0 5% 0;
    }

    .footnotes {
        font-size: 12px;
    }
}

/* iphones */
@media only screen 
and (max-device-width: 900px) 
and (min-device-width: 320px) 
{   
    html, body {
        margin: 0 auto; 
        margin-top: 0.5rem; 
        margin-bottom: 0.5rem;
        line-height: 1.25;
    }

    .flex-container div.text {
        max-width: 340px;
    }

    h1 {
        font-size: 1.75rem; 
    } 

    .opener, .experience, .interests, .contact-me  {
        font-size: 11.5px;
    }

    .footnotes {
        font-size: 10px;
    }
}