main > section:nth-child(12){
    background-color: #7572B2;
}

main > section:nth-child(14){
    background-color: #7572B2;
}

#midContact{
    left: 50%;
    transform: translateX(-50%);
}

#midContact > h2{
    border-radius: 0 0 25px 25px;
}

.mailTel{
    position: relative;
    top: 10%;
    left: 10%;
    display: flow;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.mail{
    line-height: 1.5rem;
    font-family: "Exo 2", serif;
    font-size: 1.5rem;
    font-weight: 500;
}

.mailTel > div{
    padding: 1vw;
}

.contactcolor{
    color: #fef186;
    line-height: 1.5rem;
    font-family: "Exo 2", serif;
    font-size: 1.6rem;
    font-weight: 600;
}

form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 4vw 5.5vw 4vw;
    color: white;
}

.contactForm{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 3vw;
}

.textForm{
    display: flex;
    flex-direction: column;
    padding: 0 3vw;
}

.contactForm > div{
    display: flex;
    flex-direction: column;
}

.contactForm > span{
    font-size: .7rem;
    margin: 1rem 0 0 4vw;
}

input{
    height: 40px;
    border-radius: 25px;
    border: none;
}

#contact_firstname{
    background-color: #50b5bb;
}

#contact_information{
    background-color: #89c167;
}

#contact_objet{
    background-color: #ee7185;
}

#contact_message{
    background-color: rgba(0, 0, 0, 0.164);
    border: none;
}

input[type=text], 
input[type=email],
input[type=number]{
    color: #2d233c;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    padding-left: 1.5vw;
}

label{
    margin: 2vw 0 .3vw 1vw;
}

::placeholder {
    color: #e4e4e4;
    font-family: 'Spartan', sans-serif;
    font-weight: 400;
    font-size: .8rem;
}

textarea{
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    padding: 1vw;
    height: 250px;
    background-color: rgb(0, 0, 0, .16);
    border: none;
}

.envoyer{
    position: absolute;
    bottom: -1px;
    right: -1px;
    border: solid 1px white;
    border-radius: 25px 0 25px 0;
    color: #fef186;
    height: fit-content;
    font-family: 'Spartan', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 1.5vw 3vw;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
}

.succes{
    font-family: 'Prompt', sans-serif;
    font-weight: 400;
    color: white;
    letter-spacing: .6rem;
    font-size: 1.1rem;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    animation: succes 15s ease forwards;
}

@keyframes succes{
    0%{
        opacity: 0;
    }
    10%{
        opacity: 1;
    }
    70%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

.placeMap{
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    height: fit-content;
    margin-bottom: 5%;
}

.map{
    position: relative;
    display: flex;
    justify-content: center;
    height: auto;
    width: 80%;
    border: solid 4px white;
    border-radius: 25px;
}

/*_____ Responsive 480px -> 959px _____*/

@media screen and (max-width: 959px){
    form{
        grid-template-columns: 1fr;
        padding-bottom: 55px;
    }

    .mailTel{
        position: relative;
        left: 0;
        margin-top: 1rem;
    }

    .envoyer{
        border-radius: 25px 0 0 0;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 25px 25px 0 0;
    }

    .contactForm > div{
        margin: 2vw 0;
    }
}