section.contact {
    padding: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

section.contact > div a {
    font-weight: 600;
    color: black;
}

section.contact > .form {
    width: 500px;
    background-color: var(--color-yellow-dark);
    box-shadow: 5px 5px 0px 0px var(--color-yellow);
    -webkit-box-shadow: 5px 5px 0px 0px var(--color-yellow);
    -moz-box-shadow: 5px 5px 0px 0px var(--color-yellow);
    padding: 50px;
    display: block;
}

section.contact > .form > form {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;

}

section.contact > .form > form > h2, section.contact > .form > form > p {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

section.contact > .form > form > h2 {
    padding-bottom: 30px;
    margin-bottom: 10px;
}

section.contact > .form > form > h2::before {
    content: " ";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    margin-left: 0;
    top: 0;
    border-bottom: 3px solid var(--color-gold);
}

section.contact > .form > form > p {
    margin-bottom: 10px;
}

section.contact > .form > form input, section.contact > .form > form textarea {
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    width: 100%;
    border: 2px solid var(--color-gold);
    transition: 0.4s ease all;
    --webkit-transition: 0.4s ease all;
}

section.contact > .form > form textarea {
    cursor: text;
    resize: vertical;
    height: 100px;
}

section.contact > .form > form input[type="submit"] {
    background-color: var(--color-gold);
    font-weight: 600;
}

section.contact > .form > form > span {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

section.contact > .form > form > span > input {
    width: 48%;
}

section.contact > .form > form > span > input:nth-child(even) {
    margin-left: auto;
}

section.contact > .form > form > span > a {
    color: black;
    font-size: 12px;
    width: 200px;
}

section.contact > .map {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1000px) {
    section.contact a:hover {
        text-decoration: underline;
    }
    section.contact > .form > form > span > a:hover {
        text-decoration: underline;
    }

    section.contact > .form > form input:focus, section.contact > .form > form textarea:focus {
        border-bottom: 2px solid black;
    }

    section.contact > .form > form input[type="submit"]:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 1850px) {
    section.contact > .map { display: none; }
    section.contact > div { width: 50%; }
}

@media screen and (max-width: 1000px) {
    section.contact { padding: 20px; flex-wrap: wrap; }
    section.contact > div { width: 100%; }
    section.contact > .form { width: 100%; padding: 20px; margin-top: 50px; }
    section.contact > .form > form input[type="submit"] { color: black; width: 100%; }
    section.contact > .form > form > span > a { width: 100%; }
}