#contact_section {
    padding: 50px;
    background-color: var(--secondary-color);
    text-align: center;
}

#contact_section h2 {
    font-size: 50px;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: #f9f9f9;
}

input::placeholder, textarea::placeholder {
    color: black;
    font-size: 16px;
}

/* Style für die Mathefrage */
.captcha-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.captcha-question {
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.button-group {
    text-align: center;
}

/* Senden-Button wie in der Navigation */
button {
    background: none;
    color: var(--text-color);
    padding: 10px 20px;
    border: none;
    font-size: 18px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold; /* Text in fett */
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

button::after {
    content: '';
    height: 2px;
    width: 0%; /* Linie wird standardmäßig nicht angezeigt */
    max-width: 100px; /* Begrenzung auf die Wortbreite (SENDEN) */
    background: var(--text-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease; /* Sanfte Animation */
}

button:hover::after {
    width: 100%; /* Linie fährt auf 100% Breite aus beim Hover */
}

button:hover {
    color: var(--text-color);
}

@media (max-width: 600px) {
    form {
        padding: 0 20px;
    }
}
