/* Hintergrund für die Formular-Box */
#contact-form {
    display: none;
}
#contact-form.open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.75);
}

/* Formular-Box */
#contact-form > section {
    display: flex;
    flex-flow: row wrap;
    width: 500px;
    max-width: 90%;
    height: max-content;
    max-height: 90%;
    overflow: scroll;
    padding: 25px;
    box-sizing: border-box;
    background-color: floralwhite;
    border-radius: 10px;
}

/* Überschrift und Texte */
#contact-form > section h2 {
    margin: 0px;
}
#contact-form > section p {
    width: 100%;
    margin: 15px 0px;
    font-size: 1em;
    text-align: justify;
}
#contact-form p.error-display {
    display: none;
}
#contact-form p.error-display.error {
    display: block !important;
    color: red;
}

/* Formular-Bereich */
#contact-form > section > form {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
}

/* Formular-Felder */
#contact-form > section > form > input {
    width: 100%;
    padding: 5px 8px;
    margin-bottom: 15px;
    border: solid 1px #cccccc;
    box-sizing: border-box;
    font-size: 1em;
}
#contact-form > section > form > textarea {
    width: 100%;
    padding: 5px 8px;
    border: solid 1px #cccccc;
    box-sizing: border-box;
    resize: none;
    font-size: 1em;
}
#contact-form > section > form > button {
    width: max-content;
    padding: 8px 16px;
    border: none;
    box-shadow: 6px 6px 12px 0px gray;
    color: black;
    font-size: 0.75em;
    cursor: pointer;
}
#contact-form > section > form > input.error,
#contact-form > section > form > textarea.error {
    border: solid 1px red !important;
}

#contact-form > section > form > input[name="honey"],
#contact-form > section > form > input[name="first_name"] {
    display: none !important;
}

/* Buttons */
button.contact-form-open {
    padding: 5px 8px;
    border: none;
    border-radius: 0.5em;
    color: black;
    background-color: rgba(210, 180, 140, 0.5);
    box-shadow: 6px 6px 12px 0px gray;
    font-size: 0.75em;
    cursor: pointer;
}
header > button.contact-form-open {
    padding: 0.25em 0.5em;
    background-color: rgba(210, 180, 140, 0.75);
    box-shadow: none;
    font-size: 1em;
    font-weight: bold;
}
#contact-form button[type="submit"] {
    background-color: rgba(210, 180, 140, 0.5);
}
#contact-form button[type="reset"] {
    margin-right: 15px;
    background-color: white;
}

/* Links */
#contact-form a {
    text-decoration: none;
    color: tan;
}