/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Rokkitt";
    font-weight: 400;
    font-size: 1rem;
    /* Fließtext bleibt bei 16px */
    line-height: 1.6;
    color: #c3c3c3;
    background-image: url('image/dirt.jpg');
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-login {
    position: relative;
    height: 100vh;
}


/* Background Image with Parallax */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    /* Adjust to stack properly */
}

/* Background Image with Fixed Position */
.parallax-layer.background {
    background: url('image/hero_background.webp') center center / cover no-repeat;
    background-attachment: fixed;
    /* Parallax effect */
    z-index: 1;
}

/* Transparent Foreground Image */
.parallax-layer .foreground {
    position: absolute;
    bottom: 0;
    /* Set to bottom */
    left: 50%;
    transform: translateX(-50%);
    /* Center horizontally */
    width: 100%;
    height: auto;
    z-index: 2;
}

.image-foreground {
    position: absolute;
    bottom: 0;
    /* Set to bottom */
    left: 50%;
    transform: translateX(-50%);
    /* Center horizontally */
    width: 100%;
    height: auto;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: absolute;
    left: 50%;
    /* Horizontal zentriert */
    transform: translate(-50%, -50%);
    /* Zentrierung */
    z-index: 510;
    text-align: center;
    font-size: 2.5rem;
    /* background-color: #ffc130de;*/
    padding: 24px;
    border-radius: 5px;
    bottom: 0vh;

}

.hero-content h1 {
    font-size: 4rem;
}

.hero-content .highlight {
    color: #FF5733;
}

.hero-button {
    padding: 0;
    border: none;
    background: none;
    padding: 10px 20px;
    background-color: #ffc030;
    color: #18110C;
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0px 20px 20px #18110c80;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-family: 'Rokkitt';

}

.hero-content .hero-button:hover {
    background-color: #4cbcc7;
    background-position: 50%;
}

/*
background-color: #18110C;
background-image: 
linear-gradient(to top right, #ffc030 0%, #ffc13030 100%), url('logo.png'); 
background-repeat: no-repeat;
background-size: 70%;
background-position: 50%;

/* Verlauf for visual effect */
.verlauf {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    background: linear-gradient(to top, #000000, transparent);
    z-index: 4;
}

.no-koke {
    position: absolute;
    top: 50%;
    /* Vertikal zentriert */
    left: 50%;
    /* Horizontal zentriert */
    transform: translate(-50%, -50%);
    /* Zentrierung */
    font-size: 20vw;
    /* Größe der Schrift */
    background: -webkit-linear-gradient(#ffc030, #9b6d03);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    /* Verhindert Zeilenumbruch */
    z-index: 1;
    /* Hinter dem Hintergrundbild platzieren */
    font-family: "Rokkitt";
    font-weight: 400;
    text-shadow: 0px 0px 50px #ffc030;

}

/* Header and Navigation */
header {
    position: absolute;
    top: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 1000;
    height: 100px;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 1440px;
    margin: 0px auto;
}

/* Logo, Nav-Links, and Login Section */
.logo {
    flex: 1;
}

.logo img {
    width: 150px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex: 1;
}

.nav-links li a {
    text-decoration: none;
    color: #18110c;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.nav-login {
    color: #ffffff !important;
}

.login {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.login img {
    width: 28px;
    height: 28px;
}

.menu-toggle {
    display: none;
    /* Standardmäßig ausblenden */
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #18110C;
    margin: 4px 0;
    transition: 0.3s;
}

.sponsor-bar {
    background-color: #000000;
    color: #ffffff40;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.sponsor {
    opacity: 20%;
}

/* Styling für den Inhalt */
.container {
    width: 100%;
    margin: 0 auto;
    /* Zentriert den Container horizontal */
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    /* Zentriert den Container-Inhalt */
    justify-content: center;
    /* Vertikale Zentrierung */
    background: linear-gradient(to bottom, #000000, #00000010 10%, transparent);
}

.container-login {
    width: 100%;
    height: 80vh;
    margin: 0 auto;
    /* Zentriert den Container horizontal */
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    /* Zentriert den Container-Inhalt */
    justify-content: center;
    /* Vertikale Zentrierung */
    background: linear-gradient(to bottom, #000000, #00000010 10%, transparent);
}


section.trailer {
    margin-top: 200px;
    margin-bottom: 120px;
}

section.einstieg {
    margin-bottom: 120px;
}

section.modpack {
    margin-bottom: 120px;
}

section.discord {
    margin-bottom: 120px;
}

section.team {
    margin-bottom: 120px;
}

.content-block {
    display: flex;
    flex-direction: row;
    /* Stellt sicher, dass Text und Bild nebeneinander angezeigt werden */
    justify-content: center;
    /* Horizontale Zentrierung */
    align-items: center;
    /* Vertikale Zentrierung der Inhalte innerhalb des Blocks */
    margin-bottom: 80px;
    text-align: left;
    max-width: 1440px;
    /* Begrenzte Breite */
    margin-top: 0;
}

.text {
    flex: 1;
    margin-right: 120px;
    text-align: left;
}

hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, #ffc030bf, #E0E2DB00);
    max-width: 100%;
    margin-bottom: 10px
}

.text h3 {
    font-size: 1.25rem;
    margin-bottom: 0px;
    font-weight: 400;
    color: #FFC030;
    text-transform: uppercase;
    font-family: "Sometype Mono";
}

.number-color {
    color: #ffffff;
    font-size: 8rem;
    line-height: 1rem;
    opacity: 20%;
    font-weight: 100;
}

.h3-position {
    position: relative;
    left: -10rem;
    color: #ffffff;
}

.text h2 {
    font-family: "Montserrat";
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 3rem;
    background: -webkit-linear-gradient(#ffc030, #9b6d03);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text h9 {
  font-family: "Rokkitt";
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #c3c3c3;
	 }

.text p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 200;
    margin-bottom: 24px;
}

.text-button {
    background-color: #FFC030;
    /* Hintergrundfarbe des Buttons */
    color: #18110C;
    /* Textfarbe des Buttons */
    padding: 12px 16px;
    /* Innenabstand des Buttons */
    text-decoration: none;
    /* Unterstreichung entfernen */
    border-radius: 5px;
    /* Abgerundete Ecken */
    font-size: 1rem;
    /* Schriftgröße */
    text-transform: uppercase;
    font-family: "Sometype Mono";
    font-weight: 600;
}

.image {
    flex: .5;
    text-align: center;
}

.image img {
    max-width: 100%;
    /* Bildgröße auf den Container beschränken */
    height: auto;
}



.content-block.reverse {
    flex-direction: row-reverse;
    /* Bild links, Text rechts */
}

.content-block.reverse .text {
    margin-right: 0px;
    margin-left: 120px;

}

.hero-error-text {
    color: red;
}

.hero-error-text-debug {
    color: red;
    font-weight: bolder;
}

.hero-success-text {
    color: greenyellow;
}


/* Footer Styles */
.footer {
    background-color: #FFC030;
    background-image:
        linear-gradient(to top right, #ffc030 50%, #ffc03095 400%),
        /* Verlauf von 100% auf 0% Deckkraft */
        url('logo.png');
    /* Gelber Farbverlauf von unten links nach oben rechts */
    background-repeat: repeat;
    /* Logo wird wiederholt */
    position: relative;
    /* Falls später etwas positioniert werden muss */
    height: auto;
    /* Höhe des Footers, anpassbar nach Bedarf  war 800px*/
    color: #18110c;
    padding: 40px 0;
    margin-top: 120px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-section {
    flex: 1 1 200px;
    /* Jede Sektion nimmt mindestens 200px ein */
    margin: 20px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
    font-size: 1rem;
    color: #18110c;
    /* Helle Textfarbe */
    text-decoration: none;
    font-family: "Montserrat";
}

.footer-section a:hover {
    color: #FF5733;
    /* Textfarbe beim Hover */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    font-family: "Montserrat";
    color: #ffffff;
    text-align: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    fill: #18110c;
}

.social-icon:hover {
    filter: brightness(0.7) invert(1);
    /* Icons beim Hover leicht abdunkeln */
}

.team {
    max-width: 1440px;
}

.team-box-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 24px;
    justify-content: space-between;
    padding-top: 40px;
    align-items: flex-start;
}

.team-box {
    background-color: #FFC030;
    background-image:
        linear-gradient(to top right, #ffc130 25%, #ffc03095 400%),
        /* Verlauf von 100% auf 0% Deckkraft */
        url('logo.png');
    /* Gelber Farbverlauf von unten links nach oben rechts */
    background-repeat: repeat;
    /* Logo wird wiederholt */
    position: relative;
    /* Falls später etwas positioniert werden muss */
    max-width: 400px;
    border-radius: 8px;
    flex-grow: 1;
}

.team-box:hover {
    background-color: #FFC030;
    background-image:
        linear-gradient(to top right, #4cbcc7 25%, #4cbcc795 400%),
        /* Verlauf von 100% auf 0% Deckkraft */
        url('logo.png');
    /* Gelber Farbverlauf von unten links nach oben rechts */
    background-repeat: repeat;
    /* Logo wird wiederholt */
    position: relative;
    /* Falls später etwas positioniert werden muss */
    max-width: 400px;
    border-radius: 8px;
    flex-grow: 1;
    transform: scale(1.05);
    /* Optional: Zoom-Effekt */
}

.team-box-content {
    padding: 32px;
}

.team-box-heading h4 {
    color: #18110C;
    font-family: "Rokkitt";
    font-size: 3rem;
    line-height: 2rem;
}

.team-box-heading h5 {
    color: #ffffff;
    font-family: "Rokkitt";
    font-size: 1.5rem;
}

.team-box-text {
    color: #18110C;
    margin-top: 24px;
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-align: justify;
    display: none;
}

.team-box:hover .team-box-text {
    display: inline-block;
}

.team-box:hover .team-box-skin {
    transform: scale(.75);
}

.team-box-socials {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
}

.team-box-skin {
    width: 100%;
    max-height: 570px;
}

.team-box-skin-image {
    display: block;
    margin: 0 auto;
    width: 75%;
    max-height: 570px;
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    header {
        background-color: #ffffff;
        ;
    }

    .nav-links {
        display: none;
        /* Nav-Links und Login standardmäßig ausblenden */
        flex-direction: column;
        /* Vertikale Anordnung für mobile Ansicht */
        position: absolute;
        top: 100px;
        /* Abhängig von der Höhe der Navbar */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        /* Abstand zu oberen Elementen */
        z-index: 10;
    }

    .navbar.active .nav-links {
        display: flex;
        /* Anzeigen, wenn aktiv */
        align-items: flex-end;
        justify-content: center;
        gap: 20px;
        /* Abstand zwischen Links und Login */
        margin-bottom: 20px;
        /* Platz unterhalb der Navigation schaffen */
    }

    .menu-toggle {
        display: flex;
        /* Hamburger-Menü anzeigen */
    }

    .content-block {
        flex-direction: column;
        padding: 20px;
    }

    .content-block.reverse {
        flex-direction: column;
        padding: 20px;
    }

    .content-block .text {
        margin-right: 0;
        margin-bottom: 80px;
    }

    .content-block.reverse .text {
        margin-left: 0;
        margin-bottom: 80px;
    }

    .team-box-row {
        flex-direction: column;
    }

    .team {
        padding: 20px;
    }

    .team .text {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
    }
}


.input-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Rokkitt';
    font-size: 1rem;
    color: #18110C;
}

.input-field:focus {
    outline: none;
    border: 1px solid #ffc030 !important;
    box-shadow: 0px 0px 10px #ffc030;
    /* Fügt einen weichen Leuchteffekt hinzu */
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #FFC030;
    border: none;
    border-radius: 4px;
    color: #18110C;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #4cbcc7;
}

video {
    border: 1px solid #ffc030;
    border-radius: 16px;
    box-shadow: 0px 0px 100px #ffc03050;
}

#status-image {
    width: 100px; /* Hier kannst du die gewünschte Bildgröße einstellen */
    height: auto; /* Erhält das Seitenverhältnis des Bildes */
	color: #ffffff;
    font-family: "Rokkitt";
    font-size: 0.5rem;
}

.status-box h5 {
    color: #ffffff;
    font-family: "Rokkitt";
    font-size: 0.5rem;
}
#map img {
    user-select: none; /* Verhindert das Auswählen der Bilder */
    pointer-events: none; /* Verhindert, dass das Bild auf Mausereignisse reagiert */
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
    max-width: 1440px;
    margin-top: 100px;
}
.category-box {
    flex: 1 1 30%;
    min-width: 300px;
    border: 1px solid none;
    border-radius: 8px;
    padding: 15px;
    background-color: #18110C;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}
.category-box:hover {
    box-shadow: 0px 0px 100px #ffc03050;
    background-color: #18110C;
}

.category-header {
    font-family: "Montserrat";
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 3rem;
    background: -webkit-linear-gradient(#ffc030, #9b6d03);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    margin-bottom: 8px;
    width: 100%;
    font-weight: bold;
}
.category-image {
    max-width: 20px;
    max-height: 20px;
    margin-right: 10px;
}
.player-list {
    width: 100%;
}
.player-item {
    display: flex;
    justify-content: flex-start;
    margin: 5px 0;
    gap: 8px;
}
.player-name {
    font-size: 1em;
    font-weight: bold;
}
.xp {
    font-size: 1em;
    color: #007bff;
}
.xp-container {
    width: 100%;
    text-align: right;
}
.rank-image {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
/* Modal Styles */
.modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
}

.modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            max-width: 500px;
            width: 100%;
            position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Hero Section */
.hero.script {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.canvas {
            max-height: 10vh;
			max-width: 10vw;
        }
		
.myChart {
            max-height: 10vh;
			max-width: 10vw;
        }
		
#chartContainer {
            width: 50%;
            height: 50vh; /* 80% der Höhe des Viewports */
            margin: 0 auto; /* Zentriert das Diagramm horizontal */
            display: flex;
            justify-content: center;
            align-items: center;
        }
		
.btn-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
        }
		
.dropdown {
            position: relative;
            margin: 20px 0;
        }
		
.dropdown-select {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
            cursor: pointer;
        }	
		
.actions {
            text-align: center;
            margin-top: 20px;
        }	

.trailer-video video {
    width: 100%;     /* 100% der Breite des Elternelements */
    height: auto;    /* Höhe automatisch anpassen, um das Seitenverhältnis zu wahren */
}
		