@import url('../css');

html {
    overflow: hidden;
}

body {
    margin: 0;
    padding: 0;

    background-color: black;
    color: #eee;
}

/* + Fonts {{{ */

@font-face {
    font-family: 'Hero';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/Hero/Hero.otf') format('opentype');
}

@font-face {
    font-family: 'Hero';
    font-style: light;
    font-weight: 300;
    src: url('fonts/Hero/Hero Light.otf') format('opentype');
}


/* + }}} */

.audio-controls {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 4;
    color: #fff;
    font-size: 24px;
    width: 24px;
    cursor: pointer;
cursor: hand;

}

.language-switcher {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 4;
    color: #fff;
    font-size: 10.7px;
    font-weight: 300;
    background-color: rgba(0, 0, 0, 0.74);
    padding: 6px;
}

.language-switcher a {
    color: #fff;
    text-decoration: none;
    font-family: Hero;
    font-weight: 300;
}

.language-switcher a:hover {
    color: rgb(176, 143, 12);
}

/* + Menu {{{ */

#menu {
    /* Dimensions */
    position: fixed;
    bottom: 35px;
    left: 0;
    width: 100%;
    z-index: 2;
    height: 51px;
    overflow: hidden;


    /* Font style */
    color: #fff;
    font-family: Hero;
    font-size: 10.7px;
    font-weight: 300;

    /* Colour */
    background-color: rgba(45, 45, 45, 0.72);

    /* Children */
    display: flex;
    align-items: stretch;
}

/*
#menu hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(52, 52, 52, 0), rgba(52, 52, 52, 0.75), rgba(52, 52, 52, 0));  /* transparent - color - transparent *\/
}
*/

.menuItem {
    /* Dimensions */
    width: 16.66%;
    min-width: 100px;

    /* Customize A tag */
    display: block;
    color: #fff;
    text-decoration: none;

    /* Children */
    text-align: right;
    position: relative;
}

.menuItem:hover {
    background-color: rgba(210, 148, 43, 0.32);
    color: #fff;
}

.menuItem.selected {
    background-color: rgba(210, 148, 43, 0.82);
}

/* + + Top border {{{ */

.menuTopBorder {
    height: 15px;
    background-color: rgb(65, 65, 65);
    /*border-top: 15px solid rgb(65, 65, 65);*/
}

/* + + }}} */

/* + + Dot {{{ */

.menuDot {
    position: absolute;
    top: -21px;
    right: -5px;
    font-family: Hero;
    font-size: 40px;
    z-index: 1;
    color: rgba(210, 148, 43, 0.82);
}

.menuItem:hover .menuDot {
    color: rgba(232, 201, 149, 0.91);
}

.menuItem.selected .menuDot {
    color: #fff;
}


/*
.menuItem:after {
    content: '.';
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 72px;
    z-index: 1;
}
*/

/* + + }}} */

/* + + Text {{{ */

.menuText {
    border-right: 1px dotted rgb(228, 228, 228);

    /* Children */
    overflow: hidden;
    padding: 0 14px;

    /* Vertically centre text */
    line-height: 36px;
}
.menuText.final {
    border-right: none;
}
.menuText span {
    /* Vertically centre text */
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.hamburger {
    display: none;
}

/* + + }}} */

/* + }}} */

/* + Sub-page {{{ */

#subpageContent {
}
.subpageContent {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;

    //border: 3px solid red;
    //background-color: #004;
    //font-size: 200px;
}
.subpageContent iframe {
    border: none;
}

/* + }}} */

@media screen and (max-width: 780px) {
    #menu {
        right: 3vmin;
        left: initial;
        bottom: 13vmin;
        flex-direction: column-reverse;
        height: auto;
        /*width: 50vw;*/
        width: auto;
        transform: scaleX(0) scaleY(0);
        transform-origin: right bottom;
        transition: transform 0.5s, right 0.5s;
    }

    #menu.show {
        right: 0;
        transform: scaleX(1) scaleY(1);
    }

    .menuItem {
        width: auto;
    }

    .menuDot {
        display: none;
    }

    .menuText {
        border-right: none;
        border-top: 1px dotted rgb(228, 228, 228);
    }

    .hamburger {
        position: fixed;
        right: 3vmin;
        bottom: 2vmin;
        padding: 0;
        /*padding: 0 2vmin 2vmin 2vmin;*/
        text-align: right;
        /*background-color: rgba(0,0,0,0.4);*/
        /*border: solid 1px red;*/
        z-index: 100;
        font-size: 10vmin;
        display: block;
        transition: opacity 0.4s;
        height: 11vmin;
        /*width: 11vmin;*/
        line-height: 11vmin;
        transition: transform 0.5s, color 0.5s, right 0.5s;
        transform-origin: left;
    }

    .hamburger i {

    }

    .hamburger.opened {
        /*opacity: 0;*/
        /*pointer-events: none;*/
        transform: scaleX(2.3);
        transform-origin: left;
        color: #666;
        /*right: 0;*/
    }
}
