.img-history .bg-history {
    height: 0;
}

.img-history > p {
    opacity: 0;
}

.img-history.anime .bg-history {
    height: 100%;
    transition: all 2000ms;
    transition-timing-function: cubic-bezier(0.415, 0.315, 0.13, 0.985);
}

.img-history.anime > p {
    opacity: 1;
}

.img-history.anime > p:nth-child(2) {
    transition: all 1000ms;
    transition-delay: 600ms;
}

.img-history.anime > p:nth-child(3) {
    transition: all 1000ms;
    transition-delay: 700ms;
}

.img-history.anime > p:nth-child(4) {
    transition: all 1000ms;
    transition-delay: 800ms;
}

.img-history.anime > p:nth-child(5) {
    transition: all 1000ms;
    transition-delay: 900ms;
}

.img-history.anime > p:nth-child(6) {
    transition: all 1000ms;
    transition-delay: 1000ms;
}

.img-history.anime > p:nth-child(7) {
    transition: all 1000ms;
    transition-delay: 1100ms;
}

.img-history.anime > p:nth-child(8) {
    transition: all 1000ms;
    transition-delay: 1200ms;
}

.img-history.anime > p:nth-child(9) {
    transition: all 1000ms;
    transition-delay: 1300ms;
}
