html,
body,
#page {
    height: 100%;
    min-height: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #000;
}

body, button, input, select, optgroup, textarea {
    color: #241f20;
}

#fadeout_background {
    background: #241f20;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999999;
}

/*html {
    margin: 0 !important;
    padding-top: 32px;
}*/

#content {
    width: calc(100% - 50px);
    height: 100%;
    box-sizing: border-box;
    -webkit-transition: width .25s;
    transition: width .25s;
}

#primary, #main {
    width: 100%;
    height: 100%;
}

img.homepage_logo {
    position: absolute;
    z-index: 999;
    opacity: 1;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
}

img.main_title {
    position: absolute;
    z-index: 999;
    max-width: 50%;
    height: auto;
    padding: 0 50px;
    opacity: 0;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
}

img.main_title_mobile {
    display: none;
}

#content.expanded img.homepage_logo {
    opacity: 0;
}

#content h1 {
    position: fixed;
    z-index: 999;
    font-family: 'GFS Didot', serif;
    font-size: 6em;
    font-weight: lighter;
    text-transform: uppercase;
    width: 500px;
    color: #241f20;
    opacity: 0;
    bottom: 0;
    margin: 0;
    top: calc(50% - 3em);
    left: 50px;
    -webkit-transition: opacity .15s;
    transition: opacity .15s;
    display: none;
}

#content.expanded h1,
#content.expanded img.main_title{
    opacity: 1;
}

#video-background {
    position: fixed;
    left: 0;
    right: 0;
    background: #000;
}

#content.expanded {
    width: calc(100% - 250px);
}

/* Navigation Menu */

#masthead {
    width: 300px;
    height: 100%;
    background: #39ee7c;
    right: -250px;
    position: fixed;
    z-index: 999;
    box-sizing: border-box;
    -webkit-transition: right .25s;
    transition: right .25s;
    overflow-y: scroll;
    padding: 50px;
}

#masthead #site-navigation .menu-arrow-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 1;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
}

#masthead #site-navigation .menu-arrow-link img {
    max-width: 15px;
    height: auto;
}

#masthead #site-navigation .navigation_content {
    box-sizing: border-box;
    text-transform: uppercase;
}

#masthead #site-navigation .navigation_content .menu-logo-link {
    display: inline-block;
    margin: 0 0 55px 0;
}

#masthead #site-navigation .navigation_content h2 {
    font-family: 'GFS Didot', serif;
    font-size: 2em;
    margin: 0 0 20px 0;
    display: none;
}

#masthead #site-navigation .navigation_content h3 {
    margin: 10px 0 0 0;
    font-size: .85em;
    font-weight: 500;
}

#masthead #site-navigation .navigation_content ul {
    display: inline-block;
}

#masthead #site-navigation .navigation_content ul li {
    font-weight: 300;
    font-size: .7em;
    display: inline-block;
    width: 100%;
}

#masthead #site-navigation .navigation_content .contacts {
    font-size: .7em;
    font-weight: bold;
    margin-top: 15px;
}

#masthead #site-navigation .navigation_content .contacts a {
    display: inline;
    font-weight: 300;
    color: #241f20;
}

.redes_sociais {
    display: inline-block;
    width: 100%;
    margin: 35px 0 0 0 ;
}

.redes_sociais.mobile {
    display: none;
}

.redes_sociais a {
    display: inline-block;
    color: #241f20;
    font-size: 1em;
    margin-right: 10px;
}

#masthead.expanded {
    right: 0;
}

#masthead.expanded #site-navigation .menu-arrow-link {
    opacity: 0;
}

/* Video */

#main_video {
    position: fixed;
    top: 0;
    left: 0;
    right: 50px;
    bottom: 0;
}

/* Sound Controls */

#sound_controls {
    position: fixed;
    bottom: 15px;
    left: 55px;
    z-index: 999;
    font-size: 2em;
}

#sound_controls img {
    cursor: pointer;
}

#sound_controls img.volume-on {
    display: none;
}