eis-website/css/style.css

2194 lines
39 KiB
CSS

/* ===========================
Global Styles & Reset
=========================== */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #6b3a5f;
line-height: 1.6;
background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 50%, #fff0f7 100%);
position: relative;
overflow-x: hidden;
}
html {
scroll-behavior: smooth;
}
/* Animated Background Flowers */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 0;
opacity: 0;
}
/* Blumen-Animation im Hintergrund */
@keyframes float-flower {
0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
50% { transform: translateY(-30px) rotate(5deg); opacity: 0.5; }
}
@keyframes drift {
0% { transform: translateX(0px); }
50% { transform: translateX(20px); }
100% { transform: translateX(0px); }
}
/* ===========================
Typography
=========================== */
h1, h2, h3, h4, h5, h6 {
margin-top: 1.5rem;
margin-bottom: 1rem;
font-weight: 600;
color: #d946ef;
}
h1 {
font-size: 2.5rem;
color: #d946ef;
font-weight: 900;
letter-spacing: 2px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h2 {
font-size: 2rem;
color: #d946ef;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
h3 {
font-size: 1.5rem;
color: #ff1493;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
p {
margin-bottom: 1rem;
}
a {
color: #ff1493;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #ff69b4;
text-decoration: underline;
}
/* ===========================
Header & Navigation
=========================== */
header {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 192, 203, 0.2) 100%);
border-bottom: 2px solid rgba(255, 105, 180, 0.3);
padding: 1.5rem 2rem;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 4px 20px rgba(255, 20, 147, 0.1);
backdrop-filter: blur(10px);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
.header-container {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
.logo {
display: flex;
align-items: center;
gap: 1rem;
font-weight: 700;
font-size: 1.3rem;
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.logo img {
height: 50px;
width: auto;
filter: drop-shadow(0 4px 8px rgba(255, 20, 147, 0.2));
animation: bounce-logo 2s ease-in-out infinite;
}
@keyframes bounce-logo {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
.logo-text {
display: flex;
flex-direction: column;
gap: 0.2rem;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.logo-text .institution {
font-size: 0.85rem;
color: #ff69b4;
font-weight: 500;
text-rendering: optimizeLegibility;
}
.logo-text .project {
font-size: 1rem;
background: linear-gradient(135deg, #ff1493 0%, #d946ef 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-rendering: optimizeLegibility;
}
nav {
display: flex;
gap: 1.5rem;
flex-wrap: wrap;
}
nav a {
color: #ff1493;
font-weight: 500;
padding: 0.5rem 0.75rem;
border-radius: 20px;
transition: all 0.3s ease;
position: relative;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(90deg, #ff1493, #ff69b4);
transition: width 0.3s ease;
}
nav a:hover {
background: rgba(255, 105, 180, 0.1);
text-decoration: none;
}
nav a:hover::after {
width: 100%;
}
nav a.active {
background: linear-gradient(135deg, #ff1493, #ff69b4);
color: white;
text-decoration: none;
box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
/* ===========================
Main Content
=========================== */
/* Main Content */
main {
max-width: 960px;
margin: 0 auto;
padding: 2rem 1.5rem;
min-height: calc(100vh - 200px);
position: relative;
z-index: 2;
}
/* ===========================
Sections & Content
=========================== */
/* Sections & Content */
section {
margin-bottom: 3rem;
padding: 2rem;
background: rgba(255, 255, 255, 0.85);
border-radius: 20px;
border: 2px solid rgba(255, 105, 180, 0.2);
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.08);
backdrop-filter: blur(10px);
position: relative;
animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
section::before {
content: '🌸';
position: absolute;
top: -20px;
right: 30px;
font-size: 2.5rem;
opacity: 0;
animation: float-flower 3s ease-in-out infinite;
animation-delay: 0s;
}
section:nth-child(even)::before {
content: '🌺';
animation-delay: 0.3s;
}
section:nth-child(3n)::before {
content: '🌷';
animation-delay: 0.6s;
}
section h2 {
margin-top: 0;
}
/* ===========================
Footer
=========================== */
footer {
text-align: center;
padding: 2.5rem 1.5rem;
font-size: 0.9rem;
color: #ff69b4;
border-top: 2px solid rgba(255, 105, 180, 0.3);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 192, 203, 0.15) 100%);
margin-top: 4rem;
backdrop-filter: blur(10px);
}
footer p {
margin-bottom: 0.5rem;
}
.footer-links {
margin-top: 1rem;
display: flex;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.footer-links a {
font-size: 0.85rem;
}
/* ===========================
Buttons & Links
=========================== */
.btn {
display: inline-block;
padding: 0.75rem 1.5rem;
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
border: none;
border-radius: 25px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
text-decoration: none;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}
.btn:hover {
background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
}
.btn:active {
transform: translateY(-1px);
}
.btn-secondary {
background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
color: #d946ef;
box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}
.btn-secondary:hover {
background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
color: white;
}
.btn-download {
background: linear-gradient(135deg, #d946ef 0%, #ff1493 100%);
box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}
.btn-download:hover {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
}
/* ===========================
Forms
=========================== */
form {
max-width: 600px;
margin: 2rem 0;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #d946ef;
}
input,
textarea,
select {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border: 2px solid rgba(255, 105, 180, 0.3);
border-radius: 15px;
font-family: inherit;
font-size: 1rem;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.8);
}
input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: #ff1493;
background: rgba(255, 255, 255, 1);
box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.15);
}
textarea {
resize: vertical;
min-height: 150px;
}
/* ===========================
Galerie & Bilder
=========================== */
.galerie {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}
.galerie img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 15px;
cursor: pointer;
transition: all 0.3s ease;
border: 3px solid rgba(255, 105, 180, 0.3);
}
.galerie img:hover {
transform: scale(1.08) rotate(2deg);
border-color: #ff1493;
box-shadow: 0 12px 28px rgba(255, 20, 147, 0.3);
}
/* ===========================
Lightbox Modal
=========================== */
.lightbox-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.9);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 999;
animation: fadeIn 0.3s ease;
}
.lightbox-overlay img {
max-width: 90vw;
max-height: 90vh;
object-fit: contain;
border-radius: 8px;
}
.lightbox-close {
position: absolute;
top: 20px;
right: 30px;
color: white;
font-size: 2rem;
cursor: pointer;
font-weight: bold;
}
.lightbox-close:hover {
color: #e2e8f0;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* ===========================
Download Links & Files
=========================== */
.download-section {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 20, 147, 0.05) 100%);
border-left: 4px solid #ff1493;
padding: 1.5rem;
border-radius: 15px;
margin: 1.5rem 0;
}
.download-section p {
margin: 0.5rem 0;
}
/* ===========================
Impressum & Info
=========================== */
.impressum-section {
font-size: 0.95rem;
line-height: 1.8;
}
.impressum-section h3 {
margin-top: 2rem;
margin-bottom: 0.75rem;
}
.impressum-section p {
margin-bottom: 0.5rem;
}
/* ===========================
Hero Section
=========================== */
.hero {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 50%, #ffc0cb 100%);
color: white;
padding: 3rem 2rem;
border-radius: 25px;
margin-bottom: 2rem;
text-align: center;
box-shadow: 0 12px 40px rgba(255, 20, 147, 0.25);
position: relative;
overflow: hidden;
}
.hero::before {
content: '🌸 🌺 🌷';
position: absolute;
top: 10px;
right: 20px;
font-size: 2rem;
opacity: 0.4;
animation: float-flower 4s ease-in-out infinite;
}
.hero h1 {
color: white;
margin-top: 0;
text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
position: relative;
z-index: 10;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-weight: 900;
font-size: 2.8rem;
letter-spacing: 1px;
}
.hero p {
font-size: 1.1rem;
margin-bottom: 1.5rem;
color: rgba(255, 255, 255, 0.95);
position: relative;
z-index: 10;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
/* ===========================
Info Cards
=========================== */
.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin: 2rem 0;
}
.card {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 247, 0.8) 100%);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 20px;
padding: 1.5rem;
transition: all 0.3s ease;
box-shadow: 0 8px 20px rgba(255, 20, 147, 0.1);
position: relative;
}
.card::before {
content: '';
position: absolute;
top: -10px;
right: 20px;
font-size: 2rem;
opacity: 0.2;
}
.card:nth-child(1)::before { content: '🌸'; }
.card:nth-child(2)::before { content: '🌺'; }
.card:nth-child(3)::before { content: '🌷'; }
.card:hover {
transform: translateY(-8px) scale(1.02);
box-shadow: 0 16px 36px rgba(255, 20, 147, 0.25);
border-color: #ff1493;
}
.card h3 {
margin-top: 0;
color: #d946ef;
}
/* ===========================
Team Page Styles
=========================== */
.team-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2.5rem;
margin: 2rem 0;
}
.team-card {
display: flex;
flex-direction: row;
gap: 1.5rem;
background: rgba(255, 255, 255, 0.85);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 20px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
transition: all 0.3s ease;
animation: slideUp 0.6s ease-out;
}
.team-card:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(255, 20, 147, 0.25);
border-color: rgba(255, 105, 180, 0.4);
}
.team-image {
flex-shrink: 0;
width: 180px;
height: 180px;
border-radius: 15px;
overflow: hidden;
border: 3px solid rgba(255, 105, 180, 0.3);
background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
display: flex;
align-items: center;
justify-content: center;
animation: float-flower 3s ease-in-out infinite;
}
.team-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.team-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.team-info h3 {
font-size: 1.8rem;
margin-bottom: 0.5rem;
color: #ff1493;
}
.team-meta {
font-size: 0.95rem;
color: #b8659c;
margin-bottom: 1rem;
font-weight: 500;
}
.team-description {
color: #6b3a5f;
line-height: 1.8;
margin-bottom: 1.5rem;
font-size: 1rem;
}
.team-skills {
display: flex;
flex-wrap: wrap;
gap: 0.7rem;
}
.skill-tag {
display: inline-block;
background: linear-gradient(135deg, #ffc0cb 0%, #ffe6f0 100%);
color: #d946ef;
padding: 0.4rem 1rem;
border-radius: 25px;
font-size: 0.9rem;
font-weight: 500;
border: 1px solid rgba(255, 105, 180, 0.2);
transition: all 0.3s ease;
}
.skill-tag:hover {
background: linear-gradient(135deg, #ff69b4 0%, #ffc0cb 100%);
color: #fff;
transform: scale(1.05);
}
/* ===========================
Notenrechner Styles
=========================== */
.calculator-section {
animation: slideUp 0.6s ease-out;
}
.info-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1.5rem;
margin: 1.5rem 0;
}
.info-card {
background: rgba(255, 192, 203, 0.2);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 15px;
padding: 1.5rem;
text-align: center;
transition: all 0.3s ease;
}
.info-card:hover {
transform: translateY(-5px);
border-color: rgba(255, 105, 180, 0.4);
background: rgba(255, 192, 203, 0.3);
}
.info-card h4 {
font-size: 1.2rem;
margin-bottom: 0.8rem;
color: #ff1493;
}
/* ===========================
Notenrechner DOM Version Styles
=========================== */
.calculator-tabs {
display: flex;
gap: 0.5rem;
margin: 1.5rem 0;
flex-wrap: wrap;
}
.calculator-tabs .tab-btn {
padding: 0.8rem 1.5rem;
background: rgba(255, 105, 180, 0.1);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
color: #ff1493;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
}
.calculator-tabs .tab-btn:hover {
background: rgba(255, 105, 180, 0.2);
border-color: #ff1493;
}
.calculator-tabs .tab-btn.active {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
border-color: #ff1493;
}
.tab-content {
display: none;
animation: slideUp 0.5s ease-out;
}
.tab-content.active {
display: block;
}
.calculator-box {
background: rgba(255, 255, 255, 0.85);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 20px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}
.calculator-box h3 {
color: #ff1493;
margin-bottom: 0.5rem;
}
.calculator-box p {
color: #b8659c;
margin-bottom: 1.5rem;
}
/* Simple Input Group */
.simple-input-group {
display: grid;
grid-template-columns: 1fr 1fr auto;
gap: 1rem;
margin-bottom: 1.5rem;
align-items: end;
}
.input-field {
display: flex;
flex-direction: column;
}
.input-field label {
font-weight: 600;
color: #ff1493;
margin-bottom: 0.5rem;
font-size: 0.95rem;
}
.form-input {
padding: 0.8rem;
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 8px;
font-family: inherit;
font-size: 1rem;
color: #6b3a5f;
background: white;
transition: all 0.3s ease;
}
.form-input:focus {
outline: none;
border-color: #ff1493;
box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
}
.form-input::placeholder {
color: #b8659c;
}
/* Result Box */
.result-box {
background: rgba(255, 192, 203, 0.1);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
padding: 1.5rem;
margin-top: 1rem;
min-height: 80px;
}
.error-text {
color: #dc143c;
font-weight: 600;
margin: 0;
}
.grade-result-inline {
display: flex;
gap: 2rem;
align-items: center;
justify-content: center;
}
.grade-note,
.grade-note-large {
font-weight: 700;
font-size: 1.5rem;
}
.grade-percent {
font-weight: 600;
font-size: 1.2rem;
color: #b8659c;
background: rgba(255, 192, 203, 0.3);
padding: 0.5rem 1rem;
border-radius: 8px;
}
.grade-result-detailed {
display: flex;
flex-direction: column;
gap: 1rem;
}
.result-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 1rem;
border-bottom: 2px solid rgba(255, 105, 180, 0.2);
}
.result-header h4 {
margin: 0;
color: #ff1493;
}
.grade-note-large {
font-size: 2rem;
}
.result-details {
color: #6b3a5f;
}
.result-details p {
margin: 0.3rem 0;
font-size: 0.95rem;
}
/* Progress Bar */
.progress-bar-container {
margin-top: 1.5rem;
}
.progress-bar-background {
width: 100%;
height: 30px;
background: rgba(255, 192, 203, 0.2);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 8px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.progress-bar-fill {
height: 100%;
transition: width 0.5s ease, background-color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: 600;
font-size: 0.9rem;
}
.progress-text {
text-align: center;
color: #6b3a5f;
font-weight: 600;
font-size: 0.9rem;
margin: 0;
}
/* Grades Container DOM */
.grades-container-dom {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 1.5rem;
}
.grade-input-group-dom {
animation: slideUp 0.4s ease-out;
}
.grade-input-wrapper-dom {
display: flex;
align-items: center;
gap: 0.8rem;
background: rgba(255, 192, 203, 0.1);
padding: 1rem;
border-radius: 12px;
border: 2px solid rgba(255, 105, 180, 0.15);
transition: all 0.3s ease;
}
.grade-input-wrapper-dom:focus-within {
border-color: rgba(255, 105, 180, 0.4);
background: rgba(255, 192, 203, 0.2);
}
.grade-points-dom,
.grade-max-dom {
flex: 1;
padding: 0.8rem;
border: 1px solid rgba(255, 105, 180, 0.2);
border-radius: 8px;
font-size: 1rem;
font-family: inherit;
color: #6b3a5f;
background: white;
transition: all 0.3s ease;
}
.grade-points-dom:focus,
.grade-max-dom:focus {
outline: none;
border-color: #ff1493;
box-shadow: 0 0 8px rgba(255, 20, 147, 0.2);
}
.grade-points-dom::placeholder,
.grade-max-dom::placeholder {
color: #b8659c;
}
.grade-separator {
font-weight: 600;
color: #ff69b4;
font-size: 1.2rem;
}
.grade-result-dom {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.3rem;
min-width: 80px;
}
.grade-note-dom {
font-weight: 700;
font-size: 1.1rem;
color: #6b3a5f;
}
.grade-percent-dom {
font-weight: 600;
font-size: 0.9rem;
color: #b8659c;
background: rgba(255, 192, 203, 0.3);
padding: 0.3rem 0.6rem;
border-radius: 6px;
}
.grade-remove-btn-dom {
background: none;
border: none;
font-size: 1.3rem;
cursor: pointer;
color: #ff69b4;
padding: 0.5rem;
transition: all 0.3s ease;
border-radius: 50%;
}
.grade-remove-btn-dom:hover {
background: rgba(255, 20, 147, 0.1);
color: #ff1493;
transform: scale(1.2);
}
/* Calculator Buttons */
.calculator-buttons {
display: flex;
flex-direction: column;
gap: 0.8rem;
margin-top: 1.5rem;
}
.btn-add,
.btn-calculate,
.btn-reset {
padding: 1rem 1.5rem;
border: none;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-add {
background: rgba(255, 105, 180, 0.2);
color: #ff1493;
border: 2px solid rgba(255, 105, 180, 0.3);
}
.btn-add:hover {
background: rgba(255, 105, 180, 0.3);
border-color: #ff1493;
transform: translateY(-2px);
}
.btn-calculate {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}
.btn-calculate:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}
.btn-reset {
background: rgba(200, 100, 150, 0.15);
color: #b8659c;
border: 2px solid rgba(200, 100, 150, 0.3);
}
.btn-reset:hover {
background: rgba(200, 100, 150, 0.25);
border-color: #b8659c;
transform: translateY(-2px);
}
/* Results DOM */
.results-list {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.results-list h4 {
margin-bottom: 0.5rem;
color: #ff1493;
}
.result-item-dom {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: rgba(255, 192, 203, 0.15);
border-radius: 10px;
border-left: 4px solid rgba(255, 105, 180, 0.3);
transition: all 0.3s ease;
animation: slideUp 0.5s ease-out;
}
.result-item-dom:hover {
background: rgba(255, 192, 203, 0.25);
border-left-color: #ff1493;
transform: translateX(5px);
}
.result-number {
font-weight: 700;
color: #ff1493;
min-width: 40px;
}
.result-details {
flex: 1;
color: #6b3a5f;
font-weight: 500;
}
.result-grade-dom {
font-weight: 700;
font-size: 1.1rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.5);
border-radius: 8px;
min-width: 120px;
text-align: center;
}
/* Average Box DOM */
.average-box-dom {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
border: 2px solid rgba(255, 105, 180, 0.3);
border-radius: 15px;
padding: 1.5rem;
text-align: center;
animation: slideUp 0.6s ease-out;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
margin-top: 1rem;
}
.average-box-dom h4 {
margin-bottom: 1rem;
color: #ff1493;
}
.average-display-dom {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
margin: 1rem 0;
}
.average-percent-dom {
font-size: 2.5rem;
font-weight: 800;
color: #ff1493;
background: rgba(255, 192, 203, 0.2);
width: 100px;
height: 100px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.average-note-dom {
font-size: 1.8rem;
font-weight: 700;
}
.average-details-dom {
margin-top: 1rem;
color: #b8659c;
font-weight: 500;
font-size: 0.95rem;
}
/* Grade Scale Table */
.grade-scale-table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
background: rgba(255, 255, 255, 0.85);
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
}
.grade-scale-table thead {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
}
.grade-scale-table th,
.grade-scale-table td {
padding: 1rem;
text-align: center;
border-bottom: 1px solid rgba(255, 105, 180, 0.15);
}
.grade-scale-table th {
font-weight: 600;
font-size: 1.05rem;
}
.grade-scale-table tbody tr:hover {
background: rgba(255, 192, 203, 0.2);
}
.grade-badge {
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: 600;
color: white;
font-size: 0.95rem;
}
.grade-badge.very-good {
background: #ff1493;
}
.grade-badge.good {
background: #ff69b4;
}
.grade-badge.satisfactory {
background: #ffa500;
}
.grade-badge.adequate {
background: #ff8c00;
}
.grade-badge.failed {
background: #dc143c;
}
/* Calculator Container */
.calculator-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-top: 2rem;
}
.grades-input-section,
.results-section {
background: rgba(255, 255, 255, 0.85);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 20px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}
.grades-input-section h3 {
margin-bottom: 1.5rem;
color: #ff1493;
}
.grades-container {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 1.5rem;
}
.grade-input-group {
animation: slideUp 0.4s ease-out;
}
.grade-input-wrapper {
display: flex;
align-items: center;
gap: 0.8rem;
background: rgba(255, 192, 203, 0.1);
padding: 1rem;
border-radius: 12px;
border: 2px solid rgba(255, 105, 180, 0.15);
transition: all 0.3s ease;
}
.grade-input-wrapper:focus-within {
border-color: rgba(255, 105, 180, 0.4);
background: rgba(255, 192, 203, 0.2);
}
.grade-points,
.grade-max {
flex: 1;
padding: 0.8rem;
border: 1px solid rgba(255, 105, 180, 0.2);
border-radius: 8px;
font-size: 1rem;
font-family: inherit;
color: #6b3a5f;
background: white;
transition: all 0.3s ease;
}
.grade-points::placeholder,
.grade-max::placeholder {
color: #b8659c;
}
.grade-points:focus,
.grade-max:focus {
outline: none;
border-color: #ff1493;
box-shadow: 0 0 8px rgba(255, 20, 147, 0.2);
}
.grade-separator {
font-weight: 600;
color: #ff69b4;
font-size: 1.2rem;
}
.grade-result {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.3rem;
min-width: 80px;
}
.grade-note {
font-weight: 700;
font-size: 1.1rem;
color: #6b3a5f;
}
.grade-percent {
font-weight: 600;
font-size: 0.9rem;
color: #b8659c;
background: rgba(255, 192, 203, 0.3);
padding: 0.3rem 0.6rem;
border-radius: 6px;
}
.grade-remove-btn {
background: none;
border: none;
font-size: 1.3rem;
cursor: pointer;
color: #ff69b4;
padding: 0.5rem;
transition: all 0.3s ease;
border-radius: 50%;
}
.grade-remove-btn:hover {
background: rgba(255, 20, 147, 0.1);
color: #ff1493;
transform: scale(1.2);
}
/* Calculator Buttons */
.calculator-buttons {
display: flex;
flex-direction: column;
gap: 0.8rem;
margin-top: 1.5rem;
}
.btn-add,
.btn-calculate,
.btn-reset {
padding: 1rem 1.5rem;
border: none;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn-add {
background: rgba(255, 105, 180, 0.2);
color: #ff1493;
border: 2px solid rgba(255, 105, 180, 0.3);
}
.btn-add:hover {
background: rgba(255, 105, 180, 0.3);
border-color: #ff1493;
transform: translateY(-2px);
}
.btn-calculate {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}
.btn-calculate:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}
.btn-reset {
background: rgba(200, 100, 150, 0.15);
color: #b8659c;
border: 2px solid rgba(200, 100, 150, 0.3);
}
.btn-reset:hover {
background: rgba(200, 100, 150, 0.25);
border-color: #b8659c;
transform: translateY(-2px);
}
/* Results Section */
.result-container,
.average-container {
min-height: 100px;
}
.result-list {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
.result-list h4 {
margin-bottom: 0.5rem;
color: #ff1493;
}
.result-item {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem;
background: rgba(255, 192, 203, 0.15);
border-radius: 10px;
border-left: 4px solid rgba(255, 105, 180, 0.3);
transition: all 0.3s ease;
animation: slideUp 0.5s ease-out;
}
.result-item:hover {
background: rgba(255, 192, 203, 0.25);
border-left-color: #ff1493;
transform: translateX(5px);
}
.result-number {
font-weight: 700;
color: #ff1493;
min-width: 40px;
}
.result-details {
flex: 1;
color: #6b3a5f;
font-weight: 500;
}
.result-grade {
font-weight: 700;
font-size: 1.1rem;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.5);
border-radius: 8px;
min-width: 120px;
text-align: center;
}
.average-box {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
border: 2px solid rgba(255, 105, 180, 0.3);
border-radius: 15px;
padding: 1.5rem;
text-align: center;
animation: slideUp 0.6s ease-out;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.1);
}
.average-box h4 {
margin-bottom: 1rem;
color: #ff1493;
}
.average-display {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
margin: 1rem 0;
}
.average-percent {
font-size: 2.5rem;
font-weight: 800;
color: #ff1493;
background: rgba(255, 192, 203, 0.2);
width: 100px;
height: 100px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.average-note {
font-size: 1.8rem;
font-weight: 700;
}
.average-details {
margin-top: 1rem;
color: #b8659c;
font-weight: 500;
font-size: 0.95rem;
}
.error-message {
color: #dc143c;
background: rgba(220, 20, 60, 0.1);
border: 2px solid rgba(220, 20, 60, 0.3);
padding: 1rem;
border-radius: 10px;
font-weight: 600;
text-align: center;
}
/* Tips Box */
.tips-box {
background: rgba(255, 192, 203, 0.15);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 15px;
padding: 2rem;
margin-top: 1.5rem;
}
.tips-box ul {
list-style: none;
padding: 0;
}
.tips-box li {
padding: 0.8rem 0;
padding-left: 2rem;
position: relative;
color: #6b3a5f;
line-height: 1.6;
}
.tips-box li::before {
content: '✨';
position: absolute;
left: 0;
font-size: 1.2rem;
}
/* ===========================
Textanalyse Styles
=========================== */
.analyzer-section {
animation: slideUp 0.6s ease-out;
}
/* Tab Navigation */
.analyzer-tabs {
display: flex;
gap: 0.5rem;
margin: 1.5rem 0;
flex-wrap: wrap;
}
.tab-btn {
padding: 0.8rem 1.5rem;
background: rgba(255, 105, 180, 0.1);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
color: #ff1493;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
}
.tab-btn:hover {
background: rgba(255, 105, 180, 0.2);
border-color: #ff1493;
}
.tab-btn.active {
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
border-color: #ff1493;
}
/* Tab Content */
.tab-content {
display: none;
animation: slideUp 0.5s ease-out;
}
.tab-content.active {
display: block;
}
/* Analyzer Container */
.analyzer-container {
background: rgba(255, 255, 255, 0.85);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 20px;
padding: 2rem;
box-shadow: 0 8px 32px rgba(255, 20, 147, 0.15);
}
.input-section,
.compare-inputs,
.search-inputs {
margin-bottom: 2rem;
}
.input-section h3,
.compare-input-group h4,
.search-input-group h4 {
margin-bottom: 1rem;
color: #ff1493;
}
.text-input,
.search-input {
width: 100%;
padding: 1rem;
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 1rem;
color: #6b3a5f;
background: white;
resize: vertical;
transition: all 0.3s ease;
}
.text-input:focus,
.search-input:focus {
outline: none;
border-color: #ff1493;
box-shadow: 0 0 12px rgba(255, 20, 147, 0.2);
}
.text-input::placeholder,
.search-input::placeholder {
color: #b8659c;
}
.input-info {
display: flex;
gap: 1rem;
margin-top: 0.8rem;
padding: 0.8rem;
background: rgba(255, 192, 203, 0.15);
border-radius: 8px;
font-size: 0.95rem;
color: #6b3a5f;
font-weight: 500;
}
/* Analyzer Buttons */
.analyzer-buttons {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
flex-wrap: wrap;
}
.btn-analyze,
.btn-calculate {
flex: 1;
min-width: 150px;
padding: 0.9rem 1.5rem;
background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
color: white;
border: none;
border-radius: 12px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}
.btn-analyze:hover,
.btn-calculate:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}
/* Compare Inputs */
.compare-inputs,
.search-inputs {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
align-items: start;
}
.compare-input-group,
.search-input-group {
grid-column: 1 / -1;
}
.search-input {
margin-top: 0.5rem;
}
/* Result Section */
.result-section {
margin-top: 2rem;
animation: slideUp 0.5s ease-out;
}
/* Analysis Results */
.analysis-result {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.analysis-result h4 {
color: #ff1493;
font-size: 1.3rem;
margin-bottom: 0.5rem;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1rem;
}
.stat-card {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
padding: 1rem;
text-align: center;
transition: all 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
border-color: rgba(255, 105, 180, 0.4);
background: linear-gradient(135deg, rgba(255, 192, 203, 0.3) 0%, rgba(255, 160, 180, 0.2) 100%);
}
.stat-number {
font-size: 2rem;
font-weight: 800;
color: #ff1493;
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 0.9rem;
color: #6b3a5f;
font-weight: 500;
}
/* Text Transformations */
.text-transformations {
margin-top: 1.5rem;
border-top: 2px solid rgba(255, 105, 180, 0.15);
padding-top: 1.5rem;
}
.text-transformations h5 {
color: #ff1493;
margin-bottom: 1rem;
}
.transformation-box {
background: rgba(255, 192, 203, 0.1);
border: 1px solid rgba(255, 105, 180, 0.2);
border-radius: 10px;
padding: 1rem;
margin-bottom: 1rem;
}
.transformation-box label {
display: block;
font-weight: 600;
color: #ff1493;
margin-bottom: 0.5rem;
font-size: 0.9rem;
}
.transformation-text {
background: white;
border: 1px solid rgba(255, 105, 180, 0.15);
border-radius: 8px;
padding: 0.8rem;
margin-bottom: 0.8rem;
word-break: break-word;
max-height: 150px;
overflow-y: auto;
color: #6b3a5f;
line-height: 1.6;
font-family: 'Courier New', monospace;
font-size: 0.95rem;
}
.copy-btn {
background: rgba(255, 105, 180, 0.15);
border: 1px solid rgba(255, 105, 180, 0.3);
color: #ff1493;
padding: 0.5rem 1rem;
border-radius: 8px;
cursor: pointer;
font-weight: 500;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.copy-btn:hover {
background: rgba(255, 105, 180, 0.25);
border-color: #ff1493;
transform: scale(1.05);
}
/* Comparison Results */
.comparison-result {
display: flex;
flex-direction: column;
gap: 1rem;
}
.comparison-result h4 {
color: #ff1493;
font-size: 1.3rem;
}
.comparison-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
}
.comparison-card {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
padding: 1.5rem;
transition: all 0.3s ease;
}
.comparison-card:hover {
transform: translateY(-5px);
border-color: rgba(255, 105, 180, 0.4);
}
.comparison-card h5 {
color: #ff1493;
margin-bottom: 1rem;
}
.comparison-card p {
color: #6b3a5f;
margin: 0.5rem 0;
}
.comparison-result-box {
grid-column: 1 / -1;
background: rgba(255, 105, 180, 0.1);
border: 2px solid rgba(255, 105, 180, 0.3);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
}
.comparison-result-box p {
font-size: 1.1rem;
font-weight: 600;
color: #ff1493;
}
/* Search Results */
.search-result {
display: flex;
flex-direction: column;
gap: 1rem;
}
.search-result h4 {
color: #ff1493;
font-size: 1.3rem;
}
.search-summary {
background: linear-gradient(135deg, rgba(255, 192, 203, 0.2) 0%, rgba(255, 160, 180, 0.1) 100%);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 12px;
padding: 1.5rem;
color: #6b3a5f;
}
.search-summary p {
margin: 0.8rem 0;
font-size: 1.05rem;
}
/* Metrics Grid */
.metrics-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-top: 1.5rem;
}
.metric-card {
background: rgba(255, 255, 255, 0.85);
border: 2px solid rgba(255, 105, 180, 0.2);
border-radius: 15px;
padding: 1.5rem;
text-align: center;
transition: all 0.3s ease;
animation: slideUp 0.6s ease-out;
}
.metric-card:hover {
transform: translateY(-8px);
border-color: rgba(255, 105, 180, 0.4);
box-shadow: 0 8px 25px rgba(255, 20, 147, 0.2);
}
.metric-icon {
font-size: 2.5rem;
margin-bottom: 0.8rem;
}
.metric-card h4 {
color: #ff1493;
margin-bottom: 0.5rem;
}
.metric-card p {
color: #6b3a5f;
font-size: 0.95rem;
line-height: 1.6;
}
.error-message {
background: rgba(220, 20, 60, 0.1);
border: 2px solid rgba(220, 20, 60, 0.3);
color: #dc143c;
padding: 1rem;
border-radius: 10px;
font-weight: 600;
text-align: center;
}
/* ===========================
Responsive Design
=========================== */
@media (max-width: 768px) {
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.5rem;
}
.calculator-container {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.compare-inputs,
.search-inputs {
grid-template-columns: 1fr;
}
.analyzer-tabs {
flex-direction: column;
}
.tab-btn {
width: 100%;
}
.analyzer-buttons {
flex-direction: column;
}
.btn-analyze,
.btn-calculate {
width: 100%;
}
.simple-input-group {
grid-template-columns: 1fr;
gap: 0.8rem;
}
.simple-input-group .btn-calculate {
width: 100%;
}
.calculator-tabs {
flex-direction: column;
}
.calculator-tabs .tab-btn {
width: 100%;
}
.stats-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 0.8rem;
}
.stat-card {
padding: 0.8rem;
}
.stat-number {
font-size: 1.5rem;
}
.stat-label {
font-size: 0.8rem;
}
.metrics-grid {
grid-template-columns: 1fr;
}
.grade-input-wrapper {
flex-wrap: wrap;
}
.grade-points,
.grade-max {
flex: 1;
min-width: 100px;
}
.grade-result {
order: 3;
flex-basis: 100%;
flex-direction: row;
justify-content: space-around;
}
.grade-remove-btn {
order: 2;
}
.grade-separator {
display: none;
}
.average-display {
flex-direction: column;
gap: 1rem;
}
.header-container {
flex-direction: column;
align-items: flex-start;
}
nav {
width: 100%;
flex-direction: column;
gap: 0.5rem;
}
nav a {
display: block;
padding: 0.5rem;
}
section {
padding: 1.5rem;
}
.hero {
padding: 2rem 1.5rem;
}
.galerie {
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5rem;
}
h2 {
font-size: 1.25rem;
}
header {
padding: 1rem;
}
main {
padding: 1rem;
}
section {
padding: 1rem;
margin-bottom: 1.5rem;
}
.cards {
grid-template-columns: 1fr;
}
.galerie {
grid-template-columns: 1fr;
gap: 1rem;
}
.galerie img {
height: 200px;
}
.team-container {
grid-template-columns: 1fr;
}
.team-card {
flex-direction: column;
align-items: center;
text-align: center;
}
.team-image {
width: 150px;
height: 150px;
}
}