/* ========================================= */
/* 1. SCHRIFTARTEN LOKAL DEFINIEREN          */
/* ========================================= */
@font-face {
    font-family: 'Gagalin Custom'; 
    src: url('fonts/gagalin.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ========================================= */
/* 2. BASIS-STYLING UND GLOBALE REGELN       */
/* ========================================= */
body {
    /* Setzt die Gagalin-Schriftart für die gesamte Seite */
    font-family: 'Gagalin Custom', sans-serif; 
    margin: 0;
    padding: 0;
    background-image: url('img/hintergrund.png');
    background-size: cover;
    background-attachment: fixed;
    background-color: #333;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========================================= */
/* 3. HEADER UND LOGO STYLING                */
/* ========================================= */
header {
    background-color: #333;
    color: #f1f1f1;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Gagalin Custom', cursive; 
    border-bottom: 2px solid #99
}

.header-logo {
    height: 60px; 
    order: 2;
}

.logo-link {
    margin-left: auto;
    display: flex; 
    align-items: center; 
}

heaser h1 {
    color: f1f1f1;
    margin: 0;
    font-size: 2.5rem;
    order: 1;
}

/* ========================================= */
/* 4. HAUPT-LAYOUT (CONTAINER)               */
/* ========================================= */
.container {
    display: flex;
    flex: 1;
    padding: 10px;
    max-width: none;
    background-color: #f1f1f1;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.sidebar {
    width: 80px; 
    padding: 20px;
    border-right: 1px solid #eee; /* Linie rechts zur Abgrenzung */
    border-left: none; 
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    margin-bottom: 10px;
}

.sidebar nav ul li a {
    text-decoration: none;
    color: #eb5603;
    font-weight: bold;
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar nav ul li a:hover {
    background-color: #f1f1f1;
}

.content {
    flex-grow: 1;
    padding: 10px;
    text-align: center;
}

/* ========================================= */
/* 5. PLAYER UND SOCIALS STYLING             */
/* ========================================= */

.stream-container {
    max-width: 100%;
    width: auto;
    padding-bottom: 56.25%; 
    position: relative;
    height: 0; 
    margin-bottom: 30px;
}

.stream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.player-titel {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.8em;
    padding: 10px 0;
    border-bottom: 2px solid #333;
}

.social-links {
    max-width: none;
    padding: 20px;
    text-align: center;
}

.social-links h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
}

.social-btn {
    display: block; 
    padding: 15px;
    margin-bottom: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px #222; 
}

.social-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px #222;
}

.twitch { background-color: #6441a5; }
.youtube { background-color: #ff0000; }
.insta { background-color: #c13584; }
.discord { background-color: #5865f2; }
.linktree { background-color: #43e660; }

hr {
    border: 0;
    height: 1px;
    background-color: #ccc;
    margin: 40px 0;
}

/* ========================================= */
/* 6. FOOTER                                 */
/* ========================================= */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
}

/* ========================================= */
/* 7. MEDIA QUERY (RESPONSIVES DESIGN)       */
/* ========================================= */
@media (max-width: 768px) {
    
     header {
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }
    
    .header-logo {
        height: 40px; 
        margin-bottom: 10px;
        order: 1; 
    }

    h1 {
        font-size: 2rem;
        order: 2;
    }

    .container {
        flex-direction: column;
        padding: 10px;
        margin: 10px;
    }

     .sidebar {
        width: 100%; 
        border-right: none; 
        border-bottom: 1px solid #eee; 
        padding: 0;
    }

    .sidebar nav ul {
        display: flex; 
        justify-content: space-around; 
    }
    
    .sidebar nav ul li a {
        padding: 10px 5px; 
    }
    
    .content {
        order: 2; 
        font-size: 1em; 
    }

    /* Video-Anpassung */
    .stream-container {
        padding-bottom: 60%;
    }

    .player-titel {
        font-size: 1.5em;
    }

    .social-links {
        max-width: 100%;
    }
}

/* ========================================= */
/* 8. WILLKOMMENS TEXT STYLING               */
/* ========================================= */
.begruessung-box {
    text-align: center; 
    padding: 0 10px 20px 10px;
    margin-bottom: 20px;
}

.begruessung-box h1 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 5px;
}

.begruessung-box h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
    display: inline-block;
    padding-bottom: 5px;
}

.begruessung-box p, .begruessung-box li {
    /* font-family: Arial, sans-serif; */
    font-size: 1.15em; 
    line-height: 1.8;
}

.info-liste {
    list-style: square;
    margin: 20px 0 20px 20px;
    padding-left: 0;
}

.info-liste li {
    margin-bottom: 12px;
}

hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

/* ========================================= */
/* 9. DESKTOP-FIX (Breite erzwingen)         */
/* ========================================= */
@media (min-width: 769px) {
    .container {
        width: 1400px; 
        margin: 20px auto; 
    }
}

/* ========================================= */
/* 10. SOCIALS TEXT STYLING                  */
/* ========================================= */
.social-intro, .social-outro {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-outro {
    margin-top: 30px;
    font-weight: bold;
    color: #333;
}

/* ========================================= */
/* 11. FOOTER UND SOCIAL ICONS               */
/* ========================================= */
footer {
    background-color: #333;
    color: #f1f1f1;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.8em;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.back-to-top {
    background-color: #555555;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.2s;
}

.back-to-top:hover {
    background-color: #777777;
}


.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
}

.social-icons-footer {
    display: flex;
    gap: 15px;
}

.footer-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-text {
    visibility: hidden; 
    font-size: 0;
}

.footer-icon:hover {
    opacity: 0.8;
}

.twitch-icon { 
    background-color: #9146FF; 
    background-image: url('img/twitch.png');
}
.youtube-icon { 
    background-color: #ff0000; 
    background-image: url('img/youtube.png');
}
.discord-icon { 
    background-color: #5865f2; 
    background-image: url('img/discord.png');
}
.insta-icon { 
    background-color: #c13584; 
    background-image: url('img/instagram.png');
}