.swiper {
    width: 95vw;
    height: 50vh;
}

@media (max-width: 767px) {
    .swiper {
        max-height: 280px;
    }
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide a {
    width:100%;
    height: 50vh;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide .mui-slider-title {
    background-color: #5b5555;
    color: white;
}

/* 四个图标的菜单 */
.menulist{
    display: flex;
    width: 95vw;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    background: #fff;
    margin-bottom: 10px;
    min-height: 10vh;
}

.menulist .item{
    width: 25%;
    text-align: center;
}

.menulist .item a{
    color: #000;
    font-size: 1rem;
}

.menulist .item img{
    width: 4rem;
    margin-bottom: 10px;
}

/* 精选课程 */
.list{
    margin: 5vh auto 0;
    max-width: 90vw;
    background: #fff;
    padding: 10px 0 0;
}

.list > .title{
    padding-left: 30px;
    line-height: 8vh;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.list ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 10px;
}

.list ul li{
    box-shadow: 0px 0px 10px 0px #ccc;
    /* width: 25vw; */
    padding: 10px;
    margin-bottom: 10px;
}


@media (max-width: 768px) {
    .list ul li{
        width: 40vw;
    }
}

@media (min-width: 769px) {
    .list ul li {
        width: calc(100% / 3);
    }
}

.list ul li a{
    width:100%;
}

.list .imgs {
    height: 25vh;
}

.list .imgs img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.list .mui-media-body{
    margin-top: 10px;
    color: #333;
    font-weight: bold;
}

.list ul li .info{
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    align-items: center;
}

.list li .info img{
    width: 15px;
    margin-top: -5px;
}

.list li .info .price{
    color: red;
}

.list li .info .like{
    color: red;
}


.list.teacher .imgs{
    /* width: 153px; */
    height: 25vh;
    width:100%;
}

.list.teacher li .info .num{
    color: red;
}

.list.teacher li .info img{
    margin-top: -3px;
}
