.homepage{
    width: 100%;
    margin: 0 auto;
}
.homepage-bg{
    height: 100vh;
    background:url(../assets/homepage/home_bg.jpg) no-repeat center;
    background-size: cover;
}
.homepage .main{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 90%;
    margin: 0 auto;
    height: 100vh;
}
.homepage .main>div{
    flex: 1;
    margin:0 20px;
}
.homepage .main>.intro-image>img{
    width: 100%;
}
.cooperation{
    display: flex;
    align-items: center;
    justify-content:center;
    width: 90%;
    margin: 0 auto;
}
.cooperation>div{
    flex: 1;
    padding: 20px;
}
.cooperation>div>img{
    width: 79%;
}
.module{
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
.module .content{
    display: flex;
    align-items: center;
}
.module .content>div:nth-child(1){
    flex: 3;
}
/*.module .content>div:nth-child(2){
    flex: 2;
}*/
.swiper{
    position: relative;
}
.swiper>.bg{
    width: 50%;
    height: 500px;
    width: 50%;
    background: linear-gradient(90deg, rgba(216, 89, 255, 1), rgba(157, 81, 234, 1));
    z-index: -1 !important;
    border-radius: 5px;
}
.swiper img{
    height: 300px;
    width: 500px;
    border-radius: 5px;
}
.slider{
    height: 300px;
    width: 500px;
    margin-left: 80px;
    position: absolute;
    top:100px;
}
.slick-slider{
    position: absolute !important;
}
.swiper ul{
    width: 100%;
}
.swiper ul>li{
    position: absolute;
    top:100px;
}
.plan-list>a{
    display: flex;
    align-items: center;
    text-align: left;
    padding: 20px;
}
.plan-list>a.selected,.plan-list>a:hover{
    background-color: rgba(250,250,250,1);
}
.plan-list>a img{
    width: 35px;
    height: 35px;
}
.plan-list>a>div:nth-child(1){
    width: 100px;
}
.plan-list>a>div:nth-child(2)>p:nth-child(1){
    font-weight: 700;
    font-size: 20px;
}
.plan-list>a>div:nth-child(2)>p:nth-child(2){
    font-size: 16px;
    color: rgb(153, 153, 153);
    margin-top: 10px;
    line-height: 24px;
}
.eg-class-list{
    margin-top: 20px;
}
.eg-class-list>li{
    display: inline-block;
    line-height: 30px;
    padding: 0 20px;
    color: rgb(102, 102, 102);
}
.eg-class-list>li.selected{
    color: rgb(28, 181, 21);
}
.eg-class-list>li:hover{
    color: rgb(28, 181, 21);
    cursor: pointer;
}
.info{

}
.example-list{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.example-list>div{
    width: 30%;
    margin: 20px;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}
.example-list>div:hover{
    cursor: pointer;
}
.example-list>div:hover img{
    object-fit: cover;
    transform: scale(1.2); /* 鼠标悬停时放大1.5倍 */
}
.example-list>div:hover .example-desc{
    animation: fadeIn 1s forwards;
}
.example-list>div img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.example-desc{
    position: absolute;
    width: 100%;
    height: 200px;
    left: 0;
    top:0;
    background-color: rgba(0,0,0,.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 700;
    line-height: 200px;
    opacity: 0;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.example-desc>p{
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 显示省略符号来表示溢出的内容 */
    white-space: nowrap; /* 防止文本换行 */
}
li{
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 显示省略符号来表示溢出的内容 */
    white-space: nowrap; /* 防止文本换行 */
}
@keyframes fadeIn {
    from {
        opacity: 0; /* 初始状态：完全透明 */
    }
    to {
        opacity: 1; /* 结束状态：完全不透明 */
    }
}
.datas{
    display: flex;
    align-items: center;
    margin-top: 40px;
}
.datas>div{
    flex: 1;
}
.datas>div>p:nth-child(1){
    font-size: 40px;
    line-height: 60px;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.datas>div>p:nth-child(2){
    font-size: 16px;
    line-height: 40px;
    color: rgb(153, 153, 153);
}
.datas>div>p:nth-child(1):hover{
    font-size: 46px;
    transform: scale(1.2); /* 鼠标悬停时放大1.2倍 */
    cursor:default;
}
.module-list{
    display: flex;
    margin-top: 40px;
}
.ex-list-row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.ex-list-row>div{
    width: calc(33% - 40px);
    margin: 20px;
    border:1px solid rgb(243,243,243);
    position: relative;
}
.ex-list-row>div>div:nth-child(1){
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.ex-list-row>div img{
    width: 100%;
    height: 180px;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.ex-list-row>div>p:nth-child(2){
    line-height: 40px;
}
.ex-list-row>div .view{
    position: absolute;
    width: 100%;
    height: 180px;
    left: 0;
    top:0;
    background-color: rgba(0,0,0,.5);
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.ex-list-row>div:hover img{
    transform: scale(1.2); /* 鼠标悬停时放大1.2倍 */
    overflow: hidden;
    object-fit: cover;
}
.ex-list-row>div:hover .view{
    animation: fadeIn 1s forwards;
}
.ex-list-row>div:hover .view p{
    animation: fadeUp 1s forwards;
}
.ex-list-row>div .view p{
    height: 40px;
    line-height: 40px;
    border: solid 1px #fff;
    padding: 0 40px;
    display: inline-block;
    border-radius: 40px;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}
.ex-list-row>div .view p:hover{
    cursor: pointer;
}
@keyframes fadeUp {
    from {
        margin-top: 180px;
    }
    to {
        margin-top: 70px; /* 结束状态：完全不透明 */
    }
}
.class-list p{
    font-weight: 700;
    font-size: 40px;
}
.class-list ul li{
    line-height: 40px;
    font-size: 16px;
    font-weight: 700;
    color: rgb(153, 153, 153);
}
.class-list ul li.selected{
    font-weight: 400;
}
.class-list ul li:hover{
    font-weight: 400;
    cursor: pointer;
}
.study{
    position: relative;
}
.study .more{
    position: absolute;
    top:0;
    right: 0;
    font-size: 16px;
    color: rgb(161, 157, 157);
    display: inline-block;
    padding: 0 20px;
    line-height: 40px;
}
.study .more:hover{
    color: rgb(50, 186, 27);
    cursor: pointer;
    background-color:rgb(53, 125, 40);
    border-radius: 20px;
}
.study-list{
    margin-top: 20px;
}
.study-list li{
    display: inline-block;
    line-height: 40px;
    padding: 0 20px;
    color: rgba(105, 202, 114, 0.8);
}
.study-list li.selected,
.study-list li:hover{
    color: #fff;
    background-color: rgb(105, 202, 114);
    cursor: pointer;
}
.lesson{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.lesson-item{
    /*flex: 1;*/
    width: 31%;
    border: rgb(239, 239, 239) solid 1px;
    padding: 16px;
    margin: 10px 10px 10px 0;
}
.lesson-item:first-child{
    /*margin-left: 0;*/
}
.lesson-item:last-child{
    /*margin-right: 0;*/
}
.lesson-item:hover{
    cursor: pointer;
}
.lesson-title{
    font-size: 18px;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lesson-desc{
    font-size: 14px;
    margin-bottom: 10px;
    color: rgb(153, 153, 153);
}
.lesson-time{
    color: rgb(136, 136, 136);
    font-size: 13px;
    margin-bottom: 10px;
}
.lesson-more{
    color:rgb(153, 153, 153);
    font-size: 14px;
}
.join-us{
    margin-top: 80px;
    height: 500px;
    background: url(/assets/homepage/home_bg.jpg) no-repeat center;
    background-size: 100% 100%;
    display: flex;
}
.join-us-content{
    flex: 1;
    align-items: center;
    text-align: center;
}
.class-list{
    min-width: 24%
}
.module-ex-list{
    min-width: 76%
}
/* 手机屏幕 */
@media screen and (max-width: 767px) {
    body{
        overflow-x: hidden;
    }
    .homepage .main{
        display: block;
    }
    .homepage .intro-desc{
        padding-top: 40px !important;
    }
    .homepage-bg{
        height: unset;
        background: unset;
    }
    .homepage .main{
        height: unset;
    }
    .homepage .main .common-btn{
        display: inline-block;
        margin: 30px auto;
    }
    .cooperation{
        flex-wrap: wrap;
        justify-content: left;
        margin-top: 20px;
    }
    .cooperation>div{
        width: 33%;
        flex: unset;
        padding: 8px;
    }
    .module .content{
        display: block;
        margin-top: 40px;
    }
    .swiper img{
        width: calc(100% - 80px);
        height: 200px;
    }
    .swiper>.bg{
        height: 400px;
    }
    .plan-list{
        margin: 20px;
    }
    .plan-list>a>div:nth-child(1){
        width: unset;
        margin-right: 20px;
    }
    .eg-class-list>li{
        padding: 0 5px;
    }
    .example-list{
        flex-wrap: wrap;
    }
    .example-list>div{
        flex: unset;
        width: calc(50% - 16px);
        margin: 8px;
    }
    .datas>div>p:nth-child(1){
        font-size: 18px;
        line-height: 24px;
    }
    .module-list{
        display: block;
    }
    .ex-list-row{
        flex-wrap: wrap;
    }
    .ex-list-row>div{
        flex: unset;
        width: calc(50% - 16px);
        margin: 8px;
    }
    .study-list li{
        padding: 0 10px;
    }
    .study{
        padding: 0 10px;
    }
    .lesson{
        display: block;
    }

    .lesson-item{
        margin:10px 0;
        width: 100%;
    }
    .join-us{
        display: block;
        background: unset;
        height: unset;
        margin-top: unset;
    }
}
