@font-face {
    font-family: 'futura_md_btbold';
    src: url('assets/fonts/futura_bold_bt-webfont.woff2') format('woff2'),
         url('assets/fonts/futura_bold_bt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'futura_hvheavy';
    src: url('assets/fonts/futura-heavy-webfont.woff2') format('woff2'),
         url('assets/fonts/futura-heavy-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body{
    background: black
}


html, body, #content{
    width: 100%;
    height: 100%;
    margin: 0;

    font-family: 'futura_md_btbold';
}

body{
    overflow: hidden;
    max-height: 100vh;
}


#content{
    opacity: 0;
    filter: blur(5px);
    /*visibility: hidden;*/

    -webkit-transition: opacity 2s ease, filter 2s ease;
    -moz-transition: opacity 2s ease, filter 2s ease;
    -o-transition: opacity 2s ease, filter 2s ease;
    transition: opacity 2s ease, filter 2s ease;
}

#content.visible{
    opacity: 1;
    filter: none;
    /*visibility: visible;*/
}

div{
    margin: 0;
}

.image-wrapper{
    position: relative;
    text-align: center;
}

h1{
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7f171a;
    /*text-shadow: 0px 0px 0.5px rgba(0, 0, 0, 0.6);*/
    font-size: 18px;
    margin: 15px 0px 0px 0px;
    width: 80%;
    line-height: 1.5;
    padding: 0% 10%;
}

.main-title{
    /*filter: brightness(65%);*/
    width: 650px;
    max-width: 80%;
    -webkit-transition: width 0.5s ease;
    -moz-transition: width 0.5s ease;
    -o-transition: width 0.5s ease;
    transition: width 0.5s ease;
}

.mobile{display: none}

#bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.preLoader{
    width: 250px;
    height: 250px;

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;

    background: url("assets/gif/002_sb_deerpreloader_003_25fps.gif") no-repeat;
    background-size: cover;
}

#download-trigger{
    
    display: block;
    background: url("assets/img/download.png") no-repeat;
    background-position: center;
    background-size: 100% auto;
    max-width: 300px;
    height: 65px;
    width: 70%;
    /*bottom: 80px;*/
    bottom: 5%;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);

    -webkit-transition: all 0.25s ease;
    -moz-transition:all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;

    opacity: inherit;
    position: absolute;
    cursor: pointer;
}

#download-trigger:after{
    content: "";
    width: 100%;
    height: 100%;
    background: url("assets/img/download_red.png") no-repeat;
    background-position: center;
    background-size: 100% auto;
    display: block;
    opacity: 0;
}

#download-trigger:hover:after{
    opacity: 1;
}

#download-trigger:hover{
    background: url("assets/img/download_red.png") no-repeat;
    background-size: 100% auto;
    background-position: center;
}

/*#download-trigger:hover, #logo:hover{
    filter: invert(1);
}*/

.title-wrapper{
    width: 100%;
    position:relative;
    top: 50%;
    -webkit-transform: translateY(-65%);
    -ms-transform: translateY(-65%);
    -moz-transform: translateY(-65%);
    transform: translateY(-65%);
    text-align: center;
}


.icons{
    display: inline-block;
    width: 100px;
    height: 50px;
    background: url("assets/img/icons.png") no-repeat;
    background-size: 100% auto;
    background-position: center;
    margin-top: 15px;
}
hr{
    width: 80%;
    max-width: 420px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 1em;
    margin: 40px auto;
}

.credits{
    position: absolute;
    text-transform: uppercase;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;

    bottom: 40px;
    right: 10px;
    visibility: hidden;
    opacity:0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    text-align: right;

    font-family: 'futura_hvheavy';
}

.credits a{
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-style: italic;
}

.credits a:hover{
    text-decoration: underline;
}

.credits ul, .credits li{
    margin: 0;
    padding: 0;
}

.credits li{
    list-style: none;
    line-height: 1.5;
}

.credits p{
    margin-top: 0;
}

.credits.visible{
    visibility: visible;
    opacity:1;
}

.button, .frame-wrapper span{
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-size: 8px;
    letter-spacing: 3.5px;
    cursor: pointer;
}


#logo{
    height: 75px;
    width: 100%;
    padding: 5px;
    background: url("assets/img/logo_red.png") no-repeat;
    background-position: center center;
    background-size: auto 100%;
    display: block;
    margin: 0px auto 10px auto;
    cursor: pointer;

    transition: all 0.25s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#unreal{
    display: inline-block;
    width: 40px;
    padding-bottom: 15px;
}

#bg{
    width: 100%;
    height: 100%;
    background: url("assets/img/main_img.jpg") no-repeat;
    background-size: cover;
    background-position: center;

    -webkit-transition: filter 2s ease;
    -moz-transition: filter 2s ease;
    -o-transition: filter 2s ease;
    transition: filter 2s ease;
}

#bg.darken{
    filter: brightness(60%);
}


video{
    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%);
    /*display: none;*/
    /*background: url(polina.jpg) no-repeat;
    background-size: cover; */
}

.hidden{
    display: none;
}

.trailer{
    width: 140px;
    margin: 0 auto;
    opacity: inherit;
    position: absolute;
    /*bottom: 150px;*/
    bottom: 15%;
    left: 50%;
    cursor: pointer;

    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.trailer span{
    opacity: inherit;
}

.trailer .play{
    display: block;
    background: url("assets/img/play.png") no-repeat;
    background-size: 100% auto;

    height: 50px;
    width: 50px;
    position: relative;
    top: 20px;
    margin: 0px auto 55px auto;

    transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
}

.trailer:hover .play{
   top: 10px;
   /*transform: rotateY(360deg);*/
   cursor: pointer;
}

.trailer span:nth-child(2){
    background: url("assets/img/antlers.png") no-repeat;
    background-size: 100% auto;
    top: 0px;
    left: 0px;

    width: 100%;
    height: 100px;
    position:absolute;
}

.trailer span:last-child{
    text-transform: uppercase;
    color: #7f171a;
    letter-spacing: 2px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .desktop{display: none}
    .mobile{display: block}

    html{
    min-height: 320px;
}
    
    #bg{
        background: url("assets/img/main_img_mob.jpg") no-repeat;
        background-size: cover;
        background-position: center;
    }

    h1{font-size: 12px; width: 80%}

    .credits{
        bottom: 0px;
        padding: 2000px 20px 50px 20px;
        right: 0px;
        background: rgba(44, 62, 92, 0.95);
        width: calc(100% - 40px);
    }

    .preLoader{
        background: url("assets/gif/002_sb_deerpreloader_003_25fps.gif") no-repeat;
        background-size: cover;
    }

    /*#logo{
        height: 50px;
        margin-top: 10%;
    }

    .trailer{
        bottom: 15%;
        transform: translateX(-50%) scale(0.8, 0.8);
    }

    #download-trigger{
        bottom: 4%;
    }*/

    .title-wrapper{
        top: 35%;
    }

}

@media screen and (max-height: 700px) {
    .title-wrapper{
        top: 10%;
        -webkit-transform: none;
        -ms-transform: none;
        -moz-transform: none;
        transform: none;
    }

    #logo{
        height: 50px;
        width: 50px;
    }

    .trailer{
        bottom: 15%;
        -webkit-transform: translateX(-50%) scale(0.8, 0.8);
        -ms-transform: translateX(-50%) scale(0.8, 0.8);
        -moz-transform: translateX(-50%) scale(0.8, 0.8);
        transform: translateX(-50%) scale(0.8, 0.8);
    }

    #download-trigger{
        bottom: 4%;
    }

    h1{font-size: 12px; width: 80%}

    .main-title{
        width: 300px;
    }
}

@media screen and (max-width: 768px) and (max-height: 450px) {

    #download-trigger{
        -webkit-transform: translateX(-50%) scale(0.5, 0.5);
        -ms-transform: translateX(-50%) scale(0.5, 0.5);
        -moz-transform: translateX(-50%) scale(0.5, 0.5);
        transform: translateX(-50%) scale(0.5, 0.5);
        bottom: 0px;
    }

    .trailer{
        -webkit-transform: translateX(-50%) scale(0.7, 0.7);
        -ms-transform: translateX(-50%) scale(0.7, 0.7);
        -moz-transform: translateX(-50%) scale(0.7, 0.7);
        transform: translateX(-50%) scale(0.7, 0.7);
        bottom: 12%;
    }

    h1{display: none;}

    .main-title{
        width: 200px;
    }

}

iframe{
    border: none;
}

.frame-wrapper{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;

    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 025s ease-in-out;
    overflow: hidden;

    transform: translateY(110%);
    -webkit-transform: translateY(110%);
    -moz-transform: translateY(110%);
    -o-transform: translateY(110%);
}

.frame-wrapper.viewing{
    opacity: 1;
    transform: translateY(0%);
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -o-transform: translateY(0%);
}

.frame-wrapper span{
    position: absolute;
    bottom: auto;
    padding: 30px;
    top:0px;
    right: 0px;
}

#trailer-vid{
    height: 100%;
    width: 100%;
    max-height: 100%;
    max-width: 100%;
    /*opacity: 0;

    transition: opacity 1s ease;
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;

    transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;*/
}


/*.frame-wrapper.viewing #trailer-vid{
    opacity: 1;
}*/