*{
    margin: 0;
    padding: 0;
}
:root {
    --main-color: #8fc320;
}
#main{
    max-width: 600px;
    margin: 0 auto;
}
.layui-elem-quote{
    border-left-color: var(--main-color);
    margin-top: 10px;
    margin-bottom: 0;
}
#header_box{
    position: relative;
}
#header{
    position: absolute;
    z-index: 999;
    width: 100%;
}
#header img{
    max-width: 50%;
}
#header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0,0,0,0.2);
    height: 50px;
}
#header a{
    color: #fff;
    margin-right: 20px;
    padding-left: 20px;
    background: url("./images/contact.png") no-repeat left top;
    background-size: 20px;
}
#banner img{
    width: 100%;
    height: 100%;
}
#news .news_box{
    padding: 10px 20px;
}
#news .news_box img{
    width: 100%;
}
#news .news_top{
    position: relative;
}
#news .news_top p{
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--main-color);
    padding: 10px;
    box-sizing: border-box;
}
#news .news_top p a{
    color: #fff;
}
#news li{
    line-height: 40px;
    overflow: hidden;
    white-space: nowrap; /* 防止文本换行 */
    text-overflow: ellipsis; /* 显示省略号 */
    background: url("./images/列表项.png")no-repeat left center;
    background-size: 20px;
    padding-left: 30px;

}
#school div{
    padding: 0 20px;
}
#school video{
    margin-top: 10px;
    border-radius: 10px;
}
#major ul{
    display: flex;
    flex-wrap: wrap;
    padding: 10px 20px;
    justify-content: space-between;
}
#major ul li{
    width: 48%;
    overflow: hidden;
    height: 130px;
    position: relative;
    margin-bottom: 10px;
}
#major ul li img{
    width: 100%;
    height: 100%;
}
#major ul li p{
    background-color: var(--main-color);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    line-height: 30px;
}
#bottom{
    height: 200px;
    background-color: var(--main-color);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#bottom .logo{
    width: 200px;
}
#bottom p{
    color: #e4e4e4;
    font-size: 11px;
    border-top: 1px solid #fff;

}
#bottom  div{
    color: #fff;
    padding-left: 30px;
}
#bottom  .d1{
    background: url("./images/电话.png") no-repeat left center;
    background-size: 20px;
}
#bottom  .d2{
    background: url("./images/地址.png") no-repeat left center;
    background-size: 20px;
}