html, body{
    height: 100%;
}

h1 {
    text-align: center;
    position: relative;
    font-size: 56px;
    color: #2C3E50;
}

h1::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: rgb(79, 172, 189);
}

.container{
    display: flex;
    flex-direction: column;
    margin: 0% 10%;
}



.contact_section{
    display: flex;
    justify-content: space-between;
    margin: 3% 0%;
}

.contact_section img{
    width: 58%;
    object-fit: contain;
}

form{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 33%;
}

form div{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

#noms{
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
}

#noms div{
    width: 49%;
}

form label{
    color: black;
}

form span{
    color: red;
}

.form_error{
    width: 100%;
    color: red;
    list-style: none;
}

form input{
    background: transparent;
    border: 3px solid rgb(79, 172, 189);
    border-radius: 14px;
    padding: 13px;
}

input:focus, textarea:focus, select:focus {
    border: 3px solid #cccccc00;
    outline: none;
    box-shadow: 0 0 5px rgb(79, 172, 189);
}

.works{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.works div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 5px 0px;
}



form textarea{
    background: transparent;
    border: 3px solid rgb(79, 172, 189);
    border-radius: 14px;
    padding: 13px;
}

select{
    background: transparent;
    border: 3px solid rgb(79, 172, 189);
    border-radius: 14px;
    padding: 13px;
}

.consentement{
    display: flex;
    flex-direction: column;
}

.consentement div{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.consentement label{
    width: 90%;
}

.consentement a{
    color: rgb(79, 172, 189);
}

button{
    cursor: pointer;
    color: rgb(79, 172, 189);
    background: transparent;
    border: 3px solid rgb(79, 172, 189);
    border-radius: 14px;
    padding: 13px;
    font-size: 22px;
    transition: 0.3s;
}

button:hover{
    color: white;
    background: rgb(79, 172, 189);
}

@media screen and (max-width:1100px) {

    .contact_section{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    form{
        width: 100%;
        margin-bottom: 15%;
    }

    .contact_section img{
        /* width: 100%; */
        display: none;
    }
}
