.project-inner {
  padding: 0 70px;
}
.project-sort {
  padding: 0 10px;
}
.project-sort-title {
  font-family: "Montserrat", Arial, Helvetica;
  color: #000;
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 10px;
  width: fit-content;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.8s ease-in-out;
  -o-transition: clip-path 0.8s ease-in-out;
  -webkit-transition: clip-path 0.8s ease-in-out;
  transition: clip-path 0.8s ease-in-out;
}
.project-sort-title.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.project-sort-title:after {
  content: "";
  width: 50px;
  height: 1px;
  background: #666;
  display: inline-block;
  margin-left: 10px;
}
.project-sort a {
  margin-right: 20px;
  display: inline-block;
  width: fit-content;
  opacity: 0;
  -moz-transition: color 0.4s ease-in-out, opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: color 0.4s ease-in-out, opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: color 0.4s ease-in-out, opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: color 0.4s ease-in-out, opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.project-sort a.show {
  opacity: 1;
}
.project-sort a:nth-child(2) {
  -moz-transition-delay: 0s;
  -o-transition-delay: 0s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.project-sort a:nth-child(3) {
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.project-sort a:last-child {
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.project-sort a .en {
  font-size: 0.75rem;
  font-family: "Montserrat", Arial, Helvetica;
  margin-left: 5px;
}
.project-sort a .tw {
  font-size: 0.75rem;
}
.project-sort a:hover {
  color: #000;
}
.project-sort a.active {
  color: #000;
}
.project-sort a.active .project-sort-arrow {
  border-left: #000 solid 5px;
}
.project-sort-btn {
  position: relative;
  padding-right: 12px;
}
.project-sort-arrow {
  border-left: #666 solid 5px;
  border-top: transparent solid 4px;
  border-bottom: transparent solid 4px;
  position: absolute;
  right: 0;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: border-left 0.4s ease-in-out;
  -o-transition: border-left 0.4s ease-in-out;
  -webkit-transition: border-left 0.4s ease-in-out;
  transition: border-left 0.4s ease-in-out;
}
.project-list {
  overflow: hidden;
}
.project-item {
  width: 33.3333%;
  box-sizing: border-box;
  padding: 0 10px;
  margin-top: 50px;
}
.project-item a:hover .project-content:after {
  -moz-animation: projectImg 0.8s ease-out;
  -webkit-animation: projectImg 0.8s ease-out;
  animation: projectImg 0.8s ease-out;
}
.project-item a:hover .project-img > img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.project-img {
  overflow: hidden;
  position: relative;
}
.project-img > img {
  width: 100%;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
  -moz-transition: filter 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: filter 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: filter 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: filter 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.project-award {
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  padding: 3px;
}
.project-award img {
  height: 33px;
  float: right;
  margin: 3px;
}
.project-content {
  padding-top: 10px;
  padding-bottom: 15px;
  position: relative;
}
.project-content.show:before {
  width: 100%;
}
.project-content.show .project-type, .project-content.show .project-name {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.project-content.show .project-btn {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.project-content:before {
  content: "";
  width: 0%;
  height: 1px;
  background: #ccc;
  position: absolute;
  left: 0;
  bottom: 0;
  -moz-transition: width 0.8s ease-in-out;
  -o-transition: width 0.8s ease-in-out;
  -webkit-transition: width 0.8s ease-in-out;
  transition: width 0.8s ease-in-out;
}
.project-content:after {
  content: "";
  width: 0;
  height: 1px;
  background: #999;
  position: absolute;
  left: 0;
  bottom: 0;
}
.project-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: #999;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.project-type.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-name {
  color: #000;
  letter-spacing: 0.4rem;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.project-name.show {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.project-btn {
  margin-left: auto;
  opacity: 0;
  -moz-transform: translateX(-30px);
  -ms-transform: translateX(-30px);
  -webkit-transform: translateX(-30px);
  transform: translateX(-30px);
  -moz-transition: opacity 0.8s ease-in-out, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.8s ease-in-out, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}
.project-btn.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@-moz-keyframes projectImg {
  0% {
    left: 0;
    width: 0%;
  }
  30% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0;
  }
}
@-webkit-keyframes projectImg {
  0% {
    left: 0;
    width: 0%;
  }
  30% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0;
  }
}
@keyframes projectImg {
  0% {
    left: 0;
    width: 0%;
  }
  30% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 0;
  }
}
@media screen and (max-width: 1100px) {
  .project-inner {
    padding: 0 50px;
  }
  .project-item {
    width: 50%;
  }
}
@media screen and (max-width: 800px) {
  .project-sort-title {
    font-size: 1rem;
  }
  .project-sort a {
    display: block;
    margin: 2px 0 2px 2px;
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  .project-sort a.show {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .project-sort-btn {
    padding-left: 15px;
    padding-right: unset;
  }
  .project-sort-arrow {
    right: unset;
    left: 0;
  }
  .project-name {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 640px) {
  .project-inner {
    padding: 0 30px;
  }
  .project-sort {
    padding: unset;
  }
  .project-item {
    width: 100%;
    padding: unset;
    margin-top: 40px;
  }
  .project-btn {
    margin-top: 5px;
  }
}
