.div{
    display: flex;
    justify-content: space-between;
}

.form{
    width: 50%;
    margin-left: 5%;
    position: relative;
    p{
        font-size: 1.2vw;
    }
    form{
        display: flex;
        flex-direction: column;
        gap: 3vh;
        .nom_prenom{
            width: 100%;
            display: flex;
            justify-content: space-between;
            .nom, .prenom{
                width: 45%;
            }
        }
        .nom, .prenom, .mail, .tel, .entreprise{
            display: flex;
            flex-direction: column;
        }
        input{
            height: 6vh;
            border-radius: 5px;
            border: solid 1px rgb(210, 210, 210);
            font-family: "Display";
            padding-left: 1vw;
        }
        label{
            color: #2b2b2b;
            font-size: 1.1vw;
        }
        .services{
            display: flex;
            justify-content: space-between;
            row-gap: 1vw;
            flex-wrap: wrap;
            .choix{
                display: flex;
                align-items: center;
                width: 40%;
                gap: 1vw;
                input{
                    all: unset;
                    width: 1.3vw;
                    height: 1.3vw;
                    border: solid 1px rgb(210, 210, 210);
                    border-radius: 5px;
                &:checked{
                    background-color: #FE9A02;
                    border: solid 1px #FE9A02;
                }
                }
                
                p{
                    font-size: 0.9vw;
                }
            }
        }
        textarea{
            height: 20vh;
            border-radius: 5px;
            border: solid 1px rgb(210, 210, 210);
            font-family: "Display";
            padding-left: 1vw;
        }
        .conditions{
            display: flex;
            align-items: center;
            gap: 1vw;
            p{
                font-size: 0.8vw;
                margin: 0;
            }
            a{
                all: unset;
                text-decoration: underline;
                cursor: pointer;
                &:hover{
                    color: #FE9A02;
                }
            }
            input{
                all: unset;
                width: 1vw;
                height: 1vw;
                border: solid 1px rgb(210, 210, 210);
                border-radius: 5px; 
                &:checked{
                    background-color: #FE9A02;
                    border: solid 1px #FE9A02;
                }          
            }
        }
        button{
            all: unset;
            padding: 1vw;
            border: solid 2px #FE9A02;
            background-color: #FE9A02;
            border-radius: 10px;
            color: white;
            width: 90%;
            text-align: center;
            cursor: pointer;
            transition: ease 0.2s;
            &:hover{
                color: #2b2b2b;
                background-color: white;
            }
        }
    }
}

.contactimg{
    background-color: red;
    width: 40%;
}

@media screen and (max-width: 650px) {
    .div{
        display: flex;
        justify-content: space-between;
    }
    
    .form{
        width: 90%;
        margin-left: 5%;
        position: relative;
        p{
            font-size: 4vw;
        }
        form{
            display: flex;
            flex-direction: column;
            gap: 3vh;
            .nom_prenom{
                width: 100%;
                display: flex;
                justify-content: space-between;
                .nom, .prenom{
                    width: 45%;
                }
            }
            .nom, .prenom, .mail, .tel{
                display: flex;
                flex-direction: column;
            }
            input{
                height: 6vh;
                border-radius: 5px;
                border: solid 1px rgb(210, 210, 210);
                font-family: "Display";
                padding-left: 1vw;
            }
            label{
                color: #2b2b2b;
                font-size: 4vw;
            }
            .services{
                display: flex;
                justify-content: space-around;
                row-gap: 1vw;
                flex-wrap: wrap;
                .choix{
                    display: flex;
                    align-items: center;
                    width: 40%;
                    gap: 1vw;
                    input{
                        all: unset;
                        width: 3.5vw;
                        height: 3.5vw;
                        border: solid 1px rgb(210, 210, 210);
                        border-radius: 5px;
                    &:checked{
                        background-color: #FE9A02;
                        border: solid 1px #FE9A02;
                    }
                    }
                    
                    p{
                        font-size: 3.5vw;
                    }
                }
            }
            textarea{
                height: 20vh;
                border-radius: 5px;
                border: solid 1px rgb(210, 210, 210);
                font-family: "Display";
                padding-left: 1vw;
            }
            .conditions{
                display: flex;
                align-items: center;
                gap: 1vw;
                p{
                    font-size: 2.5vw;
                    margin: 0;
                }
                a{
                    all: unset;
                    text-decoration: underline;
                    cursor: pointer;
                    &:hover{
                        color: #FE9A02;
                    }
                }
                input{
                    all: unset;
                    width: 2.5vw;
                    height: 2.5vw;
                    border: solid 1px rgb(210, 210, 210);
                    border-radius: 5px; 
                    &:checked{
                        background-color: #FE9A02;
                        border: solid 1px #FE9A02;
                    }          
                }
            }
            button{
                all: unset;
                padding: 1vw;
                border: solid 2px #FE9A02;
                background-color: #FE9A02;
                border-radius: 10px;
                color: white;
                width: 90%;
                text-align: center;
                cursor: pointer;
                transition: ease 0.2s;
                &:hover{
                    color: #2b2b2b;
                    background-color: white;
                }
            }
        }
    }
    
    .contactimg{
        display: none;
        background-color: red;
        width: 40%;
    }
}