#form-contact {
    position: relative;
}
#form-contact .all {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 4em;
}
#form-contact .left {
    display: flex;
    flex-direction: column;
    justify-content:start;
    gap: 1em;
    width: 35%;
}
#form-contact .left input {
    width: 80%;
}
#form-contact .mid {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1em;
}
#form-contact .mid span {
    display: flex;
    align-items: center;
    margin-top: 1em;
}
#form-contact .right {
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 2em;
    width: 10em;
}
#form-contact p {
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.4em;
}
#form-contact .right p {
    font-size: 0.9em;
    font-style: italic;
    font-weight: normal;
}
#form-contact a {
    text-decoration: underline;
    color: white;
}

#form-contact .widget {
    display: flex;
    align-items: center;
    justify-content: left;
}

#form-contact .invisible {
    display: none;
}

#form-contact input,
#form-contact select,
#form-contact textarea {
    padding: .5em;
    font-family: "Cairo";
    font-size: 1em;
    color: white;
    background-color: var(--dark2);
    border: none;
    border-bottom: 1px solid var(--blue1);
}
#form-contact select {
    border-bottom: none;
}
#form-contact textarea {
    width: 100%; height: 10em;
    border-radius: 5px;
    background-color: var(--blue1);
}

#form-contact ::placeholder {
    color: #ffffff50;
    opacity: 1;
}
#form-contact .mid input.checkbox {
    display: none;
}
#form-contact .mid input.checkbox + label {
    display: block;
    position: relative;
    width: auto !important;
    padding-left: 2em;
    cursor: pointer;
}
#form-contact .mid input.checkbox + label::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 1em; height: 1em;
    border-radius: 50%;
    background-color: var(--blue1);
}
#form-contact .mid input.checkbox:checked + label::before {
    background-color: var(--magenta);
}

#form-contact .right input.checkbox {
    width: 1em; height: 1em;
    background-color: aqua;
}
#form-contact .right input.checkbox + label {
    margin-left: 0.5em;
    line-height: 1.5em;
}

#form-contact button.submit {
    display: inline-block;
    border: none;
    padding: 0.8em 1em;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    background-color: var(--magenta);
    color: var(--black);
    border-radius: 5em;
    transition: background-color 0.25s linear;
    outline: inherit;
}
#form-contact button.submit:hover {
    background-color: white;
}
#form-contact button.submit:active {
    background-color: var(--magentadark);
}


@media screen and (max-width:864px) {
    main #form-contact .all {
        display: flex;
        flex-direction: column;
        justify-content:center;
        gap: 4em;
    }
    main #form-contact .left,
    main #form-contact .right {
        width: 100%;
    }
}

