nvj-turnierplaner/app/styles.css
2025-12-31 01:17:12 +01:00

192 lines
3.0 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
header {
text-align: center;
color: white;
margin-bottom: 40px;
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
header p {
font-size: 1.1em;
opacity: 0.9;
}
.groups-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-bottom: 30px;
}
.group {
background: white;
border-radius: 12px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.group h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.8em;
border-bottom: 3px solid #667eea;
padding-bottom: 10px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 25px;
}
input {
padding: 12px;
border: 2px solid #e0e0e0;
border-radius: 6px;
font-size: 1em;
transition: border-color 0.3s;
}
input:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
}
button {
padding: 12px;
background: #667eea;
color: white;
border: none;
border-radius: 6px;
font-size: 1em;
font-weight: bold;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #764ba2;
}
button:active {
transform: scale(0.98);
}
.teams-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.team-card {
background: #f5f5f5;
border-left: 5px solid #667eea;
padding: 15px;
border-radius: 6px;
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateX(-10px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.team-card h3 {
color: #333;
margin-bottom: 5px;
font-size: 1.2em;
}
.team-card p {
color: #666;
font-size: 0.95em;
font-style: italic;
margin-bottom: 10px;
}
.team-card button {
background: #e74c3c;
padding: 8px 15px;
font-size: 0.9em;
width: 100%;
}
.team-card button:hover {
background: #c0392b;
}
.reset-button {
width: 100%;
background: #e74c3c;
padding: 15px;
font-size: 1.1em;
margin-top: 20px;
}
.reset-button:hover {
background: #c0392b;
}
.empty-message {
color: #999;
text-align: center;
padding: 20px;
font-style: italic;
}
@media (max-width: 768px) {
.groups-container {
grid-template-columns: 1fr;
}
header h1 {
font-size: 2em;
}
.group {
padding: 20px;
}
}