


@media screen {



    @font-face {
        font-family: 'open_sanslight';
        src: url('OpenSans-Light-webfont.eot');
        src: url('OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), url('OpenSans-Light-webfont.woff') format('woff'), url('OpenSans-Light-webfont.ttf') format('truetype'), url('OpenSans-Light-webfont.svg#open_sanslight') format('svg');
        font-weight: normal;
        font-style: normal;
    }

    body {
        margin: 0;
        font-family: open_sanslight, sans-serif;
        font-size: 18px;
    }

    a {
        text-decoration-line: none;
        color: #317988;
    }

        a:hover {
            text-decoration-line: underline;
        }

    .content {
        box-sizing: border-box;
        border-radius: 8px;
        padding: 20px;
        background-color: #FFFFFF;
        z-index: 0;
    }

    .icon-container {
        display: block;
        position: absolute;
    }

    .linked-in {
        display: inline-block;
        position: relative;
        left: 10px;
        top: 120px;
        background-image: url('../images/linkedin.png');
        background-position-x: right;
        width: 23px;
        height: 23px;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: width;
        transition-timing-function: cubic-bezier(0.16, 0.22);
        text-indent: -9999px;
        z-index: 99999;
    }

    .linked-in-expanded {
        width: 92px;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: width;
        transition-timing-function: cubic-bezier(0.16, 0.22);
    }

    .linked-in a {
        display: inline-block;
    }

    .email {
        display: inline-block;
        position: relative;
        left: 10px;
        top: 120px;
        background-image: url('../images/email.png');
        background-position-x: left;
        width: 23px;
        height: 23px;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: width;
        transition-timing-function: cubic-bezier(0.16, 0.22);
        text-indent: -9999px;
        z-index: 99999;
    }

    .email-expanded {
        width: 75px;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: width;
        transition-timing-function: cubic-bezier(0.16, 0.22);
    }

    .email a {
        display: inline-block;
    }

    .content-width {
        width: 980px;
        margin: 0 auto;
        position: relative;
    }

    .content-image {
        padding: 0px;
        background-color: black;
    }

    .skills-list ul {
        margin: 0
    }

    .skills-list li {
        list-style-type: disclosure-closed;
        display: inline-block;
        border: 1px solid #DDDDDD;
        margin: 4px 0px;
        padding: 8px 10px;
        border-radius: 20px;
    }

        .skills-list li:hover {
            box-shadow: 1px 2px 7px 0px #4488FF;
            cursor: default;
            background-color: #F8FDFF
        }

    .pinball {
        background-image: url('../images/reload-installation.jpg');
        background-size: contain;
        height: 210px;
        width: 100%;
    }

    .background-container {
        background-color: #000000;
    }

    .bar-heading {
        background-color: #C5D47D;
        background-image: url('../images/pcb-bar.png');
        background-repeat: no-repeat;
        background-position-x: right;
        background-size: contain;
        box-shadow: -9pt 0 18px 0 rgba(50, 50, 50, 0.3);
        box-sizing: border-box;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: top;
        transition-timing-function: cubic-bezier(0.16, 0.22);
        position: fixed;
        width: 100%;
        height: 60px;
        border-bottom: 1px solid black;
        /*padding: 10px;*/
        top: -100px;
        z-index: 9999;
    }

    .tagline {
        background-image: url('../images/waynejohnson.png');
        width: 503px;
        height: 35px;
        opacity: 0.4;
        background-position-x: right;
        background-repeat: no-repeat;
        margin-top: 30px;
    }

    .regular-heading {
        background-color: #61A9B8;
        background-image: url('../images/pcb.png');
        background-repeat: no-repeat;
        background-position-x: right;
        background-size: contain;
        transition-delay: 0s;
        transition-duration: 0.3s;
        transition-property: opacity;
        transition-timing-function: cubic-bezier(0.16, 0.22);
        width: 100%;
        height: 150px;
        border-bottom: 1px solid black;
        /*padding: 10px;*/
        opacity: 1.0;
    }

    .bar-heading .icon-container .linked-in {
        top: 28px;
    }

    .bar-heading .icon-container .email {
        top: 28px;
    }

    .bar-heading .tagline {
        background-image: url('../images/waynejohnson.png');
        background-size: contain;
        position: absolute;
        width: 215px;
        height: 18px;
        opacity: 0.2;
        top: -8px;
        left: 170px;
    }

    .bar-heading.appear {
        top: 0px;
    }

    .regular-heading.hide {
        opacity: 0.0;
    }

    #logo-regular {
        background-image: url('../images/logo.png');
        background-size: contain;
        display: inline-block;
        width: 253px;
        height: 150px;
        position: absolute;
        top: 7px;
        z-index: 9999;
        /*border: 1px solid #444444;*/
    }

    #logo-bar {
        background-image: url('../images/logo.png');
        background-size: cover;
        display: inline-block;
        height: 58px;
        width: 98px;
        position: absolute;
        top: 3px;
        z-index: 9999;
        /*border:1px solid #444444;*/
    }

    .menus {
        /*width: 550px;
  margin-left: 102px;*/
        height: 150px;
        vertical-align: top;
        display: inline-block;
        position: absolute;
        right: 47px;
    }

        .menus li {
            /*border:1px solid #444444;*/
            background-color: rgba(0,0,0,0);
        }

            .menus li:hover {
                background-color: rgba(0,0,0,0.2); /*#00000040;*/
            }

            .menus li.selected {
                background-color: rgba(0,0,0,0.2); /*#00000040;*/
            }


    .regular-heading .menus ul {
        margin: 3px;
    }



    .regular-heading .menus li {
        display: inline-block;
        margin-top: 23px;
        font-family: open_sanslight, sans-serif;
        font-size: 17px;
        margin-bottom: 0;
        margin-left: 30px;
    }

    .bar-heading .menus {
        height: 50px;
    }

        .bar-heading .menus ul {
            margin: 0;
        }

        .bar-heading .menus li {
            display: inline-block;
            font-family: open_sanslight, sans-serif;
            font-size: 17px;
            margin-bottom: 0;
            margin-left: 30px;
            margin-top: 0;
        }

            .bar-heading .menus li > a {
                color: #ffffc1
            }

    .menus li > a {
        text-decoration: none;
        color: #c1ffff;
        padding: 18px;
        display: inline-block;
    }


    .box-container {
        width: 700px;
        height: 1200px;
    }

    .littlebox {
        width: 150px;
        height: 100px;
        border: 1px solid grey;
        margin: 10px;
        display: inline-block;
    }

    .player {
        background-color: #DDDDDD;
        border: 1px solid grey;
        position: absolute;
    }

    h1, h2 {
        color: #317988;
        font-family: open_sanslight, sans-serif;
        font-variant: all-small-caps;
        font-weight: normal;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 23px;
    }



    .project {
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #DDDDDD;
        padding: 20px;
    }

    .project-summary {
        color: #666666;
        font-size: 14px;
    }

    .project-image.landscape {
        width: 470px;
        height: 250px
    }

    .project-image.square {
        width: 250px;
        height: 250px
    }

        .project-image.square > img {
            width: 100%;
        }

    .project-image.landscape > img {
        height: 100%;
    }

    .project-image.portrait {
        width: 250px;
        height: 470px;
    }

        .project-image.portrait > img {
            width: 100%;
        }

    .project-image {
        border: 1px solid black;
        padding: 13px;
        box-shadow: 4px 4px 12px -2px black;
        float: left;
        margin-right: 20px;
        margin-top: 10px;
        transform: rotateZ(-1deg);
        z-index: -1
    }



    .orx {
        background-color: #eeffee;
        border: 1px solid #666666;
        border-radius: 5px;
        bottom: 0;
        padding: 15px;
        position: absolute;
        width: 980px;
    }

        .orx > img {
            vertical-align: middle;
            padding-right: 13px;
        }

    .clear {
        clear: both;
    }

    .contact-form {
        border: 1px solid #888888;
        border-radius: 7px;
    }

        .contact-form .heading {
            padding: 10px;
            border-bottom: 1px solid #888888;
            background-color: #FDFDFD;
            border-radius: 7px 7px 0px 0px;
        }

            .contact-form .heading .title h2 {
                margin-top: 5px;
                margin-bottom: 5px;
            }

        .contact-form .body {
            margin: 0px;
        }

        .contact-form .fieldset {
            border-bottom: 1px solid #EEEEEE;
            padding: 15px;
        }

    .fieldset.candy {
        height: 0px;
        margin: 0px;
        padding: 0;
        overflow: hidden;
        border-bottom: 0;
    }

    .contact-form .fieldset:last-child {
        border-bottom-color: transparent;
    }

    .contact-form .field-input {
        display: inline-block;
    }

    .contact-form .field-label, .field-input {
        vertical-align: top;
    }

    .contact-form .field-label {
        width: 100px;
        display: inline-flex;
    }

    .contact-form input, textarea {
        font-family: open_sanslight, sans-serif;
        font-size: 18px;
        margin-left: 10px;
    }

    .contact-form input {
        width: 300px;
    }

        .contact-form input:hover, textarea:hover {
            background-color: #f4fdff;
        }

        .contact-form input:focus, textarea:focus {
            background-color: #FFDD88;
        }

    .contact-form .field-button {
        width: 100px;
        position: relative;
        display: inline-block;
    }

        .contact-form .field-button a {
            padding: 10px;
            border-radius: 5px;
            width: 70px;
            display: inline-block;
            text-align: center;
            color: white;
            background-color: #317988;
            font-weight: bold;
            text-decoration-line: none;
            cursor: pointer;
        }

            .contact-form .field-button a:hover {
                color: white;
                background-color: #5199B8;
            }

            .contact-form .field-button a:active {
                color: white;
                background-color: #81C9E8;
            }

            .contact-form .field-button a.disabled {
                text-indent: -9999px;
            }

    #banner {
        border: 3px solid black;
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 8px;
        background-color: #EEEEEE;
        display: block;
        visibility: hidden;
    }

        #banner.success {
            border: 3px solid green;
            background-color: #EEFFEE;
        }

        #banner.error {
            border: 3px solid red;
            background-color: #FFEEEE;
        }

    #spinner {
        position: absolute;
        background-image: url('../images/spinner.png');
        height: 40px;
        width: 36px;
        left: 27px;
        top: 1px;
        transform-origin: 18px 22px;
        animation: rotate-spinner normal linear infinite;
        animation-duration: 2s;
        display: none;
    }

        #spinner.show {
            display: block;
        }



    @keyframes rotate-spinner {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(359deg);
        }
    }
}


@media screen and (max-width: 800px) {
    body {
        background-color: pink;
    }

    .content-width {
        width: 100%;
    }

    .tagline {
        background-image: url('../images/waynejohnson.png');
        width: 100%;
        background-position-x: left;
        margin-top: 10px;
        background-size: contain;
        display: none;
    }

    #logo-regular {
        background-size: contain;
        width: 253px;
        height: 150px;
        top: 15px;
        z-index: auto;
    }

    #logo-bar {
        display: none;
    }

    #banner {
        width: initial;
    }

    .menus {
        right: initial;
        margin-top: 3px;
    }

    .regular-heading .menus {
        margin-left: 80px;
    }

    .bar-heading .menus {
        margin-left: 40px;
    }

    .regular-heading .menus ul {
        padding: 0 0 0 1.5em;
        margin: 0.15em 0 1.4em 0.55em;
    }

    .regular-heading .menus li {
        margin-top: 0;
        margin-left: 20px;
        margin-right: 16px;
        margin-bottom: 29px;
    }

    .regular-heading {
        position: fixed;
        z-index: 1;
        padding: 8px 0;
    }

    .content {
        z-index: 0;
        top: 140px;
    }

    .icon-container {
        left: 0px;
    }

    .bar-heading {
        display: block; /* Hide completely in mobile.*/
    }

    .bar-heading .icon-container .linked-in {
        top: 5px;
        left: 9px;
        display: block;
    }

    .bar-heading .icon-container .email {
        top: 10px;
        left: 9px;
        display: block;
    }

    .bar-heading .menus ul {
        padding: 0;
        margin: 0;
    }

    .bar-heading .menus ul li {
        margin-left: 0;
    }

    .menus li > a {
        padding: 15px;
    }

    .contact-form textarea {
        width: 93%;
    }

    .contact-form input {
        width: 94%;
    }

}