/* 字体网站来自 fonts.google.com */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
  font-family: "Montserrat", sans-serif; /*设置字体，上面import引入字体*/
  scroll-behavior: smooth;
  overflow-x:hidden;
}
body {
  min-width: 1201px;
}
a {
  text-decoration: none; /* 设置a标签下划线 */
}
.container {
  min-height: 100vh; /*设置元素最小高度*/
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
img {
  height: 100%;
  object-fit: cover; /* 指定可替换元素的内容应该如何适应到其使用的高度和宽度确定的框 */
}
p {
  color: black;
  font-size: 1.4rem;
  margin-top: 5px;
  line-height: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.05rem; /* 字符间距 */
}

/* a标签按钮 */
.cta {
  display: inline-block;
  padding: 10px 30px;
  color: #0066FF;
  background-color: transparent; /*transparent 是一种颜色，透明的*/
  border: 2px solid #0066FF;
  font-size: 2rem; /*rem相对于根元素的字体大小单位，是一个相对单位*/
  text-transform: uppercase; /*更改文本显示为大写or小写*/
  letter-spacing: 0.1rem; /*设置文本字符间距*/
  margin-top: 30px;
  transition: 0.3s ease; /*过渡效果*/
  transition-property: background-color, color; /*应用过度属性的名称*/
  cursor: pointer;
  position: relative;
  top: 20px;
}
.cta:hover {
  color: white;
  background-color: #0066FF;
}
/* Header section */
#header {
  position: fixed;
  z-index: 1000;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  margin: auto;
  width: 600px;
  height: 60px;
  display: flex;
  /* 个别浏览器不生效 */
  /* justify-self: center; */ 
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(3px);
}
.brand {
  margin-top: 3px;
  padding-left: 20px;
  width: 180px;
}
.brand img {
  width: 70%;
  height: 100%;
}
#header .header {
  transition: 0.3s ease;
}
#header .nav-bar {
  display: flex;
  align-items: center;
  padding: 0 10px;
}
#header .nav-list ul {
  list-style: none;
  position: initial;
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.3s ease left;
}
#header .nav-list ul.active {
  left: 0;
}
#header .nav-list ul a {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  text-decoration: none;
  color: #707070;
  text-transform: uppercase;
  padding: 20px;
  display: block;
}
#header .nav-list ul a::after {
  content: attr(data-after);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: rgba(240, 248, 255, 0.021);
  font-size: 13rem;
  letter-spacing: 50px;
  z-index: -1;
  transition: 0.3s ease letter-spacing;
}
#header .nav-list ul li:hover a::after {
  transform: translate(-50%, -50%) scale(1);
  letter-spacing: initial;
}
#header .nav-list ul li:hover a {
  color: #3B82F6;
  text-decoration: underline;
  text-underline-offset: 10px;
}
/* End Header section */

/* hero Section */
#hero {
  background-image: url(../img/bangner@2X.png); /* 设置背景图片 */
  background-size: cover; /** 设置背景图片大小 **/
  background-position: top center; /*为每一个背景图片设置初始位置*/
  position: relative;
  /* padding-top: 200px; */
}
/* 伪元素；选中元素的最后一个子元素添加装饰内容 */

#hero .hero_img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  object-fit: fill;
}
/* website欢迎语 */
#hero .hero {
  max-width: 100vw;
  margin: 40 auto;
  padding: 100px 0;
  justify-content: center;
  position: relative;
  top: 200px;
  left: 50px;
}
.hero_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero_content .cta_zx{
  padding: 15px 55px;
  background-color: #412CDE;
  border-radius: 10px;
  color: #FFF;
  font-size: 1.6rem;
  letter-spacing: 0.3rem;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
}
.hero_content .cta_zx_logo {
  width: 40px;
  height: 40px;
  position: absolute;
  margin: 20px 0 0 10px;
}
.hero_content .cta_sy{
  font-size: 1.2rem;
  color: #594EF8;
  font-weight: 500;
}
.modal-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-overlay.active .modal-content {
  transform: scale(1);
}
.modal-overlay .dialog_qrcode_img {
  width: 400px;
  height: 600px;
}
.modal-overlay .qrcode_dialog_close {
  position: absolute;
  top: 260px;
  right: 660px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
/* End Hero Section */

/* 固定联系方式-二维码 */
.contack {
  position: fixed;
  top: 600px;
  right: 10px;
  z-index: 999;
  border-radius: 50px;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: flex-end;
}
.qrCode {
  position: relative;
}
.qrCode_img {
  width: 150px;
  height: 150px;
  padding: 10px;
}
.qrCode_logo {
  width: 35px;
  height: 35px;
  margin-right: 10px;
}
/* End - 固定联系方式-二维码 */

/* Effect */
#effect {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
#effect img {
  width: 45%;
}
/* End-Effect */

/* Advantages */
#advantages {
  width: 90%;
  background-color: #F5F5F5;
  border-radius: 20px;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 30px;
}
#advantages .advantages_title {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
#advantages .advantages_title img {
  width: 100px;
  margin-top: 1px;
}
#advantages .advantages_title span {
  font-size: 2.8rem;
  font-weight: 500;
  margin-left: 10px;
}
#advantages .content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#advantages .content img {
  width: 65%;
  margin-bottom: 40px;
}
#advantages .content_H {
  display: flex;
  justify-content: space-between;
}
/* End-Advantages */

/* advantages_why */
#advantages_why {
  width: 90%;
  margin: 50px auto;
  align-items: center;
  flex-direction: column;
  padding-top: 30px;
}
#advantages_why img{
  width: 100%;
}
/* end-advantages_why */

#signature {
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#signature .content_text {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
#signature .content_text span {
  color: #C52AFF;
}

/* Services Section  整体的服务段  施工中 */
#services .services {
  flex-direction: column; /* flex方向 */
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
}
#services .services-top {
  max-width: 500px;
  margin: 0 auto;
}
#services .service-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* 指定单行显示还是多行显示 */
  margin-top: 100px;
}
#services .book-store {
  background-image: url(../img/bookstore.jpg);
}
#services .service-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);
  opacity: 0.7;
  z-index: -1;
}
#services .col-right .icon {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}
#services .service-item h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
  text-transform: uppercase;
}
#services .service-item p {
  color: white;
  text-align: left;
}
/* End Services Section */


/* About section */
#about .about {
  flex-direction: column-reverse;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
#about .col-left {
  width: 220px;
  height: 340px;
}
#about .col-right {
  width: 100%;
}
#about .col-right h2 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
}
#about .col-right p {
  margin-bottom: 20px;
}
#about .col-right .cta {
  width: 400px;
  color: 0066FF;
  margin-bottom: 20px;
  padding: 10px 20px;
  font-size: 2rem;
  text-align: center;
}

#about .col-right .cta:hover {
  color: white;
  background-color: #0066FF;
}
#about .col-left .about-img {
  width: 86%;
  height: 90%;
  position: relative;
  border: 10px solid white;
}
#about .col-left .about-img::after {
  content: "";
  position: absolute;
  left: -33px;
  top: 19px;
  height: 98%;
  width: 98%;
  border: 7px solid #0066FF;
  z-index: -1;
}
/* End About section */

/* Login Dialog 已经弃用，换成链接*/
/* .login-shade {
  width: 100vw;
  height: 100vh;
  background-color: #bbbbbb;
  overflow: visible;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  transition: 0.3s ease;
  z-index: -2;
}
.login-shade.active {
  overflow: hidden;
  opacity: 0.6;
  z-index: 1;
}
.login-dialog {
  height: 100%;
  width: 460px;
  background-color: aquamarine;
  position: fixed;
  left: 90%;
  top: -40%;
  margin-top: 350px;
  transition: 0.5s ease left;
  z-index: 2;
}
.login-dialog.active {
  left: 72%;
} */
/* End Login Dialog 弃用*/

/* contact Section */
.contact {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-items {
  width: 80%;
  display: flex;
  flex-direction: column;
}
.contact-item {
  width: 80%;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  margin: 10px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  box-shadow: 0px 0px 18px 0 #0000002c;
  transform: 0.3s ease box-shadow;
}
.contact-item:hover {
  box-shadow: 0px 0px 5px 0 #0000002c;
}
.icon img {
  width: 40px;
  margin-right: 20px;
}
.contact-info h1 {
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-info h2 {
  font-size: 0.5rem;
  font-weight: 500;
  margin: 0;
}
/* End contact Section */

/* Footer */
#footer {
  width: 50%;
  border-top: #e7e7e7 1px solid;
  margin: 100px auto 20px;
  padding-top: 15px;
}
#footer .footer_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#footer img {
  width: 100px;
}
#footer span {
  color: #b3b3b3;
}

/* End Footer */

/* Media Query For Tablet */

/* Media Query For Desktop */
@media only screen and (min-width: 1200px) {
  #header .nav-list ul {
    position: initial;
    display: block;
    height: auto;
    width: fit-content;
    background-color: transparent;
  }
  #header .nav-list ul li {
    display: inline-block;
  }
  #header .nav-list ul li a {
    font-size: 1.8rem;
  }
  #header .nav-list ul a:after {
    display: none;
  }
  #services .service-bottom .service-item {
    flex-basis: 22%;
    margin: 1.5%;
  }
}
@media (max-width: 1200px) {
  body {
    width: 100vw;
  }
  .container {
    display: flex;
    justify-self: center;
    align-items: center;
  }
  .hero_content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #hero h1:nth-child(1) {
    font-size: 3rem;
  }
  #hero h1:nth-child(2) {
    font-size: 3rem;
  }
  #hero h1:nth-child(3) {
    font-size: 2rem;
  }
  #hero .hero_img {
    display: none;
  }
  #hero h1 {
    font-size: 2rem;
  }
  #applicationArea .applicationArea{
    padding: 0;
  }
  #applicationArea .applicationArea-info {
    align-items: center;
    width: 100%;
  }
  #applicationArea .applicationArea-info h1 {
    font-size: 3rem;
  }
  #applicationArea .applicationArea-info h2 {
    margin: 0 0 20px 0;
  }
  #applicationArea .applicationArea-img img{
    width: 80%;
    height: auto;
  }
  
  #services .service-bottom {
    margin: 20px 0;
  }
  #services .services {
    min-height: 30vh;
  }
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  .service-bottom img {
    width: 80%;
  }
  .col-right p {
    width: 85%;
    margin: 0 auto;
  }
  
  #about .section-title {
    margin-top: 80px;
  }
}

/* End Media Query For Desktop */