.parcMachine-header{
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5%;
    padding: 20px;
    background-color: rgb(222, 222, 222);
}
.parcMachine-header p{
    font-size: 1.2rem;
    margin: 10px 0;
}
.parcMachine-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.machine {
    display: flex;
    flex-direction: column;
}
.machine-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.machine:not(:last-child) {
    margin-bottom: 40px;
}

.machine:not(:last-child)::after {
    content: "";
    display: block;
    width: 800px; /* Ajuste la largeur ici */
    height: 2px;
    background-color: var(--secondary-color);
    margin: 30px auto 0 auto; /* espace au-dessus et centrage */
    border-radius: 1px;
}
.info-machine{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px;
}
.info-machine li{
    font-size: 1.2rem;
    color: var(--primary-color);
    max-width: 700px;
    font-weight: 500;
}
.machine img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
}

.machine:nth-child(even) .machine-content {
    flex-direction: row-reverse;
}
.machine:nth-child(odd) .info-machine  {
    align-items: flex-end;
}


@media (max-width: 768px) {
    .parcMachine-header p{
        text-align: justify;
    }
    .machine {
        flex-direction: column !important;
        text-align: center;
    }
    .machine-content {
        flex-direction: column !important;
        align-items: center;
        max-width: 100%;
        height: auto; /* Permet à la hauteur de s'ajuster */
    }
    .info-machine {
        align-items: center !important;
        margin: 20px 0; /* Espace autour des informations */
    }
    .machine-content li{
        text-align: start;
    }
    .machine:not(:last-child)::after{
        width: 80%; /* Ajuste la largeur pour les petits écrans */
        margin: 20px auto; /* Espace au-dessus et centrage */
    }

    .machine img {
        max-width: 80%; /* Ajuste la taille de l'image pour les petits écrans */
        height: auto;
    }
}