/***主顏色***/
:root {
  --bgColor: #FFFFFB;
  --mainColor: #82663A;
}

/***********/
.home {
  background: url(img/banner1.jpg) center no-repeat;
  background-size: cover;
  animation-name: banner;
  animation-duration: 15s;
  animation-iteration-count: infinite;
}

.about {
  background: url(img/aboutBg.jpg) center no-repeat fixed;
  background-size: cover;
}

.icon {
  width: 30%;
  margin: 10px auto 10px;
  display: flex;
}

article {
  padding: 70px 0;
}

.btn_a {
  padding: 10px 50px;
  background-color: #82663A;
  width: 30%;
  margin: auto;
  border-radius: 30px;
  color: #FFFFFB;
}

@keyframes banner {
  0% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  20% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  25% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  50% {
    background: url(img/banner2.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  55% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  65% {
    background: url(img/banner3.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  75% {
    background: url(img/banner4.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  80% {
    background: url(img/banner4.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  85% {
    background: url(img/banner5.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  90% {
    background: url(img/banner5.jpg) center no-repeat;
    background-size: 100%;
    ;
  }

  100% {
    background: url(img/banner1.jpg) center no-repeat;
    background-size: 100%;
    ;
  }
}

@media(max-width:1200px) {
  .home {
    height: calc(90vh - 100px) !important;
  }
}

@media(max-width:1000px) {
  .home {
    height: calc(76vh - 100px) !important;
  }
}

@media only screen and (max-width: 770px) {
  article {
    padding: 15px 0;
  }
}

@media(max-width:600px) {
  .home {
    height: calc(58vh - 100px) !important;
  }
}

@media(max-width:414px) {
  .home {
    height: 34vh !important;
  }
}

@media(max-width:320px) {
  header h1 img {
    width: 50% !important;
  }
}