*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
:root {
    --color-base:  #B91C1C;   
    --color-dark:  #7F1D1D;   
    --color-light: #FEE2E2;   
    --color-text:  #FFFFFF;  
}


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;
}
h3 {
    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(minegames/MineGames.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(minegames/MineGames.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;
            
        }
        .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, var(--color-dark), var(--color-base), var(--color-dark));
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}


        .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;
        }

    /* actor table */
  .actor-table {
  display: flex;
  flex-wrap: wrap;           /* Karten umbrechen */
  justify-content: center;   /* Karten zentrieren */
  gap: 40px;                 /* Abstand zwischen Karten */
  padding-left: 40px;
  padding-right: 40px;
}


  .actor-card {
  flex: 1 1 400px;           /* wächst, schrumpft, Basis 400px */
  max-width: 400px;          /* optional: maximale Breite */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s;
}


  .actor-card:hover {
    transform: scale(1.05);
  }

  .actor-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* quadratisch */
    object-fit: cover;
    
  }

  .actor-card .info {
    padding: 15px;
  }

  .actor-card .info h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
  }

  .actor-card .info p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
  }
  img {
 
  image-rendering: pixelated;
}
