img {
    width: 50px;
    margin: 0 1rem;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.social-links a {
    margin: 1.5rem 0 1rem 0;
}
/* FORM */
.form-group {
    position: relative;
    margin-bottom: 1.7rem;
}

input, textarea, button {
    outline: none; /* remove default html syling */
    width: 100%;
    margin: 0 0 0.8em 0;
    padding: 0.7em 1.2em;

    font-family: "Noto Sans", sans-serif;
    font-size: 0.95rem;
    color: var(--primary-white);
    line-height: 1.6;

    background: color-mix(
            in srgb, var(--nightgreen), transparent 65%
    );

    /* 2. Weichzeichner für den Hintergrund */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* jSafari Support */

    /* 3. Ein feiner weißer Rand (wirkt wie eine Lichtkante am Glas) */
    border: 1px solid rgba(255, 255, 255, 0.1);

    /* 4. Abrunden und Schatten für die Tiefe */
    border-radius: 1em;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

input:focus,
textarea:focus {
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hasSuccess {
    border: 1px solid var(--valid-green);
}

.hasError {
    border: 1px solid var(--error-red);
}

span.error {
    position: absolute;
    left: 1rem;
    bottom: -1.2rem;
    color: var(--error-red);
    white-space: nowrap;
    font-weight: 600;
}

/* --- RESPONSIVE DESIGN: Adjust for Desktop (>=1024px) --- */
@media (min-width: 1024px) {
    form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        grid-row-gap: 0;
    }

    form .form-message {
        grid-column: span 2;
    }

    form button {
        grid-column: span 2;
        margin: 0 auto;
        max-width: 300px;
    }
}
