/* Global styles
------------------------------------*/
html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

a {
    color: #EF233C;
}

a:hover {
    text-decoration: none;
}

h1,
h2 {
    font-family: 'Caveat', cursive;
    font-weight: 400;
}

h2 {
    font-size: 2rem;
    margin-top: 0;
}

h1 {
    font-size: 3.25rem;
}

h3 {
    margin: 0;
}

small {
    color: slategrey;
}

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

.uppercase {
    text-transform: uppercase;
}

.btn {
    text-decoration: none;
    background: #EF233C;
    color: white;
    padding: 10px;
    display: inline-block;
    width: 130px;
    text-align: center;
}


/* Header & Footer
------------------------------------*/
header,
footer {
    background: #2B2D42;
    color: #8D99AE;
}

i {
    font-size: 1.5rem;
}

/* header */
header {
    padding-top: 50px;
    position: relative;
}

.profile-img {
    border-radius: 5%;
    box-shadow: 3px 3px 4px rgb(0, 0, 0, .5);
}

header h1,
header h2 {
    color: #EDF2F4;
    margin: 0;
}

.download {
    position: absolute;
    bottom: 0;
    right: 0;
}

.akaLink {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* navigation */
nav {
    text-align: center;
    background: white;
    position: fixed;
    top: 0;
    width: 100%;
}

nav a {
    display: inline-block;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
}

/* footer */
footer {
    text-align: center;
}

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

.copyright {
    font-size: .85rem;
}


/* Work Experience
------------------------------------*/
.work {
    background: #EDF2F4;
}

h3 ~ p {
    margin: 0;
}

.job-description {
    margin-bottom: 25px;
}

.job-description p:first-of-type {
    margin-top: 0;
}

.additional {
    text-align: center;
}

#skills {
    margin-top: 30px;
}

#skills img {
    box-shadow: 1px 2px 3px rgb(0, 0, 0, .5);
    transition: .5s;
}

#skills img:hover {
    box-shadow: 1px 2px 3px rgb(0, 0, 0, .2);
}


/* Education
------------------------------------*/
.education {
    background: #8D99AE;
    background: linear-gradient(rgb(141, 153, 174, 0.9),
            rgba(141, 153, 174, 0.7)),
        url(../images/arch.jpg) no-repeat fixed;
    background-size: cover;
}

p + h3 {
    margin-top: 30px;
}


/* Media Queries */
@media (min-width: 900px) {
    .col-narrow {
        width: 30%;
        float: left;
        /* min-height: 175px; */
    }

    .col-wide {
        width: 70%;
        float: left;
        padding-left: 20px;
        /* min-height: 175px; */
    }

    .profile-img {
        width: 175px;
        margin-top: 25px;
        margin-right: 50px;
    }
}

@media (max-width: 899px) {
    header {
        text-align: center;
    }

    .profile-img {
        width: 150px;
        margin-top: 25px;
    }
}
