/********************************PAGE ABOUT************************************/
/*****************IMAGE INTRO PAGE******************/
.container2{
    width: 100%;
    height: 60vh;
    display: flex; /* Utilise Flexbox pour centrer le contenu */
    flex-direction: column; /* Arrange les éléments en colonne */
    justify-content: center; /* Centre verticalement */
    align-items: center;
    background: url("../gallery/introAbout.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}








/*****************SECTION 1 ET SECTION 3 ABOUT******************/

.container_about1, .container_about2{
    width: 100vw;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container_about1_1, .container_about2_2{
    flex: 1;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10vh;
}

.container_about1_1 h1, .container_about2_2 h1{
    color: rgb(20, 102, 184);
    font-size: 3vw;
    margin-left: 3vw;
}

.container_about1_1 p, .container_about2_2 p{
    color: #232323;
    font-size: 1.2vw;
    margin-left: 3vw;
    width: 90%;
}

.container_about1_2{
    flex: 1;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../gallery/pexels-cottonbro-4709285.png") no-repeat;
    background-position:center ;
    background-size: 48vw 80vh;
}

.container_about2_1{
    flex: 1;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../gallery/pexels-goumbik-574071.webp") no-repeat;
    background-position:center ;
    background-size: 48vw 80vh;
   
}






/*****************SECTION 2 STAT******************/
.section2{
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f7f7fb;
}

.section2 h1{
    color: rgb(20, 102, 184);
    font-weight: 900;
    font-size: 3vw;
    text-shadow: rgba(0, 0, 0, 0.5);
    text-align: center;
}

.container_stats{
    margin-top: 10vh;
    width: 90vw;
    display: flex;
    gap: 1vw;
    justify-content: center;
    align-items: center;
}

.container_stats > div{
    flex: 1;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.5);
}

.container_stats > div h1{
    color: rgb(20, 102, 184);
    font-weight: 900;
    font-size: 4vw;
    text-shadow: rgba(0, 0, 0, 0.5);
}

.container_stats > div p{
    margin-top: 2vh;
    color: #232323;
    font-size: 1vw;
    text-shadow: rgba(0, 0, 0, 0.5);
}









/*****************NOUS CONTACTER****************/

.container12{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    background: url("../gallery/a32e0a57-a624-42ed-89f0-b141398ba80d.webp");
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
}
  
  button.contact_sroll{
    background-color: rgb(20, 102, 184) ;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    width: 15vw;
    text-align: center;
    transition: .2s ease;
    padding: 15px;
    font-size: 18px;
    border: none;
    margin-top: 8vh;
}
  
  button.contact_sroll:hover{
      background-color: rgb(20, 102, 184) ;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
      border: none;
      cursor: pointer;
}
  
  .container12_1{
      display: flex;
      flex-direction: column;
}
  
  .container12_1 h1{
      justify-content: center;
    display: flex;
    text-align: center;
    letter-spacing: 1px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    line-height: 27px;
    flex: 10;
}
  
  .container12_1 p{
      justify-content: center;
    display: flex;
    text-align: center;
    letter-spacing: 1px;
    color: white;
    font-size: 14px;
    line-height: 27px;
    width: 348px;
    margin-top: 1rem;
}




/********************************NOTRE EQUIPE**************************************/
.container3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f7f7fb;
    padding-bottom: 10vh;
}

.container3 h1{
    color: rgb(20, 102, 184);
    font-size: 3vw;
    
}

.container3 h2{
    font-size: 1.4vw;
    font-weight: 500;
    margin-top: 3vh;
}

.container3_1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    margin-top: 3vh;
}

.container3_1 > div{
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vh;
    width: 28vw;
    height: 50vh;
}

.container3_1 > div .image{
    width: 12vw;
    height: 12vw;
    border-radius: 50%;
    background: url("../gallery/icone_user.png") no-repeat;
    background-position: center;
    background-size: contain;
}

.container3_1 > div p{
    width: 85%;
    text-align: justify;
    font-size: 1.2vw;
}


@media (orientation: portrait) {
    header div#barre_contact {
        height: 4.5vw !important;
    }
    
    .container2 {
        width: 100% !important;
        height: 60vw !important;
    }
    
    .overlay2_1 h1 {
        font-size: 3vh !important;
    }
    
    .overlay2_1 p {
        margin-top: 5vw !important;
        font-size: 1.5vh !important;
        font-weight: 500 !important;
    }
    
    .container_about2 {
        height: auto;
    }
    
    .container_about2_1 {
        display:none;
    }
    
    .container_about2_2 {
        height: auto;
        gap: 5vw;
    }
    
    .container_about2_2 h1 {
        font-size: 2.6vh;
        margin_left:5vw;
        margin-top: 5vw;
    }
    
    .container_about2_2 p {
        font-size: 1.5vh;
    }
    
    .container3 {
        padding-bottom: 10vw;
    }
    
    .container3 h1 {
        font-size: 2.6vh;
    }
    
    .container3 h2 {
        font-size: 1.8vh;
        margin-top: 3vw;
        text-align: center;
    }
    
    .container3_1 {
        margin-top: 5vw;
    }
    
    .container3_1 > div {
        justify-content: normal;
        align-items: center;
        gap: 5vw;
        width: 31vw;
        height: 89vw;
    }
    
    .container3_1 > div h3{
        font-size: 1.7vh;
        margin-top: 5vw;
        text-align :center;
    }
    
    .container3_1 > div p {
        width: 92%;
        text-align: normal;
        font-size: 1.2vh;
    }
    
    .container3_1 > div a {
        font-size: 1.5vh;
        text-align: center;
    }
    
    .container12 {
        height: calc((100vw - 5rem) / 2) !important;
    }
    
    .container12_1 h1 {
        font-size: 2vh !important;
    }
    
    .container12_1 p {
        font-size: 1.3vh !important;
        width: 47% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    button.contact_sroll {
        margin-top: 8vw !important;
    }
    
}