@import url("https://fonts.googleapis.com/css?family=Roboto");
@import url("https://fonts.googleapis.com/css?family=Source+Serif+Pro");
.main {
  margin-top: 150px;
}

.top {
  height: unset;
}
.top-slogn {
  position: relative;
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.select {
  padding: 50px 0;
  text-align: center;
  color: #888;
}
.select li {
  display: inline-block;
  padding: 0 20px;
}
.select-tw {
  padding-top: 15px;
  opacity: 0;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
}
.select-en {
  position: relative;
  font-size: 18px;
}
.select-en:before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #decd9c;
  position: absolute;
  left: 50%;
  bottom: -12px;
  opacity: 0;
  -moz-transform: translateX(-50%) scale(0);
  -ms-transform: translateX(-50%) scale(0);
  -webkit-transform: translateX(-50%) scale(0);
  transform: translateX(-50%) scale(0);
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.select-en:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #decd9c;
  position: absolute;
  left: 0;
  bottom: -10px;
  opacity: 0;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  -moz-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
}
.select a {
  color: #fff;
}
.select a:hover .select-tw {
  opacity: 1;
}
.select a:hover .select-en:before {
  opacity: 1;
  -moz-transform: translateX(-50%) scale(1);
  -ms-transform: translateX(-50%) scale(1);
  -webkit-transform: translateX(-50%) scale(1);
  transform: translateX(-50%) scale(1);
}
.select a:hover .select-en:after {
  opacity: 1;
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

.on {
  position: relative;
}
.on:before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #decd9c;
  position: absolute;
  left: 50%;
  bottom: -12px;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.on:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #decd9c;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.gallery {
  padding: 0 0 50px;
}
.gallery-box {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
}
.gallery a {
  display: block;
  width: 25%;
  position: relative;
}
.gallery a:hover .gallery-content {
  background: rgba(245, 237, 210, 0.75);
  border: 0px;
  border-radius: 50%;
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}
.gallery a:hover .gallery-pic {
  background: #decd9c;
  padding: 0;
}
.gallery a:hover .gallery-title-tw {
  opacity: 1;
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.gallery a:hover .gallery-line {
  width: 50px;
  opacity: 1;
  margin: 0 auto 10px;
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.gallery a:hover .gallery-explore {
  opacity: 1;
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.gallery-list {
  display: flex;
  align-items: stretch;
}
.gallery-pic, .gallery-content {
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #decd9c;
  margin: 10px;
}
.gallery-pic {
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.gallery-pic img {
  width: 100%;
}
.gallery-content {
  position: absolute;
  top: 0;
  height: calc(100% - 20px);
  width: calc(100% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.gallery-title-tw {
  font-size: 16px;
  padding: 10px;
  color: #523608;
  opacity: 0;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  -moz-transition: -moz-transform 0.5s, opacity 0.3s;
  -o-transition: -o-transform 0.5s, opacity 0.3s;
  -webkit-transition: -webkit-transform 0.5s, opacity 0.3s;
  transition: transform 0.5s, opacity 0.3s;
}
.gallery-explore {
  color: #a07e3e;
  opacity: 0;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  -moz-transition: -moz-transform 0.8s, opacity 0.3s;
  -o-transition: -o-transform 0.8s, opacity 0.3s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.3s;
  transition: transform 0.8s, opacity 0.3s;
}

.select {
  opacity: 0;
  -moz-transition: opacity 1s;
  -o-transition: opacity 1s;
  -webkit-transition: opacity 1s;
  transition: opacity 1s;
  -moz-transition-delay: 0.8s;
  -o-transition-delay: 0.8s;
  -webkit-transition-delay: 0.8s;
  transition-delay: 0.8s;
}
.select.show {
  opacity: 1;
}

.gallery-list {
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 1s, -moz-transform 0.8s;
  -o-transition: opacity 1s, -o-transform 0.8s;
  -webkit-transition: opacity 1s, -webkit-transform 0.8s;
  transition: opacity 1s, transform 0.8s;
}
.gallery-list.show {
  opacity: 1;
  -moz-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
}

@media screen and (max-width: 1400px) {
  .gallery-box {
    width: 90%;
  }
}
@media screen and (max-width: 1100px) {
  .gallery a {
    width: 33.3333%;
  }
  .gallery-title-tw {
    font-size: 15px;
  }
  .gallery-content {
    display: none;
  }
}
@media screen and (max-width: 860px) {
  .gallery a {
    width: 50%;
  }
}
@media screen and (max-width: 720px) {
  .select {
    padding: 30px 0;
  }
  .select ul {
    display: block;
  }
}
@media screen and (max-width: 640px) {
  .gallery a {
    width: 80%;
    margin: auto;
  }
}
@media screen and (max-width: 460px) {
  .gallery a {
    width: 100%;
    margin: auto;
  }
}
