html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #fff;
    font-size: 1.63vw;
    line-height: 1.7vw;
}

body {
    background: #fff;
    font-family: 'Fernweh-Regular';
}


a, a:hover, a:focus {
    color: #fff;
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.7em; }
h3 { font-size: 1.7em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.3em; }
h6 { font-size: 1em; }

#preloader {
    position: absolute;
    z-index: 1100;
    color: #fff;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
}

.jGrowl-error {
    color: #fff !important;
    background: #CC0000 !important;
    border: 1px solid red !important;
    opacity: 1 !important;
}

.jGrowl-warn {
    color: #000000 !important;
    background: #EFEFEF !important;
    border: 1px solid #000020 !important;
    opacity: 1 !important;
}

.btn{
    color: #fff;
    border: 0.3em solid #fff;
    display: inline-block;
    font-size: 1em;
    padding: 0.5em 1em;
    line-height: 1;
    letter-spacing: 0.3em;
    border-radius: 2em;
    font-family: 'Fernweh-Oblique';
    text-decoration: none;
}
.btn:hover, .btn:visited, .btn:focus {
    color: #fff;
    background: initial;
    text-decoration: none;
    outline: none;
}
.btn:active {
    box-shadow: none;
    -webkit-box-shadow: none;
}


.container {
    width:100%; 
    max-width:2500px; 
/*max-width:756px;*/
    margin:0 auto; 
    padding: 0;
    position:relative;  
    color: #fff;
}

body > .container {
    min-height: 100vh;
    background:#000; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.subContainer {
    padding: 5em 1.5em 4em 1.5em;
    letter-spacing: 0.1rem;
}

.logo {
    display: inline-block;
    width: 10.2rem;
    position: absolute;
    left: 2.6rem;
    top: 6.5rem;
}
.logo img {
    max-width: 100%;
}

.quote {
    display: block;
    text-align: center;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 2.2rem;
    font-size: 0.75rem;
    line-height: 1;
}


/* MENU */

.menubar {
    width: 100%;
    height: 5.3em;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 0.9em;
    z-index: 5;
}

.menubar .container {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.menubar .menuLink {
    display: inline-block;
    width: 2em;
    height: 2em;
    position: absolute;
    top: 1.5em;
    right: 1.5em;
    z-index: 10;
    border-radius: 50%;
    background: #fff;
    border: 0;
    outline: none;
    padding: 0.2em 0.3em 0;
    cursor: pointer;
}
.menubar .menuLink.opened.rotating {
    -webkit-animation:spin 1s linear;
    -moz-animation:spin 1s linear;
    animation:spin 1s linear;
}
.menubar .menuLink.rotating_ccw {
    -webkit-animation:spin_ccw 1s linear;
    -moz-animation:spin_ccw 1s linear;
    animation:spin_ccw 1s linear;
}
.menubar .menuLink.opened {
    -moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform:rotate(-90deg);
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }
@-moz-keyframes spin_ccw { 100% { -moz-transform: rotate(-450deg); } }
@-webkit-keyframes spin_ccw { 100% { -webkit-transform: rotate(-450deg); } }
@keyframes spin_ccw { 100% { -webkit-transform: rotate(-450deg); transform:rotate(-450deg); } }

.menuLink .icon-bar {
    width: 100%;
    height: 0.1em;
    background: #000;
    display: block;
    margin: 0 auto;
    margin-bottom: 0.2em;
}
.menubar .menu {
    display: table;
    width: 100%;
    height: 100%;
    margin-left: 100%;
}

.menu > *  {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.menu > .title {
    width: 1%;
    padding-left: 2em;
    padding-right: 2em;
}

.menu > ul {
    background: rgba(157, 211, 242, 0.6);
    padding-right: 4em;
}
.menu > ul li {
    list-style-type: none;
    display: inline-block;
    position: relative;
    margin-left: 4em;
    outline: none;
}
.menu > ul li a:hover, .menu > ul li a:focus {
    text-decoration: none;
}

.menu a.notify span:last-child { display: none; }
.menu a.notify:hover span:first-child { display: none; }
.menu a.notify:hover span:last-child { display: inline-block; }

/* MODAL */
.modal  {
    color: #444;
}
.modal input, .modal textarea {
    font-family: Roboto;
}
.modal .btn { 
    color: #444;
    border-color: #444;
}
.modal .btn:hover { 
    color: #aaa;
}
/*.modal .form-control {
    height: 2.2rem;
    padding: 0.3rem 0.55rem;
    font-size: 1em;
}

.modal .form-group {
    margin-bottom: 0;
}
.form-group label {
    font-weight: normal;
}
.modal button[type='submit'] {
    margin-top: 1.65rem;
}*/


/* INDEX */
    .indexPage  .container {
        font-size: 0;
        line-height: 0;
        background-image: initial;
        width: 100vw;
        height: 100vh; 
        max-height: 1440px;
        overflow: hidden;
    }

    .indexPage .subContainer {
        height: 100%;
        width: 200%;
        padding: 0;
        letter-spacing: initial;
    }

    .indexPage .link {
        position: relative;
        display: inline-block;
        overflow: hidden;
        cursor: pointer;
        white-space: normal;
        background-color: #000;
        transition-property: opacity, width;
        transition-property: transform, width, opacity;
        transition-property: transform, opacity, width;
        transition-duration: .45s;
        transition-delay: 0ms;
        transition-timing-function: cubic-bezier(.5, 0, .1, 1);
        will-change: transform, opacity, width;
        height: 100%;
        width: 10%;
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        z-index: 0;
        font-size: 0.9rem;
        line-height: 1.3rem;
    }

    .indexPage .subContainer .link:nth-child(3) .title > span { 
        position: relative;
    }
    .indexPage .subContainer .link:nth-child(3) .title > span:before {
        content: ' ';
        background-image: url('../img/logo.png');
        background-size: 100% auto;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        width: 100%;
        height: 178%;
        top: -220%;
        z-index: 1;
        opacity: 1;
        transition-property: opacity;
        transition-duration: .45s;
        transition-delay: 0ms;
        will-change: opacity;
    }

    .indexPage .title {
        position: absolute;
        top: 0;
        left: 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
        height: 100%;
        pointer-events: none;
        transition-property: -webkit-transform;
        transition-property: transform;
        transition-property: transform, -webkit-transform;
        transition-duration: .45s;
        transition-delay: .2s;
        transition-timing-function: cubic-bezier(.5, 0, .1, 1);
        will-change: transform;
        color: #fff;
        text-align: center;
    }

    .indexPage .learnMore{
        opacity: 0;
        text-align: center;
        position: absolute;
        display: block;
        width: 100%;
        bottom: 10vh;
        font-size: 0.6em;
        line-height: 1;
        
        -webkit-transform: translate3d(0, 2vh, 0);
        transform: translate3d(0, 2vh, 0);
        transition-property: opacity, -webkit-transform;
        transition-property: transform, opacity;
        transition-property: transform, opacity, -webkit-transform;
        transition-duration: .8s;
        transition-delay: 0ms;
        transition-timing-function: cubic-bezier(.5, 0, .1, 1);
        will-change: transform, opacity
    }


    /* HOVERS */

    /* common */
    .indexPage .container:hover .link {
        transform: translate3d(-50%, 0px, 0px);
        opacity: 0.3;
        width: 10%;
    }
    .indexPage .container:hover .link:hover {
        transform: translate3d(-25%, 0px, 0px);
        opacity: 1;
        width: 20%;
        z-index: 1;
    }
    .indexPage .container:hover .link:hover ~ .link {
        transform: translate3d(-50%, 0px, 0px);
    }

    .indexPage .container:hover .subContainer .link:nth-child(3) .title > span:before {
        opacity: 0;
    }

    /* last */
    .indexPage .container._last:hover .link {
        transform: translate3d(-100%, 0px, 0px);
    }
    .indexPage .container .link:last-child:hover {
        transform: translate3d(-50%, 0px, 0px);
    }

    /* first */
    .indexPage .container .link:first-child:hover {
        transform: translate3d(0%, 0px, 0px);
    }
    .indexPage .container .link:first-child:hover ~  .link {
        transform: translate3d(0%, 0px, 0px);
    }

    /* learn more btn */
    .indexPage .container:hover .link:hover .learnMore {
        opacity: 1;
        -webkit-transform: translate3d(0,-1vh,0);
        transform: translate3d(0,-1vh,0);
    }
