.header {
    width: 100%;
    min-width: 1480px;
    /*top: 0;*/
    /*left: 0;*/
    background-image: url("../img/img5.jpeg");
    background-size: cover;
    height: 80px;
    z-index: 3;
    /*position: fixed;*/
}

.danmu-wall {
    /*position: fixed;*/
    top: 0;
    left: 0;
    min-width: 1480px;
    width: 100vw;
    height: 100vh;
    min-height: 880px;
    background: url('../img/img5.jpeg') center/cover no-repeat;
    z-index: 1;
}

.danmu-item {
    position: absolute;
    white-space: nowrap;
    font-size: 20px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    animation: danmuMove 8s linear;
    z-index: 2;
}

@keyframes danmuMove {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}
.bubble{
    width: 100%;
    min-width: 1480px;
    display: flex;
    justify-content: center;
}
.form-container {
    /*position: fixed;*/
    position: absolute;
    bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    z-index: 3;
    display: flex;
    gap: 10px;
    min-width: 500px;
}

.danmu-input {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    width: 300px;
    background: rgba(255, 255, 255, 0.7);
}

.danmu-submit {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 71, 87, 0.7);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.danmu-submit:hover {
    background: #ff6b81;
}
