.contact .first {
    height: 30vh;
    padding-top: 12vh;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    background: linear-gradient(0, rgba(0, 0, 0, 0.70) 30%, var(--secondary-fixed-color) 100%),
        url("../img/illustrations/contact_background.webp");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: 20%;
}

.contact .first .container .presentation-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 2vh;
}

.contact .first .container .presentation-contact span {
    display: inline-block;
    height: 50px;
    width: 2px;
    background-color: var(--primary-fixed-color);
    margin-right: 25px;
}

#contact-form form {
    margin: 3vh auto;
    width: 45vw;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form .blocInput {
    display: flex;
    flex-direction: column;
    margin: 1vh 0;
}

form .blocInput label {
    color: var(--main-color);
    font-size: 1.5rem;
    font-family: 'Jost Medium';
    padding-bottom: 5px;
}

form .blocInput.small {
    width: 46%;
}

form .blocInput.big {
    width: 100%;
}

form .blocInput input, form .blocInput select{
    border: 2px solid var(--main-color);
    padding: 10px 15px;
    background-color: var(--second-background-color);
    font-size: 1rem;
    color: var(--primary-text-color);
    font-family: 'Jost';
}

form .blocInput textarea{
    border: 2px solid var(--main-color);
    padding: 10px 15px;
    background-color: var(--second-background-color);
    font-size: 1rem;
    color: var(--primary-text-color);
    font-family: 'Jost';
    resize: none;
}

form .blocInput.none, form .blocInput .facul.none{
    display: none;
}

textarea:focus, input:focus, select:focus{
    outline: none;
}

form .btn1 {
    margin: 3vh auto;
}

form .error {
    color: rgb(192, 22, 22);
    margin: 0 auto 2vh;
    width: 100%;
    text-align: center;
}

form .acceptBloc {
    text-align: center;
    margin: 1vh 15% 0;
    width: 70%;
}

form .acceptBloc label {
    font-size: 1rem;
    font-family: 'Jost Medium';
    color: var(--primary-text-color);
}

/*-------------confirmation message réceptionner------------*/

.confirm-message .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.confirm-message .container .send{
    width: 100px;
    height: 100px;
    animation: messageEnvoye 2s infinite ease-in-out;
}

.confirm-message .container .send path, .confirm-message .container .send rect{
    fill: var(--main-color);
}

@keyframes messageEnvoye {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

.confirm-message .container h2{
    margin: 1vh;
}

.confirm-message .container p{
    margin: 1vh;
}

.confirm-message .container .btn1{
    margin: 2vh auto;
}

@media screen and (max-width: 1280px) {

    #contact-form form {
        width: 55vw;
    }
}

@media screen and (max-width: 1025px) {

    #contact-form form {
        width: 65vw;
    }

    form .acceptBloc {
        margin: 1vh 10% 0;
        width: 80%;
    }
}

@media screen and (max-width: 570px) {

    .contact .first {
        height: 20vh;
        padding-top: 10vh;
    }

    #contact-form form {
        width: 75vw;
    }

    form .blocInput.small {
        width: 100%;
    }

    form .acceptBloc {
        margin: 1vh auto 0;
        width: 100%;
    }
}
