* {
    margin: 0;
    padding: 0;
}

main {
    display: block;
}

a {
    text-decoration: none;
}

hr {
    border: none;
    height: 2px;
    color: white;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}

h4, p {
    margin-bottom: 15px;
}

/* --- Navbar --- */

ul {
    background-color: #333;
    list-style: none;
    overflow: hidden;
}

li {
    float: right;
}

li a {
    color: white;
    display: block;
    padding: 14px 15px;
    text-align: center;
    text-decoration: none;
}

li a:hover {
    background-color: #111;
}

.topnav {
    overflow: hidden;
    background-color: #333;
}

.topnav a {
    float: left;
    display: none;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav .icon {
    display: none; /* Hides icon when big */
}

@media screen and (max-width: 480px) {
    ul {
        display: none;
    }

    .topnav a {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
        border: none;
    }
}

@media screen and (max-width: 480px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
}

/* --- Heading --- */
header {
    width: 100%;
    height: 800px;
    padding-top: 1px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    background: linear-gradient(rgba(20,20,20, .2),rgba(20,20,20, .2)),url(../images/intro.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}


.headbox {
    clear: both;
    width: 560px;
    height: 400px;
    margin: 177px auto;
    padding-top: 1px;
}

.heading {
    width: 100%;
    height: 300px;
    margin-top: 100px;
    text-align: center;
    color: white;
    font-family: sans-serif;
}

h1 {
    font-size: 64px;
    letter-spacing: 5px;
    font-family: serif;
}

.heading h2 {
    display: inline;
    margin-right: 15px;
}

.heading span {
    display: block;
}

/* --- Intro --- */

.intro {
    width: 100%;
    height: 900px;
    padding-top: 1px;
}

.introBox {
    width: 1200px;
    height: 800px;
    margin: 100px auto 0px;
}

.info {
    width: 600px;
    height: 800px;
    float: left;
}

.infoPic {
    width: 550px;
    height: 800px;
    margin: 0px 25px;
}

.infoPic img {
    width: 460px;
    height: 100%;
}

.infoText {
    width: 580px;
    height: 500px;
    margin-top: 150px;
    font-family: sans-serif;
    line-height: 1.6;
}

.infoText h2, .infoText p {
    margin-bottom: 20px;
}

.infoText h2 {
    font-size: 20px;
}

.infoText p {
    color: #696969;
}

button {
    background-color: rgba(255, 77, 77, 1);
    font-family: sans-serif;
    font-size: 16px;
    color: white;
    padding: 15px 60px;
    margin-top: 30px;
    margin-right: 15px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    transition: background-color .5s;
}

button:hover {
    background-color: rgb(0, 0, 128);
    border: 1px solid white;
}

/* --- Resume ---*/

.resume {
    width: 100%;
    height: 800px;
    padding-top: 1px;
    background: linear-gradient(rgba(20,20,20, .4),rgba(20,20,20, .4)),url(../images/resume1.jpeg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}

.xp {
    width: 1200px;
    height: 600px;
    margin: 100px auto 0px;
}

.work {
    width: 570px;
    height: 550px;
    float: left;
    margin: 25px 15px 0px;
    padding-bottom: 10px;
}

.purpleFade {
    background: linear-gradient(rgba(20,20,20, .4),rgba(20,20,20, .4));
    background-color: rgba(238,130,238,.4);
    color: white;
}

.boxtext {
    width: 490px;
    height: 430px;
    margin: 60px 40px;
}

.boxtext p {
    font-size: 16px;
    font-family: sans-serif;
}

.boxtext h4 {
    font-size: 18px;
    font-family: sans-serif;
}

.boxtext hr {
    margin: 25px 0px;
}

/* --- Projects --- */

.projects {
    width: 100%;
    height: 800px;
    text-align: center;
    padding-bottom: 60px;
}

.projects h2 {
    font-size: 40px;
    margin-top: 100px;
    margin-bottom: 10px;
}

.projects p {
    font-size: 18px;
    font-family: sans-serif;
    color: #696969;
}

.wall {
    width: 1200px;
    height: 700px;
    margin: 30px auto 0px;
}

.frame {
    width: 400px;
    height: 300px;
    margin: 25px 100px;
    float: left;
}

.frame p {
    font-size: 18px;
    font-family: sans-serif;
}

.pic {
    width: 400px;
    height: 255px;
    margin: 0px 0px 10px;
}

.pic img {
    width: 100%;
    height: 100%;
}

.clear {
    clear: both;
}

/* --- Contact --- */

.contact {
    width: 100%;
    height: 1000px;
    padding-top: 1px;
    background: linear-gradient(rgba(20,20,20, .4),rgba(20,20,20, .4)),url(../images/contact1.jpeg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
    color: white;
}

.contactBox {
    width: 1200px;
    height: 800px;
    margin: 100px auto;
}

.contactCol {
    width: 560px;
    height: 800px;
    float: left;
    margin: 0px 20px;
}

.ccBox {
    width: 560px;
    height: 250px;
    margin-bottom: 25px;
    padding-top: 1px;
}

#boxEnd {
    margin-bottom: 0px;
}

.ccBoxText {
    width: 500px;
    height: 200px;
    margin: 25px 30px;
    padding-top: 1px;
}

.ccBoxText h3,
.ccBoxText p {
    margin: 30px 15px;
}

.ccBoxText p {
    font-size: 16px;
    font-family: sans-serif;
}

.message {
    width: 500px;
    height: 720px;
    margin: 40px 30px;
    padding-top: 1px;
}

.message h3 {
    margin: 15px 15px 30px;
}

.message input[type=text], .message input[type=email], .message textarea {
    width: 470px;
    height: auto;
    padding: 18px;
    border: 1px solid white;
    background-color: inherit;
    box-sizing: border-box;
    margin: 12px 15px;
    resize: vertical;
    color: white;
}

.message input[type=submit] {
    background-color: rgba(255, 77, 77, .8);
    font-family: sans-serif;
    font-size: 16px;
    color: white;
    padding: 15px 60px;
    margin-top: 30px;
    margin-right: 15px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    float: right;
    transition: background-color .5s;
}

input[type=submit]:hover {
    background-color: rgb(0, 0, 128);
    border: 1px solid white;
}

/* --- End --- */
footer {
    width: 100%;
    height: 150px;
    padding-top: 1px;
    background-color: #222;
    text-align: center;
    color: white;
}

.end {
    width: 300px;
    height: 100px;
    margin: 40px auto 0px;
}

.end p {
    margin-top: 10px;
}

.end a {
    text-decoration: none;
    color: #089EF5;
}

.iconbox {
    width: 123px;
    height: 40px;
    margin: auto;
}

.icon {
    width: 40px;
    height: 32px;
    float: left;
    border-right: 1px solid white;
}

.logo {
    width: 28px;
    height: 28px;
    margin: 2px 6px;
}

#logoEnd {
    width: 40px;
    height: 32px;
    margin: 0px;
    border-right: 0px;
}

.logo img {
    width: 100%;
    height: 100%;
}
