/* ---------------------------------------------------------- import et reglage par default----------------------------------------------------------  */

*{
    margin: 0;
    padding: 0;

}
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');


body{
    font-family: 'Montserrat', sans-serif;
    
}

/* ----------------------------------------------------------header----------------------------------------------------------  */



a {
  text-decoration: none;
}


 
 
/* ________________________________________________________________________ premiere partie block bleu et vert _____________________________________________________ */
.boxfirst {
  display: flex;
  justify-content: flex-end;
  min-height: 70vh;
  background-color: #90B943;
}

.boxbleu {
  padding: 40px;
  width: 50%;
  background-color: #287BBA;
  justify-content: flex-end;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 2s;
}

.boxbleu img {
  width: 100%;
  height: auto;
}

.boxvert {
  padding: 40px;
  width: 50%;
  background-color: #90B943;
  padding: 40px;
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 2s;
}

.boxvert img {
  width: 100%;
  height: auto;
}

.titregauche {
  text-align: left;
  font-size: 60px;
  color: white;
}

.titredroit {
  text-align: right;
  font-size: 60px;
  color: white;
}

.cote-gauche {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  color: white;
}

.cote-gauche p {
  font-size: 70px;
  font-style: italic;
  margin: 20px;
}

.cote-gauche h2 {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
}

.cote-gauche button {
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #90B943;
  border: 1px solid #287BBA;
  padding: 10px;
  border-radius: 20px;
  
  cursor: pointer;
  transition: 1s;
}
.cote-gauche button:hover {
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #287BBA;
  border: 1px solid #90B943;
  padding: 10px;
  border-radius: 20px;
  
  cursor: pointer;
  transition: 1s;
}
.cotegauchebotooon{
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #90B943;
  border: 1px solid #287BBA;
  padding: 10px;
  border-radius: 20px;
  
  cursor: pointer;
  transition: 1s;
}

.cote-droit {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  color: white;
  text-align: end;
}

.cote-droit p {
  font-size: 70px;
  font-style: italic;
  margin: 20px;
}

.cote-droit h2 {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
}

.cote-droit button {
  align-items: end;
  
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #287BBA;
  border: 1px solid #90B943;
  padding: 10px;
  border-radius: 20px;
 
  cursor: pointer;
  transition: 1s;
}


.cote-droit button:hover {
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #90B943;
  border: 1px solid #90B943;
  padding: 10px;
  border-radius: 20px;
  
  cursor: pointer;
  transition: 1s;
}
.cotedroitbotooon {
  align-items: end;
  
  width: 200px;
  color: white;
  align-items: flex-end;
  justify-content: end;
  margin-top: 20px;
  font-size: 20px;
  background-color: #287BBA;
  border: 1px solid #90B943;
  padding: 10px;
  border-radius: 20px;
 
  cursor: pointer;
  transition: 1s;
}

text {
  font-size: 30px;
}

/* Small screens */
@media only screen and (max-width: 600px) {
  .boxfirst {
    flex-direction: column;
    width:80%;
  }

  .boxbleu,
  .boxvert {
    width: 100%;
  }

  .boxbleu img,
  .boxvert img {
    width: 100%;
    display:none;
    height: auto;
    border-radius: 0px;
  }

  .titregauche,
  .titredroit {
    font-size: 30px;
  }

  .cote-gauche p,
  .cote-droit p {
    font-size: 40px;
    margin: 10px;
  }

  .cote-gauche button,
  .cote-droit button {
    width: 150px;
    padding: 15px;
    font-size: 16px;
  }

  text {
    font-size: 20px;
  }
}

  /* Medium screens */
  @media only screen and (min-width: 601px) and (max-width: 1024px) {
  .boxfirst {
  flex-direction: column;
  }
  
  .boxbleu,
  .boxvert {
  height: auto;
  width: 100%;
  text-align: center;
  }
  
  .boxbleu img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  }
  
  .boxvert img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  }
  
  .titregauche,
  .titredroit {
  font-size: 30px;
  }
  
  .cote-gauche p,
  .cote-droit p {
  font-size: 30px;
  margin: 15px;
  }
  
  .cote-gauche button,
  .cote-droit button {
  width: 180px;
  padding: 18px;
  
  font-size: 18px;
  }
  
  text {
  font-size: 25px;
  }
  }
  
  /* Large screens */
  @media only screen and (min-width: 1025px) {
  .boxfirst {
  
  width: 100%;
  }
  
  .boxbleu,
  .boxvert {
   height: auto;
  }
  
  .boxbleu img {
    width: 373px;
    height: 341px;
  
  }
  
  .boxvert img {
  width: 250px;
  height: 250px;
  
  }
  
  .titregauche,
  .titredroit {
  font-size: 47px;
  }
  
  .cote-gauche p,
  .cote-droit p {
  font-size: 30px;
  margin: 20px;
  }
  
  .cote-gauche button,
  .cote-droit button {
  width: 200px;
  
  
  font-size: 20px;
  }
  
  text {
  font-size: 30px;
  }
  }
  
  /* Extra small screens (portrait phones) */
  

/* ----------------------------------------------------------------------------deuxieme section (envoyer et imprimer) -----------------------------------------------------------*/
.titre2{
    margin-top:30px;
}

.section2{
    display: flex;
    margin-top: 60px;
    margin-bottom: 30px;
    justify-content: space-around;
}

.boximprimer{
    color: white;
    margin: 20px;
    display: flex;
    padding: 20px;
    text-align: center;
    flex-direction: column;
    width: 60%;
    border-radius: 20px;
    background-color:#287BBA;
    height: auto;
    margin-right: 30%;
    box-shadow: -10px 15px 0px #90B943;
}

.boximprimer img{
    width: 200px;
    height: 200px;
}

.boximprimer p,h1,button{
    text-align: center;
    margin: 10px;
}

.boximprimer button{
    width: 200px;
    color: white;
    align-items: flex-end;
    justify-content: end;
    margin-top: 20px;
    font-size: 20px;
    background-color: #287BBA;
    border: 1px solid #90B943;
    padding: 10px;
    border-radius: 20px;
   
    cursor: pointer;
    transition: 1s;
}

.boximprimer button:hover{
    width: 200px;
    color: white;
    align-items: flex-end;
    justify-content: end;
    margin-top: 20px;
    font-size: 20px;
    background-color: #90B943;
    border: 1px solid #90B943;
    padding: 10px;
    border-radius: 20px;
    
    cursor: pointer;
    transition: 1s;
}

.boxenvoyer{
    box-shadow: 10px 15px 0px #287BBA;
    color:white;
    margin-top: 20px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 60%;
    border-radius: 20px;
    height: auto;
    margin-left: 30%;
    right: 0%;
    margin-bottom: 100px;
    background-color: #90B943;
}

.boxenvoyer img{
    width: 250px; 
}

.boxenvoyer p,h1,button{
    text-align:center;
    margin: 10px;
}

.boxenvoyer button{
    width: 200px;
    color: white;
    align-items: flex-end;
    justify-content: end;
    margin-top: 20px;
    font-size: 20px;
    background-color: #90B943;
    border: 1px solid #287BBA;
    padding: 10px;
    border-radius: 20px;
    
    cursor: pointer;
    transition: 1s;
}

.boxenvoyer button:hover{
    width: 200px;
    color: white;
    align-items: flex-end;
    justify-content: end;
    margin-top: 20px;
    font-size: 20px;
    background-color: #287BBA;
    border: 1px solid #90B943;
    padding: 10px;
    border-radius: 20px;
    
    cursor: pointer;
    transition: 1s;
}

@media screen and (max-width: 767px) {

    .section2 {

        flex-direction: column;
        align-items: end;
    }
    .columnenvoyer{
        flex-direction: column;
    }
    .boximprimer, .boxenvoyer {
        display: flex;
        flex-direction: column;
        font-size: 10px;
        width: 50%;
        margin: 20px ;
    }

    .boximprimer img, .boxenvoyer img {
        width: 50px;
        height: 50px;
    }

    .boximprimer button, .boxenvoyer button {
        width:70px;
        font-size: 10px;
    }
    .titre2{
        font-size:10px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    .section2 {
        flex-wrap: wrap;
    }

    .boximprimer, .boxenvoyer {
        width: 45%;
        margin: 20px;
    }
}


