public/styles.css aktualisiert

This commit is contained in:
2025-12-26 17:01:23 +00:00
parent 6802ce8b9d
commit 89364d15e9

View File

@@ -1,219 +1,457 @@
/* styles.css */ /* styles.css - Modern Dark Mode Theme */
/* Allgemeine Styles */ :root {
* { /* Dark Mode Palette */
box-sizing: border-box; --bg-body: #0f172a; /* Sehr dunkles Blau-Grau (Hintergrund) */
margin: 0; --bg-card: #1e293b; /* Helleres Blau-Grau (Karten) */
padding: 0; --bg-input: #334155; /* Dunkelgrau (Inputs) */
font-family: 'Arial', sans-serif;
} --text-main: #f8fafc; /* Fast Weiß (Haupttext) */
--text-secondary: #94a3b8; /* Helles Grau (Untertitel/Icons) */
html, body {
height: 100%; /* Damit das Body-Element die volle Höhe einnimmt */ --primary: #3b82f6; /* Modernes Blau */
} --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Helles Blau Gradient */
--primary-glow: rgba(59, 130, 246, 0.5); /* Glow-Effekt */
body {
background-color: #f4f4f4; --border-color: #334155; /* Subtile Ränder */
color: #333; --radius: 16px;
line-height: 1.6; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex; /* Flexbox aktivieren */ }
flex-direction: column; /* Vertikale Anordnung */
} /* General Reset */
* {
/* Header Styles */ box-sizing: border-box;
header { margin: 0;
background: #0078ff; padding: 0;
color: white; }
padding: 20px 0;
text-align: center; html, body {
} height: 100%;
scrollbar-width: thin;
header h1 { scrollbar-color: var(--bg-input) var(--bg-body);
margin-bottom: 10px; }
}
body {
nav ul { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
list-style: none; background-color: var(--bg-body);
} color: var(--text-main);
line-height: 1.6;
nav ul li { display: flex;
display: inline; flex-direction: column;
margin: 0 15px; }
}
/* Header */
nav a { header {
color: white; background: rgba(15, 23, 42, 0.8); /* Leicht transparent */
text-decoration: none; backdrop-filter: blur(12px); /* Glass-Effekt */
font-weight: bold; -webkit-backdrop-filter: blur(12px);
} border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
nav a:hover { position: sticky;
text-decoration: underline; top: 0;
} z-index: 100;
}
/* Container Styles */
.container { .header-content {
flex: 1; /* Ermöglicht, dass der Container den verbleibenden Platz einnimmt */ max-width: 900px;
max-height: 510px; /* Maximale Höhe gesetzt */ margin: 0 auto;
max-width: 800px; padding: 0 20px;
margin: 100px auto 20px; /* Erhöhe den oberen Abstand auf 40px */ display: flex;
padding: 20px; justify-content: space-between;
background: white; align-items: center;
border-radius: 8px; }
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} .logo {
font-weight: 700;
.container-2 { font-size: 1.2rem;
flex: 1; /* Ermöglicht, dass der Container den verbleibenden Platz einnimmt */ color: var(--primary);
max-height: 300px; /* Maximale Höhe gesetzt */ text-shadow: 0 0 10px var(--primary-glow); /* Text Glow */
max-width: 800px; letter-spacing: -0.5px;
margin: 100px auto 20px; /* Erhöhe den oberen Abstand auf 40px */ }
padding: 20px;
background: white; nav ul {
border-radius: 8px; list-style: none;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); display: flex;
} gap: 20px;
}
h2 { nav a {
margin-bottom: 15px; text-decoration: none;
color: #0078ff; color: var(--text-secondary);
} font-weight: 500;
font-size: 0.95rem;
/* Form Styles */ transition: var(--transition);
form { padding: 6px 12px;
display: flex; border-radius: 8px;
flex-direction: column; }
}
nav a:hover, nav a.active {
label { color: var(--text-main);
margin: 10px 0 5px; background: rgba(59, 130, 246, 0.15); /* Hellerer Hintergrund bei Hover */
} }
select, input[type="url"], input[type="text"] { /* Container & Layout */
padding: 10px; .container {
border: 1px solid #ccc; flex: 1;
border-radius: 5px; width: 100%;
margin-bottom: 15px; max-width: 700px;
} margin: 40px auto;
padding: 0 20px;
button { }
padding: 10px;
background-color: #0078ff; .card {
color: white; background: var(--bg-card);
border: none; border: 1px solid var(--border-color);
border-radius: 5px; border-radius: var(--radius);
cursor: pointer; padding: 40px;
transition: background 0.3s; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3); /* Tiefer Schatten für Tiefe */
} animation: fadeIn 0.6s ease-out;
}
button:hover {
background-color: #005bb5; h2.welcome-title {
} color: var(--text-main);
font-weight: 700;
/* Message Styles */ margin-bottom: 0.5rem;
#message { text-align: center;
margin-top: 15px; letter-spacing: -0.5px;
font-weight: bold; }
}
.subtitle {
/* Footer Styles */ text-align: center;
footer { color: var(--text-secondary);
display: flex; /* Flexbox für die Anordnung der Inhalte */ margin-bottom: 2rem;
justify-content: center; /* Zentriert den Inhalt horizontal */ }
align-items: center; /* Vertikale Zentrierung */
padding: 15px; /* Innenabstand */ /* Form Styles */
background: #0078ff; /* Hintergrundfarbe */ .form-group {
color: white; /* Schriftfarbe */ margin-bottom: 24px;
width: 100%; }
margin-top: auto; /* Fügt oben einen automatischen Margin hinzu, um den Footer nach unten zu drücken */
} label {
display: block;
.footer-content { margin-bottom: 8px;
display: flex; /* Flexbox für die inneren Inhalte */ font-weight: 500;
justify-content: space-between; /* Abstand zwischen Bot-Version und mittigem Inhalt */ font-size: 0.9rem;
width: 100%; /* Macht den Container 100% breit */ color: var(--text-secondary);
} }
.footer-center { select, input[type="url"], input[type="text"] {
text-align: center; /* Zentriert den Text in diesem Container */ width: 100%;
flex-grow: 1; /* Ermöglicht, dass dieser Container den verfügbaren Platz einnimmt */ padding: 14px 16px;
} background: var(--bg-input);
border: 1px solid var(--border-color);
.bot-version { border-radius: 12px;
margin-right: auto; /* Schiebt die Bot-Version nach links */ font-size: 1rem;
font-style: italic; /* Kursive Schrift für einen gravierten Effekt */ font-family: inherit;
color: rgba(255, 255, 255, 0.8); /* Leicht durchscheinend für einen Gravureffekt */ transition: var(--transition);
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Schatten für den Gravureffekt */ outline: none;
} color: var(--text-main);
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); /* Innerer Schatten */
.welcome-title { }
text-align: center; /* Textzentrierung */
margin-bottom: 15px; /* Abstand nach unten */ select:focus, input:focus {
} border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* Blauer Glow */
/* Step Styles */ }
.steps {
margin-top: 20px; button {
padding: 10px; cursor: pointer;
border: 1px solid #0078ff; border: none;
border-radius: 8px; outline: none;
background: #f9f9f9; /* Hellgraue Hintergrundfarbe */ font-family: inherit;
} }
.step { .btn-primary {
display: flex; width: 100%;
align-items: center; padding: 16px;
margin-bottom: 15px; background: var(--primary-gradient);
} color: white;
font-weight: 600;
.step-number { font-size: 1rem;
font-size: 24px; border-radius: 12px;
margin-right: 10px; transition: var(--transition);
color: #0078ff; /* Farbakzent für die Schrittzahl */ box-shadow: 0 4px 20px var(--primary-glow);
} }
.step p { .btn-primary:hover {
margin: 0; transform: translateY(-2px);
color: #555; /* Dunkelgraue Schriftfarbe für bessere Lesbarkeit */ box-shadow: 0 8px 30px var(--primary-glow);
} }
/* Button Styles */ .btn-primary:active {
.button { transform: translateY(0);
display: inline-block; }
padding: 10px 20px;
margin-top: 20px; .btn-secondary {
background-color: #0078ff; /* Blau als Hintergrundfarbe */ background: var(--bg-input);
color: white; color: var(--text-main);
text-decoration: none; padding: 12px 24px;
border-radius: 5px; border-radius: 8px;
text-align: center; font-weight: 500;
transition: background 0.3s; transition: var(--transition);
} border: 1px solid var(--border-color);
}
.button:hover {
background-color: #005bb5; /* Dunkleres Blau bei Hover */ .btn-secondary:hover {
} background: #475569;
}
/* Button Styles */
.button-container { /* Help Page - Timeline */
margin-top: 20px; /* Abstand nach oben für die Button-Gruppe */ .timeline {
display: flex; /* Flexbox aktivieren für eine horizontale Anordnung */ position: relative;
justify-content: center; /* Buttons zentrieren */ padding: 20px 0;
gap: 10px; /* Abstand zwischen den Buttons */ }
}
.timeline-item {
.button { display: flex;
display: inline-block; align-items: flex-start;
padding: 10px 20px; margin-bottom: 30px;
background-color: #0078ff; /* Blau als Hintergrundfarbe */ position: relative;
color: white; }
text-decoration: none;
border-radius: 5px; .timeline-marker {
text-align: center; width: 36px;
transition: background 0.3s; height: 36px;
} background: var(--primary-gradient);
color: white;
.button:hover { border-radius: 50%;
background-color: #005bb5; /* Dunkleres Blau bei Hover */ display: flex;
} align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
margin-right: 20px;
box-shadow: 0 0 15px var(--primary-glow);
z-index: 1;
}
/* Verbindende Linie */
.timeline-item:not(:last-child)::after {
content: '';
position: absolute;
left: 18px;
top: 40px;
bottom: -30px;
width: 2px;
background: var(--border-color);
z-index: 0;
}
.timeline-content h3 {
font-size: 1.1rem;
color: var(--text-main);
margin-bottom: 4px;
}
.timeline-content p, .timeline-content code {
color: var(--text-secondary);
font-size: 0.95rem;
}
.info-box {
background: rgba(59, 130, 246, 0.1); /* Transparentes Blau */
border-left: 4px solid var(--primary);
padding: 16px;
border-radius: 8px;
margin: 25px 0;
}
.info-box code {
background: rgba(0,0,0,0.3);
padding: 2px 6px;
border-radius: 4px;
color: var(--primary);
}
.btn-text {
display: block;
text-align: center;
color: var(--primary);
text-decoration: none;
font-weight: 600;
margin-top: 25px;
transition: var(--transition);
}
.btn-text:hover {
color: #60a5fa; /* Helleres Blau */
}
/* Contact Page */
.contact-grid {
display: grid;
grid-template-columns: 1fr;
gap: 15px;
}
.contact-item {
display: flex;
align-items: center;
padding: 20px;
border: 1px solid var(--border-color);
border-radius: 16px;
background: rgba(30, 41, 59, 0.5);
text-decoration: none;
color: var(--text-main);
transition: var(--transition);
}
.contact-item:hover {
border-color: var(--primary);
background: rgba(59, 130, 246, 0.1);
transform: translateX(5px);
}
.icon-box {
font-size: 1.8rem;
margin-right: 20px;
background: rgba(255,255,255,0.05);
padding: 10px;
border-radius: 12px;
}
.info h3 {
font-size: 1rem;
margin-bottom: 2px;
color: var(--text-main);
}
.info p {
color: var(--text-secondary);
font-size: 0.9rem;
}
.arrow {
margin-left: auto;
color: var(--primary);
font-size: 1.2rem;
}
/* Footer */
footer {
margin-top: auto;
padding: 30px 0;
border-top: 1px solid var(--border-color);
background: var(--bg-card);
}
.footer-content {
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.bot-version {
font-size: 0.85rem;
color: var(--text-secondary);
font-weight: 500;
background: rgba(0,0,0,0.2);
padding: 4px 8px;
border-radius: 4px;
}
.footer-center {
font-size: 0.9rem;
color: var(--text-secondary);
}
.footer-right a {
font-size: 1.5rem;
color: var(--text-secondary);
transition: var(--transition);
}
.footer-right a:hover {
color: var(--primary);
text-shadow: 0 0 10px var(--primary-glow);
}
/* Modal / Popup */
.modal-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7); /* Dunklerer Overlay */
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
z-index: 999;
animation: fadeInOverlay 0.3s ease;
}
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: var(--bg-card);
border: 1px solid var(--border-color);
padding: 45px;
border-radius: 20px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
width: 90%;
max-width: 400px;
z-index: 1000;
animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-icon {
font-size: 4rem;
margin-bottom: 20px;
filter: drop-shadow(0 0 15px var(--primary-glow));
}
.modal h3 {
margin-bottom: 10px;
color: var(--text-main);
}
.modal p {
color: var(--text-secondary);
margin-bottom: 30px;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInOverlay {
from { opacity: 0; }
to { opacity:1; }
}
@keyframes scaleUp {
from { opacity: 0; transform: translate(-50%, -40%) scale(0.9); }
to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
/* Responsive */
@media (max-width: 600px) {
.header-content {
flex-direction: column;
gap: 15px;
}
.card {
padding: 25px;
}
.contact-item {
flex-direction: column;
text-align: center;
gap: 15px;
}
.arrow {
transform: rotate(90deg);
}
}