* {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', Times, serif
}

body {
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif
}

/* Header Formatting */

nav {
    background-color: white;
    border-bottom: 2px solid #cccccc;
    height: 80px;
}

nav::after {
    content: "";
    clear: both;
    display: table;
}

ul {
    float: right;
    list-style-type: none;
}
  
li {
    display: inline-block;
    text-align: center;
    padding: 15px;
}

a:link {
    text-decoration: none;
    color: #777777;
}

a:visited {
    text-decoration: none;
    color: #777777;
}

.contactlink {
    margin-right: 230px;
    border-left: 1px solid #dddddd;
}

.portfoliolink {
    border-left: 1px solid #dddddd;
}

.name {
    float: left;
    background-color: #4aaaa5;
    margin-left: 230px;
    height: 80px;
}

h1 {        
    text-align: center;
    color: #ffffff;
    padding-top: 5px;
    padding-right: 15px;
    padding-left: 15px;
}

/* main content box */

.box {
    width: 960px;
    min-height: 400px;
    border: 2px solid #dddddd;
    padding: 30px;
    background-color: #ffffff;
    color: #777777;
    margin: auto;
    margin-top: 50px; 
    margin-bottom: 100px;
}

/* Header for each page */

.boxheader {
    border-bottom: 2px solid #cccccc;
    margin-bottom: 30px;
}

h2 {
    color: #4aaaa5;
    margin-top: 0px;
    margin-bottom: 30px;
}

/* About Me photo styling */

.photo1 {
    margin-right: 30px;
    margin-bottom: 30px;
    float: left;
    height: 200px;
    width: 200px;
}

/* About Me */

.aboutme {
    font-size: 20px;
    line-height: 1.5;
}

/* Portfolio */

.column {
    float: left;
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
  }
  
.row {
    margin: 0 -5px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}
  
.card {
    position: relative;
    padding: 16px;
    text-align: center;
}
  
div.img-div > img {
    width: 100%;
    height: 100%;
}

.overlay {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #ffffff;
    background-color: #4aaaa5;
    font-size: 20px;
    padding: 15px 0px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 401px;
    margin-left: 16px;
    margin-bottom: 35px;
}

/* Contact Me */

input.text {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}

#message {
    min-height: 90px;
}
.button {
    background-color: #4aaaa5;
    border: none;
    color: #ffffff;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

/* footer */

.content {
    min-height: calc(100vh - 130px);
}

.footer {
    height: 50px;
    margin-top: -50px;
    background-color: #666666;
    border-top: 8px solid #4aaaa5;
    width: 100%;
}

.copyright {
    color: #dddddd;
    text-align: center;
    margin-top: 30px;
    font-size: 10px;
}