html, body {
    position: relative;
    margin: 0; padding: 0;
    width: 100%;
    height: 100%;
    font-family: Raleway, Arial, sans-serif;
    color: white;
    background-color: black;
}

#content {
    position: relative;
    width:100%;
    height: 100%;
    min-height: 550px;
    min-width: 900px;
    z-index: 1;
}

#content-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}

#content-background.primary {
    background: url('../img/twine-mess-croppped.jpg') no-repeat top right;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#content-background.secondary {
    background: url('../img/braided-leather.jpg') no-repeat top right;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#flash-bulb {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10001;
    background-color: white;
    opacity: 0;
}

#logo {
    position: absolute;
    top: 67px; left: 75px;
}

#logo img {
    width: 332px;
}

#quote-frame {
    position: absolute;
    height: 205px; width: 280px;
}

#quote-frame.vertical {
    top: 30%; right: 53%;
}

#quote-frame.horizontal {
    top: 30%; right: 45%;
}

#quote-frame.vertical.with-marks::before {
    content: url('../img/left-quote-dark.png');
    position: absolute;
    top: -40px; left: 42%;
}

#quote-frame.vertical.with-marks::after {
    content: url('../img/right-quote-dark.png');
    position: absolute;
    bottom: 10px; left: 42%;
}

#quote-frame.horizontal::before {
    content: url('../img/left-quote-light.png');
    position: absolute;
    top: 22px; left: -48px;
    opacity: 0.4%;
}

#quote-frame.horizontal::after {
    content: url('../img/right-quote-light.png');
    position: absolute;
    top: 22px; right: -51px;
    opacity: 0.4%;
}

#quote-slide {
    width: 280px;
    height: 150px;
    transition: height .8s ease;
    overflow: hidden;
}

#quote {
    font-style: italic;
    line-height: 33px;
    font-size: 21px;
    margin: .5rem;
}

#cite {
    font-style: normal;
    font-size: 11px;
    text-transform: uppercase;
}

#navigation {
    position: absolute;
    top: 230px; left: 75px;
    min-width: 70px;
    padding-left: 5px;
}

.nav-button {
    position: relative;
    height: 70px;
    transition: opacity 1s ease;
}

.nav-button:hover .info-slide {
    width: 200px;
}

.nav-button a {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.info-slide {
    position: absolute;
    width: 0; height: 100%;
    margin-left: 70px;
    transition: width .5s ease-in;
    overflow: hidden;
}

.nav-info {
    position: absolute;
    right: 0; top: 50%;
    width: 200px;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.nav-label {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    margin: .1rem 0;
}

.nav-description {
    font-size: 11px;
    font-weight: 100;
    margin: 0;
}

#nav-about:hover {
    opacity: 1;
}

#nav-email {
    background: url('../img/nav/email-icon-white.png?v=2') no-repeat;
    background-size: 70px 70px;
    opacity: 0.4;
}

#nav-email:hover {
    opacity: 1;
}

#nav-linkedin {
    background: url('../img/nav/linkedin-icon-white.png?v=2') no-repeat;
    background-size: 70px 70px;
    opacity: 0.4;
}

#nav-linkedin:hover {
    opacity: 1;
}

#nav-github {
    background: url('../img/nav/github-icon-white.png?v=2') no-repeat;
    background-size: 70px 70px;
    opacity: 0.4;
}

#nav-github:hover {
    opacity: 1;
}

.brick {
    color: #EE4036;
}

.dk-red {
    color: #7F1418;
}

.lt-blue {
    color: #71C8CA;
}

.blue {
    color: #0691CB;
}

.purple {
    color: #76297A;
}

.orange {
    color: #F38230;
}

.black {
    color: #000000;
}

.white {
    color: #FFFFFF;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

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

    #content-background.primary {
        background: url('../img/twine-mess-croppped.jpg') no-repeat top right;
        -webkit-background-size: 925px 520px;
        -moz-background-size: 925px 520px;
        -o-background-size: 925px 520px;
        background-size: 925px 520px;
    }

    #content-background.secondary {
        background: url('../img/braided-leather.jpg') no-repeat top right;
        -webkit-background-size: 925px 520px;
        -moz-background-size: 925px 520px;
        -o-background-size: 925px 520px;
        background-size: 925px 520px;
    }

}

@media only screen
and (max-device-width: 667px)
and (orientation: landscape) {

    #content-background.primary {
        background: url('../img/twine-mess-croppped.jpg') no-repeat top right;
        -webkit-background-size: 925px 520px;
        -moz-background-size: 925px 520px;
        -o-background-size: 925px 520px;
        background-size: 925px 520px;
    }

    #content-background.secondary {
        background: url('../img/braided-leather.jpg') no-repeat top right;
        -webkit-background-size: 925px 520px;
        -moz-background-size: 925px 520px;
        -o-background-size: 925px 520px;
        background-size: 925px 520px;
    }


    #quote-frame.vertical {
        top: 43%; right: 50%;
    }

    #quote-frame.horizontal {
        top: 30%; right: 30%;
    }

}

@media only screen and (max-device-width: 480px) and (orientation: portrait) {

    #content-background.primary {
        background: url('../img/twine-mess-croppped-vertical.jpg') no-repeat top right;
    }

    #content-background.secondary {
        background: url('../img/braided-leather-vertical.jpg?v=5') no-repeat top right;
    }

    #logo img {
        width: 664px;
    }

    #quote-frame.vertical {
        top: 27%; right: 18%;
        height: 335px; width: 450px;
    }

    #quote-frame.horizontal {
        top: 27%; right: 19%;
        height: 335px; width: 450px;
    }

    #quote-frame.vertical::before {
        top: -40px; left: 42%;
    }

    #quote-frame.vertical::after {
        bottom: 10px; left: 42%;
    }

    #quote-frame.horizontal::before {
        top: 50px; left: -42px;
    }

    #quote-frame.horizontal::after {
        top: 50px; right: -68px;
    }

    #quote-slide {
        width: 470px;
        height: 300px;
    }

    #quote {
        line-height: 66px;
        font-size: 42px;
    }

    #cite {
        font-size: 24px;
    }

    #navigation {
        top: 330px; left: 80px;
        min-width: 140px;
    }

    .nav-button {
        height: 140px;
    }

    #nav-github {
        background-size: 140px 140px;
    }

    #nav-linkedin {
        background-size: 140px 140px;
    }

    #nav-email {
        background-size: 140px 140px;
    }

}