#contact {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-color-two);
}

#contact #reseau {
    flex: 1;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

#contact #reseau .content {
   width: 70%;
    text-align: justify;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}


#contact .content ul {
    display: flex;
    justify-content: start;
    gap: 5px;
    list-style-type: none;
    padding: 0;
}

#contact #form {
    flex: 1;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

#contact #form form {
    width: 70%;
    text-align: justify;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-size: 0.8rem;
    color: var(--text-color-form);
}

#contact #form form label {
    margin-top: 2rem;
}

#contact #form form input, #contact #form form textarea {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

#contact #form form input:focus, #contact #form form textarea:focus {
    outline: none;
    border-bottom: 2px solid var(--border-color-focus);
}
#contact #form form textarea{
    resize: vertical;
    min-height: 100px;
    max-height: 120px;
}
#contact #form form button {
    margin-top: 1rem;
    width: 150px;
    border: none;
    border-radius: 20px;
    background-color: var(--border-color-focus);
    padding: 10px;
    
}

@media screen and (max-width: 768px) {
    #contact {
        flex-direction: column;
    }
    
    #contact #form, #contact #reseau {
        flex: 1;
    }
    
    #contact #form form, #contact #reseau .content {
        width: 90%;
        padding: 1rem;
    }
    
}