* {
    clear: both;
}

html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.main {
    padding: 0 25px;
    position: relative;
}

.main .BG-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.title {
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 20px;
}

.carousel-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: flex;
}

.carousel-slide .slide-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    /* 添加手型指针 */
}

.carousel-container .slide-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: gray;
    opacity: 0.5;
    font-size: 2rem;
    color: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    color: white;
    padding: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
}

.out-link-box {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.out-link-box .out-link-item {
    width: 45%;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0px 6px 12px 2px rgba(255, 103, 14, 0.66);
    overflow: hidden;
}

.out-link-box .out-link-item img {
    width: 100%;
    height: 100%;
}

.bottom-logo {
    width: 100%;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    color: #b4b4b4;
    margin: 100px 0;
}

.bottom-logo .logo-pg {
    width: 100%;
    height: 70px;
}

@media screen and (min-width: 1440px) {
    .carousel-container {
        height: 800px;
        height: auto;
    }

    .carousel-container .slide-btn {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .caption {
        font-size: 40px;
    }
}

@media screen and (max-width: 1440px) {
    .carousel-container {
        height: 600px;
    }

    .carousel-container .slide-btn {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .caption {
        font-size: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .carousel-container {
        height: 500px;
    }

    .carousel-container .slide-btn {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }

    .caption {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    .carousel-container {
        height: 320px;
    }

    .carousel-container .slide-btn {
        display: none;
    }

    .caption {
        font-size: 20px;
    }

    .out-link-box .out-link-item {
        height: 150px;
    }

    .bottom-logo .logo-pg {
        width: 80%;
        height: 110px;
    }
}

@media screen and (max-width: 650px) {
    .out-link-box .out-link-item {
        height: 120px;
    }

    .bottom-logo .logo-pg {
        height: 90px;
    }
}

@media screen and (max-width:500px) {
    .carousel-container {
        height: 260px;
    }

    .out-link-box .out-link-item {
        height: 100px;
    }

    .bottom-logo .logo-pg {
        height: 70px;
    }
}

@media screen and (max-width: 425px) {
    .carousel-container {
        height: 200px;
    }

    .caption {
        font-size: 10px;
    }

    .out-link-box .out-link-item {
        height: 90px;
    }

    .bottom-logo .logo-pg {
        height: 60px;
    }
}

@media screen and (max-width: 375px) {
    .out-link-box .out-link-item {
        height: 70px;
    }

    .bottom-logo .logo-pg {
        height: 55px;
    }
}

@media screen and (max-width: 350px) {
    .carousel-container {
        height: 170px;
    }

    .bottom-logo .logo-pg {
        height: 50px;
    }
}

@media screen and (max-width: 320px) {
    .out-link-box .out-link-item {
        height: 60px;
    }

    .bottom-logo .logo-pg {
        height: 45px;
    }
}

@media screen and (max-width: 300px) {
    .out-link-box .out-link-item {
        height: 55px;
    }
}