@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);

*,*:focus,*:hover{
    outline:none;
}

body{
    overflow-x: hidden;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px rgb(30, 30, 30) inset !important;
    -webkit-text-fill-color: rgb(255, 255, 255) !important;
}

header {
    position: relative;
    padding: 100px 0 25px 0;
    font-family: Lato;
    color: white;
    font-size: 2.3em;
    text-align: center;
    letter-spacing: 5px;
}

.contact{
    width: 100vw;
    height: calc(100vh - 65px);
    display: flex;
    overflow: hidden;
}

.gauche{
    padding: 80px 7vw;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gauche h1{
    font-size: 45px;
    color: #fff;
}

.notif{
    color: #e39700;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.gauche h1 span{
    color: #e39700;
    margin-left: 5px;
}

.gauche h3{
    color: rgb(146, 146, 146);
    font-weight: 500;
    font-size: 15px;
    padding-top: 10px;
}
.gauche h3 span{
    color: #e39700;
    font-weight: 700;
}

form{
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

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

.identiteBox{
    position: relative;
    background-color: rgba(138, 138, 138, 0.1);
    width: 45%;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.identiteBox input{
    width: 80%;
    height: 40px;
    border: none;
    background-color: transparent;
    margin-left: 15px;
    color: white;
    font-size: 16px;
}
.identiteBox input::placeholder{
    color: rgb(146, 146, 146);
}

.identiteBox i{
    position: absolute;
    right: 15px;
    top: 15px;
}

.mailBox{
    position: relative;
    background-color: rgba(138, 138, 138, 0.1);
    max-width: 100%;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.mailBox input{
    width: 80%;
    height: 40px;
    border: none;
    background-color: transparent;
    margin-left: 15px;
    color: white;
    font-size: 16px; 
}
.mailBox input::placeholder{
    color: rgb(146, 146, 146);
}

.mailBox i{
    position: absolute;
    right: 16px;
    top: 15px;
    font-size: 16px;
}

.messageBox{
    position: relative;
    background-color: rgba(138, 138, 138, 0.1);
    max-width: 100%;
    height: 140px;
    border-radius: 15px;
    display: flex;
    align-items: center;
}
.messageBox textarea{
    width: 80%;
    height: 120px;
    border: none;
    background-color: transparent;
    margin-left: 15px;
    color: white;
    font-size: 16px; 
    resize: none;
}
.messageBox textarea::placeholder{
    color: rgb(146, 146, 146);
}
.messageBox i{
    position: absolute;
    right: 16px;
    top: 15px;
    font-size: 16px;
}

.boutons{
    position: relative;
    display: flex;
    justify-content: center;
}

button {
    max-width: 100%;
    width: 100%;
    height: 45px;
    border-radius: 20px;
    border-radius: 50px;
    border: 0;
    background-color: white;
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 15px;
    transition: all .5s ease;
  }
  
  button:hover {
    cursor: pointer;
    letter-spacing: 3px;
    background-color: #e39700;
    color: hsl(0, 0%, 100%);
    box-shadow: #e39700 0px 0px 18px 0px; 
  }
  
  button:active {
    letter-spacing: 3px;
    background-color: #e39700;
    color: hsl(0, 0%, 100%);
    box-shadow: #e39700 0px 0px 0px 0px;
    transform: translateY(10px);
    transition: 100ms;
  }
  
  

.droit{
    background: url('../images/contact.jpg');
    background-position:center;
    background-size: cover;
    width: 50%;
}

.contact img{
    position: absolute;
    height: calc(100% + 100px);
    width: auto;
    left: 45%;
    top: -100px;
}





.questionSection{
    width: 100vw;
    display: flex;
    overflow : hidden;
}

.heroQuestion{
    width: 45%;
    overflow: hidden;
    position: relative;
}

.heroQuestion img{
    position: absolute;
    width: 100vw;
    min-width: 1300px;
    height: auto;
    transform: translateX(-25%) translateY(-10%);
}



.questions{
    min-height: calc(100vh - 30px);
    width: 55%;
    background-color: #f5f8ff;
    padding: 5vw 6vw;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.questions h1{
    font-size: 35px;
    padding-bottom: 5px;
    color: #121212;
    font-weight: 900;
}

.question{
    position: relative;
    background: #fff;
    padding: 0 20px 20px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.05);
    border-radius: 5px;
    overflow: hidden;
}

.question input{
    width: 10px;
    height: 10px;
    visibility: hidden;
}

.question label {
    display: flex;
    align-items: center;
}

.question label::after{
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 25px;
    color: rgba(0,0,0,0.1);
    transition: transform 1s ease, color 0.3s ease;
}

.question:hover label{
    cursor: pointer;
}
.question:hover label::after{
    color: #121212;
}
.question input:checked ~ label::after{
    transform: rotate(135deg);
    color: #121212;
}
    
.question label h2{
    width: 35px;
    height: 35px;
    background: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    border-radius: 5px;
    margin-right: 15px;
}

.question:nth-child(2) label h2{
    background: linear-gradient(135deg, #70f570,#49c628);
}
.question:nth-child(3) label h2{
    background: linear-gradient(135deg, #3c8ce7,#00eaff);
}
.question:nth-child(4) label h2{
    background: linear-gradient(135deg, #ff96f9,#c32bac);
}
.question:nth-child(5) label h2{
    background: linear-gradient(135deg, #fd6e6a,#ffc600);
}

.question label h3{
    position: relative;
    font-weight: 500;
    color: #121212;
    font-size: 17px;
    z-index: 2;
    transition: all 0.3s ease;
}

.question input:checked ~ label h3{
    font-weight: 900;
    transition: all 0.5s ease;
}

.question .reponse{
    max-height: 0;
    transition: all 0.8s ease;
    overflow: hidden;
}

.question input:checked ~ .reponse{
    max-height: 400vh;
    transition: all 4s ease;
}

.question .reponse p{
    font-size: 15px;
    position: relative;
    padding-top: 15px;
    padding-bottom: 5px;
    color: #121212;
    text-align: justify;
    z-index: 2;
}


.FAQ{
    color: white;
    font-size: 1.5em;
    text-align: center;
}




@media (max-width: 900px) {
    .contact{
        display: flex;
        flex-direction: column-reverse;
        height: auto;
        position: relative;
    }

    .droit{
        height: 38vw;
        width: 100%;
    }

    .gauche{
        width: 100%;
        z-index: 2;
        padding: 8vw 7vw;
    }

    .contact img{
        position: absolute;
        height: unset;
        width: 100vw;
        top: 19vw;
        z-index: 1;
        left: 0;
    }

    .questionSection{
        height: unset;
    }

    .questions{
        min-height: unset;
        width: 100%;
        padding: 12vw 6vw;
    }

    .question label{
        margin-right: 25px;
    }

    .heroQuestion{
        display: none;
    }

    .gauche h1, .questions h1{
        font-size: 38px;
    }
}

