/***主顏色***/
:root {
  --bgColor: rgb(13, 13, 13);
  --mainColor: #e45008;
}

/***********/
.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;
}

header h1 img {
  height: 150px;
  margin: -16px auto;
}

.menu h3 {
  text-align: center;
  margin-bottom: 50px;
}

.slick-slide img {
  width: 100%;
  transform: scale(0.85);
}

.prostyle {
  width: 80%;
  margin: auto;
}

:focus {
  outline: 0px;
}

.slick-prev:before {
  content: '' !important;
  width: 25px;
  height: 25px;
  background: url(./img/slick_prev.png) no-repeat;
  display: block;
  background-size: contain;
}

.slick-next:before {
  content: '' !important;
  width: 25px;
  height: 25px;
  background: url(./img/slick_next.png) no-repeat;
  display: block;
  background-size: contain;
}

.item2 {
  float: left;
  width: 50%;
  padding: 0 2%;
  margin: 0 auto 30px;

}

.gallery .box a.cross {
  width: calc(100% * 1 / 3 - 20px);
}

.fb-post {
  width: 500px;
}

.about a {
  font-weight: bold;
  border-style: solid;
  border-width: 3px;
  color: #e45008;
  padding: 8px;
}

@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) {
  header h1 img {
    height: 128px;
  }

  .video {
    width: 90%;
  }

  .fb-video {
    width: 500px;
  }

  .gallery .box a.cross {
    width: calc(100% * 3 / 3 - 20px);
  }
}