/* Allgemeine Stile */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
}

/* Header */
header {
    background-color: #00000000;
    color: white;
}

.top-bar {
    background-color: #000;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
}

nav .logo {
    font-size: 1.5em;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00a6fc;
}

/* Hero Section */
.hero {
    text-align: center;
    background: url('bilder/logo/pol1.png') no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #00a6fc;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid black;
    transition: background 0.3s, color 0.3s;
}

.cta-button:hover {
    background-color: black;
    color: white;
}

/* Content Section */
.content {
    padding: 50px 10%;
    background-color: #111;
    text-align: center;
}

.content h2 {
    font-size: 2em;
    margin-bottom: 30px;
}

.content h2 span {
    color: #0f0073;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
}

.grid img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #000;
    color: white;
    font-size: 0.9em;
}

.discord {
    cursor: pointer;
    left: 755px;
    top: 1320px;
    position: absolute;
    gap: 5px;
}

.fivem {
    cursor: pointer;
    left: 805px;
    top: 1320px;
    position: absolute;
    gap: 5px;
}

.regelwerk {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.291);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}
.regelwerk h1, .regelwerk h2 {
    margin: 10px 0;
    text-align: center;
}
.regelwerk p {
    margin: 5px 0;
}




.server-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Boxen */
    padding: 20px; /* Optionale Polsterung um den Container */
  }

.server-invite {
    background-color: #23272a;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: 400px;
    text-align: center;
    overflow: hidden;
}
  
  .server-banner img {
    width: 100%;
    height: auto;
  }
  
  .server-info {
    padding: 15px;
  }
  
  h2 {
    margin: 10px 0;
  }
  
  .icon {
    color: #f2b8e4;
  }
  
  .join-button {
    display: inline-block;
    background-color: #57f287;
    color: #23272a;
    text-decoration: none;
    padding: 10px 20px;
    margin: 10px 0;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .join-button:hover {
    background-color: #45d879;
  }


/* Modal-Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}

.close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
}



  