#contact {
    background-color: var(--firstColor);
    color: var(--textColor);
    scroll-margin-top: 69px;
}

.page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--eyeCatchColor);
    margin: 0;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--firstColor);
    padding: 40px;
    gap: 50px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-left, .contact-right {
    flex: 1;
    min-width: 280px;
}

.contact-left h2 {
    margin-bottom: 15px;
}

.contact-left p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--textColor);
    text-decoration: none;
}

.email-link {
    text-decoration: none;
    color: var(--textColor);
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 30px;
    color: var(--textColor);
    text-decoration: none;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--eyeCatchColor);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 10px;
    border: 1px solid var(--textColor);
    border-radius: 6px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    color: black;
}

textarea {
    resize: none;
    height: 100px;
}

button {
    padding: 12px;
    background: var(--secondColor);
    color: var(--textColor);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: var(--eyeCatchColor);
}

#msg {
    color: var(--successfullyMessageColor);
    display: block;
    margin-top: 15px;
}

/*------------------Mobile------------------*/
@media (max-width: 890px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        gap: 30px;
        box-sizing: border-box;
    }

    .contact-left, .contact-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    form {
        width: 100%;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin: 0 auto;
    }

    input, textarea {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    button {
        align-self: center;
    }
}

/*------------------Extra Mobile-Anpassung------------------*/
@media (max-width: 768px) {
    #contact {
        scroll-margin-top: 112px;
    }
}

/*------------------Desktop-Anpassung------------------*/
@media (min-width: 769px) {
    #contact {
        min-height: 50vh;
    }
}
