/* 
COLOR PALETTE 

Purple Haze     #BEAFC2
Purple          #695E93
Violet          #8155BA
Ebony           #281C2D
Black           #222222
Off-White       #F6F6F6
*/



/* GLOBAL STYLES 
------------------------------------*/
body{
    font-family: 'Poppins', sans-serif; 
    background: #F6F6F6;
    color: #222222;
    margin: 0;
}

h1{
    font-size: 50px;
}

h2{
    font-size: 30px;
}

/* links */
a{
    color: #8155BA;
}

a:hover{
    color: #695E93;
    text-decoration: none;
}

footer a{
    color: #BEAFC2;
}

footer a:hover{
    color: #F6F6F6;
}

.btn{
    background: #8155BA;
    color: #F6F6F6;
    text-decoration: none;
    padding: 8px 13px;
    border-radius: 5px;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: bold;
}

.btn:hover{
    background: hsl(123, 36%, 62%);
    color: #F6F6F6;
}

.content-wrapper{
    margin: 0 auto;
    padding: 30px;
    max-width: 900px;
}


/* HOME
------------------------------------*/

/* Navigation Styles */
nav {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    font-size: 1.1em;
}

.nav-menu li {
    display: inline-block;
    margin-right: 20px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #8155BA;
    font-weight: bold;
    padding: 10px;
    display: inline-block;
}


/* Sub-menu Styles */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0%;
    background-color: #F6F6F6;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.2);
    border-top: 2px solid #8155BA;
    font-size: 16px;
}

.nav-menu li:hover .sub-menu {
    display: block;
}

.sub-menu li {
    display: block;
    margin: 0%;
    width: 200px;
}

.sub-menu a {
    padding: 10px;
    color: #8155BA;
    text-decoration: none;
    display: block;
}

.sub-menu a:hover {
    background-color: #8155BA;
    color: #F6F6F6;
}

/* RESUME
------------------------------------*/

.resume header::before{
    background: url(../images/sharon-mccutcheon-unsplash.jpg) center;
    background-size: cover;
    content: "";
    display: block;
    height: 375px;
}

.resume-section{
    margin-bottom: 50px;
}

.resume-section h2{
    border-bottom: 2px dashed #8155BA;
}

.download-link{
    position: fixed;
    top: 5px;
    left: 5px;
    font-size: 18px;
    font-weight: bold;
}

header h1{
    text-shadow: 4px 2px 3px #695E93;
}

header h2{
    text-shadow: 3px 1px 3px #695E93;
}

@media screen and (max-width: 1200px){
    .download-link {
        position: absolute;
    }

    nav {
        text-align: right;
    }
}

@media screen and (max-width: 930px){
    .nav-menu {
        display: flex;
        flex-direction: column;
        text-align: center;
        line-height: 12px;
        font-size: 16px;
    }
}

@media screen and (max-width: 500px) {
    .resume header::before{
        height: 200px;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }
}


/* Projects
------------------------------------*/

.project-item{
    margin: 30px 0;
}

.project-item img{
    width: 300px;
}

#projects img{
    width: 100px;
}

@media screen and (min-width:860px) {
    .project-item{
        display: flow-root;
    }

    .project-item img{
        float: left;
        margin-right: 20px;
    }
}

@media screen and (min-width:650px) and (max-width:859px) {
    .project-wrapper{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
    }

    .project-item img{
        width: 100%;
    }
}

@media screen and (max-width:500px) {
    .project-item img{
        width: 100%;
        margin-bottom: 10px;
    }
}


/* Work Experience
------------------------------------*/

.work-item{
    margin: 30px 0;
}

@media screen and (min-width:860px) {
    .work-item{
        display: grid;
        grid-template-columns: 300px 1fr;
        column-gap: 20px;
    }
}

/* Education
------------------------------------*/

/* FOOTER 
------------------------------------*/
footer{
    background: #281C2D;
    color: #F6F6F6;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.socials{
    list-style-type: none;
    padding-top: 10px;
}

.socials li{
    display: inline-block;
    margin-left: 10px;
}

.socials img{
    width: 32px;
}

.socials img:hover{
    opacity: 0.5;
}

@media screen and (min-width: 860px) {
    footer {
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
    }
}

@media screen and (max-width: 859px) {
    footer {
        text-align: center;
        padding: 10px;
        flex-direction: column;
    }
}