/***主顏色***/
:root {
  --bgColor: #ffffff;
  --mainColor: #000000;
}

/***********/
.home {
  background: url(img/banner1.jpg) center no-repeat;
  background-size: cover;
  animation-name: banner;
  animation-duration: 20s;
  animation-iteration-count: infinite;
}

.about {
  background: url(img/aboutBg.jpg) center no-repeat fixed;
  background-size: cover;
}

.btn a {
  border: 2px solid #3a84df;
  border-radius: 10px;
  padding: 10px;
  width: 25%;
  text-align: center;
  margin-left: 10px;
  color: #3a84df;
  transition: 0.5s;

}

.btn a:hover {
  background-color: #3a84df;
  color: #ffffff;
}

.btngroup {
  display: flex;

}

.about .cover .text {
  width: 70%;
  padding: 80px 10%;
  margin: 0 auto;
  border: var(--mainColor) 0px solid;
  background: url(texture.png) top left repeat fixed;
  background-size: 200px;
  background-color: rgba(235, 244, 254, 0.85);
  max-width: 800px;
  color: var(--mainColor);
  text-align: center;
  border-radius: 50px;
}

.about .cover .text h4 {
  font-size: 24px;
  border-bottom: 1px dashed #3a84df;
  color: #3a84df;
}

.about .cover .text p {
  color: #383838;
}

header nav {
  position: absolute;
  top: calc(50% - 17.5px);
  right: 30px;
  width: 35px;
  height: 35px;
  background: url(img/navIconLight.svg) center no-repeat;
  background-size: cover;
  cursor: pointer;
}

.listBg {
  background-color: #f6f6f6ed;
}

.gallery .box .cover p {
  border-top: #ffffff 1px solid;
}

.gallery .box {
  width: 80%;
}

@keyframes banner {
  0% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }

  28% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }

  33% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: cover;
  }

  61% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: cover;
  }

  66% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: cover;
  }

  95% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: cover;
  }

  100% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: cover;
  }
}

header h1 img {
  width: auto;
  height: 88px;
  margin: 5px auto;
}

.menu ol {

  justify-content: center !important;

}

.menu ol li {
  justify-content: center !important;
}

.center_btn {
  margin-left: auto;
  margin-right: auto;
}

.item,
img {
  width: 100%;
  height: 100%;
}

/*響應式調整*/


@media screen and (max-width:1200px) {}

@media screen and (max-width:1025px) {
  .home {
    display: flex;
    width: 100%;
    height: calc(48vh - 100px);
  }

}

@media screen and (max-width:1024px) {
  .gallery .box {
      width: 100%;
  }
}

@media screen and (max-width:991px) {}

@media screen and (max-width:770px) {
  .home {
    display: flex;
    width: 100%;
    height: calc(51vh - 100px);
  }
}

@media screen and (max-width:576px) {
  .home {
    display: flex;
    width: 100%;
    height: calc(44vh - 100px);
  }
}

@media screen and (max-width:414px) {}

@media screen and (max-width:375px) {
  .home {
    display: flex;
    width: 100%;
    height: calc(49vh - 100px);
  }

}