.content-view {
    max-width: 1160px;
    margin: 0 auto;
}
.content-view .category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-view .category .item {
    width: 270px;
    height: 160px;
    padding: 20px;
    color: white;
    position: relative;
    cursor: pointer;
}
.content-view .category .item:hover {
    box-shadow: 0 0 5px var(--primary-color);
}

.content-view .category .item .desc {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: bold;
}



.content-view .recommend {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.content-view .recommend .item {
    width: 383px;
    height: 248px;
    margin: 1.5px;

    position: relative;
    cursor: pointer;
}
.content-view .recommend .item .image {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.content-view .recommend .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: All 0.3s ease-in-out;
}

.content-view .recommend .item .image img:hover{
    transform: scale(1.08);
}

.content-view .recommend .item .title {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.content-view .recommend .emphasize{
    background-color: var(--primary-color);
    padding: 10px;
}
.content-view .recommend .emphasize .emphasize-title {
    text-align: center;
    color: white;
    font-weight: bold;
    margin-top: 10%;
}
.content-view .recommend .emphasize .emphasize-desc {
    text-align: center;
    color: white;
    font-size: 14px;
    margin-top: 10%;
}

/*轮播图*/
.carousel-inner img {
    max-width: 1920px;
    text-align: center;
    margin: 0 auto;
}
.carousel-inner {
    text-align: center;
}
.carousel-inner .item img{
    text-align: center;
}
.carousel-inner .item .carousel-caption {
    width: 100%;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.carousel-inner .item .carousel-caption .title {
    font-size: 3em;
    font-weight: bold;
}
.carousel-inner .item .carousel-caption .sub-title {
    font-size: 1.5em;
    font-weight: bold;
}

@media (max-width: 1100px) {
    .category .item {
        width: 48% !important;
        margin: 5px;
    }

    .recommend .item {
        width: 32% !important;
    }
}

@media (max-width: 550px) {
    .category .item {
        width: 98% !important;
        margin: 5px;
    }

    .recommend .item {
        width: 98% !important;
    }
}

@media (max-width: 768px) {
    .carousel-inner .item .carousel-caption .title {
        font-size: 1.5em;
        font-weight: bold;
    }
    .carousel-inner .item .carousel-caption .sub-title {
        font-size: 1em;
        font-weight: bold;
    }
}

@media (max-width: 576px) {
    .carousel-inner .item .carousel-caption .title {
        font-size: 1em;
        font-weight: bold;
    }
    .carousel-inner .item .carousel-caption .sub-title {
        font-size: 0.5em;
        font-weight: bold;
    }
}

