@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --akzentfarbe: #1887d2;
    --clr_white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    color-scheme: var(--color-scheme);
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    background-image: var(--dotsBG);
    background-size: contain;
}

.background_img {
    position: relative;
	background: var(--background_2);
    box-shadow: 0 0 1px var(--border);
    overflow: hidden;
}

.background_img::before { 
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: var(--mainbg);
    background-repeat: no-repeat, repeat;
    background-size: cover;
    opacity: 1;
    filter: blur(5px);
   
}


/* Navbar start */
.navbar {
    position: relative;
    z-index: 5;
    height: 100px;
    margin: 0 var(--width-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scrolled {
    position: fixed;
    top: 0;
    height: 75px;
    width: 100%;
    background: var(--background_2);
    margin: 0 !important;
    padding: 0 var(--width-padding) !important;
    box-shadow: 0 0 5px var(--shadow);
    animation: navbar_scrolled .3s;
}

@keyframes navbar_scrolled {
    from {
        margin-top: -4500px;
        opacity: 0;
    }
    to {
        margin-top: 0px;
        opacity: 1;
    }
}

.scrolled img {
    height: 50px !important;
}

.scrolled .navabar_logo span {
    display: block;
}

.navabar_logo {
    height: 100%;
    display: flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
}

.logo {
    width: 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {
    position: absolute;
    left: 0;
    height: 50px;
}

.logo img:first-child {
    filter: var(--image_clr);
}

.logo img:last-child {
    filter: var(--image_akzent);
}

.navabar_logo span {
	display: none;
    font-size: 30px;
    font-weight: 600;
    margin-top: 3px;
    margin-left: -5px;
}

.navbar img {
    height: 75px;
    cursor: pointer;
    animation: slide_top-to-bottom .5s;
    transition: all .3s ease;
}

.navbar img:hover {
    transform: scale(1.05);
}

.navbar_links_box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
    width: 75%;
    text-align: right;
    animation: slide_top-to-bottom .5s;
}

@keyframes slide_top-to-bottom {
    from {
        margin-top: -45px;
        opacity: 0;
    }
    to {
        margin-top: 0px;
        opacity: 1;
    }
}

.navbar_links {
    position: relative;
    color: var(--text);
    white-space: nowrap;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    margin-left: 5%;
    transition: all .3s ease-in-out;
}

.navbar_links a:hover {
    color: var(--text);
}

.navbar_links::after, .dropbtn::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: -3px;
    padding: 0 4px;
    background-color: var(--akzentfarbe);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar_links:hover::after, .dropbtn:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navbar_btn { 
    position: relative;
    background: var(--akzentfarbe);
	color: #fff;
    border-radius: 3px;
    padding: 2px 10px;
    font-weight: 400;
    margin-left: 5%;
    white-space: nowrap;
    font-size: 15px;
    text-decoration: none;
    transition: all .3s ease;
    z-index: 2;
}

.navbar_btn:hover {
    filter: brightness(90%);
    cursor: pointer;
}

.navbar_btn::after,
.navbar_btn::before {
    content: '';
    position: absolute;
	top: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--akzentfarbe);
    border-radius: 5px;
    margin: 5px 0px;
    z-index: -1;
    opacity: 0;
}

.navbar_btn:hover::before {
    animation: accent_pulse 1.5s ease infinite;
    background-color: var(--akzentfarbe);
}

.navbar_btn:hover::after {
    animation: accent_pulse 1.5s ease .6s infinite;
}

@keyframes accent_pulse {
    from {
        position: absolute;
        opacity: 1;
        transform: scale(.8);
        padding: -5px 0;
        margin: 10px 0 0 0px;
        border-radius: 5px;
    }
    to {
        opacity: 0;
        transform: scale(1.2);
        padding: 5px 0;
        border-radius: 10px;
    }
}

.toggle_theme {
	margin-left: 4%;
}

.toggle_theme i {
    width: 25px;
	transition: all .3s ease;
	cursor: pointer; 
}

.toggle_theme:hover.toggle_theme i {
	color: orange;
}

/*Navbar Mobile*/
.navbar_links_box_mobile {
    display: none;
}

.navbar_links_box_mobile button {
    height: 35px;
    width: 35px;
    background: var(--background);
    font-size: 17px;
    border-radius: 5px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all .3s ease;
}
.navbar_links_box_mobile button i {
    color: var(--text);
}

.navbar_links_box_mobile button:hover {
    filter: brightness(120%);
}

.navbar_mobile_box {
    display: none;
    position: absolute;
    top: 75px;
    left: 15px;
    display: flex;
    flex-direction: column;
    background: var(--background);
    filter: brightness(80%);
    box-shadow: 0 4px 2px -2px var(--border);
    width: 100%;
    margin-left: var(--width-padding_negativ);
    height: fit-content;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    animation: nav_mobile_slide_in .2s forwards;
}

@keyframes nav_mobile_slide_in {
    from {
        margin-left: -600px;
        opacity: 0;
    }
    to {
        margin-left: var(--width-padding_negativ);
        opacity: 1;
    }
}

@keyframes nav_mobile_slide_out {
    from {
        margin-left: var(--width-padding_negativ);
        opacity: 1;
    }
    to {
        margin-left: 800px;
        opacity: 0;
    }
}

.navbar_mobile_box a {
    padding: 10px 0;
    white-space: nowrap;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
}


/* Navbar end */


/* Top Content start */
.content_header {
    opacity: 0;
    position: relative;
    z-index: 1;
    padding: 50px var(--width-padding) 100px;
    display: flex;
    justify-content: space-between;
    animation: slide_top-to-bottom .5s forwards .1s;
    max-width: 80%;
}

.content_header_text_titel {
    font-size: 60px;
    font-weight: 700;
    width: 100%;
    color: var(--text);
}

.content_header_text_titel span {
    font-size: 55px;
    font-weight: 400;
}

.content_header_text_titel span div {
    font-size: 35px;
    font-weight: 400;
    color: var(--akzentfarbe) !important;
}

.typewriter {
    overflow: hidden; /* Versteckt den Text, der außerhalb des sichtbaren Bereichs liegt */
    border-right: 2px solid var(--text); /* Fügt einen blinkenden Cursor hinzu */
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    display: inline-block;
    font-weight: 400;
    line-height: 40px;
}

#text {
    color: var(--akzentfarbe);
}

/* CSS-Animation für das Schreiben */
@keyframes typing {
    0% { width: 0; }
    100% { width: 100%; }
}

/* CSS-Animation für das Löschen */
@keyframes deleting {
    0% { width: 100%; }
    100% { width: 0; }
}



/* Führe die Schreib-Animation aus */
.typewriter #text.typing {
    animation: typing 3s steps(30, end), 1s pauseTyping 1s infinite alternate;

}

/* Führe die Lösch-Animation aus */
.typewriter #text.deleting {
    animation: deleting 3s steps(30, end), 1s pauseDeleting 1s infinite alternate;
 
}

/* Pause zwischen den Schreib- und Lösch-Animationen */
@keyframes pauseTyping {
    0%, 100% { width: 100%; }
    50% { width: 100%; }
}

@keyframes pauseDeleting {
    0%, 100% { width: 0; }
    50% { width: 0;}
}

.content_header_text_info {
    margin-top: 50px;
    font-size: 17px;
    line-height: 30px;
    width: 100%;
}

.content_header_text_info a {
    color: #1887d2;
    font-weight: 600;
}

.content_header_text_info a:hover {
    filter: brightness(120%);
}

.btnBox {
    display: flex;
    gap: 10px;
}

.ts_btn_link {
    display: block;
    position: relative;
    width: 200px;
    height: 45px;
    color: #bec4ca;
    background: #1f3451;
    border: 1px solid #2d4465;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: all .2s ease;
}

.ts_btn_link:hover {
    filter: brightness(110%);
}

.ts_btn_link::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 100%;
    content: 'TeamSpeak³';
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.25s cubic-bezier(0.29, -0.103, 0.40, 1.2);
}

.ts_btn_link::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 100%;
    content: 'ts.CFGaming.de';
    font-weight: 500;
    font-size: 15px;
    position: absolute;
    top: 45px;
    right: 0;
    transition: all 0.25s cubic-bezier(0.29, -0.103, 0.40, 1.2);
}

.ts_btn_link:hover::before {
    top: -45px;
}
.ts_btn_link:hover::after {
    top: 0;
}

.ts_btn_link i {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #bec4ca;
    font-size: 17px;
    width: 25%;
    height: 100%;
}

.ts_btn_link i::after {
    content: '';
    background: #76797b;
    width: 2px;
    height: 60%;
    position: absolute;
    top: 20%;
    right: 0;
}

.dc_btn_link {
    display: block;
    position: relative;
    width: 200px;
    height: 45px;
    color: #bec4ca;
    background: #4951b4;
    border: 1px solid #636bcf;
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px;
    transition: all .2s ease;
}

.dc_btn_link:hover {
    filter: brightness(110%);
}

.dc_btn_link::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 100%;
    content: 'Discord';
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 2px;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.25s cubic-bezier(0.29, -0.103, 0.40, 1.2);
}

.dc_btn_link::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    height: 100%;
    content: 'dc.CFGaming.de';
    font-weight: 500;
    font-size: 15px;
    position: absolute;
    top: 45px;
    right: 0;
    transition: all 0.25s cubic-bezier(0.29, -0.103, 0.40, 1.2);
}

.dc_btn_link:hover::before {
    top: -45px;
}
.dc_btn_link:hover::after {
    top: 0;
}

.dc_btn_link i {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #bec4ca;
    font-size: 17px;
    width: 25%;
    height: 100%;
}

.dc_btn_link i::after {
    content: '';
    background: #76797b;
    width: 2px;
    height: 60%;
    position: absolute;
    top: 20%;
    right: 0;
}

/* Features section */

.features {
    margin: 40px 0;
    padding: 0 var(--width-padding);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 200px;
    row-gap: 40px;
}

.feature {
    position: relative;
    opacity: 0;
    width: 300px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    text-transform: uppercase;
    animation: feature_slide .8s ease forwards;
}

.feature:nth-child(1) {animation-delay: .4s;}
.feature:nth-child(2) {animation-delay: .5s;}
.feature:nth-child(3) {animation-delay: .6s;}

@keyframes feature_slide {
    0% {
        top: -35px;
        opacity: 0; 
    }
    100% {
       top: 0px;
        opacity: 1;
    }
}

.featureicon {
    width: 64px;
    height: 64px;
    font-size: 64px !important;
    margin-bottom: 10px;
    -moz-user-select: none;
    user-select: none;
    background-repeat: no-repeat;
    display: inline-block !important;
    fill: currentColor;
}

.featuretitle {
    font-size: 20px;
    font-weight: 800;
}

.featuretext {
    font-size: 40px;
    color: var(--akzentfarbe);
    font-weight: 600;
}

.feature p {
	color: var(--text_second);
    margin-top: 5px;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    text-transform: none;    
}

/* -- */

/* Main Content start */
.mainContent {
    width: 100%;
    height: auto;
    background: var(--background_2);
}

.main_titel {
    font-size: 35px;
    font-weight: 500;
    color: var(--text);
    line-height: 35px;
    padding: 75px 0 0 0 ;
    text-align: center;
}

.main_titel span {
    font-size: 30px;
    font-weight: 300;
    color: var(--text_second);
}

.img_container {
    padding: 35px var(--width-padding) 100px var(--width-padding);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.imgItem {
    background-color: #636bcf;
    min-width: 350px;
    height: 200px;
    border-radius: 5px;
    border: 2px solid var(--border);
    user-select: none;
    transition: all .2s ease;
    cursor: pointer;
}

.imgItem:hover {
    transform: scale(1.1);
}

/* Img Modal Start */
.modal {
    display: none;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 10;
    animation: moadlallBG .3s forwards ease;
}

@keyframes moadlallBG {
    from {
        background: rgba(0, 0, 0, 0);
        transform: scale(0);
    }
    to {
        background: rgba(0, 0, 0, 1);
        transform: scale();
    }
}

.modal_close_btn {
    position: absolute;
    display: flex;
    justify-content: right;
    width: 100%;
}

.modal_close_btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 0 0 0 5px;
    border-left: 2px solid #444;
    border-bottom: 2px solid #444;
    background:  #333;
    color: #adadad;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    user-select: none;
    font-size: 25px;
    cursor: pointer;
}

.modal_close_btn span:hover ~ .modal_close_btn span i {
    color: green;
} 
  
.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    height: 100%;
    user-select: none;
}

.gallery img {
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.mainImg {
    height: 100% !important;
    overflow: hidden;
}

.mainImg img {
    height: 100% !important;
    display: block;
    margin: auto;

}

.mainImg i {
    color: #adadad;
    font-size: 17px;
    border: 2px solid #444;
    background: #333;
    width: 50px;
    height: 50px;
    border-radius: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
}

.gallery .mainImg i.fa-chevron-left {
    left: 45px;
}

.gallery .mainImg i.fa-chevron-right {
    right: 45px;
}

.thumbnails {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.thumbnails li {
    cursor: pointer;
}

.thumbnails li:not(:last-child) {
    margin-right: 5px;
}

.thumbnails li img {
    width: 80%;
    border: 3px solid #666;
    border-radius: 2px;
    padding: 2px;
    opacity: .8;
}

.thumbnails li img.active {
    border: 3px solid var(--akzentfarbe);
    opacity: 1;
}
  

/* Team Start  */   
.team {
    margin: 60px var(--width-padding) 70px var(--width-padding);
}

.team_titel {
    font-size: 35px;
    font-weight: 500;
    color: var(--text);
    line-height: 35px;
    margin-bottom: 30px;
    text-align: center;
}

.team_titel span {
    font-size: 30px;
    font-weight: 300;
    color: var(--text_second);
}

.team_user_group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 55px;
    margin-bottom: 55px;
}

.user_card {   
   background: var(--background_2);
   width: 160px;
   height: 240px;
   border-radius: 5px;
   box-shadow: 0 0 5px var(--shadow_light);
   overflow: hidden;
}

.userimg {
    width: 160px;
    aspect-ratio: 1;
}

.userinfo {
    /* height: calc(100% - 225px); */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.user_card_name {
    font-size: 25px;
    font-weight: 700;
}

.user_card_rang {
    font-size: 19px;
    color: var(--text_second);
}




















/* Footer start */
.footer {
    width: 100%;
    color: var(--text);
}

.footer_links {
    background: var(--background);
    box-shadow: 0 0 5px var(--shadow_light);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--width-padding);
}

.footer_links_legal button {
    height: fit-content;
    border: 2px solid var(--akzentfarbe);
    background: var(--contentBG);
    border-radius: 3px;
    margin-right: 10px;
    padding: 1px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer_links_legal button:hover {
    filter: brightness(120%);
}

.footer_links_legal button a {
    color: var(--text);
    text-decoration: none;
}

.footer_links_social i {
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.footer_links_social i:hover {
    color: var(--akzentfarbe);
}

.footer_text {
    width: 100%;
    height: 45px;
    background: var(--background_2);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.footer_text_copyright {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.footer_text_made {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text_second);
}

.footer_text_made i,
.footer_text_made span {
    color: var(--akzentfarbe);
    font-weight: 700;
}

/* Footer end */

.scroll-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--akzentfarbe);
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-to-top-btn i {
    font-size: 20px;
	color: #bec4ca; 
}

.scroll-to-top-btn:hover {
    background: var(--akzentfarbe);
}

.scroll-to-top-btn.show {
    opacity: 1;
}



/* Desktop */
@media only screen and (min-width: 1440px) {
    :root {
        --width-padding: 300px;
    }
}

/* Laptop */
@media only screen and (max-width: 1440px) {
    :root {
        --width-padding: 150px;
    }
}

/* Tablet & Phone*/
@media only screen and (max-width: 1000px) {
    :root {
        --width-padding: 15px;
        --width-padding_negativ: -15px;
    }

    .navbar_links_box {
        display: none !important;
    }

    .navbar_links_box_mobile {
        display: block !important;
    }

    .content_header {
        padding: 15px var(--width-padding) !important;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .content_header_text_info {
        margin-top: 0;
    }

    .content_header_text_titel span {
        display: none;
    }


    .team_titel {
        font-size: 30px !important;
        line-height: 25px !important;
        margin-bottom: 15px !important;
    }

    .team_titel span {
        font-size: 15px !important;
        line-height: 0px !important;
    }

    .footer_links {
        gap: 10px;
        height: auto !important;
        flex-direction: column-reverse;
        padding: 10px var(--width-padding) !important;
    }

}

/* Phone */
@media only screen and (max-width: 425px) {
    :root {
        --width-padding: 15px;
        --width-padding_negativ: -15px;
    }

    .btnBox {
        flex-direction: column;
    }

    .btnBox button {
        width: 100%;
    }

    .team_user_group {
        gap: 20px;
    }

    .user_card {
        display: flex;
        width: 100%;
        height: 125px;
    }

    .userimg {
        width: 125px;
    }

    .userinfo {
        width: 100%;
        height: 95%;
    }
}