155 lines
3.2 KiB
CSS
155 lines
3.2 KiB
CSS
/* Basis-Stile */
|
|
:root {
|
|
--primary-color: #4361ee;
|
|
--primary-hover: #3a56d4;
|
|
--secondary-color: #3f37c9;
|
|
--accent-color: #4895ef;
|
|
--light-color: #f8f9fa;
|
|
--dark-color: #212529;
|
|
--success-color: #4cc9f0;
|
|
--border-radius: 10px; /* Leicht runde Ecken */
|
|
--box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
--transition: all 0.3s ease;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f5f7fa;
|
|
color: var(--dark-color);
|
|
line-height: 1.6;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Login Modal */
|
|
#login-modal {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 1001;
|
|
}
|
|
|
|
.modal-content {
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: var(--border-radius);
|
|
width: 90%;
|
|
max-width: 450px;
|
|
box-shadow: var(--box-shadow);
|
|
transform: scale(1.05);
|
|
transition: var(--transition);
|
|
text-align: center;
|
|
}
|
|
|
|
.modal-content h2 {
|
|
font-size: 24px;
|
|
margin-bottom: 20px;
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.modal-content input[type="text"],
|
|
.modal-content input[type="password"] {
|
|
width: 100%;
|
|
padding: 15px;
|
|
margin: 10px 0;
|
|
border: 1px solid #ddd;
|
|
border-radius: var(--border-radius);
|
|
box-sizing: border-box;
|
|
font-size: 16px;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
.modal-content input[type="text"]:focus,
|
|
.modal-content input[type="password"]:focus {
|
|
border-color: var(--primary-color);
|
|
outline: none;
|
|
}
|
|
|
|
.modal-content button {
|
|
width: 100%;
|
|
padding: 15px;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.modal-content button:hover {
|
|
background-color: var(--primary-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.modal-content button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Cookie-Hinweis */
|
|
.cookie-notice {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--light-color);
|
|
color: var(--dark-color);
|
|
padding: 15px;
|
|
text-align: center;
|
|
z-index: 1000;
|
|
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
|
|
border-top: 1px solid #eee;
|
|
transition: opacity 0.5s ease, max-height 0.5s ease;
|
|
opacity: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#cookie-notice.hidden {
|
|
opacity: 0;
|
|
max-height: 0;
|
|
}
|
|
|
|
/* Verbesserung des Modals */
|
|
.modal-content {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
padding: 30px;
|
|
border-radius: var(--border-radius);
|
|
box-shadow: var(--box-shadow);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.modal-content {
|
|
width: 90%;
|
|
padding: 25px;
|
|
}
|
|
|
|
.modal-content h2 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.modal-content input[type="text"],
|
|
.modal-content input[type="password"],
|
|
.modal-content button {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
/* Die Navigation wird hier angepasst, wenn nötig */
|
|
.nav-list {
|
|
display: flex !important;
|
|
}
|
|
}
|