/* 首页页头动效粒子 */
@keyframes slide-y {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15%);
    }

    100% {
        transform: translateY(-30%);
    }
}

.animate-slide-y {
    animation: slide-y 3s infinite alternate ease-in-out;
}

/* 线条移动效果 */
#container {
    width: 100%;
    position: relative;
}

.line {
    position: absolute;
    left: 35%;
    height: 2px;
    background-color: rgb(0, 0, 0);
    animation: drawLine 2s forwards;
    display: none;
}

@keyframes drawLine {
    0% {
        width: 0;
    }

    100% {
        width: 30%;
    }
}

/* 企业动态页面切换按钮 */
.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}