323 lines
5.4 KiB
CSS
323 lines
5.4 KiB
CSS
/* Grundlegende Resets */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f5f5f5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Header Styles */
|
|
.header {
|
|
background-color: white;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
padding: 15px 30px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-logo {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #0084ff;
|
|
text-decoration: none;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.header-buttons {
|
|
display: flex;
|
|
gap: 15px;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-btn {
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.header-btn-secondary {
|
|
background-color: transparent;
|
|
color: #0084ff;
|
|
border: 2px solid #0084ff;
|
|
}
|
|
|
|
.header-btn-secondary:hover {
|
|
background-color: #0084ff;
|
|
color: white;
|
|
}
|
|
|
|
.header-btn-primary {
|
|
background-color: #0084ff;
|
|
color: white;
|
|
}
|
|
|
|
.header-btn-primary:hover {
|
|
background-color: #0073e6;
|
|
}
|
|
|
|
/* Main content wrapper */
|
|
.main-content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex: 1;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
max-width: 1000px;
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image-section {
|
|
flex: 1;
|
|
background-color: #e8f4f8;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 500px;
|
|
}
|
|
|
|
.image-section img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.form-section {
|
|
flex: 1;
|
|
padding: 40px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Formularelemente */
|
|
h1 {
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.info-box {
|
|
background-color: #e8f4f8;
|
|
border-left: 4px solid #0084ff;
|
|
padding: 15px;
|
|
margin-bottom: 30px;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: #333;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="email"],
|
|
input[type="password"] {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
transition: border-color 0.3s ease;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
border-color: #0084ff;
|
|
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #0084ff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #0073e6;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #0063cc;
|
|
}
|
|
|
|
/* Hilfstexte & Fehler */
|
|
.signup-hint, .login-hint {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
color: #666;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.signup-hint a, .login-hint a {
|
|
color: #0084ff;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.signup-hint a:hover, .login-hint a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.error-message {
|
|
color: #d32f2f;
|
|
font-size: 13px;
|
|
margin-top: 5px;
|
|
display: none;
|
|
}
|
|
|
|
.form-group.has-error input {
|
|
border-color: #d32f2f;
|
|
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
|
|
}
|
|
|
|
.form-group.has-error .error-message {
|
|
display: block;
|
|
}
|
|
|
|
/* Modal / Popup Styles */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
animation: fadeIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
.modal.show {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: white;
|
|
padding: 40px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
max-width: 500px;
|
|
width: 90%;
|
|
text-align: center;
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from { transform: translateY(-50px); opacity: 0; }
|
|
to { transform: translateY(0); opacity: 1; }
|
|
}
|
|
|
|
.modal-header {
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.modal-header h2 {
|
|
color: #0084ff;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.close-btn {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
font-size: 28px;
|
|
color: #999;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
width: 30px;
|
|
height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-body {
|
|
color: #333;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.modal-footer {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* Responsive Anpassungen */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.image-section {
|
|
min-height: 300px;
|
|
}
|
|
|
|
.header {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header-buttons {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.header-btn {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
} |