html {
    position: relative;

}

body {
    font-size: 24px;
    line-height: 32px;
    background-image: url('/assets/images/just-waves.png');
    background-repeat: repeat;
    background-attachment: fixed;
    padding: 0;
    margin: 0;

}

.wrapper {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    font-family: Arial, 'Helvetica Neue' Helvetica, sans-serif;
    border-width:4px;
    border-style: groove;
    border-color: #dddddd;
    margin-top: 25px;

}

.clearfix:before,.clearfix:after {
    content: "";
    display: block;
    clear: both;
    
}

.container {
    max-width: 960px;
    margin: 0 auto;

}

/* navbar css */

header {
    background-color: #ffffff;
    border-bottom: 1px solid #cccccc;
    height: 100px;
    overflow: hidden;
    width: 100%;

}

header::after {
    content: '';
    display: table;
    clear: both;
    
}

.headname {
    float: left;
    padding: 35px 20px;
    margin: 0px 0;
    font-size: 35px;
    background-color: #4aaaa5;
    text-align: center;
    color: white;
    font-family: Georgia, 'Times New Roman', Times, serif;

}

nav {
    float: right;
    font-size: 18px;

}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: Arial, 'Helvetica Neue' Helvetica, sans-serif;

}

nav ul li {
    display: inline-block;
    margin-left: 20px;
    padding: 35px 0;

}

nav ul li a {
    text-decoration: none;
    color: #777777;
    
}

/* Content header css */

h2 {
    font-size: 35px;
    padding: 0 25px;
    padding-top: 25px;
    color: #4aaaa5;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 20px;

}

.borderCENTER {
    border-bottom: 2px solid #dddddd;
    padding: 15px;

}

/* About page css */

#PRO_pic {
    height: 150px;
    width: 150px;
    margin: 5px 0;
    padding: 0 20px;
    padding-left: 25px;
    float: left;

}

p {
    font-size: 20px;
    padding: 0 20px;
    padding-bottom: 20px;
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    color: #777777;

}

/* Footer css */

.foot {
    background-color: #666666;
    text-align: center;
    font-size: 10px;
    border-top: solid 4px #4aaaa5;
    bottom: 0px;
    height: 4em;
    top: 710px;
    position: absolute;
    width: 100%;
    color: #777777;

}

/* Contact page css  */

form {
    margin: 0 25px;
    
}

label {
    font-size: 20px;

}

#name, #email, #user_message {
    width: 100%;

}

#name, #email {
    height: 20px;

}

#user_message {
    height: 150px;

}

#submit {
    align-content: center;
    text-decoration: none;
    
}

#submit-text {
    color: white;
    text-align: center;
    font-size: 20px;
    margin: 15px 0;
    display: inline-block;
    background-color: #4aaaa5;
    width: 75px;
    height: 16px;

}

/*Portfolio css section  */

.Port-Pics {
    position: relative;
    margin: 20px auto;
    float: left;
   
    padding-left: 25px;

}

.Port-Pics img {
    margin: 0 auto;

}

.pic-head {
    position: absolute;
    padding: 10px 5px 10px -5px;
    color: #ffffff;
    background-color: #4aaaa5;
    bottom: 20px;
    max-width: 100%;
    text-align: center;
    font-size: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    right: 0px;
    left: 10px;
    margin-left: 15px;

}

#box1 {
    width: 125px;
    height: 125px;
}


@media only screen and (max-width: 768px) {

    .foot{
        top: 900px;

    }

    .container {
        max-width: 100%;

    }

}


@media only screen and (max-width: 640px) {

    .foot{
        top: 1600px;

    }

    header {
        position: static;
        overflow: visible;
       
    }

    nav ul {
        align-content: center;
        float: left;
        
    }

}
