/* Styles pour l'arrière-plan défilant */
.scrolling-background {
    position: fixed;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.plant-evolution {
    position: absolute;
    right: 5%;
    height: 100%;
    width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.15;
}

.plant-stage {
    position: relative;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}

.plant-stage img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.plant-stage:nth-child(1) {
    transform: translateY(0);
}

.plant-stage:nth-child(2) {
    transform: translateY(0);
}

.plant-stage:nth-child(3) {
    transform: translateY(0);
}

.plant-stage:nth-child(4) {
    transform: translateY(0);
}

.plant-stage:nth-child(5) {
    transform: translateY(0);
}

/* Animation lors du défilement */
.plant-stage.active {
    transform: scale(1.2);
    opacity: 1;
}
