
/******************** STYLE PAGE MON PARCOURS ***************************/

.monParcours .banniere {
    background-image: 
    linear-gradient(90deg, rgba(30, 30, 30, 0.80) 0%, rgba(30, 30, 30, 0.00) 100%),
    linear-gradient(180deg, rgba(22, 112, 112, 0.00%) 0%, var(--vert) 100%),
    url('../img/parcours/panorama_sommet.jpg') /*image de la banniere*/;
    
    background-size: 
    60% 100%, 
    100% 40%,
    cover;   
    
    background-position: 
    left,
    bottom,
    center; 
    background-repeat: no-repeat;     
    height: auto;                     
    width: auto;                     
    color: var(--blanc);
    width: 100%;
    position: relative;
    height: 30rem;
    overflow: hidden;
}

.banniere h2{
    font-size: 52px;
    margin: 0;

}

.textPhare {
    width: 35%;
    height: 60%;
    display: flex;
    flex-direction: column;
    margin: 100px 10% 0;
}

.textPhare p {
    font-size: var(--texte1);
}

.monParcours {
    position: relative;
}
.monParcours .banniere h2 {
    font-size: var(--titre1);
    width: 20rem;
    line-height: 4rem;
    margin: 0;
}

.monParcours .textPhare {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.monParcours .textPhare p {
    font-size: var(--texte1);
    color: var(--blanc);
}

.portrait {
    display: flex;
    margin: 5rem auto 150px auto;
    width: 60%;
    justify-content: space-between;
}

.portrait .photo {
    display: flex;
    width: 45%;
}
.portrait .photo img {
    width: 100%;
    object-fit: cover;
    border-radius: 30px;
}


.fleur {
    position: absolute;
    top: 500px;
    right: -40px;
    width: 15rem;
    transform: rotate(-8deg);
}

.fleur img {
    width: 80%;
    margin: 0 auto;
}

.a_propos_de_maxime {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
}

.a_propos_de_maxime h2 {
    font-size: var(--titre1);
    color: var(--gris);
    font-style: italic;
    margin: 0;
}

.a_propos_de_maxime p {
    font-size: var(--texte1);
    color: var(--gris);
    width: 80%;
    margin: 20px auto
}


.a_propos_de_maxime img {
    width: 50%;
    margin-left: 10%;
    margin-bottom: 20px;
}

.container {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


.card-item {
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
}

.swiper {
    overflow: visible;
}
.card-item div {
    width: 80%;
    background-color: var(--vert);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    margin:0 auto 15px auto;
    padding: 10px;
    color: var(--blanc);
}

.card-item li {
    padding: 5px 0;
    font-size: 16px;
    list-style: none;
    line-height: 20px;
}
.card-item ul {
    padding-left: 20px;
}

.card-item h4 {
    font-size: var(--texte1);
    color: var(--blanc);
    margin: 0;
    padding: 15px;
}
.swiper-pagination{
    bottom: -40px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--vert) !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: var(--vert);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--vert) !important;
}

.swiper-slide {
    width: auto;
    flex-shrink: 0;
}
.slider-wrapper {
    overflow-x: hidden;
    margin: 0 0px 20px;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.expPro, .formations {
    width: 60%;
    margin: 150px auto;
}

.formContent, .experiences {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 5rem;
}

.formation, .experience {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 50px 3px rgba(30, 30, 30, 0.20);
    border-radius: 20px;
    margin: 2rem auto;
    padding: 2rem;
    transition: transform 0.3s ease-out, opacity 0.3s;
    opacity: 0.5;
    transform: scale(0.9);
}

.experience.active {
    opacity: 1;
    transform: scale(1);
}

.experience h2{
    color: var(--vert);
    text-transform: uppercase;
    margin: 15px 0 0 0;
}


.formation h2 {
    color: #96527A;
    margin: 0;
}

.expPro p, .formations p {
    color: var(--gris);
    margin-top: 5px;
}

.expPro li, .formation li {
    padding: 5px 0;
    line-height: 22px;
    margin: 0;
}

.formation.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width:800px) {
    .portrait .photo {
        width: 100%;
    }
    .a_propos_de_maxime {
        width: 100%;
        margin: 50px ;
    }

    .a_propos_de_maxime p {
        width: 80%;
    }

    .formation, .experience {
        width: auto;
    }

    .expPro, .formations {
        width: 90%;

    }

}