/* colors

rot
#934D34

grün
#556D3E

blau
#2F435C

grau
#3C3C3C

 */

/* lato-300 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */ url('../fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */ url('../fonts/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* caveat-regular - latin */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/caveat-v17-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/caveat-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/caveat-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/caveat-v17-latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/caveat-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/caveat-v17-latin-regular.svg#Caveat') format('svg'); /* Legacy iOS */
}

/* caveat-600 - latin */
@font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/caveat-v17-latin-600.eot'); /* IE9 Compat Modes */
    src: local(''),
    url('../fonts/caveat-v17-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/caveat-v17-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/caveat-v17-latin-600.woff') format('woff'), /* Modern Browsers */ url('../fonts/caveat-v17-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/caveat-v17-latin-600.svg#Caveat') format('svg'); /* Legacy iOS */
}

* {
    box-sizing: border-box;
}

html, body {
    font: 16px 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background: #555;
    color: #fff;
}

body:after {
    display: block;
    content: '';
    background: url(../img/icl-l2.png) no-repeat;
    width: 100px;
    height: 100px;
    background-size: 100% 100%;
    position: absolute;
    right: 50px;
    bottom: 50px;
    transition: opacity 0.3s ease-in;
}

body.scrolled:after {
    opacity: 0;
}

a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease-in;
}

a:hover {
    color: #fff;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
}

header {
    position: relative;
}

#menu-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.10);
    z-index: 999;
    color: #fff;
    text-align: right;
}

#menu {
    max-width: 1200px;
    margin: auto;
    position: relative;
}

#menu a {
    color: #fff;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease-in;
    margin-left: 2px;
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.001);
    border-radius: 99px;
    line-height: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#menu a:hover {
    opacity: 1;
    border-color: #fff;
}

#menu a:last-child {
    border-color: #666;
    background: #666;
    margin-left: 15px;
    max-width: 130px;
}

#menu span {
    margin-left: 5px;
    opacity: 0.25;
}

#menu a#logo {
    background: url(../img/malthe-logo-neu.png) no-repeat;
    background-size: 100% 100%;
    width: 66px;
    height: 66px;
    text-indent: -9999em;
    overflow: hidden;
    font-size: 1px;
    opacity: 1;
    position: absolute;
    left: 30px;
    top: 50%;
    margin-left: 0;
    margin-top: -33px;
    text-align: left;
    border: none;
    border-radius: 0;
}

#menu a#home {
    display: none;
}

.x-icon {
    display: none;
}

.bx-wrapper {
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}

.bx-viewport {
    min-height: 100vh;
    width: 100%;
}

.bx-slide {
    color: #fff;
    min-height: 100vh;
    width: 100%;
    padding: 250px 20px 20px;
    position: relative;
    background: #3C3C3C;
}

.bx-slide > div {
    margin: auto;
    max-width: 1200px;
    position: relative;
}

.bx-slide > div > div {
    opacity: 0;
    margin-left: -30px;
    transition: all 0.5s ease-in;
    width: 100%;
}

.bx-slide.active > div > div {
    opacity: 1;
    margin-left: 0;
}

.bx-wrapper .bx-prev, .bx-wrapper .bx-next {
    background: none;
}

.bx-wrapper .bx-prev svg, .bx-wrapper .bx-next svg {
    fill: #fff;
}

.bx-wrapper .bx-controls-direction a {
    text-indent: 0;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.bx-wrapper:hover .bx-controls-direction a {
    opacity: 0.9;
}

footer {
    position: fixed;
    right: 50px;
    bottom: 15px;
}

footer a {
    text-decoration: none;
    margin-left: 15px;
    opacity: 0.5;
    transition: opacity 0.3s ease-in;
}

footer a:first-child {
    margin-left: 0;
}

footer a:hover {
    opacity: 1;
}


/* slides */
#start {
    background-image: url(../img/malthe-wolf.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

#topics {
    background: #934D34;
}

#coaching {
    background: #556D3E;
}

#coach {
    background: #2F435C;
}

@media only screen and (max-width: 1280px) {
    .bx-slide {
        padding-top: 180px;
    }
}

@media only screen and (max-width: 767px) {

    .bx-slide {
        height: auto;
        min-height: 100vh;
        padding-top: 110px;
    }

    .bx-slide > div > div {
        margin-left: -15px;
    }

    #menu-wrap {
        min-height: 80px;
    }

    #menu-wrap:before {
        background: url(../img/malthe-logo-neu.png) no-repeat;
        background-size: 100% 100%;
        width: 66px;
        height: 66px;
        display: block;
        content: '';
        position: absolute;
        left: 30px;
        top: 50%;
        margin-top: -33px;
        z-index: 1;
    }

    body:after {
        width: 50px;
        height: 50px;
        background-size: 100% 100%;
        position: absolute;
        right: 20px;
        bottom: 20px;
    }

    .x-icon {
        display: block;
        position: fixed;
        right: 30px;
        top: 28px;
        z-index: 99999;
        fill: #fff;
        width: 25px;
        height: 25px;
    }

    .x-icon line {
        stroke: #fff;
        stroke-width: 3px;
        transition: transform 0.3s ease-in;
    }

    .x-icon line:nth-of-type(1) {
        transform: rotate(-45deg) translate(-5px, 0);
    }

    .x-icon line:nth-of-type(2) {
        transform: rotate(45deg) translate(10px, -5px);
    }

    .x-icon:after {
        display: block;
        left: 0;
        right: 0;
        height: 3px;
        background: #fff;
        top: 11px;
        position: absolute;
        content: '';
        transition: opacity 0.3s ease-in;
    }

    /*.x-icon:hover line:nth-of-type(1), .x-icon:hover line:nth-of-type(2),*/
    .mobile-nav-open .x-icon line:nth-of-type(1), .mobile-nav-open .x-icon line:nth-of-type(2) {
        transform: none;
    }

    /*.x-icon:hover:after,*/
    .mobile-nav-open .x-icon:after {
        opacity: 0;
    }

    #menu {
        position: fixed;
        z-index: -1;
        background: rgba(50, 50, 50, 0.8);
        padding: 70px 30px 30px;
        text-align: center;
        left: 0;
        right: 0;
        top: -100vh;
        height: 100vh;
        opacity: 0;
        transition: 0.3s ease-in;
    }

    .mobile-nav-open #menu {
        top: 0;
        opacity: 1;
    }

    #menu a,
    #menu a:last-child,
    #menu a#home {
        display: block;
        margin: 13px auto;
        position: static;
        top: auto;
        font-size: 1.2rem;
    }

    #menu span, #menu a#logo {
        display: none;
    }

    #menu a:hover {
        border-color: rgba(255, 255, 255, 0);
    }

    footer {
        position: static;
        padding: 30px 20px;
    }

}

/* content */

h1, h3 {
    font-family: 'Caveat', "Lucida Handwriting", sans-serif;
    font-weight: normal;
    font-size: 3rem;
    margin: 0 0 40px 0;
    line-height: 100%;
}

h2 {
    margin: 10px 0;
    font-size: 1.5rem;
    line-height: 100%;
    font-weight:normal;
}

/*
.left {
    width: 50%;
    margin-right:5%;
    float:left;
}

.right {
    width:45%;
    float:left;
}

#start .left {
    width: 40%;
}

*/

#coach .left {
    float: left;
    max-width: 290px;
    margin-right: 50px;
}

.right {
    line-height: 160%;
}

#start .left span {
    color: #934D34;
}

.alt-content #content {
    max-width: 1200px;
    padding: 170px 20px 20px;
    margin: auto;
}

.alt-content h1, .alt-content h2, .alt-content h3 {
    font-family: 'Lato', sans-serif;
    margin: 25px 0;
    font-weight: normal;
    font-size: 2.2rem;
}

.alt-content h2 {
    font-size: 1.8rem;
}

.alt-content h3 {
    font-size: 1.2rem;
}

@media only screen and (max-width: 767px) {
    #start {
        padding-top: 450px;
    }

    h1, h3 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    #coach .left {
        max-width: none;
        float: none;
        margin-bottom: 40px;
    }

    .alt-content #content {
        padding-top: 110px;
    }

    /*
    .left, #start .left, .right {
        width: auto;
        margin: 0;
        float: none;
    }
    */
}