.exp_content, .formation_content {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.exp, .formation{
    display: flex;
    flex-direction: column;
}

.exp_titre, .formation_titre {
    font-size: 22px;
    margin-bottom: 1rem;
    color: rgb(179 160 93);
}

.exp_entreprise, .formation_ecole {
    color: #008286;
    margin-bottom: 2rem;
}

.exp_entreprise a, .formation_ecole a{
    color: #008286;
    text-decoration: none;
}

.exp_entreprise a:hover, .formation_ecole a:hover{
    color: #46b5b9;
    
    text-decoration: none;

}

.exp_description, .formation_description {
    background-color: #0e183e;
    box-shadow: 0 0 7px #ced7ff;
    border-radius: 20px;
    padding: 20px;
    max-width: 35rem;
    min-width: 150px;
    width: 100%;
    height: auto;
    z-index: 8;
    font-size: 18px;
    font-family: "Rubik";
    font-weight: 300;
}

.exp_description ul {
    list-style: disc;
    margin-left: 10px;
    margin-bottom: 20px;
    line-height: 1.5em;
}

.exp_description ul li::marker{
    color: #008286;
}

.exp_description span, .formation_description span{
    color: white;
    background-color: #6553af8d;
    border-radius: 5px;
    padding: 0px 4px 0px 4px;
    white-space: nowrap;
    line-height: 1.7em;
}

@media (min-width: 860px){
    .exp_image, .formation_image{
        border: 1px solid rgba(19, 30, 54, 0.5);
        border-radius: 20px;
        background-color: #ced7ff;
        display: inline-block;
        max-width: 15rem;
        max-height: 10rem;
        height: 10rem;
        width: 100%;
        margin:-2rem auto 2rem;
        z-index: 7;
        position: relative;
    }
    .exp:nth-child(even) .exp_image, .exp:nth-child(even) .formation_image{
        margin: -2rem 25rem 2rem 0;
    }

    .exp:nth-child(odd) .exp_image, .exp:nth-child(odd) .formation_image{
        margin:-2rem 0 2rem 25rem;
    }


}

@media (max-width: 860px){
    .exp_image, .formation_image{
        border: 1px solid rgba(19, 30, 54, 0.5);
        border-radius: 20px;
        background-color: #ced7ff;
        display: inline-block;
        z-index: 7;
        position: relative;
        max-width: 15rem;
        max-height: 10rem;
        height: 10rem;
        width: 100%;
        margin:-2rem auto 2rem;

    }
}

.exp_image:hover, .formation_image:hover {
    transform: scale(1.05);
    transition: transform 0.1s ease-in-out;
    box-shadow: 0 0 10px #ced7ff;
}

.exp_image img:hover, .formation_image img:hover{
    filter: grayscale(0);
}

.exp_image img, .formation_image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(90%);
}

.exp:nth-child(even), .formation:nth-child(even){
    align-items: flex-end;
}

.exp:nth-child(even) .exp_image, .exp:nth-child(even) .formation_image{
    transform: translateX(-30px);
}

.exp:nth-child(odd) .exp_image, .exp:nth-child(odd) .formation_image{
    transform: translateX(30px); 
}

.exp:nth-child(even) .exp_image:hover, .exp:nth-child(even) .formation_image:hover{
    transform: translateX(-30px) scale(1.05);
}

.exp:nth-child(odd) .exp_image:hover, .exp:nth-child(odd) .formation_image:hover{
    transform: translateX(30px) scale(1.05);
}
