/* 头部 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e4e4e4;
  background-color: #fff;
}

.header p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  height: 70px;
}

.header img {
  display: flex;
  height: 40px;
}

.header a {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border: 1px solid #ccc;
  border-radius: 30px;
}

.header a i {
  display: flex;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background: url("../img/home-icon.png") no-repeat center / 14px;
}

.header a span {
  display: flex;
  font-size: 14px;
  color: #000;
  line-height: 1;
}

.header b {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  padding-right: 30px;
  font-size: 15px;
  color: #2475e0;
}

/* 横幅 */
.banner {
  height: 520px;
  background: url("../img/banner.jpg") no-repeat center;
}

/* 内容 */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main .section {
  display: flex;
  flex-direction: column;
  width: 1200px;
  padding: 20px 0;
}

.main .section .title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
}

.main .section .title h2 {
  font-size: 40px;
  color: #000;
  line-height: 1;
}

.main .section .title i {
  position: relative;
  width: 60px;
  height: 30px;
  margin: 0 25px;
}

.main .section .title i:nth-of-type(1):before,
.main .section .title i:nth-of-type(2):before {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 38px;
  border-radius: 30px;
  background-color: #2475e0;
  transform: translateY(-50%) rotate(45deg);
}

.main .section .title i:nth-of-type(1):before {
  right: 10px;
}

.main .section .title i:nth-of-type(2):before {
  left: 10px;
}

.main .section .title i:nth-of-type(1):after,
.main .section .title i:nth-of-type(2):after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 26px;
  border-radius: 30px;
  background-color: #2b9bed;
  transform: translateY(-50%) rotate(45deg);
}

.main .section .title i:nth-of-type(1):after {
  left: 8px;
}

.main .section .title i:nth-of-type(2):after {
  right: 8px;
}

.main .section .list {
  display: flex;
  flex-wrap: wrap;
}

.main .section .list li {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(20% - 16px);
  margin-bottom: 25px;
  margin-right: 20px;
}

.main .section .list li:nth-child(5n) {
  margin-right: 0;
}

.main .section .list li .show {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main .section .list li .show img {
  display: block;
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.main .section .list li .show p {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 12px 12px 8px;
  border: 1px solid #e4e4e4;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.main .section .list li .show p b {
  font-size: 17px;
  line-height: 23px;
  color: #333;
}

.main .section .list li .show p span {
  margin-top: 4px;
  font-size: 14px;
  line-height: 22px;
  color: #888;
}

.main .section .list li .show p span::before {
  content: "教师：";
}

.main .section .list li .shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.75);
}

.main .section .list li .shade::before {
  content: "扫码了解详情";
  display: flex;
  padding-bottom: 12px;
  font-size: 15px;
  color: #fff;
  line-height: 1;
}

.main .section .list li .shade img {
  display: flex;
  width: 90px;
  height: 90px;
  border: 3px solid #fff;
  border-radius: 6px;
}

.main .section .list li:hover .shade {
  display: flex;
  cursor: pointer;
}

/* 底部 */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #e4e4e4;
}

.footer a,
.footer span {
  display: flex;
  margin: 0 10px;
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}
