body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background: #f0f0f0;
    color: #333;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.login-form {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.login-form h2 {
    margin: 0 0 30px;
    text-align: center;
    color: #2c3e50;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}
input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e3e3e3;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}
input:focus {
    border-color: #3498db;
    outline: none;
}
.button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s ease;
}
.button:hover {
    background: #2980b9;
}
.gallery-section {
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.gallery-grid {
    display: block;
    margin: 0 -10px;
}
.gallery-item {
    display: inline-block;
    vertical-align: top;
    width: calc(25% - 20px);
    margin: 10px;
    cursor: pointer;
}
.gallery-item img, .gallery-item video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-item img:hover, .gallery-item video:hover {
    transform: scale(1.02);
}
@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 20px);
    }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.header h1 {
    margin: 0;
    color: #2c3e50;
}
.button-group {
    display: flex;
    gap: 10px;
}
.button-group .button {
    width: auto;
}
.logout-btn {
    background: #e74c3c;
}
.logout-btn:hover {
    background: #c0392b;
}
.export-btn {
    background: #27ae60;
}
.export-btn:hover {
    background: #219a52;
}
/* Fancybox Anpassungen */
.fancybox-button {
    background: #3498db !important;
}
.fancybox-button:hover {
    background: #2980b9 !important;
}
.download-button {
    position: absolute;
    right: 120px;
    top: 14px;
    width: auto !important;
    z-index: 99999;
    background: #27ae60 !important;
    color: white !important;
    text-decoration: none;
    padding: 8px 16px !important;
    border-radius: 4px;
}
.download-button:hover {
    background: #219a52 !important;
}
/* Neue Styles für die Markdown-Textbox - fügen Sie diese zu Ihrer styles.css hinzu */
.markdown-content {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.markdown-content h1:first-child,
.markdown-content h2:first-child {
    margin-top: 0;
}

.markdown-content p {
    margin-bottom: 1em;
}

.markdown-content ul,
.markdown-content ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.markdown-content a {
    color: #3498db;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}