html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

/* Color Palette
# - #0f172a
# - #1e3a8a
# - #dbeafe
# - #f8fafc
*/

/* Global styles 
------------------------------------*/
body {
    background: #f8fafc;
    color: #0f172a;
    font-family: "Inter", sans-serif;
    margin: 0;
    line-height: 1.6;
    padding-top: 66px;
}

img {
    display: block;
    margin-bottom: 1rem;
}

.content-wrap {
    max-width: 950px;
    margin: 0 auto;
    padding: 50px;
    overflow: hidden;
}

.profile-picture {
    width: 300px;
    height: 300px;
    background: #dbeafe;
    border: 3px solid #f8fafc;
}

.profile-img {
    border-radius: 50%;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    margin-top: 0;
}

h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

header h1,
header h2 {
    margin: 0;
}

p,
li,
a {
    font-weight: 400;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.96);
    border-bottom: 1px solid rgba(219, 234, 254, 0.35);
    text-align: center;
    padding: 12px 10px;
}

.site-nav a {
    color: #dbeafe;
    text-decoration: none;
    display: inline-block;
    margin: 0 12px;
    font-weight: 500;
}

.site-nav a:hover {
    color: #f8fafc;
    text-decoration: underline;
}

.column-narrow {
    width: 30%;
    float: left;
    padding-right: 3%;
    min-height: 175px;
}

.column-wide {
    width: 70%;
    float: left;
    min-height: 225px;
}

.job-item {
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.job-item:last-child {
    margin-bottom: 0;
}


/* Header & Footer 
------------------------------------*/

header {
    background: #1e3a8a;
    color: #f8fafc;
}

footer {
    background: #0f172a;
    color: #f8fafc;
    text-align: center;
}

footer a {
    color: #dbeafe;
    text-decoration: none;
}

.contact-info a {
    padding: 10px;
    display: inline-block;
}

.contact-info i {
    margin-right: 6px;
}

footer a:hover {
    text-decoration: underline;
}



/* Work Experience
------------------------------------*/

.work-experience {
    background:
        linear-gradient(rgba(219, 234, 254, 0.93), rgba(248, 250, 252, 0.92)),
        url("../images/dwight.jpeg") center/cover no-repeat;
}



/* Education
------------------------------------*/

.education {
    background: #f8fafc;
}

@media screen and (max-width: 750px) {
    body {
        padding-top: 108px;
    }

    .site-nav {
        padding: 8px 6px;
    }

    .site-nav a {
        margin: 4px 8px;
    }

    .content-wrap {
        padding: 30px 20px;
    }

    .column-narrow,
    .column-wide {
        width: 100%;
        float: none;
        min-height: 0;
        padding-right: 0;
    }

    .profile-picture {
        margin: 0 auto 1rem;
    }
}