@media screen and (max-width: 767px) {
    /* --- Heading --- */
    h1 {
        font-size: 50px;
        font-family: serif;
    }

    .headbox {
        width: 95%;
        height: 200px;
        margin: 277px auto;
        padding-top: 1px;
    }

    .heading {
        width: 100%;
        height: 124px;
        margin-top: 38px;
        text-align: center;
        color: white;
        font-family: sans-serif;
    }

    .heading h2 {
        font-size: 18px;
        display: inline;
        margin-right: 15px;
    }

    .heading span {
        display: inline;
    }

    /* --- Intro --- */

    .intro {
        width: 100%;
        height: auto;
        padding-top: 1px;
    }

    .introBox {
        width: 95%;
        height: auto;
        margin: 50px auto;
    }

    .info {
        width: 100%;
        height: auto;
        float: none;
    }

    .infoPic {
        width: 95%;
        height: auto;
        margin: 0px 0px;
    }

    .infoPic img {
        width: 400px;
        height: auto;
        max-width: 100%;
    }

    #textinfo {
        height: auto;
        padding-top: 1px;
    }

    .infoText {
        width: 95%;
        height: auto;
        margin: 50px auto 0px;
        font-family: sans-serif;
        line-height: 1.6;
    }

    .infoText h2, .infoText p {
        margin-bottom: 20px;
    }

    .infoText h2 {
        font-size: 14px;
    }

    .infoText p {
        font-size: 12px;
        color: #696969;
    }

    /* --- Resume --- */

    .resume {
        width: 100%;
        height: 1200px;
        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: 95%;
        height: 1000px;
        margin-top: 120px;
        margin-left: auto;
        margin-right: auto;
    }

    .work {
        width: 100%;
        height: 450px;
        float: left;
        margin: 25px auto 0px;
        padding-bottom: 10px;
    }

    .boxtext {
        width: 90%;
        height: 430px;
        margin: 30px auto 0px;
    }

    .boxtext p {
        font-size: 12px;
        font-family: sans-serif;
    }

    .boxtext h4 {
        font-size: 16px;
        font-family: sans-serif;
    }

    .boxtext hr {
        margin: 25px 0px;
    }

    /* --- Projects --- */

    .projects {
        width: 100%;
        height: auto;
        text-align: center;
        padding-bottom: 60px;
    }

    .projects h2 {
        font-size: 40px;
        margin-top: 50px;
        margin-bottom: 10px;
    }

    .projects p {
        font-size: 16px;
        font-family: sans-serif;
        color: #696969;
    }

    .wall {
        width: 90%;
        height: auto;
        padding-top: 1px;
        margin: 50px auto 0px;
    }

    .frame {
        width: 100%;
        height: auto;
        margin: 0px auto 30px;
        padding: 1px;
        float: none;
    }

    .frame p {
        font-size: 18px;
        font-family: sans-serif;
    }

    .pic {
        width: 100%;
        height: auto;
        margin: 0px 0px 10px;
    }

    .pic img {
        width: 100%;
        height: 100%;
    }

    .clear {
        clear: none;
    }

    /* --- Contact --- */

    .contact {
        width: 100%;
        height: 1850px;
        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: 95%;
        height: 1700px;
        margin: 80px auto 0px;
    }

    .contactCol {
        width: 100%;
        height: 800px;
        margin: 25px auto;
    }

    .ccBox {
        width: 100%;
        height: 250px;
        margin-bottom: 25px;
        padding-top: 1px;
    }

    #boxStart {
        margin-top: 0px;
    }

    #boxEnd {
        margin-bottom: 0px;
    }

    .ccBoxText {
        width: 95%;
        height: 200px;
        margin: 25px auto;
        padding-top: 1px;
    }

    .ccBoxText h3,
    .ccBoxText p {
        margin: 30px 15px;
    }

    .ccBoxText p {
        font-size: 16px;
        font-family: sans-serif;
    }

    .message {
        width: 90%;
        height: 720px;
        margin: 40px auto;
        padding-top: 1px;
    }

    .message h3 {
        margin: 15px 0px 30px;
    }

    .message input[type=text], .message input[type=email], .message textarea {
        width: 100%;
        height: auto;
        padding: 18px;
        border: 1px solid white;
        background-color: inherit;
        box-sizing: border-box;
        margin: 12px auto;
        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: 0px;
        border: none;
        border-radius: 0px;
        cursor: pointer;
        float: right;
        transition: background-color .5s;
    }
}
