/*
Javascript-video-scrubber Demo
Created by Gary Hepting and the Dev Team at Emerge Interactive
Fork, follow and watch on Github at https://github.com/ghepting/javascript-video-scrubber
Visit Emerge Interctive at http://emergeinteractive.com/
*/

body {
    min-height: 4800px;
}

img#video {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#overlay {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: url('./images/grid_overlay.png');
}

#content {
    font-family: "brandon-grotesque", sans-serif;
    position: relative;
    z-index: 2;
    width: 500px;
    height: 4500px;
    width: 66%;
    padding: 4% 6%;
    margin: 0 10%;
    font-size: 1.5em;
    text-align: center;
    list-style: none;
    font-weight: bold;
}

#full-page-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#nav {
    position: absolute;
    width: 500px;
    height: 500px;
    margin-right: auto;
    margin-left: auto;
    left: 50%;
    top: 12%;
    margin-left: -250px;
    margin-top: -250px;
    font-size: 3.5em;
    text-align: center;
    list-style: none;
    font-weight: 300;
}

#nav li {
    margin-top: 20px;
}

#nav li a {
    color: rgba(32, 34, 34, 0.29);
    text-decoration: none;
    transition: all 1s ease;
}

#nav li a:hover,
#nav li a:focus {
    color: rgba(32, 34, 34, 0.79);
}

#footer {
    text-align: center;
}

#footer h1 a {
    border: none;
}

.home {
    text-align: center;
    font-weight: bold;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 100px;
    height: auto;
    font-size: 1em;
    z-index: 5;
    line-height: 20px;
}

.home a {
    opacity: .4;
    text-decoration: none;
    transition: all .5s ease;
}

.home a:hover {
    color: black;
    opacity: .6;
}


/* ------------------------------------------------------------------ */

button {
    outline: none;
    border: none;
    background-color: black;
    color: gray;
}

.mobile_controls_play {
    opacity: .6;
    width: 65px;
    height: 40px;
    background: gray;
    color: white;
    font-size: 1.05em;
    font-weight: 900;
    margin: 0;
    padding: 3px 6px 4px 6px;
    border: none;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}

.mobile_controls_play:hover {
    background: black;
}

.mobile_controls_pause {
    opacity: .6;
    width: 40px;
    height: 40px;
    background: gray;
    color: white;
    font-size: 1.05em;
    font-weight: 900;
    margin: 0;
    padding: 3px 6px 4px 6px;
    border: none;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    transition: all .5s ease;
}

.mobile_controls_pause:hover {
    background: black;
}

.player_controls {
        position: fixed;
        float: left;
        right: .5em;
        bottom: 0;
        z-index: 10;
    }
    
    .player_controls img {
        width: 50px;
        height: auto;
        opacity: .5;
        padding-left: .75em;
    }
    
    .play {
        position: fixed;
        float: left;
        right: .25em;
        bottom: 0;
        z-index: 10;
        width: 50px;
        height: 50px;
        background-image: url(images/speaker_icon_play.png);
        background-size: contain;
        opacity: .5;
    }
    
    .pause {
        position: fixed;
        float: left;
        right: .25em;
        bottom: 0;
        z-index: 10;
        width: 50px;
        height: 50px;
        background-image: url(images/speaker_icon_pause.png);
        background-size: contain;
        opacity: .5;
    }
/* ------------------------------------------------------------------ */

@media screen and (min-width: 480px)
/*==========================anything above apply these rules==============================   480 px  */

{
    #content {
        width: 500px;
        height: 2500px;
        width: 66%;
        padding: 4% 6%;
        font-size: 2.15em;
        
    }
    #nav {
        top: 20%;
        font-weight: 400;
    }
}

@media screen and (min-width: 640px)
/*==========================anything above apply these rules==============================   640 px  */

{
    #content {
        font-size: 2.5em;
        
    }
    #nav {
        top: 20%;
        font-weight: 400;
    }
}

@media screen and (min-width: 960px)
/*==========================anything above apply these rules==============================   960 px  */

{
    #content {
        font-size: 3em;
    }
    #nav {
        font-weight: 500;
    }
}

@media screen and (min-width: 1200px)
/*==========================anything above apply these rules==============================   1200 px  */

{
    #content {
        font-family: times, serif;
        position: relative;
        z-index: 2;
        width: 500px;
        height: 4500px;
        width: 66%;
        padding: 4% 6%;
        margin: 0 10%;
        font-size: 4em;
        text-align: center;
        list-style: none;
        font-weight: bold;
    }
    #nav {
        position: absolute;
        width: 500px;
        height: 500px;
        margin-right: auto;
        margin-left: auto;
        left: 50%;
        top: 15%;
        margin-left: -250px;
        margin-top: -250px;
        font-size: 3.5em;
        text-align: center;
        list-style: none;
        font-weight: bold;
    }
}