/* Base Element Styles */

* {
    box-sizing: border-box;
}

html,
body {
   height: 100%;
   margin: 0;
   font-family: 'Open Sans', sans-serif;
   line-height: 1.5;
   color: black;
   background-color: #ffffff;
   font-size: 1em;
}

ul {
    list-style: none;
    padding-left: 0;
}

a {
    text-decoration: none;
    color: gray;
    font-weight: bold;
}

a:hover {
    color: #9786BF;
  }

.portfolio-block {
    background-color: #F8F8F8;
}

.portfolio-heading {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    padding: 20px;
}

h1 {
   text-align: center;
   padding-top: 10px;
   font-weight: bold;
}

h2 {
    text-align: center;
    font-size: 20px;
}

p {
   text-align: center;
   color: gray;
   padding-top: 10px;
   padding-bottom: 30px;
   padding-right: 14px;
   padding-left: 14px;
}

nav ul {
    list-style: none;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
}

nav a {
    display: block;
    text-align: center;
    text-transform: uppercase;
    color: black;
    background-color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: bold;
    margin: 5px;
    font-family: 'Barlow', sans-serif;
}

hr {
    width: 90%;
    margin-top: 50px;
    margin-bottom: 0px;
}

.contact {
    background-color: #F8F8F8;
    padding-top:40px;
    width: 100%;
}

.contact p {
    margin: 0px;
    padding: 15px;
}

.contact a {
    color:#9786BF;
}

footer {
    bottom: 0;
    width: 100%;
    height: 100px;
    padding: 20px;
    background-color: #F8F8F8;
}

.contact h2 {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    padding: 10px
}

footer nav ul {
    list-style: none;
    padding-right: 165px;
    text-align: center;
}

.footer-nav {
    overflow: auto;
    display: inline;
    float: right;
    font-weight: bold;
}

.footer-name {
    font-weight: bold;
    float: left;
    display: inline;
    padding: 0px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Media Queries: Mobile ----- */

@media (min-width: 320px) {

    .portfolio-block,
    .portfolio-content {
        text-align: center;
        max-width: 100%;
    }

    .images {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }

    .skills-image {
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .student-portrait {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 60%
    } 

    .top {
        background-color: #F8F8F8;
        text-transform: uppercase;
        font-weight: bold;
    }

    .full,
    .skills {
        display: none;
    }
}

/* Media Queries: Tablet ----- */

@media (min-width: 768px) {

    h1 {
        padding: 25px 15px 0px 15px;
        margin: 5px;
    }
    
    nav ul {
        overflow: auto;
        margin: 0px;
    }

    nav ul li {
        padding: 5px 0;
        display: inline-block;
    }

    nav a {
        text-transform: uppercase;
        color: black;
        background-color:  #F8F8F8;
        padding: 12px;
        font-weight: bold;
        margin: 5px;
    }

    .portfolio-block p {
        text-align: left;
        margin: 10px;
    }

    .student-portrait {
        width: 40%;
        float: right;
        display: inline-block;
        padding: 20px;
        margin-bottom: 20px;
    }

    .column-one,
    .column-two {
        float:left;
        width: 50%;
    }
    
    .portfolio-example {
        min-height: 400px;
    }

    .portfolio-example p {
        margin: 0px;
    }
    
    .skills-container {
        min-height: 400px;
        width: 50%;
        display: block;
    }
    
    .portfolio-content {
        width: 90%;
        margin: 0 auto;
    }

    .top {
        display: none;
    }

    .full {
        display: block;
        float: left;
        padding-right: 20px;
        padding-left: 20px;
    }
}


/* Media Queries: Desktop --*/

@media (min-width: 1024px) {

h1 {
    float: left;
    padding: 35px;
}

nav ul {
    display: inline-block;
    font-size: 20px;
    padding: 25px;
    margin-top: 0px;
    margin-bottom: 0px;
    float: right;
}

.student-portrait {
    width: 40%;
    float: right;
    padding: 35px;
}

.portfolio-block, p {
    text-align: left;
    padding: 20px;
}

nav a {
    text-transform: uppercase;
    color: black;
    background-color:  #F8F8F8;
    padding: 12px;
    font-weight: bold;
    margin: 5px;
}

.portfolio-heading {
    padding-top: 30px;
    padding-bottom: 20px;
}

.portfolio-content {
    background-color: white;
    border: 35px solid #F8F8F8;
    border-bottom: 0px;
    width: auto;
}

.portfolio-example {
    width: 33.3%;
    padding: 10px;
}

.portfolio-example p {
    text-align: center;
}

.skills-container {
    width: 33.3%;
    padding: 10px;
}

.skills-container p {
    text-align: center;
}

.contact {
    margin-top: 0px;
}

.contact p {
    text-align: center;
}

.column-one,
.column-two {
    float: left;
}

}