/********************************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;
    
    position: relative;
}

.grandes_entreprises{
    background: url('../gallery/grandeEntreprises.webp') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pme{
    background: url('../gallery/PME.webp') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.reco1{
    background: url('../gallery/recoReins-2-fn.webp') no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
}

.reco2{
    background: url('../gallery/recoReins-2-class.webp') no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
}

.overlay2_1{
    display: flex;
  flex-direction: column;
  justify-content: center;
  background:none;
  position: absolute;
  top: 16vh;
  bottom: 0;
  
}

.overlay2_1 h1{
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    font-size: 3vw;
    letter-spacing: 2px;
    font-weight: 800;
    font-style: normal;
    margin-left: 5vw;
}

.overlay2_1 p{
    color: white;
    margin-top: 5vh;
    line-height: 1.8;
    font-size: 1.5vw;
    letter-spacing: 1px;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    width: 83%;
    margin-left: 5vw;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}



/***************TEXTE INTRO****************/
.container3{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.container3 p{
    width: 80%;
    margin-left: 5vw;
  font-size: 1.3vw;
  margin-top: 5vh;
  color: black;
}

.container3 p span{
    font-weight: 700;
}








/*****************4BOX BLEUES FORMATIONS****************/

.choix{
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.choix >div{
    width: calc(25vw - 2px);
    height: calc(42.5vh - 2px);
    position: relative;
    background: url("file:///C:/Users/nadre/Downloads/image-from-rawpixel-id-16393031-jpeg.jpg") no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.choix >div h1{
    text-align: center;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-size: 3vw;
    font-weight: 800;
}

.choix >div >div{
    width: calc(25vw - 2px);
    height: calc(42.5vh - 2px);
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(20, 102, 184, 0.9);
    opacity: 0;
    transition: all .5s ease-in-out;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.choix >div >div:hover{
    opacity: 1 !important;
}

.choix >div >div h1{
    text-align: center;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: 800;
    font-size: 3vw;
}

.choix >div >div p{
    text-align: center;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: 1.2vw;
    width: 90%;
}







/*****************BLOC DESCRIPTION DES FORMATIONS****************/

.container5{
    width: 100%;
    background-color: #f7f7fb;
    padding-bottom: 1vh;
}

.container5 > div{
    width: 90vw;
    height:80vh;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 17px 10px;
}

.container5 > div h1{
    width: 97%;
    padding: 10px;
    font-size: 1.7vw;
    background-color: rgba(20, 102, 184, 0.1);
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
}

.container5 > div > h2{
    width: 97%;
    padding: 10px;
    font-size: 1.4vw;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3vh;
    color: rgb(20, 102, 184);
}

.container5 > div > p{
    width: 97%;
    padding: 10px;
    font-size: 1.2vw;
    margin-left: auto;
    margin-right: auto;
}

.container5 > div div{
    display: flex;
  width: 97%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  margin-top: 2vh;
}

.container5 > div div p{
    width: calc(50% - 1px);
    padding: 10px;
    font-size: 1.2vw;
}

.container5 > div div p span{
    padding: 10px;
    font-size: 1.4vw;
    font-weight: 700;
    color: rgb(20, 102, 184);
}

.container5 > div div hr{
    background-color: rgba(20, 102, 184, 0.1);
    border-color: rgba(20, 102, 184, 0.1);
}

.container5 > div > p span{
    font-size: 1.4vw;
    font-weight: 700;
    color: rgb(20, 102, 184);
}



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

.container12{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 60vh;
    background: url("../gallery/a32e0a57-a624-42ed-89f0-b141398ba80d.png");
    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;
}





@media (orientation: portrait) {
    header div#barre_contact {
        height: 4.5vw !important;
    }
    
    .container2 {
        width: 100% !important;
        height: 79vw !important;
    }
    
    .overlay2_1 {
        top: 0;
    }
    
    .overlay2_1 h1 {
        font-size: 3vh !important;
    }
    
    .overlay2_1 p {
        margin-top: 5vw !important;
        font-size: 1.5vh !important;
        font-weight: 500 !important;
    }
    
    .container3 h1 {
        margin-top: 5vw !important;
        font-size: 3vh !important;
    }
    
    .container3 p {
        font-size: 1.5vh !important;
        margin-top: 5vw !important;
    }
    
    .choix {
        margin-top: 10vw !important;
        flex-wrap: wrap !important;
    }
    
    .choix >div {
        width: calc(50vw - 2px) !important;
        height: calc(50vw - 2px) !important;
    }
    
    .container5 > div {
        height: auto !important;
    }
    
    .container5 > div h1 {
        font-size: 1.7vh !important;
    }
    
    .container5 > div h2 {
        font-size: 1.4vh !important;
    }
    
    .container5 > div p {
        font-size: 1.2vh !important;
    }
    
    .container5 > div div p {
        font-size: 2vh !important;
    }
    
    .container5 > div div p span {
        font-size: 2vh !important;
    }
    
    .container5 > div > p span {
        font-size: 1.4vh !important;
    }
    
    .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;
    }
}
