﻿/* --------------------------------------------------
        Allgemeine Grundeinstellungen
 ----------------------------------------------------*/
.content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: Arial, Helvetica, sans-serif;
}

    .content h1 {
        margin-bottom: 1rem;
        color: #2c3e50;
    }

    .content p {
        margin-bottom: 1.5rem;
        font-size: 20px;
    }

.event-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 20px;
}

input, textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 20px;
}

textarea {
    resize: vertical;
}

.deadline {
    margin-top: 1rem;
    font-style: italic;
}

button {
    padding: 0.8rem 1.5rem;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}

    button:hover {
        background-color: #1b5e20;
    }

@media (max-width: 600px) {
    .event-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }
}

.hint {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    color: #555;
    font-size: 0.95rem;
    border-radius: 4px;
}

.required {
    color: #d32f2f;
    font-weight: bold;
}

fieldset {
    padding: 20px;
    border-radius: 20px;
    border: 2px solid black;
}

.language-switcher {
    display: flex;
    gap: 40px;
    justify-content: center;
    
}

.language-switcher a {
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.language-switcher a:hover {
    transform: scale(1.2);
}

.language-switcher a.active {
    box-shadow: 0 0 0 2px #2e7d32;
    transform: scale(2);
}

.language-switcher img {
    width: 40px;
    height: 27px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
}

hr {
    margin: 40px 0;
    border: none;
    border-top: 1px solid #888;
}
.form-button {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
