*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
:root {
    --color-base: #B9B;          /* Originalfarbe */
    --color-dark: #8A6D8B;       /* Dunkler Akzent */
    --color-light: #E0D0E1;      /* Heller Hintergrund */
    --color-text: #ffffff;       /* Weiß */
}

body{
    background-color: var(--color-base);
}
body.wishmc {
    background-color: #202020;
}
h1 {
    font-family:'segoe ui',monospace;
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--color-text);
    text-align: center;
}

h2 {
    font-family:'segoe ui',monospace;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-text);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h4{
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
}
p {
    font-family:'segoe ui',monospace;
    font-size: 2rem;
    margin-top: 0;
    color: var(--color-light);
    text-align: center;
}
a {
    color:chocolate;
    font-family:'segoe ui',monospace;
}
nav{
    height: 54px;
    background-color: var(--color-base);
    font-family:'segoe ui',monospace;
    margin-top: 0;
}
.wishmc-nav {
    background-color: #202020;
}
nav ul{
    list-style: none;
    display: flex;
}
nav .home-li{
    margin-right: auto;
}
nav li{
    display:flex;
}
nav a{
    display: flex;
    text-decoration: none;
    color: var(--color-text);
    padding:1em 2em;
    transition: background-color 150ms ease;
}
nav a:hover{
    background-color: var(--color-dark);
    color: white; /* Textfarbe ändern */
    border-radius: 4px; /* Abgerundete Ecken */
    transform: scale(1.03); /* Leichte Vergrößerung */
    transition: all 0.2s linear; /* Sanfte Animation */
}
body.wishmc nav a:hover {
    background-color: #404040;
    color: white; /* Textfarbe ändern */
    border-radius: 4px; /* Abgerundete Ecken */
    transform: scale(1.03); /* Leichte Vergrößerung */
    transition: all 0.2s linear; /* Sanfte Animation */
}
nav a.active-link{
    border-bottom: 3px solid  var(--color-text);
}
#open-sidebar-button{
    display: none;
    background: none;
    border: none;
    padding:1em;
    margin-left: auto;
    cursor:pointer;
}
#close-sidebar-button{
    display: none;
    background: none;
    border:none;
    padding: 1em;
    cursor: pointer;
}
#overlay{
    background:rgba(0, 0, 0, 0.5);
    position: fixed;
    inset:0;
    z-index:9;
    display: none;
}
@media screen and (max-width:700px){
    #open-sidebar-button{
        display: block;
        padding:5px;
        color: var(--color-text);
        filter: brightness(0) invert(1);
    }
    
    nav{
        position:fixed;
        top:30px;
        right:-100%;
        height: calc(100vh - 60px);
        width:60%;
        z-index: 10;
        border-left:1px solid  var(--color-text);
        transition: right 300ms ease-out;
    }
    nav.show{
        right: 0;
    }
    nav ul{
        width:100%;
        flex-direction:column;
    }
    nav a{
        width: 100%;
        padding-left: 2.5em;
    }
    nav a.active-link{
        border-bottom: none;
    }
    nav .home-li{
        margin-right:unset;
    }
    #close-sidebar-button{
        display: block;
        color:white;
        filter: brightness(0) invert(1);
    }
    #overlay.show{
        display: block;
    }
    .main-logo {
    transform-origin: center; 
    margin: 20px 0; 
}
 
.text-overlay {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
    padding: 20px 10px; 
}
}
.background-image {
    background-image: url(bilder/day1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 1080px;
    position: relative;
    align-items: flex-start;
    padding-top: 50px;
    display: flex;
}
.index-background {
    background-image: url(bilder/day1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 1080px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.text-overlay {
    position: absolute;
    top: 2.5%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text);
    text-align: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    width: auto;
    max-width: 95%;
}



/* Stil für das Hauptlogo */
.index-main-logo {
    max-width: 800px;
    width: 80%;
    height: auto;
    margin: 0 auto;
    display: block;
}
/* Untertitel unter dem Logo */
.index-slogan {
    color: var(--color-text);
    font-family:'segoe ui',monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    
}

/* Stil für das Icon nach dem Text */
.twitch-icon-after {
  fill: currentColor;
  vertical-align: middle;
  margin-left: 8px;  /* Abstand nach rechts vom Text */
  display: inline-block;
}

/* Optional: Hover-Effekt für Twitch-Lila */
nav a:hover .twitch-icon-after {
  transform: scale(1.1);  /* Leichte Vergrößerung beim Hover */
  transition: all 0.2s ease;
}
.discord-widget {
            background-color: #36393f;
            color: white;
            border-radius: 8px;
            overflow: hidden;
            width: 300px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            font-family: 'Calibri', monospace;
            margin-top: 0;
        }
        
        .server-banner {
            height: 100px;
            background-size: cover;
            background-position: center;
            background-image: url('bilder/Server Banner.png');
        }
        
        .server-info {
            padding: 15px;
            text-align: center;
        }
        
        .server-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 5px solid #36393f;
            margin-top: -50px;
            object-fit: cover;
            background-color: #202225;
        }
        
        .server-name {
            font-weight: bold;
            font-size: 18px;
            margin: 10px 0 5px;
        }
        
        .server-description {
            color: #b9bbbe;
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .online-count {
            color: #3ba55c;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        
        .join-button {
            background-color:  var(--color-dark);
            color: white;
            border: none;
            width: 100%;
            padding: 10px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.2s;
        }
        
        .join-button:hover {
            background-color: var(--color-base);
        }

        /* Widget 2 - Exakt gleiches Styling wie Widget 1, aber mit "-2"-Suffix */
.discord-widget-2 {
    background-color: #36393f;
    color: white;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Calibri', monospace;
    margin-top: 20px; /* Abstand zum ersten Widget */
}

.server-banner-2 {
    height: 100px;
    background-size: cover;
    background-position: center;
    background-image: url('bilder/wishmc_banner.webp'); /* Banner für Server 2 */
}

.server-info-2 {
    padding: 15px;
    text-align: center;
}

.server-icon-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #36393f;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
}

.server-name-2 {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
}

.server-description-2 {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.online-count-2 {
    color: #3ba55c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.join-button-2 {
    background-color: var(--color-dark);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.join-button-2:hover {
    background-color: var(--color-base);
}

/* WISHMC SEITE ICONS */
.logo-hero-section {
    background: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    padding: 80px 20px 50px 20px;
    margin: 0;
    width: 100%;
    border-bottom: 2px solid #333;
}

.logo-container {
    position: relative;
    width: 100%;
    height: 180px;
}

/* X bleibt in der Mitte */
.x-symbol {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Logos direkt links/rechts vom X */
.wishmc-logo {
    position: absolute;
    right: calc(50% + 80px);  /* etwas Abstand links vom X */
    top: 50%;
    transform: translateY(-50%);
    height: 150px;
    width: auto;
}

.studio-logo {
    position: absolute;
    left: calc(50% + 80px);   /* etwas Abstand rechts vom X */
    top: 50%;
    transform: translateY(-50%);
    height: 150px;
    width: auto;
}

/* --- Mobile Ansicht --- */
@media screen and (max-width: 700px) {
    .logo-hero-section {
        padding: 40px 10px 30px 10px;
    }
    
    .logo-container {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        height: auto;
    }

    .wishmc-logo,
    .studio-logo {
        position: static;
        transform: none;
        height: auto;
        max-width: 80vw;
        max-height: 15vh;
        margin: 0;
    }

    .x-symbol {
        position: static;
        transform: rotate(90deg);
        width: 50px;
        height: 50px;
        margin: 0;
    }
}
/* Awards Image Styles */
.awards-image-container {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 0 20px;
}

.awards-image {
    width: 800px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid #333;
}

/* Mobile Anpassungen */
@media screen and (max-width: 850px) {
    .awards-image {
        width: 95%;
        border-radius: 8px;
    }
    
    .awards-image-container {
        margin: 30px 0;
        padding: 0 10px;
    }
}
 /*FOOTER*/
 
        footer {
            background: linear-gradient(45deg, var(--color-dark), var(--color-base), var(--color-dark));
            color: white;
            padding: 30px 0; 
            font-family:'segoe ui',monospace;
            
        }
        body.wishmc footer {
            background: linear-gradient(45deg, #303030, #404040, #303030);
            border-top: 1px solid var(--color-text);
        }
        .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 60px;
    padding: 0 20px;
}
        
        .footer-section {
    flex: 0 0 calc(33.333% - 40px);
    min-width: 250px;
    background: linear-gradient(45deg, rgba(138, 109, 139, 0.8), rgba(120, 95, 121, 0.8));
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

        body.wishmc .footer-section {
    background: linear-gradient(45deg, rgba(64, 64, 64, 0.8), rgba(80, 80, 80, 0.8));
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
        .footer-section h3 {
            color: #f8f8f8;
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .footer-section ul {
            list-style: none;
            padding: 0;
            color: #ccc;
        }
        
        .footer-section ul li {
            margin-bottom: 10px;
        }
        
        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-section ul li a:hover {
            color: white;
        }
        
        .social-icons {
            display: flex;
            gap: 15px;
        }
        
        .social-icons a {
            display: inline-block;
            width: 32px;
            height: 32px;
            transition: transform 0.3s;
        }
        
        .social-icons a:hover {
            transform: scale(1.1);
        }
        
        .social-icon {
            width: 100%;
            height: 100%;
            fill: #ccc;
            transition: fill 0.3s;
            margin-left: auto;
        }
        
        .social-icons a:hover .social-icon {
            fill: white;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid var(--color-light);
            font-size: 14px;
            color: #aaa;
        }
        .last-section {
            margin-left: auto;
            margin-right: auto;
        }
/* YouTube Widget Styles */
.youtube-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: nowrap; 
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.youtube-widget {
    background-color: #36393f;
    border-radius: 8px;
    overflow: hidden; 
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease; 
    position: relative;
    top: 0;
    flex-shrink: 0;
}

.channel-banner {
    height: 100px;
    background-size: cover;
    background-position: center;
}

.channel-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
}

.channel-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #36393f;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
}

.channel-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family: 'Calibri', monospace;
}

.channel-description {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.subscribe-button {
    background-color: #FF0000;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.subscribe-button:hover {
    background-color: #CC0000;
}

/* Mobile Ansicht */
@media screen and (max-width: 1100px) {
    .youtube-container {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 700px) {
    .youtube-container {
        flex-direction: column;
        align-items: center; /* Zentriert die Widgets horizontal */
        gap: 20px;
        width: 100%; /* Stellt sicher, dass der Container die volle Breite nutzt */
        padding: 0 10px; /* Gibt etwas Atemraum an den Seiten */
    }
}
/* Twitch Widget Styles mit funktionierender animierter Border */
.twitch-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.twitch-widget {
    background-color: #18181b;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.twitch-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
         #000000,#9147ff, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.twitch-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.twitch-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.twitch-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #18181b;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.twitch-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family:'segoe ui',monospace;
}

.twitch-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.twitch-button {
    background-color: #9147ff;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.twitch-button:hover {
    background-color: #772ce8;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(145, 71, 255, 0.5);
}

/* Mobile Ansicht */
@media screen and (max-width: 700px) {
    .twitch-container {
        margin: 20px auto;
    }
    .twitch-banner {
        height: 100px;
    }
}
/* Twitter Widget Styles */
.twitter-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.twitter-widget {
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.twitter-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #1DA1F2, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.twitter-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.twitter-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.twitter-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #000000;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.twitter-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family:'segoe ui',monospace;
}

.twitter-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.twitter-button {
    background-color: #1DA1F2;
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}
.twitter-button:hover {
    background-color: #1991db;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}

/* Instagram Widget Styles */
.instagram-container {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.instagram-widget {
    background-color: #121212;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.instagram-border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #000000, #e6683c, #cc2366, #000000);
    background-size: 300% 300%;
    border-radius: 5px;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
}

.instagram-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 2px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.instagram-info {
    padding: 15px;
    text-align: center;
    position: relative;
    font-family: 'Calibri', monospace;
    margin: 2px;
}

.instagram-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #121212;
    margin-top: -50px;
    object-fit: cover;
    background-color: #202225;
    position: relative;
    z-index: 2;
}

.instagram-name {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0 5px;
    color: white;
    font-family:'segoe ui',monospace;
}

.instagram-schedule {
    color: #b9bbbe;
    font-size: 14px;
    margin-bottom: 15px;
}

.instagram-button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: bottom;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.instagram-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(188, 24, 136, 0.5);
}

/* Container für alle Social Widgets */
.social-widgets-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Ansicht */
@media screen and (max-width: 700px) {
    .social-widgets-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .twitter-banner,
    .instagram-banner {
        height: 100px;
    }
}

/* Countdown Styles */
.countdown-container {
    text-align: center;
    margin: 40px auto;
    font-family:'segoe ui',monospace;
    color: var(--color-text);
}

#countdown {
    font-size: 2rem;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

#countdown span {
    background: #333;
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 50px;
    display: inline-block;
}

#countdown-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffd400;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#countdown-btn:hover {
    background-color: #ffc000;
}

/* Mobile */
@media (max-width: 600px) {
    #countdown {
        font-size: 1.5rem;
        gap: 8px;
    }
    #countdown span {
        min-width: 40px;
        padding: 8px;
    }
}
