html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

h2 {
    font-family: 'Press Start 2P', sans-serif;
}

#wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: white;
}

#orange {
    position: absolute;
    left: -170px;
    top: 100px;
    width: 150px;
    height: 150px;
    background-color: #F66742;
}

#blue {
    position: absolute;
    right: -170px;
    top: 100px;
    width: 150px;
    height: 150px;
    background-color: #386699;
}

img.wait {
    width: 150px;
    height: auto;
    opacity: 0;
}
#layer-1-copy {
    position: absolute;
    top: 360px;
    width: 500px;
    max-width: 100%;
    left: calc(50% - 250px);
    opacity: 0;
    margin: 0 auto;
    text-align: center;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 26px;
    color: #386699;
}

#click-start {
    position: absolute;
    top: 450px;
    width: 250px;
    left: calc(50% - 125px);
    text-align: center;
    padding: 10px 0 10px 0;
    border: 3px solid #F66742;
    background-color: #ffffff;
    font-family: 'Press Start 2P', sans-serif;
    color: #336598;
    font-size: 24px;
    opacity: 0;
    cursor: pointer;
}

#main, #footer {
    display: none;
    animation: fadeEffect 1.5s;
}
/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

#main {
    position: relative;
}

#preload {
    position: absolute;
    left: -10px;
    width: 0px;
    height: 0px;
    background-image: url("/wblu-block-bg.png");
}

#who-what-head {
    position: relative;
    height: 240px;
    width: 100%;
    background-image: url("/wblu-block-bg.png");
}

#who-what {
    position: relative;
    background-color: #336598;
}

#clouds {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

#big-cloud, #small-cloud {
    position: absolute;
}

#small-cloud {
    width: 150px;
    height: auto;
    top: 55px;
    left: -250px;
}

#big-cloud {
    width: 200px;
    height: auto;
    left: 50%;
    top: 20px;
}
#who-what-title {
    width: 100%;
    position: relative;
}
#who-what-title h2 {
    font-size: 30px;
    padding-top: 10px;
}
#who-what-title img {
    position: absolute;
    right: 0;
    top: 0;
}

#who-what-copy {
    position: relative;
    width: 500px;
    margin-left: calc(50% - 250px);
    color: #ffffff;
    padding-top: 30px;
    line-height: 1.6em;
}

#who-what-copy h2 {
    margin-top: 0;
}

#ledge {
    width: 100%;
    height: 50px;
    background-image: url("/ledge.png");
}

#layer-2-head {
    position: relative;
    height: 300px;
    width: 100%;
    background-image: url("/girders.png");
}

#layer-2 {
    position: relative;
    padding: 50px 0 50px 0;
    background-color: #000000;
    color: #ffffff;

}

#layer-2-left {
    position: relative;
    width: 50%;
    float: left;
    text-align: center;
    padding-top: 80px;
}

#dysentery {
    color: #00FC39;
    font-size: 22px;
    font-family: 'Press Start 2P', sans-serif;
    line-height: 1.4em;
}

#layer-2-right {
    width: 50%;
    max-width: 400px;
    float: left;
    line-height: 1.6em;
}

#layer-2-right h3 {
    font-size: 22px;
}

#layer-3-head {
    position: relative;
    height: 100px;
    width: 100%;
}

#layer-3 {
    position: relative;
    padding: 60px 30px 60px 30px;
    background-color: #ffffff;
    z-index: 16;
}

#layer-3-copy {
    width: 600px;
    max-width: calc(100% - 20px);
    color: #386699;
}


#layer-4-head {
    position: relative;
    height: 100px;
    width: 100%;
    z-index: 20;
    background-color: #ffffff;
}

#layer-4 {
    position: relative;
    color: #dddddd;
    background-color: #000000;
    padding-bottom: 75px;
    z-index: 10;
}

#asteroid-1 {
    position: absolute;
    top: -100px;
    left: 60px;
    z-index: 15;
}

#asteroid-2 {
    position: absolute;
    top: 150px;
    left: -100px;
    z-index: 15;
}

#asteroid-3 {
    position: absolute;
    bottom: -100px;
    right: 100px;
    z-index: 15;
}

#asteroid-4 {
    position: absolute;
    top: 200px;
    left: calc(100% + 100px);
    z-index: 15;
}

#portfolio-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100px;
}

#high-scores {
    margin-left: calc(50% - 125px);
    padding-bottom: 50px;
}

#inner-portfolio-wrapper {
    position: relative;
    width: calc(100% - 40px);
    max-width: 760px;
    height: 550px;
    margin-left: calc(50% - 400px);
    padding: 20px;
    overflow: hidden;
    z-index: 20;
}

#inner-portfolio-wrapper a {
    color: #dddddd;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.portfolio-item {
    display: none;
    animation: fadeIn 1.5s;
}

.portfolio-item img {
    max-width: 100%;
    height: auto;
}

.portfolio-item .active {
    animation: fadeOut 1.5s;
}

.portfolio-item:first-child {
    display: block;
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.portfolio-image {
    padding-top: 20px;
}

#layer-5-head-wrapper {
    position: relative;
    height: 240px;
    width: 100%;
    padding: 0;
    background-color: #000000;
}

#layer-5-head {
    position: relative;
    height: 240px;
    width: 100%;
    z-index: 16;
    background-image: url("/gr-block-bg.png");
}

#layer-5-spacer {
    position: relative;
    height: 40px;
    background-color: #004500;
    z-index: 16;
}

#treetops {
    position: relative;
    height: 60px;
    background-image: url("/treetops.png");
    z-index: 100;
}

#layer-5-content-wrap {
    position: relative;
    background-color: #1b901b;
    z-index: 16;
}

#layer-5-content-outer {
    position: relative;
    width: 600px;
    margin-left: calc(50% - 300px);
    background-color: #000000;
    z-index: 17;
    margin-top: -60px;
}

#layer-5-content {
    position: relative;
    width: 480px;
    background-color: #1b901b;
    margin-left: 30px;
    color: #ffffff;
    padding: 100px 30px 100px 30px;
    line-height: 1.6em;
    z-index: 20;
}

#layer-5-content h2 {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.4em;
}

#layer-5-h2-break {
    display: none;
}

#layer-5-under-1 {
    position: relative;
    height: 65px;
    background-color: #8f9120;
    z-index: 20;
}

#layer-5-under-1 img {
    padding-top: 10px;
    margin-left: calc(50% - 265px);
}

#layer-5-under-2 {
    position: relative;
    height: 40px;
    background-color: #444600;
    z-index: 20;
}

#layer-6-head {
    position: relative;
    width: 100%;
    height: 77px;
    padding: 0;
    background-image: url("/pac-top.png");
    z-index: 20;
}

#layer-6 {
    position: relative;
    height: 630px;
    padding-top: 50px;
    width: 100%;
    background-image: url("/contact-layer-bg.png");
    color: #FDFFAE;
    text-align: center;
    z-index: 20;
}

#layer-6 h2 {
    margin-top: 0;
    text-align: center;
}

#layer-6-copy {
    padding-top: 10px;
}

#contact-form-wrapper {
    position: absolute;
    left: calc(50% - 211px);
    top: 219px;
    width: 422px;
    height: 451px;
    background-image: url("/contact-form-bg.png");
}

#contact-form input[type=text] {
    border: 0;
    background-image: url("/input-bg.png");
    width: 280px;
    height: 22px;
    color: #FDFFAE;
    padding: 5px 0 0 15px;
}

#contact-form input::placeholder {
    color: #FDFFAE;
    font-family: 'Press Start 2P', sans-serif;
}
::-webkit-input-placeholder, /* Chrome/Opera/Safari */
::-moz-placeholder, /* Firefox 19+ */
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
    color: #FDFFAE;
    font-family: 'Press Start 2P', sans-serif;
}

#name {
    position: absolute;
    top: 60px;
    left: calc(50% - 148px);
}

#email {
    position: absolute;
    top: 98px;
    left: calc(50% - 148px);
}

#contact-form label {
    position: absolute;
    top: 140px;
    left: 77px;
    font-family: 'Press Start 2P', sans-serif;
    font-size: 13px;
}

#message {
    position: absolute;
    top: 160px;
    left: calc(50% - 148px);
    width: 275px;
    height: 180px;
    padding: 10px;
    color: #FDFFAE;
    border: 0;
    background-image: url("/message-bg.png");
}

#contact-form input[type=submit] {
    position: absolute;
    top: 375px;
    left: calc(50% - 148px);
    border: 0;
    background-image: url("/input-bg.png");
    width: 295px;
    height: 27px;
    color: #FDFFAE;
    text-align: center;
    font-family: 'Press Start 2P', sans-serif;
    padding: 0;
    cursor: pointer;
}

#footer-head {
    position: relative;
    height: 240px;
    width: 100%;
    background-image: url("/b-w-girders.png");
    z-index: 20;
}

#footer {
    position: relative;
    padding: 30px;
    background-color: #386699;
    color: #ffffff;
    z-index: 20;
}

#footer-left h3 {
    margin: 0 0 10px 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

#footer-left p {
    margin: 0;
}

#footer-left a {
    color: #ffffff;
}

#footer-right {
    position: absolute;
    right: 30px;
    bottom: 30px;
    text-align: right;
}


@media only screen and (max-width: 900px) {
    #layer-2-left, #layer-2-right {
        width: 100%;
        float: none;
    }

    #layer-2-left {
        padding-top: 0;
    }

    #layer-2-right {
        margin-left: calc(50% - 200px);
    }
}

@media only screen and (max-width: 800px) {
    #inner-portfolio-wrapper {
        margin-left: 0;
        border: none;
    }
}

@media only screen and (max-width: 700px) {
    #inner-portfolio-wrapper {
        height: 500px;
    }
}

@media only screen and (max-width: 600px) {
    #layer-5-content-outer {
        width: 100%;
        margin-left: 0;
    }
    #layer-5-content {
        width: calc(100% - 60px);
        padding: 100px 10px 50px 10px;
        margin-left: 20px;
    }
    #layer-5-under-1 img {
        width: calc(100% - 20px);
        margin-left: 10px;
    }
    #inner-portfolio-wrapper {
        height: 450px;
    }
}

@media only screen and (max-width: 570px) {
    #who-what-copy {
        width: calc(100% - 20px);
        margin-left: 10px;
    }
}

@media only screen and (max-width: 500px) {
    #layer-1-copy {
        left: 0;
    }

    #footer-right {
        position: relative;
        right: auto;
        bottom: auto;
        text-align: left;
        padding-top: 10px;
    }

    #layer-5-content h2 {
        font-size: 14px;
    }

    #inner-portfolio-wrapper {
        height: 400px;
    }
}

@media only screen and (max-width: 470px) {
    #layer-2 {
        padding: 100px 10px 100px 10px;
    }
    #dysentery {
        font-size: 18px;
    }
    #layer-2-left img {
        width: calc(100% - 20px);
    }
    #layer-2-right {
        margin-left: 0;
        width: calc(100% - 20px);
    }
}

@media only screen and (max-width: 450px) {
    #who-what-title h2 {
        width: 260px;
        font-size: 22px;
        padding-top: 5px;
    }
    #who-what-title img {
        width: 30px;
        height: 30px;
    }
    #layer-5-h2-break {
        display: inline-block;
    }
    #layer-5-under-1 {
        height: 55px;
    }
    #inner-portfolio-wrapper {
        height: 375px;
    }
}

@media only screen and (max-width: 400px) {
    #orange, #blue, img.wait {
        width: 100px;
        height: 100px;
    }
    #layer-1-copy {
        top: 300px;
    }
    #inner-portfolio-wrapper {
        height: 350px;
    }

}

@media only screen and (max-width: 360px) {
    #dysentery {
        font-size: 16px;
    }
    #who-what-title h2 {
        width: 255px;
    }
}