* {
    padding: 0;
    margin: 0;
}

/* 禁用图片拖动 */
img {
    -webkit-user-drag: none;
    /* 禁用 Safari 和 Chrome 中的拖动 */
    user-drag: none;
    /* 禁用 Firefox 中的拖动 */
    -webkit-user-select: none;
    /* 禁用选中 */
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 禁用文本选择 */
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

h1 {
    margin-bottom: 10px;
}

.desktop {
    width: 100%;
    border-radius: 8px;
    min-height: 95vh;
    height: 100%;
    position: relative;
}

.left_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 37%;
}

.right_box {
    position: absolute;
    top: 0;
    right: 0;
    width: 37%;
}

.top {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    z-index: 1;
}

.logo {
    width: 15vw;
}

.cooperate {
    cursor: pointer;
}

.tab-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-evenly;
    animation-duration: 30s;
    /* 动画持续时间 */
    animation-timing-function: linear;
    /* 保持平滑的滚动 */
    animation-iteration-count: infinite;
}

.banner-row.left {
    animation-name: leftToRight;
}

.banner-row.right {
    animation-name: rightToLeft;
}

/* 向左滚动的动画 */
@keyframes leftToRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 向右滚动的动画 */
@keyframes rightToLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

/* 控制图片的大小和样式 */
.bannerImg {
    max-width: 160%;
    height: auto;
}


.fixed {
    position: relative;
    top: -40%;
    left: 50%;
    width: 180px;
    transform: translate(-70%, -50%);
    padding: 10px;
}

.fixed div {
    text-align: center;
}


.qrcode-box {
    position: absolute;
    top: 26%;
    left: 34%;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}