body {
  background-image: url("/img/fondcielmobile_test.png");
  height: 100%;
  display: flex;
  flex-direction: column;
}
main{
  width: 100%;
  height: 70%;
  align-items: center;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!---FORMULAIRE---!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

main form {
  width: 100%;      /*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!---Taille du formulaire */
  /* height: 100%;      */
}
main form a{
  text-decoration: none; /* !!!!!!!!!!--- Enleve le surlignement sous mentions legal---!!!!!!!!!*/
}
main input {

  background-color: rgba(255, 255, 255, 0.192); 
  border-style: solid;                           
  border-width: 0 0 2px 0;                        
  border-color: rgb(246, 246, 250);            
  border-radius: 3px;                             /* ---PERSONNALISATION Du form et des zones TEXT --------------------*/
  height: 40px;                       
  color: azure;                    
  width: 100%;   
  margin-bottom: 5%;    
  padding-left: 10px;                
}
main textarea {
  background-color: rgba(255, 255, 255, 0.192);
  border-style: solid;
  border-width: 0 0 2px 0;
  border-color: rgb(246, 246, 250);
  border-radius: 5px;
  color: azure;
  width: 100%;
  height: 150px;
  resize: none;
  padding-left: 10px;
}
main .button {
  height: 50px;
  font-size: 28px;
  background: rgba(2, 11, 129, 0.308);
  border: rgba(2, 11, 129, 0.507) solid 2px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(2, 11, 129, 0.25);
  color: white;
  width: 200px;
  padding-right: 1%;
  transition: 1s ease;
}
main .button:hover {
  height: 50px;
  background: rgba(2, 11, 129, 0.507);
  border: rgba(2, 11, 129, 0.507) solid 2px;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(2, 11, 129, 0.25);
  color: white;
  width: 200px;
  background-color: #2323234d;
}
main input[type="checkbox"] {

  border: none;
  height: 15px;
  width: 15px;
  margin: 0;
}
main input[type="checkbox"]:checked {
  background-color: rgba(2, 11, 129);
  border: none;
  height: 15px;
  width: 15px;
}
main input::placeholder,
main textarea::placeholder {
  color: rgb(255, 255, 255);
}
                             /* FIN */                                               
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!----SECTION des elements main!!!!!!!!!!! */
main section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 70%;
  width: 70%;
}
main section article:first-child{
  margin-top: 25%;
  margin-bottom: 4%;
  padding-left: 81%;
  /* width: 100%;
  height: 120px; */
}
main section article:first-child a{
 margin-right:7%;

}
main section article:nth-child(2){
  width: 35%;
 
}
main section article:nth-child(3){
  width:30%;
  margin-top: 10%;
  
}
main section article:nth-child(4){
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 410px;
  width: 25%;
}
main section article:nth-child(4) aside h2{
  margin-bottom: 20px;
}
.logo_vert{
  width:120px;
  height: 120px;
}
main section article{
  text-align: center;
}
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
header p {
  margin-top: -5px;
}
footer p {
  margin: 0;
}
footer a {
  text-decoration: none;
  color: white;
}
/* :::::::::::--CSS--SMARTPHONE--Tablette--:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
@media only screen and (max-width: 1024px){
  body {
    background-image: url("/img/BGmedia.png");
    display: flex;
    flex-direction: column;
  }
  main section {
    margin:0;
    padding: 0;
    display: block ; 
    width: 100%;
  }
  main section article:first-child{
    margin-top: 40vh;
    margin-bottom: 13%;
    padding-left: 7vw;
    width: 100%;
    height: 120px;
  }
  main section article:first-child a{
    text-align: center;
    
   }
   main section article:nth-child(2){
     width: 80%;
     margin: 0 10%;
  
   }
   main section article:nth-child(3){
     width:80%;
     margin: 0 10%;
     padding: 50px 0px;
   }
   main section article:nth-child(4){
     /* display: block; */
     width: 100%;
   }
   main section article:nth-child(4) aside h2{
     /* margin-bottom: 80px; */
     margin-top: 40px;
   }
   body {
    height: 80%;
   }

}
@media only screen and (max-width: 687px) {
  body {
    background-image: url("/img/BGmedia.png");
    display: flex;
    flex-direction: column;
  }
  main section {
    margin:0;
    padding: 0;
    display: block ; 
    width: 100%;
  }
  main section article:first-child{
    margin-top: 40vh;
    margin-bottom: 13%;
    padding-left: 7vw;
    width: 100%;
    height: 120px;
  }
  main section article:first-child a{
    text-align: center;
    
   }
   main section article:nth-child(2){
     width: 80%;
     margin: 0 10%;
  
   }
   main section article:nth-child(3){
     width:80%;
     margin: 0 10%;
     padding: 50px 0px;
   }
   main section article:nth-child(4){
     /* display: block; */
     width: 100%;
   }
   main section article:nth-child(4) aside h2{
     /* margin-bottom: 80px; */
     margin-top: 40px;
   }
   body {
    height: 80%;
   }
}


