.banner {
    background: linear-gradient(to right, var(--back1) 0%, var(--back2) 50%, var(--back3) 100%);
    display: flex;
    justify-content: center;
}

.swiper {
    width: calc(var(--all-width) * 0.7);
    --swiper-theme-color: #fff;
    margin: 0 !important;
}

.swiper .img-box::before {
    padding-top: 40%;
}

.swiper-button-prev,
.swiper-button-next {
    filter: drop-shadow(0 0 10px #000);
}

.swiper-slide {
    position: relative;
}

.swiper-slide span {
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 2;
    text-align: center;
    padding: 10px 0;
    background-color: #00000028;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.randomBox {
    width: calc(var(--all-width) * 0.3);
    background-color: #33333379;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
}

.randomBox a {
    width: 35%;
}

.randomBox p {
    width: 80%;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 0 10px #000;
}

@media screen and (max-width:769px) {
    .swiper {
        width: 100%;
        --swiper-navigation-size: 20px;
    }

    .randomBox {
        display: none;
    }
}