/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body {
    font: 16px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    margin: 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */

video#backgroundVideo {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(../video/showreel.1.poster.jpg) no-repeat;
    background-size: cover;
}

#shadow {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -50;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    /*    background: url("../img/background.png") top left no-repeat;*/
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.5+0,0+30 */
    
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 100%);
    /* FF3.6-15 */
    
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    /* IE6-9 */
}

#mobileBackground {
    display: none;
}

.title {
    display: none;
}

#history {
    float: left;
}

.game {
    display: flex;
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font: 16px 'Ubuntu', sans-serif;
}

.game a {
    padding: 5px;
    margin: 0px 10px 5px 10px;
    color: white;
    background: black;
}

.mini-header {
    display: flex;
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font: 10px 'Ubuntu', sans-serif;
}

.mini-header a {
    padding: 2px 3px;
    margin: 10px 10px 5px 10px;
    color: black;
    background: white;
}

.mini-header p {
    padding: 2px 3px;
    margin: 10px 10px 5px 10px;
    color: black;
    background: white;
}

.contact {
    display: flex;
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font: 14px 'Ubuntu', sans-serif;
}

.contact a {
    padding: 2px 3px;
    margin: 0px 10px 5px 10px;
    color: white;
    background: black;
}

.contact a:hover {
    color: black;
    background: white;
}

.bio {
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    /* font: 14px 'Ubuntu', sans-serif; */
    /* padding: 2px 3px;*/
    padding: 10px 0px;
    margin: 0px 10px 0px 10px;
}

.bio p {
    /* display: i */
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font: 14px 'Ubuntu', sans-serif;
    padding: 2px 3px;
    margin: 0px;
    color: white;
    background: black;
    clear: both;
    display: table;
}

#history a,
#history a:visited,
.video-control a {
    text-decoration: none;
}

.studio a:hover {
    color: white;
    background: black;
}

.game a:hover {
    color: black;
    background: white;
}

#logo-area {
    padding: 10px 0 5px 10px;
}

.video-control {
    display: inline;
    padding: 0;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
    font: 10px 'Ubuntu', sans-serif;
}

.video-control a {
    padding: 2px 3px;
    margin: 10px 10px 5px 10px;
    color: black;
    background: white;
}

.video-control a:hover {
    color: white;
    background: black;
}

.video-controls {
    position: fixed;
    bottom: 10px;
    right: 0;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 768px) {   
    /* ====================
    MOBILE / TABLET
   ==================== */
    
    video#backgroundVideo {
        display: none;
    }
    
    .video-controls {
        display: none;
    }
    
    #mobileBackground {
        position: fixed;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
        -ms-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);
        background: url(../video/showreel.1.poster.jpg) no-repeat;
        background-size: cover;
        display: block;
    }
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}





/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}