
.part{
    display:flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width:100%;
    margin-bottom: 2rem;
}

/*Partie Elem*/
.aligned-part{
    padding:2rem 0rem 3rem 0;
    background: white;
    display:flex;
    flex-wrap: wrap;
    justify-content: center;

    align-items: center;
    width:100%;
    gap:3%;
    box-sizing: border-box;
}

.elem-part{
    width:23%;
    max-width:350px;
    min-height:650px;
    padding:0rem 1rem 2rem 1rem;
    margin-bottom:2rem;

    display: flex;
    justify-content: space-between;
    flex-direction: column;

    border: 5px dashed rgb(181, 10, 10);
    background:white;
    
}
.bottom-button{
    margin-top:2rem;
}
.aide-button{
    border-radius:2px !important;
    margin-left:10px;
}
.elem-part.intro-part{
    min-height:650px;
    height:auto;
    width:30%;
    min-width: 250px;
    max-width:500px;
    max-width:100%;

    align-items: flex-start;
    margin-left:0;
    
    

}
.checked-span{
    display:flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 1rem;;
}
.elem-part svg{
    width:35px;
    vertical-align: middle
}
.elem-part-checked{
    width:25px !important;
    padding-right: 10px;
}

.elem-part img{
    align-self: center;
    width:100%;
    max-width:300px;
}
.elem-part h1{
    text-align: left;
}
.rotate-p{
    margin:10px 0 20px 0;
    padding:5px;
}
.part-title{
    font-family: 'Lato-blackitalic';
    font-size: 3rem;
    width:80%;
    color:rgb(196, 0, 0);
    margin:0;
}
.part-intro{
    font-family: sans-serif;
    font-size: 1.2rem;
    width:80%;
    color:rgb(32, 31, 31);
}
.part-intro span{
    font-weight: bold;
}

.infinite-picture {
  overflow: hidden;
  width: 100%;
  border-top: 10px dashed rgb(7, 71, 64);
  border-bottom: 10px dashed rgb(7, 71, 64);
  margin: 2rem 0 3rem 0;
}

.infinite-img {
  display: flex;
  padding: 2rem 0;
  will-change: transform; /* Optimisation par le navigateur */
}

.inf-img {
  width: 30vw;
  height: 30vw;
  margin: 1rem;
  object-fit: cover;
  border-radius: 1rem;
  flex-shrink: 0; /* Évite compression image */
}
@media(min-width:1500px){
    .aligned-part{
        align-items: center !important;
        justify-content: center;
        padding:2rem 10rem 3rem 10rem;
    }
}
@media(max-width:1000px){
    .elem-part{
        min-height:auto;
    }
}

@media(max-width:800px){
/*PARTIE PART*/
    .aligned-part{
        padding:2rem 0 2rem 0 !important;
        justify-content: center !important;
    }
    .elem-part{
        width:80% !important;
        max-width:80% !important;
    }
    .elem-part.intro-part{
        width:80% !important;
        max-width:100% !important;
    }
    .inf-img {
        width: 40vw;
        height: 40vw;
        margin: 0.5rem;
    }
}