/******************************************************************************************/
/* Kein Rollenspiel CSS 11.08.2021 */ 
/******************************************************************************************/

/******************************************************************************************/
/* Import Google-Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap');

/******************************************************************************************/
/* HTML */
body,
html {
    font-family: 'Fira Mono', monospace;
    height: 100%;
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
}

h1 {
    font-size: 52px;
    font-weight: 500;
    letter-spacing: 0.1rem;
    line-height: 3.9rem;
}
h2 {
    font-size: 20px;
    line-height: 1.8rem;
    margin-bottom: -12px;
}

/******************************************************************************************/
/* HELPERS */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/******************************************************************************************/
/* BACKGROUND */
body:before {
    background: url(../../content/img/bg_standard.jpg) no-repeat center center;
    background-size: cover;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -20;
}

/* HOME */
body.body-home:before {
    background-image: url(../../content/img/bg_standard.jpg);
}
/* AKTUELL */
body.body-aktuell:before {
    background-image: url(../../content/img/bg_aktuell02.jpg);
}
/* UEBER UNS */
body.body-ueber-uns:before {
    background-image: url(../../content/img/bg_ueber-uns.jpg);
}
/* GALERIE */
body.body-galerie:before {
    background-image: url(../../content/img/bg_galerie.jpg);
}
/* MITGLIEDSCHAFT */
body.body-mitgliedschaft:before {
    background-image: url(../../content/img/bg_mitgliedschaft.jpg);
}
/* KONTAKT */
body.body-kontakt:before {
    background-image: url(../../content/img/bg_kontakt.jpg);
}

/******************************************************************************************/
/* STRUCTURE */
.wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    height: 100%;
}

/******************************************************************************************/
/* GENERAL */
.content-img {
    width: 100%;
}
.img-legend {
    margin-top: 2px; 
}

/******************************************************************************************/
/* LOGO */ 
.logo-container {
    margin: 0 auto;
    width: 70%;
}
.logo {
    margin: 45px 0 0 0;
    width: 100%;
}

/******************************************************************************************/
/* NAV */ 
.default-nav {
    background-color: #ffff66;
}
.nav-list {
    list-style: none;
    margin: 85px 0 0 27px;
}
.nav-item {
    margin: 0 0 20px 0;
}
.nav-link {
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
}
.nav-link:hover,
.nav-link-active {
    font-weight: 700;
}
.nav-link:active {
    color: red;
    font-weight: 700;
}

/******************************************************************************************/
/* RESPOSIVE NAV */ 
.responsive-nav {
    background-color: #ffff66;
    display: none;
    padding: 18px 15px 14px 17px;
}

.body-sub-page .default-nav__inner-container {
    position: fixed;
    width: 300px;
}

body.responsive-nav--open {
    overflow: hidden;
}
body.responsive-nav--open .content-wrapper {
    z-index: -10;
}

.nav-overlay {
    background-color: rgba(0,0,0,0.85);
    bottom: 0;
    left: 0;
    opacity: 0.0;
    position: absolute;
    right: 0;
    transition: all 500ms ease-in-out;
    top: 0;
    visibility: hidden;
    z-index: 5;
}
body.responsive-nav--open .nav-overlay {
    opacity: 1.0;
    visibility: visible;
}

.responsive-nav__hamburger {
    cursor: pointer;
    float: right;
    height: 22px;
    position: relative;
    top: 2px;
    width: 28px;
    z-index: 100;
}
.responsive-nav__hamburger-line {
    background-color: black;
    display: block;
    height: 4px;
    position: absolute;
    transform-origin: center;
    transition: all 500ms ease-in-out; 
    width: 28px;
}

.responsive-nav__hamburger-line:nth-child(1) {
    top: 0;
}
.responsive-nav__hamburger-line:nth-child(2) {
    top: 8px;
}
.responsive-nav__hamburger-line:nth-child(3) {
    top: 16px;
}

.responsive-nav--open .responsive-nav__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(-45deg);
}
.responsive-nav--open .responsive-nav__hamburger-line:nth-child(2) {
    opacity: 0;
}
.responsive-nav--open .responsive-nav__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
}

.responsive-nav__panel {
    background-color: #ffff66;
    box-shadow: -7px 0 12px 0px rgba(0,0,0,0.1);
    left: 0;
    opacity: 0;
    padding: 40px 26px;
    position: fixed;
    right: 0;
    top: -400px;
    transition: all 500ms ease-in-out;
    visibility: hidden;
    width: 100%;
    z-index: 10;
}

body.responsive-nav--open .responsive-nav__panel {
    opacity: 1.0;
    top: 0;
    visibility: visible;
}
/* LOGO */ 
.responsive-nav .logo-container {
    float: left;
    margin: 0;
    width: 260px;
}
.responsive-nav .logo {
    margin: 0;
}
.responsive-nav .logo-responsive {
    display: none;
    width: 60px;
}
/* NAV */
.responsive-nav .nav-list {
    margin: 25px 0 0 0;
}

/******************************************************************************************/
/* CONTENT GENERAL */ 
.content-wrapper {
    bottom: 0;
    /* overflow: scroll; the top of the vertical scrollbar is not visible and the 
    horizontal scrollbar should not be visible. */
    position: absolute;
}
.body-sub-page .content-wrapper {
    position: static;
}
.body-sub-page.body-kontakt .content-wrapper {
    position: absolute;
}
.content-white-triangle {
    border-top: 40px solid transparent;
    border-left: 470px solid transparent;
    border-right: 470px solid rgba(255, 255, 255, 0.8);
    border-bottom: 40px solid rgba(255, 255, 255, 0.8);
    height: 0;
    margin: 0;
    width: 0;
}
.content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px 90px 30px 100px;
    width: 940px;
}
.title-container {
    position: relative;
    right: -40px;
    top: -60px;
}
.main-title {
    float: right;
    margin: 0;
    text-align: right;
    transform: rotate(-6deg);
}
.text-container {
    font-size: 18px;
    line-height: 1.8rem;
}
.text-bold {
    font-weight: 700;
}
.text-container a {
    color: #000;
    text-decoration: underline;
}
.text-container a:hover {
    color: #000;
    text-decoration: none;
}

/******************************************************************************************/
/***** CONTENT SPECIFIC *****/
/******************************************************************************************/
/* HOME */
.video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
}
.body-home .content {
    padding: 40px 90px 30px 100px;
}

.body-home .main-title {
    margin: 0 0 -20px 0;
}
.body-home .text-container {
    display: none;
}

.arrow-container {
    background-color: #ffff66;
    cursor: pointer;
    height: 44px;
    margin: 0 auto;
    padding: 10px 5px;
    transform: rotate(180deg);
    transition: transform 500ms ease-in-out;
    width: 44px;
}
.home-content-open .arrow-container {
    transform: rotate(0deg);
}
.arrow-container-icon {
    width: 100%;
}

/******************************************************************************************/
/* GALERIE */
body.body-galerie .content-wrapper {
    bottom: 0;
    position: absolute;
}
.flexslider {
    background-color: transparent;
    border: none;
    border-radius: 0;
}
.flex-control-nav {
    bottom: -50px;
}
.flex-caption {
    display: none;
}
.flex-direction-nav a {
    background-color: #FFFF66;
    opacity: 1;
}
.flex-direction-nav a.flex-prev::before {
    background: url(../../content/img/icon_arrow.png) no-repeat scroll center center / 34px 26px transparent;
    background-blend-mode: lighten;
    content: '';
    filter: brightness(100%);
    height: 40px;
    transform: rotate(90deg);
    width: 40px;
}
.flex-direction-nav a.flex-next::before {
    background: url(../../content/img/icon_arrow.png) no-repeat scroll center center / 34px 26px transparent;
    background-blend-mode: lighten;
    content: '';
    height: 40px;
    transform: rotate(-90deg);
    width: 40px;
}
.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 1;
    left: -50px;
}
.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 1;
    right: -50px;
}
.flex-control-paging li a.flex-active {
    background: #FFFF66;
}
.flex-control-paging li a {
    background: #bcbcbc;
    height: 31px;
}

/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/
/******************************************************************************************/
/* R E S P O N S I V E */
/******************************************************************************************/
/* Super large devices (large desktops, 1400px and down) */
@media (max-width: 1400px) {  
    /* STRUCTURE */
    .wrapper {
        grid-template-columns: 260px 1fr;
    }
    /* NAV */
    .body-sub-page .default-nav__inner-container {
        width: 260px;
    }
    /* CONTENT GENERAL */
    .content-white-triangle {
        border-top: 40px solid transparent;
        border-left: 370px solid transparent;
        border-right: 370px solid rgba(255, 255, 255, 0.8);
        border-bottom: 40px solid rgba(255, 255, 255, 0.8);
    }
    .content,
    .body-home .content {
        padding: 40px 80px 20px 70px;
        width: 740px;
    }
    .title-container {
        right: -10px;
        top: -60px;
    }
}
/* Extra large devices (large desktops, 1200px and down) */
@media (max-width: 1200px) {  
    
}
/* Medium large devices (desktops, 1024px and down) */
@media (max-width: 1024px) { 
    /* STRUCTURE */
    .wrapper {
        display: block;
    }
    /* NAV */ 
    .default-nav {
        display: none;
    }
    /* RESPOSIVE NAV */ 
    .responsive-nav {
        display: block;
    }
}
/* Large devices (desktops, 992px and down) */
@media (max-width: 992px) {
    
}
/* Large devices (desktops, 830px and down) */
@media (max-width: 830px) {
    /* CONTENT GENERAL */ 
    .content-white-triangle {
        border-top: 30px solid transparent;
        border-left: 270px solid transparent;
        border-right: 270px solid rgba(255, 255, 255, 0.8);
        border-bottom: 30px solid rgba(255, 255, 255, 0.8);
    }
    .content,
    .body-home .content {
        padding: 40px 80px 20px 70px;
        width: 540px;
    }
}
/* Medium devices (tablets, 768px and down) */
@media (max-width: 768px) {  
    /* CONTENT GENERAL */
    .content-wrapper,
    .body-sub-page .content-wrapper,
    .body-sub-page.body-kontakt .content-wrapper {
        position: static;
    }
    .triangle-container {
        flex: 1;
        height: 100px;
        position: relative;
    }
    .content-white-triangle {
        background-image: linear-gradient(to left top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 50%, transparent 50%);
        border: none;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .content,
    .body-home .content {
        padding: 40px 40px 40px 50px;
        width: 100%;
    }
    /***** CONTENT SPECIFIC *****/
    /* HOME */
    .video {
        display: none;
    }
    .body-home .text-container {
        display: block !important;
    }
    .arrow-container {
        display: none;
    }
}
/* Small devices (landscape phones, 576px and down) */
@media (max-width: 576px) {
    /* HTML */ 
    h1 {
        font-size: 36px;
        line-height: 3.2rem;
    }
    /* CONTENT GENERAL */
    .content-white-triangle {
        height: 60px;
        top: 40px;
    }
    .content,
    .body-home .content {
        width: 100%
    }
    .title-container {
        top: -30px;
    }
    /* GALERIE */
    .flex-control-nav,
    .flex-direction-nav {
        display: none;
    }
}
/* Extra small devices (landscape phones, 340px and down) */
@media (max-width: 340px) { 
    /* HTML */ 
    h1 {
        font-size: 28px;
    } 
    /* RESPONSIVE LOGO */
    .responsive-nav .logo-container {
        height: 65px;
    }
    .responsive-nav .logo-responsive-text {
        display: none;
    }
    .responsive-nav .logo-responsive {
        display: block;
    }
    .responsive-nav__hamburger {
        top: 0;
    }
}
/* Extra small devices (landscape phones, 319px and down) */
@media (max-width: 320px) {  
    /* RESPONSIVE LOGO */
    .responsive-nav .logo-container {
        width: 64px;
    }
}
