):before {
animation:grow .5s ease-in-out normal forwards;
animation-delay:3.9s;
}

details[open] summary ~ ul li:nth-child(40) div,details[open] summary ~ ul li:nth-child(40) div:before {
animation:sweep .5s ease-in-out normal forwards;
animation-delay:3.9s;
}

details[open] summary ~ ul li:nth-child(40):before {
animation:grow .5s ease-in-out normal forwards;
animation-delay:4s;
}

details[open] summary ~ ul li:nth-child(41) div,details[open] summary ~ ul li:nth-child(41) div:before {
animation:sweep .5s 