/* Eigene Styles festlegen */

p, ul, ol {
    line-height: 1.5;
}

h2 {
    text-transform: uppercase;
}

.light-mode p, .light-mode ul, .light-mode ol {
    color: #1e1f21!important;
}

.bg-1 {
    background-color: var(--backgrounds);
}

.bg-gradient {
    background: rgb(227,33,222);
    background: linear-gradient(60deg, rgba(255, 47, 141, 1) 0%, rgba(89, 107, 255, 1) 100%);  
    background-size: 300%;
    animation: animated-gradient 3s infinite;
    border-radius: 5px;
}

.gradient-box {
    background: rgb(227,33,222);
    background: linear-gradient(60deg, rgba(255, 47, 141, 1) 0%, rgba(89, 107, 255, 1) 100%);  
    background-size: 300%;
    animation: animated-gradient 3s infinite;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 5px;
}

#offcanvas-navbutton {
    background: rgb(227,33,222);
    background: linear-gradient(60deg, rgba(255, 47, 141, 1) 0%, rgba(89, 107, 255, 1) 100%);  
    background-size: 300%;
    animation: animated-gradient 3s infinite;
    position: fixed;
    right: 5%;
    top: 30px;
    z-index: 999;
    border-radius: 5px;
}

.light-mode #offcanvas-navbutton {
    color: #fff;
}

.light-mode #offcanvas {
    background-color: #f1f1f1;
}

.light-mode #offcanvas a:link, .light-mode #offcanvas a:visited {
    color: #1e1f21;
}

.light-mode #offcanvas .nav-active, .light-mode #offcanvas a:hover {
    color:rgba(89, 107, 255, 1)!important;
}

.nav-element .fa-rocket, .nav-element .fa-discord, .nav-element .fa-gamepad, .nav-element .fa-people-group, .nav-element .fa-circle-question {
    width: 35px;
}

.btn-rounded {
    border-radius: 5px;
}

.float-btn {
    right: 5%;
}

@keyframes animated-gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.bg-black {
    background-color: #1e1f21;
    color: #f1f1f1;
    transition: all 0.2s ease-in-out;
}

footer {
    background: linear-gradient(60deg, rgba(255, 47, 141, 1) 0%, rgba(89, 107, 255, 1) 100%);  
    transition: all 0.2s ease-in-out;
    color: #fff!important;
}

footer a:link, footer a:visited {
    color: #fff;
} 

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    bottom:0;
    right:0;
    width: 100%;
    height: 100vh;
    z-index: 99999999;
    background-image: url('../img/Logo_Rotten_color.svg');
    background-repeat: no-repeat;
    background-color: #000;
    background-position-y: 37%;
    background-position-x: center;
    background-size: 350px;
}

.pl-us {
    background-position-y: 15%;
}

#head-container {
    position: fixed;
    z-index: 999;
    height: 100px;
    background-color: rgba(0,0,0,0.8);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    top: -110px;
    transition: all 0.2s ease-in-out;
}

#head-container.sticky {
    top: 0;
    transition: all 0.2s ease-in-out;
}

.light-mode #head-container {
    background-color: rgba(255,255,255,0.8);
}
    

.logo img {
    width: auto;
    height: 70px;
}

    .hero {
        height: 100vh;
        background-position: center;
        background-size: cover;
        position: relative;
        background-attachment: fixed;
        min-height: 500px;
    }

    .hero-us {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-box {
        position: absolute;
        top: 30%;
        width: 90%;
        left: 5%;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-us .hero-box {
        top: 20%;
    }

    .hero-logo img {
        max-width: 350px;
    }
    
    .hero-txt-1 {
        font-weight: 600;
        text-transform: uppercase;
        color: #f1f1f1;
        margin-top: 55px;
        hyphens: none;
    }

    .hero-arrow {
        font-size: 50px;
        color: #f1f1f1;
        animation: arrowanimation 1s infinite;
    }

    .hero-arrow a {
        color: #f1f1f1;
    }

    .light-mode .content-box .hero-arrow a {
        color: #1e1f21!important;
    }

    @keyframes arrowanimation {
        0%   {padding-top: 0px; padding-bottom: 10px;}
        35%  {padding-top: 10px; padding-bottom: 0px;}
        100% {padding-top: 0px; padding-bottom: 10px;}
      }
    
    .hero-index {
        background-image:url(../img/bgpic.jpg);
        overflow: hidden;
        position: relative;
    }

    .hero-games {
        background-image:url(../img/bg-games.jpg);
        overflow: hidden;
        position: relative;
    }

    .hero-mitglieder {
        background-image:url(../img/bg-mitglieder.jpg);
        overflow: hidden;
        position: relative;
    }

    .hero-faq {
        background-image:url(../img/background-faq.jpg);
        overflow: hidden;
        position: relative;
    }
    
    .hero-index video {
        position: absolute;
        left: 50%; /* % of surrounding element */
        top: 50%;
        transform: translate(-50%, -50%); /* % of current element */
        height: 100%;
        width: 177.77777778vh; /* 100 * 16 / 9 */
        min-width: 102%;
        min-height: 56.25vw; /* 100 * 9 / 16 */
        opacity: 0.8;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-slide img {
        object-fit: contain;
    }

    .offcanvas a { 
        white-space: nowrap;
    }

    .content-section {
        min-height: 100vh;
        padding-top: 20vh;
        padding-bottom: 20vh;
        box-sizing: border-box;
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
    }

    .card {
        background-color: #404247;
        border-color: #62656d;
        box-shadow: none;
        border-radius: 5px;
    }
    
    .light-mode .card {
        background-color: #f1f1f1;
        border-color: #ccc;
        box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    }

    .accordion {
        background-color: #404247;
        color: #f1f1f1;
        border-radius: 5px;
    }

    .active, .accordion:hover {
        background-color: #62656d;
    }

    .panel {
        background-color: #62656d;
        border-color: #1e1f21;
        border-radius: 5px;
    }

    .panel h4 {
        color: #f1f1f1;
    }

    .card h5 {
        color: #f1f1f1!important;
    }

    .light-mode .card h5 {
        color:rgba(89, 107, 255, 1)!important;
    }

    .btn {
        margin-top: 5px;
    }

    .willkommen {
        background-image: url(../img/willkommen.jpg);
    }

    .ueber {
        background-image: url(../img/ueber.jpg);
    }
    
    .content-box {
        background-color: #1e1f21;
        width: 100%;
        box-sizing: border-box;
        padding: 25px 35px;
        transition: all 0.2s ease-in-out;
    }
    .light-mode .content-box {
        background-color: #f1f1f1;
        color: #1e1f21;
        transition: all 0.2s ease-in-out;
    }

    .content-box p, .content-box h1, .content-box h2, .content-box h3, .content-box ul {
        color: #f1f1f1!important;
    }

    .light-mode .content-box p, .light-mode .content-box h1, .light-mode .content-box h2, .light-mode .content-box h3, .light-mode .content-box ul {
        color: #1e1f21!important;
    }

    .kacheln .text {
        text-transform: uppercase;
        font-size: 1.5em;
        font-weight: bold;
    }

    .light-mode .kacheln .text p {
        color: #f1f1f1!important;
    }

    .pre-footer {
        height: 40vh;
        background-image: url(../img/bgpic.jpg);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
    }

    .outer-box {
        border-radius: 5px;
    }


    @media only screen and (max-width: 768px) { 

        .logo img {
            height: 40px;
        }

        .hero-box {
            width: 50%;
            left: 25%;
        }

        .preloader {
            background-position-y: 35%;
            background-size: 50%;
        }

        .pl-us {
            background-position-y: 13.8%;
        }

        .hero-txt-1 {
            font-size: 1.5em;
        }

    }