header img{
    width: 100%;
}
.pole{
    margin-bottom: 27vh;
    background-color: var(--gris1);
    padding-bottom: 2vw;

}
.container_pole{
    display: flex;
    flex-direction: row;
}
.sample_pole{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
.logo_pole{
    width: 40%;
}
.logo_pole img{
    width: 65%;
}
.texte_pole{
    width: 40%;
}
.texte_pole h3{
    font-family: var(--typo1);
    color: var(--gris3);
    font-size: calc(25*var(--res));
}
.texte_pole p{
    font-family: var(--typo2);
    color: var(--gris3);
    line-height: var(--hauteurligne);
    text-align: justify;
    margin-top: 1vw;
}

.pole_catalogue{
    margin-top: 10vh;
    
}
.onglets_catalogue{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background-color: var(--gris1);
}
.lien_onglet{
    width: 25vw;
}
.onglet{
    font-family: var(--typo1);
    font-size: calc(30*var(--res));
    color: white;
    background-color: var(--bleu);
    /* width: 15%; */
    text-align: center;
}
.onglet:hover{
    background-color: var(--jaune);
    cursor: pointer;
}
.onglet_actif{
    font-family: var(--typo1);
    font-size: calc(30*var(--res));
    color: white;
    background-color: var(--jaune);
    /* width: 15%; */
    text-align: center;
    cursor: pointer;
    border-radius: 10px 10px 0 0 ;
}
.liste_formation_pole{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    border: var(--cadrejaune);
}
.lien_detail{
    width: 30%;
    margin: 1vw;
}
.lien_detail:hover{
    transform: scale(1.05);
    transition: 0.6s ease;
}
.card_formation{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    box-shadow: var(--ombre2);
    border-radius: 10px;
    padding-top: 1.5vw;
}

.visuel_formation{
    width: 90%;
    align-self: center;
    height: 19vw;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.visuel_formation img{
    /* width: 115%; */
    height: 100%;
}
.lien_formation{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2vw;
    width: 100%;
    min-height: 140px;
    color: black;
    font-family: var(--typo1);
    font-size: calc(18*var(--res));
}
.lien_formation h3{
    text-align: center;

}
.contact{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  
}
.fiche_contact{
    padding: 3vw;
    background-color: var(--gris1);
    width: 44%;
    border: var(--cadrejaune);
}
.fiche_contact h3{
    font-family: var(--typo1);
    font-size: calc(20*var(--res));
    color: var(--gris3);
    padding: 2vw 0;
}
.fiche_contact p{
    color: var(--gris3);
    font-family: var(--typo2);
    line-height: var(--hauteurligne);
}
.fiche_contact a{
    color: var(--bleu);
    font-family: var(--typo2);
}

@media screen and (max-width: 840px){
    .sample_pole{
        flex-direction: column;
    }
    .texte_pole{
        width: 100%;
        margin-top: 3vw;
    }
    .logo_pole{
        width: 90%;
    }
    .reverse{
        flex-direction: column-reverse;
    }
}
@media screen and (max-width: 500px) {
    .texte_pole h3{
        font-size: calc(40*var(--res));
    }
    .lien_formation{
        min-height: 90px;
    }
    .fiche_contact h3{
        font-size: calc(30*var(--res));
    }
}
@media screen and (max-width: 320px){
    .liste_formation_pole{
        flex-direction: column;
        align-items: center;
    }
    .lien_detail{
        width: 80%;
    }
    .lien_formation{
        min-height: 60px;
        font-size: unset;
    }
    .visuel_formation{
      height: unset;
    }
    .visuel_formation img{
        width: 100%;
    }
    .card_formation{
        padding-top: 10px;
    }

}