/* --- SMARTPHONE OPTIMIERUNG --- */

@media (max-width: 900px) {
    /* Navbar Anpassung */
    .navbar {
        flex-direction: column; /* Logo oben, Links mitte, Spieler unten */
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .nav-section {
        justify-content: center !important; /* Alles mittig auf dem Handy */
        width: 100%;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap; /* Erlaubt Umbruch der Links */
        justify-content: center;
    }

    /* Sektionen von 2 Spalten auf 1 Spalte umstellen */
    .hero, 
    .kontaktdaten, 
    .infoserver {
        grid-template-columns: 1fr; /* Nur noch eine Spalte */
        padding: 40px 20px; /* Weniger Abstand an den Seiten */
        text-align: center; /* Text mittig für bessere Optik auf Mobilgeräten */
    }

    /* Bilder unter den Text schieben */
    .hero-image,
    .kontaktdaten-image,
    .infoserverimage {
        order: 2; /* Bild kommt nach dem Text */
    }

    .hero-text,
    .kontaktdaten-text,
    .infoservertext {
        order: 1; /* Text kommt zuerst */
        padding: 0;
    }

    /* Überschriften verkleinern */
    .hero-text h1 {
        font-size: 38px;
    }

    .belohnungen h2,
    .kontaktdaten-text h2,
    .infoservertext h2 {
        font-size: 30px;
    }

    /* Buttons mittig ausrichten */
    .zyversebutton {
        margin: 10px auto;
        display: block; /* Button nimmt eigene Zeile ein */
    }

    .description {
        max-width: 100%; /* Text nutzt volle Breite */
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    /* Galerie (Belohnungen/Features) */
    .image-mitte {
        flex-direction: column; /* Bilder untereinander */
        align-items: center;
        padding: 20px;
    }

    .image-container {
        width: 100%;
        margin-bottom: 30px;
    }

    .navbar {
        padding: 10px;
    }

    .nav-links a {
        font-size: 13px; /* Etwas kleinere Schrift in der Navbar */
    }
    
    .player-count {
        min-width: unset; /* Pille wird schmaler */
        width: 100%;
        justify-content: center;
    }
}

@import url(https://db.onlinewebfonts.com/c/182b97a2af5abc03e28a638677d667c4?family=Roca+Two+Bold);
@import url('https://fonts.cdnfonts.com/css/open-sauce-one');

@font-face {
    font-family: "Roca Two Bold";
    src: url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.eot");
    src: url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.eot?#iefix")format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.woff2")format("woff2"),
    url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.woff")format("woff"),
    url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.ttf")format("truetype"),
    url("https://db.onlinewebfonts.com/t/182b97a2af5abc03e28a638677d667c4.svg#Roca Two Bold")format("svg");
    /* From Uiverse.io by cssbuttons-io */ 

}

html {
  scroll-behavior: smooth;
}

.zyversebutton {
  font-size: 18px;
  background-color: #008542;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: unset;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  margin-top: 10px;
  width: fit-content;
  margin-right: 15px;
  margin-bottom: 15px;

}

.zyversebutton:before {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #008542 !important;
  box-shadow: 0 -4px rgb(21 108 0 / 50%) inset,
    0 4px rgb(100 253 31 / 99%) inset, -4px 0 rgb(100 253 31 / 50%) inset,
    4px 0 rgb(21 108 0 / 50%) inset;
}

.zyversebutton:after {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}

.zyversebutton:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset, 0 4px rgb(255 255 255 / 20%) inset,
    -4px 0 rgb(255 255 255 / 20%) inset, 4px 0 rgb(0 0 0 / 50%) inset;
}

.zyversebutton:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}

.zyversebutton:active {
  transform: translateY(4px);
}

.zyversebutton:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}


body {
  background-color: #f3ead8;;
}

 .hero {
  display: grid;;
  grid-template-columns: 1fr 1fr;
 }

.hero-text {
  background: #6b6a45;
  color: #eee6d8;

  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;


}

.hero-text h1 {
  font-family: "Roca Two Bold" , cursive;
  font-size: 64px;
  line-height: 1.1;
  margin: 20px 0
  
}

.small {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.8;
}

.description {
  font-size: 16px;
  max-width: 300px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;

}

.hero-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: yellow;

}

.hero-text h2 {
  font-family: "Open Sauce One";
  font-size: 15px;
  line-height: 1.1;
  margin: 20px 0;
}


.mitte-text {
  background: #6b6a45;
  color: #eee6d8;

  padding: 60px;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
}

.mitte-text h2 {
  font-family: "Roca Two Bold";
  font-size: 20px;
  line-height: 1.1;
  margin: 20px 0;
}

.mitte-text p {
  font-family: "Open Sauce One";
  font-size: 15px;
  line-height: 1.3;
  margin: 10px 0;;
}

.image-mitte {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  padding: 0 20px;
  background: #6b6a45;
}

.image-container {
  flex: 1;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  object-fit: cover;
  margin-bottom: 15px;
}

.image-container h3 {
  font-family: "Roca Two Bold" , serif;
  margin: 10px 0 5px 0;
  font-size: 1.2rem;
  text-align: center;
  color: #eee6d8;
}
.image-container p {
    font-size: 0.9rem;
    color: #eee6d8;
    line-height: 1.4;
    text-align: center;
    font-family: "Open Sauce One" , serif;
}

.belohnungen h2{
  font-family: "Roca Two Bold" , serif;
  font-size: 40px;
  line-height: 1.3;
  margin: 10px 0;;
}

.belohnungen p{
  font-family: "Open Sauce One" , serif;
  font-size: 15px;
  line-height: 1.3;
  margin: 10px 0;;
}

.belohnungen {
  background: #6b6a45;
  color: #eee6d8;

  padding: 60px;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
}

.kontaktdaten-text p{
  font-family: "Open Sauce One" , serif;
  font-size: 15px;
  line-height: 1.3;
  margin: 10px 0;;
}
.kontaktdaten {
  background: #6b6a45;
  color: #eee6d8;

  padding: 60px;
  padding-top: 60px;
  display: grid;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.kontaktdaten-text h2{
  font-family: "Roca Two Bold" , serif;
  font-size: 40px;
  line-height: 1.3;
  margin: 10px 0;;
}
.kontaktdaten-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;           /* Passt zu deinem Minecraft-Look */
    object-fit: cover;
  
}

.infoservertext h2 {
  font-family: "Roca Two Bold" , serif;
  font-size: 40px;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.infoservertext p {
  font-family: "Open Sauce One" , serif;
  font-size: 15px;
  line-height: 1.3;
  margin: 0;
}

.infoserver {
  background: #6b6a45;
  color: #eee6d8;

  padding: 60px;
  padding-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10px;
}

.infoserverimage img {
    width: 100%;
    height: auto;
    border-radius: 10px;           /* Passt zu deinem Minecraft-Look */
    display: block;
}

.footertext {
    background-color: #4a492f; /* Ein etwas dunkleres Grün-Braun */
    color: #eee6d8;
    text-align: center;
    padding: 20px;
    margin-top: 10px; /* Gleicher Abstand wie bei deinen anderen Sektionen */
    font-family: "Open Sauce One", sans-serif;
}

.copy-ip {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer; /* Zeigt die Hand beim Drüberfahren */
    color: #23c483;  /* Deine grüne Akzentfarbe */
    font-weight: bold;
    transition: all 0.2s ease;
    display: inline-block;
}

.copy-ip:hover {
    background: rgba(35, 196, 131, 0.2);
    transform: scale(1.05);
}

.copy-ip:active {
    transform: scale(0.95);
}

/* Die Haupt-Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4a492f;
    height: 90px;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Definition der drei Sektionen */
.nav-section {
    display: flex;
    align-items: center;
    flex: 1; /* Alle Sektionen sind gleich breit */
}

.nav-section.left {
    justify-content: flex-start;
}

.nav-section.center {
    justify-content: center;
}

.nav-section.right {
    justify-content: flex-end;
}

/* Logo Styling */
.logo img {
    height: 60px;
    width: auto;
}

/* Mittlere Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #eee6d8;
    font-family: "Open Sauce One", sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #23c483;
}

/* Spieler-Pille rechts */
.player-count {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-width: 150px;
    transition: background 0.3s ease;
}

.player-count:hover {
    background: rgba(0, 0, 0, 0.6);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: #777; /* Grau wenn offline */
    flex-shrink: 0;
}

.status-dot.online {
    background-color: #23c483;
    box-shadow: 0 0 10px #23c483;
}

.player-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: "Open Sauce One", sans-serif;
}

.small-label {
    font-size: 10px;
    color: #eee6d8;
    opacity: 0.7;
    text-transform: uppercase;
}

#player-count-num {
    font-size: 14px;
    color: #23c483;
    font-weight: bold;
}