/***主顏色***/
:root {
  --bgColor: #FFFFFB;
  --mainColor: #8b7046;
}

/***********/
.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;
}

.icon {
  display: flex;
  margin-left: 25%;
}

.icon a {
  margin: 3%;
  width: 15%;
}

.btn_group a {
  margin: auto;
  padding: 10px;
  width: 30%;
  letter-spacing: 2px;
  text-align: center;
  border: 1px solid #8b7046;
  background-color: #FFFFFB;
  color: #8b7046;
}

/* .gallery .box a.cross {
  width: calc(100% * 1 / 3 - 20px);
} */

.qrcodebox {
  width: 100%;
}

.qrcode {
  width: 15%;
  margin: auto;
}

.menu ol li:last-child,
.menu ol li:nth-last-child(2) {
  border-bottom: 1px solid;
}


@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;
  }
}

@media screen and (max-width: 770px) {
  .cover p {
    color: #8b7046;
    ;
  }

  .qrcode {
    width: 40%;
    margin: auto;
  }

  .gallery .box .cover {
    background-color: rgba(255, 255, 255, 0.213);
  }

  .gallery .box a.cross {
    width: calc(100% * 1.6 / 3 - 20px);
  }

  .home {
    display: flex;
    width: 100%;
    height: calc(40vh - 100px);
  }

}


@media screen and (max-width:576px) {

  .btn_group a {
    margin: auto;
    padding: 6px;
    width: 10%;
    letter-spacing: 2px;
    text-align: center;
    border: 1px solid #8b7046;
    background-color: #FFFFFB;
    color: #8b7046;
  }


  .menuSwitch img {
    width: 110%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}



@media only screen and (max-width: 500px) {
  .title {
    font-size: 32px;
    margin-bottom: 40px;
  }

}