/* Overall reset for margins and padding, also overall body styles */
* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: 'Cantarell', sans-serif;
    background-color: #333;
}

#siteHead{
    font-family: 'Fjalla One', sans-serif;
    color: #800;
    padding-top: 10px;
}

/* Navigation styles, fixed at top */
nav {
    font-family: 'Fjalla One', sans-serif;
    display: table;
    table-layout: fixed;
    width: 100%;
}

nav ul {
    display: table-row;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
    display: table-cell;
    text-align: center;
}

nav ul li a {
    display: block;
    background-color: #000;
    color: #FFF;
    cursor: pointer;
}

nav ul li:hover {
    opacity: 0.5;
}

.sidebar {
    position: fixed;
    top: 0px;
    left: 0px;
    margin: 0px;
    padding: 0px;
    height: 20px;
    width: 100%;
    background-color: #FFF;
}

li.current:nth-child(1) a { background-color: #F66; }/*about*/
li.current:nth-child(2) a { background-color: #070; }/*resume*/
li.current:nth-child(3) a { background-color: #66F; }/*portfolio*/
li.current:nth-child(4) a { background-color: #609; }/*contact*/
li.current:nth-child(5) a { background-color: #6DD; }/*possible new topic*/

/*Styles for all navigations */
ul {
    list-style-type: none;
}

ul li {
    display: inline;   
}

/* Styles for all animations on the site */
.colorTransition {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.colorTransition:hover {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

li.current a {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/*Styles for entire body of content*/
div.content {
    max-width: 1024px;
    margin: 0 auto;
}

/* Styles for About Section throughout site */
#about {
    padding: 40px;
    background-color: #F66;
    color: #FFF;
}

p {
    font-family: 'Cantarell', sans-serif;
    margin: 0 0 23px 0;
}

.tcImage {
    display: block;
    float: left;
    margin: 0 10px;
}

/* Styles for Resume Section throughout site */
#resume {
    padding: 40px;
    background-color: #070;
    color: #FFF;
}

#resume ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.eachResume:first-child {
    border-top: none;
}

.eachResume {
    border-top: 2px solid #FC0;
    padding: 10px 0;
}

ul li.resumeLink:hover {
    background-color: #9C9;
}

ul li.resumeLink {
    cursor: pointer;
    white-space: nowrap;
    -webkit-flex: 0 1 auto;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 0;
    text-align: center;
    box-sizing: border-box;
    background-color: #3C3;
    color: #FFF;
}

.downloadResume {
    margin-top: 15px;
}

/* Styles for Portfolio Section throughout site */
#portfolio {
    padding: 40px;
    background-color: #66F;
    color: #FFF;
}

#portfolio ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

ul li.portfolioLink:hover {
    background-color: #99F;
}

ul li.portfolioLink {
    cursor: pointer;
    white-space: nowrap;
    -webkit-flex: 0 1 auto;
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 0;
    text-align: center;
    box-sizing: border-box;
    margin: 1px;
    background-color: #33F;
    color: #FFF;
}

.thumbs {
    display: inline-block;
    margin: 0 15px;
}

span.portfolioText {
    display: inline-block;
    margin-top: 15px;
}

.thumbsGroup {
    display: inline-block;
    margin-top: 15px;
}

.thumbsImage {
    max-width: 100%;
    float: left;
}

div.downloadSampleCode{
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid #FC0;
}

.downloadSampleCode a {
    text-decoration: none;
    background-color: #FC0;
    color: #333;
}

.downloadSampleCode a:hover {
    opacity: 0.7;
}

/* Styles for Contact Section throughout site */
#contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: #609;
    color: #FFF;
}

.contactBody {
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 46px;
    font-size: 43px;
    margin: 0 0 23px 0;
}

/*All images on the site*/
img {
    border: 2px solid #FC0;
    border-radius: 3px;
}

@media screen and (min-width: 250px) {
    /* Mobile first style for links */
    ul li.resumeLink, ul li.portfolioLink {
        font-size: 12px;
        height: 17px;
        width: 100%;
        margin-top: 10px;
    }
    
    #siteHead{
        font-size: 40px;
        line-height: 35px;
    }
    
    /* Mobile first style for About Section */
    p {
        white-space: pre-wrap;
        font-size: 12px;
        line-height: 14px;
    }
    
    /* Mobile first style for Resume Section */
    .resDivide {
        font-size: 14px;
    }
    
    .resTitle {
        font-size: 16px;
    }
    
    .resLocation {
        font-size: 14px;
        font-style: italic;
    }
    
    .resDates {
        font-size: 14px;
    }
    
    .resJob {
        font-size: 14px;
    }
    
    .resDescript {
        font-size: 12px;
    }
    
    /* Mobile first style for Portfolio Section */
    .portfolioText, .downloadSampleCode {
        font-size: 12px;
    }
    
    /* Mobile first style for Contact Section */
    .contactEmail {
        font-size: 28px;
    }
    
    #contact {
        height: 200px;
    }
}
/* Extra Small Devices, Phones */
@media screen and (min-width: 480px) {
    /* Mobile first style for About Section */
    p {
        font-size: 17px;
        line-height: 23px;
    }
    
    /* Mobile first style for Resume Section */
    .resDivide {
        font-size: 18px;
    }
    
    .resTitle {
        font-size: 20px;
    }
    
    .resLocation {
        font-size: 18px;
        font-style: italic;
    }
    
    .resDates {
        font-size: 18px;
    }
    
    .resJob {
        font-size: 18px;
    }
    
    .resDescript {
        font-size: 16px;
    }
    
    /* Mobile first style for Portfolio Section */
    .portfolioText, .downloadSampleCode {
        font-size: 16px;
    }
    
    /* Mobile first style for Contact Section */
    .contactEmail {
        font-size: 43px;
    }
    
    /*styles for all link sizes*/
    ul li.resumeLink, ul li.portfolioLink {
        font-size: 16px;
        height: 25px;
        width: 49%;
        margin: 1px;
    }
}
/* Small Devices, Tablets */
@media screen and (min-width: 768px) {
    /*Enlarge size of contact section for scrolling*/
    #contact {
        height: 400px; 
    }
    
    /*enlarge text for contact section*/
    .contactEmail {
        font-size: 60px;
    }
    
    .contactBody {
        line-height: 60px;
        font-size: 60px;
    }
}
/* Large Devices, Wide Screens */
@media screen and (min-width: 1200px){
    /*make links bigger on largest screen size.*/
    .resumeLink, .portfolioLink {
        font-size: 18px;
        height: 30px;
    }
}