.disp {
    display: flex;
    height: 50vh;

}
main {
    background-color: white;
    margin: 0% 0%;
    padding: 0px;
}

.desc {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
}

.annim {
    width: 60%;
    height: 100%; /* hauteur fixe = indispensable */
    position: relative;
    overflow: hidden; /* empêche tout dépassement */
}

.annim img,
.annim model-viewer {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


#suiv {
    display: flex;
    justify-content: space-between;
}

#suiv a {
  color: rgb(0, 0, 0);
  text-decoration: underline;
  text-decoration-color: rgb(0, 0, 0);
  font-size: 1.7rem;
}

#p3 {
    height: 70vh;
    display: flex;
}

.g {
    width: 50%;
    background-color: #f2e9d8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}

.g h2 {
    width: 90%;
    text-align: center;
}

.d{
    width: 50%;
    background-image: url("ImageAvantagesLunchBox.webp");
    aspect-ratio: 1/1;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.d h2 {
    font-size: 5rem;
    color: white;
    text-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.7);

}

.bor {
    border-bottom: solid 2px black;

}

.li {
    display: flex;
    flex-direction: column;
    width: 80%;
}

.elem {
    display: flex;
    justify-content: space-between;
}

.elem img {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

@media (max-width: 720px) {

    .disp {
        flex-direction: column;
        height: auto;
    }

    .desc {
        width: 100%;
        height: auto;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .annim {
        width: 100%;
        height: 60vh;
    }

    .annim model-viewer {
        width: 100%;
        height: 100%;
    }

    #suiv a {
        font-size: 1.3rem;
    }

    #p3 {
        flex-direction: column;
        height: auto;
    }

    .g {
        width: 100%;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .d {
        width: 100%;
        aspect-ratio: 1/1;
        background-size: cover;
        background-position: center;
    }

    .d h2 {
        font-size: 3rem;
    }

    .li {
        width: 90%;
        gap: 1rem;
    }

    .elem {
        justify-content: space-between;
    }

    .elem img {
        width: 2.5rem;
        height: 2.5rem;
    }
}