/* Grundlayout */ body { margin: 0; font-family: 'Montserrat', sans-serif; background: #0f0f0f; color: #fff; } .container { width: 90%; max-width: 1200px; margin: 0 auto; } /* Header */ /* Header komplett linksbündig */ header { display: flex; align-items: center; justify-content: space-between; background: #1a1a1a; padding: 15px 30px; border-bottom: 1px solid #00ffff; } /* Logo und Text links */ .header-left { display: flex; align-items: center; gap: 10px; } .header-logo { max-width: 60px; height: auto; } .header-text h1 { margin: 0; font-size: 1.8rem; color: #00ffff; } .header-text p { margin: 0; font-size: 0.9rem; color: #ffffff; } /* Navigation mittig + rechts */ .header-nav { display: flex; align-items: center; gap: 40px; } .nav-menu { display: flex; list-style: none; margin: 0; padding: 0; position: absolute; /* Damit es mittig im Header bleibt */ left: 50%; transform: translateX(-50%); } .nav-menu li { margin: 0 15px; } .nav-menu li a, .nav-menu li span { color: #fff; text-decoration: none; font-weight: 500; } .nav-menu li a:hover { color: #00ffff; } /* Rechte Seite: Login/Register + Sprache */ .header-right { display: flex; align-items: center; gap: 15px; } .btn-login, .btn-register { text-decoration: none; color: #ffffff; padding: 5px 12px; border: 1px solid #00ffff; border-radius: 4px; font-size: 0.9rem; transition: all 0.2s; } .btn-login:hover, .btn-register:hover { background: #00ffff; color: #1a1a1a; } .lang-switch a { text-decoration: none; color: #ffffff; font-size: 0.85rem; margin: 0 3px; } .lang-switch a.active { color: #00ffff; font-weight: bold; } .nav-menu li span.active-page { color: #00ffff; /* Cyan-Farbe */ font-weight: bold; /* Optional: etwas hervorheben */ cursor: default; /* Kein Hand-Cursor beim Hover */ } .nav-menu li span.active-page:hover { color: #00ffff; /* Hover bleibt gleich */ } /* Hero */ .hero { position: relative; background: url('pictures/Lobby.jpg') no-repeat center center; background-size: cover; height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; } .hero .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.25); backdrop-filter: blur(3px); } /* Serverlogo im Hero */ .hero .server-logo { display: block; margin: 0 auto 20px auto; /* zentriert, Abstand nach unten */ max-width: 150px; /* Größe anpassen nach Wunsch */ height: auto; z-index: 1; /* liegt über dem Overlay */ } .hero-content { position: relative; z-index: 1; } .hero-content h2 { font-size: 2rem; margin-bottom: 20px; } .hero-buttons { display: flex; gap: 20px; justify-content: center; margin-bottom: 10px; } .btn { text-decoration: none; padding: 12px 25px; border-radius: 6px; font-weight: bold; transition: 0.3s; } .btn.primary { background: #00ffff; color: #000; } .btn.secondary { background: #222; border: 1px solid #00ffff; color: #00ffff; } .btn:hover { opacity: 0.85; } .ip { font-size: 0.9rem; color: #ccc; } /* Sektionen */ section { padding: 80px 0; text-align: center; } .about, .kingdoms, .progress, .apply { background: #1a1a1a; margin-bottom: 10px; border-top: 1px solid #333; } .features, .roles, .kingdom-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 20px; } .features div, .roles div, .kingdom-list div { background: #222; border: 1px solid #00ffff; padding: 12px 20px; border-radius: 6px; min-width: 150px; } /* Fortschritt */ .progress-bar { width: 80%; max-width: 600px; margin: 20px auto; height: 15px; background: #333; border-radius: 10px; overflow: hidden; } .progress-fill { height: 100%; background: linear-gradient(90deg, #00ffff, #00bcd4); } /* Status */ .status.online { color: #00ff00; } .status.offline { color: #ff3300; } /* Footer */ footer { background: #111; padding: 30px 0; text-align: center; font-size: 0.9rem; color: #ccc; border-top: 2px solid #00ffff; } /* Responsiv */ @media (max-width: 768px) { .hero-content h2 { font-size: 1.5rem; } section { padding: 60px 0; } } #server-ip, .server-version { color: #00ffff; font-weight: bold; cursor: pointer; } .lobby-image { width: 100%; overflow: hidden; position: relative; } .lobby-image img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 600px; /* Höhe kannst du nach Wunsch anpassen */ border-bottom: 3px solid #00ffff; /* Stilvolle cyan Linie unten */ } /* Spezieller Hero für die Registrierungsseite */ .hero_register { position: relative; background: url('pictures/register.jpg') no-repeat center center; background-size: cover; padding: 220px 20px 120px 20px; /* Platz oben und unten */ text-align: center; color: #fff; } /* Overlay für besseren Kontrast */ .hero_register .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.3); z-index:0; } /* Content über Overlay */ .hero_register .hero-content { position: relative; z-index: 1; } /* Logo im Hero-Bereich */ .hero_register .server-logo { width: 130px; margin-bottom: 20px; } /* Formular Styling */ .register-form { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 20px; } .register-form input { padding: 10px 15px; width: 250px; border-radius: 5px; border: none; font-size: 1rem; } .register-form button { padding: 10px 20px; border: none; border-radius: 5px; font-size: 1rem; cursor: pointer; } .user-profile { position: relative; display: inline-block; cursor: pointer; } .user-profile .profile-dropdown { display: none; position: absolute; right: 0; background-color: #222; padding: 10px; border-radius: 5px; z-index: 1000; } .user-profile .profile-dropdown a { display: block; color: #fff; padding: 5px 10px; text-decoration: none; } .user-profile .profile-dropdown a:hover { background-color: #444; } .hero_login { position: relative; text-align: center; color: #fff; padding: 120px 20px; overflow: hidden; /* wichtig, damit Overlay nicht überläuft */ } .hero_login::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('pictures/login.jpg') center/cover no-repeat; filter: blur(1.5px) brightness(0.8); /* blur + dunkler */ z-index: 0; } .hero_login .hero-content { position: relative; z-index: 1; /* Text und Logo darüber */ } .hero_login .server-logo-small { width: 120px; /* kleineres Logo */ margin-bottom: 20px; } /* Profilseite */ .profile-section { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; padding: 60px 0; } .profile-card { background: #1a1a1a; border: 1px solid #00ffff; border-radius: 10px; padding: 20px; width: 300px; min-height: 200px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; } .profile-cards-row { display: flex; flex-wrap: nowrap; /* Keine Umbrüche, alles in einer Reihe */ justify-content: center; /* Zentriert die Reihe */ gap: 20px; /* Abstand zwischen den Karten */ margin-bottom: 30px; } .profile-cards-row .profile-card { flex: 0 0 250px; /* jede Karte 250px breit, nicht schrumpfen */ } .settings-card { margin: 0 auto; width: 250px; } .profile-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,255,255,0.3); } .profile-card h2 { margin-top: 0; color: #00ffff; font-size: 1.4rem; } .user-avatar { font-size: 80px; color: #00ffff; margin-bottom: 15px; } .friends-list { list-style: none; padding: 0; margin: 0; text-align: left; } .friends-list li { display: flex; justify-content: space-between; padding: 8px 12px; margin-bottom: 5px; border-radius: 5px; background: #222; border: 1px solid #00ffff; } .friends-list li span.online { color: #00ff00; font-weight: bold; } .friends-list li span.offline { color: #ff3300; font-weight: bold; } .profile-card .profile-dropdown a { display: block; padding: 10px; margin: 5px 0; background: #222; color: #fff; text-decoration: none; border-radius: 5px; transition: 0.2s; } .profile-card .profile-dropdown a:hover { background: #00ffff; color: #000; } /* Responsive Anpassungen */ @media (max-width: 992px) { .profile-section { flex-direction: column; align-items: center; } .profile-card { width: 80%; } } @media (max-width: 480px) { .user-avatar { font-size: 60px; } .profile-card h2 { font-size: 1.2rem; } .friends-list li { flex-direction: column; align-items: flex-start; } } .popup { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); } .popup-content { background: #1e1e1e; color: white; padding: 20px; border-radius: 12px; width: 350px; margin: 10% auto; box-shadow: 0 0 20px rgba(0,0,0,0.5); text-align: center; } .close-btn { float: right; font-size: 22px; cursor: pointer; } .popup input { width: 90%; padding: 10px; margin-top: 10px; border: none; border-radius: 6px; } .popup .btn { margin-top: 15px; padding: 10px 20px; background-color: #2d7dfa; color: white; border: none; border-radius: 8px; cursor: pointer; } .popup .btn:hover { background-color: #185fd9; } /* Nachricht */ .notification { background: #2d7dfa; color: white; padding: 10px; text-align: center; margin-bottom: 15px; border-radius: 6px; } .games-hero { position: relative; background: url('assets/pictures/games_bg.jpg') center/cover no-repeat; color: #fff; padding: 120px 20px; text-align: center; } .games-hero .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); } .games-hero .hero-content { position: relative; z-index: 1; } .games-section { background: #1a1a1a; padding: 80px 0; } .support-form { display: flex; flex-direction: column; gap: 1em; align-items: center; margin-top: 2em; } .support-form input, .support-form textarea { width: 100%; max-width: 400px; padding: 12px 15px; border-radius: 10px; border: 1px solid #00ffff; background-color: #1a1a1a; color: #fff; font-size: 1rem; font-family: 'Montserrat', sans-serif; transition: all 0.2s ease; box-sizing: border-box; } .support-form input:focus, .support-form textarea:focus { outline: none; border-color: #00ffff; box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); } .support-form label { width: 100%; max-width: 400px; text-align: left; font-weight: bold; margin-bottom: 0.3em; color: #00ffff; } .support-form button { padding: 12px 25px; background-color: #00ffff; color: #1a1a1a; border: none; border-radius: 10px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: all 0.2s ease; } .support-form button:hover { background-color: #00bcd4; }