h1, h2, h3 {
    font-family: PT Sans;
}

body {
    background: #f1f1f1;
    padding: 0;
    margin: 0;
}

.hrmain {
    background-color: #e1e1e1;
    height: 4px;
    border-style: none;
    margin-bottom: 40px;
    
}

p {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

.main-content {
    max-width: 960px;
    margin: auto;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    -webkit-box-sizing: border-box;
           -moz-box-sizing: border-box;
                box-sizing: border-box;
    padding: 30px;
    margin-bottom: 5em;
}

.navcontainer {
    background-color: #5FB7D3;
    width: 960px;
    position: relative;
    
    top: 0;
    margin: auto;
}

.topbar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    background-color: #5FB7D3;
    z-index: 99;
}

.name {
    background-color: #A65FD3;
    color: #ffffff;
    padding: 15px;
    width: 200px;
    text-align: center;
    margin: 0;
    float: left;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
  }
  
  li {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 0 1em 0 1em;
    text-decoration: none;
  }

.clearfix {
    overflow: auto;
}

li a {
    color: white;
    text-decoration: none;
}

footer {
    height: 3em;
    background-color: #5FB7D3;
    position: -webkit-sticky;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    border-top: .4em solid #A65FD3;
}

.footertext {
    text-align: center;
}

.hrfooter {
    width: 100%;
    height: 4px;
    background-color: #A65FD3;
    position: fixed;
    bottom: 0;
    left:0;
}

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
}

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}

.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    padding: 30px;
    margin: auto;
    width: 960px;
}

label {
    font-family: PT Sans;
}

.portfoliowrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-row-gap: 3em;
	margin: auto;
    justify-items: left;
    grid-column-gap: 3em;
    padding-bottom: 30px;
    
}

.portfolioimg {
    max-width:100%;
}

.imgbanner { 
    background-color: #5FB7D3;
    position: absolute;
    bottom: 1em;
    text-align: center;
    height: 2em;
    width: 100%;
    color: white;
    line-height: 2em;
    margin: auto;
}

article {
    position: relative;
}

.icon {
    display: none;
}

.navul {

}

.active {
    display: block;
}

@media screen and (max-width:959px) {
    .icon {
        display: inline-block;
    }
    
    .hide-responsive {
        display: none;
    }

    /* .navcontainer.responsive {
        position: relative;
    }

    .navcontainer.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .navcontainer.responsive a {
        float: none;
        display: block;
        text-align: left;
    } */

    .navcontainer {
        width: 100%;
    }
}
