/*
filename:index.css
last edit: 2022/10/15 15:53
author:蒋中森
description：主页面样式，不含轮播图样式
*/

@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    font-family: Normal, 微软雅黑, serif;
}

body {
    height: 100vh;
    min-width: 1250px;
}

/*头部样式*/
.header {
    height: 80px;
    background-color: white;
    box-shadow: 2px 2px 12px 1px #dddddd;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 80px;
    gap: 20px;
    position: relative;
}

/*学院与学校logo的样式*/
.logo {
    flex: 0 0 200px;
    width: 120px;
    height: 65px;
    background: url(../imgs/logo.png) no-repeat center center;
    background-size: 120px 40px;
    /* position: absolute; */
    top: 5%;
    left: 18%;
    z-index: 100;
}

/*头部链接的样式*/
.header ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.header a {
    text-decoration: none;
    color: #073e86;
}

.header .first-titles > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 80px;
}

.first-titles > li:hover::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: #EA5247;
    top: 75px;
    /*left: calc(50%  - 5px);*/
}
.first-titles li a:hover{
    color: #EA5247;
}

.first-titles > li .second-titles {
    display: block;
    position: absolute;
    top: 80px;
    left: calc(50% - 50px);
    z-index: 100;
    background-color: white;
    width: 100px;
    height: 0px;
    text-align: center;
    overflow: hidden;
}

.first-titles > li:hover .second-titles {
    display: block;
    height: auto;
}

.second-titles li {
    height: 40px;
    line-height: 40px;
}

.second-titles li:hover {
    background-color: #EA5247;
}

.second-titles li:hover a {
    color: white;
}

/*头部样式结束*/

/*内容样式*/
/*每部分内容标题的样式*/
.item-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100px;
    text-align: center;
    margin-top: 50px;
}


.item-title h2  {
    font-size: 40px;
    font-weight: 500;
    margin-top: 50px;
}

.item-title p {
    font-size: 14px;
    color: #aaaaaa;
}

.item-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    gap: 80px;
}

.main-slider {
    height: 90vh;
}

.second-slider {
    width: 550px;
    height: 350px;
}

.swiper-slide {
    background: no-repeat center;
    background-size: cover;
    position: relative;
}

.swiper-slide p {
    position: absolute;
    top: 20px;
    left: 0px;
    text-indent: 2em;
}

.news-items {
    width: 600px;
    height: 400px;
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    list-style: none;
    background-color: #dddddd;
}

#notice,
#construction {
    background-color: #1760bb;

}

#notice ,
#construction .item-title h2 {
    color: black;
}

#notice .item-title h2::after,
#construction .item-title h2::after {
    background-color: white;
}

#notice .item-title p,
#construction .item-title p {
    color: white;
}
/*内容样式结束*/

/*底部样式*/
.footer {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    height: 300px;

}



.footer img{
    width: 20px;
    height: 20px;
    margin-top: 150px;
    margin-bottom: 30px;
    margin-left: 30px;
}

.footer p {
    list-style: none;
    color: #797979;
    line-height: 30px;
    /*margin-top: 150px;*/
}

.⚪{
    width: 30px;
    height: 30px;
    border: 2px solid #AAAAAA; /* 设置圆圈边框为灰色 */
    border-radius: 50%; /* 设置圆圈为圆形 */
    position: absolute;
    top: 47.2%;
    left: 49.9%;
}
.⚪2{
    width: 30px;
    height: 30px;
    border: 2px solid #AAAAAA; /* 设置圆圈边框为灰色 */
    border-radius: 50%; /* 设置圆圈为圆形 */
    position: absolute;
    top: 47.2%;
    left: 52.7%;
}
.⚪3{
    width: 30px;
    height: 30px;
    border: 2px solid #AAAAAA; /* 设置圆圈边框为灰色 */
    border-radius: 50%; /* 设置圆圈为圆形 */
    position: absolute;
    top: 47.2%;
    left: 47%;
}
/*底部样式结束*/
