@keyframes changeMargin {
    0% {
        top: 100px;
    }
    80%{
        top: 100px;
    }
    100% {
        top: -100vh;
    }
}

.sticky {
    position: sticky;
    width: calc(100vw - 25px * 3);
    left: 25px;
    height: calc(100vh - 100px * 2 + 20px);
    border-width: 2px;
    border-style: solid;
    border-color:rgb(255, 0, 136);
    border-radius: 5px;
    animation: changeMargin 3s linear forwards;
    animation-timeline: scroll(root);
    animation-range: 0px 410vh;
    background: transparent;

    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 使子元素纵向均匀分布 */

}
.sticky-item{
    position: relative;
    padding: 10px;
    color: rgb(255, 0, 136);
    opacity: 0;
    animation-timeline: scroll(root) !important;
    animation-range: 0px 350vh !important;
}
.sticky-title{
    font-size: calc(1vh + 1vw + 1vmin);
}
.sticky-explain{
    font-size: calc(0.5vh + 0.5vw + 1vmin);
}
@media screen and (max-width:600px){
    .sticky-explain{
        display: none;
    }
}
@media screen and (max-height:600px){
    .sticky-explain{
        display: none;
    }
}
/* @media screen and (min-width:460px) and (max-width:800px){
    .sticky-title{
        font-size: 22px;
    }
    .sticky-explain{
        font-size: 18px;
    }
}
@media screen and (min-width:800px) and (max-width:1080px){
    .sticky-title{
        font-size: 30px;
    }
    .sticky-explain{
        font-size: 22px;
    }
} */
#sticky-first{
    animation: firstScoll 3s linear forwards;
}
#sticky-second{
    animation: secondScoll 3s linear forwards;
}
#sticky-third{
    animation: thirdScoll 3s linear forwards;
}
#sticky-fouth{
    animation: fouthScoll 3s linear forwards;
}


@keyframes firstScoll {
    0% {
        left:-20px;
        opacity: 0;
    }
    20%{
        left:-20px;
        opacity: 0;
    }
    35%{
        opacity: 1;
        left:0px;
    }
    100% {
        opacity: 1;
        left:0px;
    }
}
@keyframes secondScoll {
    0% {
        left:-20px;
        opacity: 0;
    }
    40%{
        left:-20px;
        opacity: 0;
    }
    55%{
        opacity: 1;
        left:0px;
    }
    100% {
        opacity: 1;
        left:0px;
    }
}
@keyframes thirdScoll {
    0% {
        left:-20px;
        opacity: 0;
    }
    60%{
        left:-20px;
        opacity: 0;
    }
    75%{
        opacity: 1;
        left:0px;
    }
    100% {
        opacity: 1;
        left:0px;
    }
}
@keyframes fouthScoll {
    0% {
        left:-20px;
        opacity: 0;
    }
    80%{
        left:-20px;
        opacity: 0;
    }
    90%{
        opacity: 1;
        left:0px;
    }
    100% {
        opacity: 1;
        left:0px;
    }
}