.header, .footer {
  display: none;
}

.title {
  margin-bottom: 30px;
}
.title.show:after {
  width: 10px;
}
.title:after {
  content: "";
  width: 0px;
  height: 3px;
  background: #BDA991;
  display: block;
  margin-top: 30px;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}

.text.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.project-name {
  color: #000;
  position: fixed;
  width: 100%;
  text-align: center;
  top: 15px;
  line-height: 30px;
  opacity: 0;
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.project-name.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.project-photos {
  position: fixed;
  bottom: 60px;
  margin: 0 50px;
  width: calc(100% - 100px);
}
.project-photos img {
  width: 100%;
}
.project-num {
  position: fixed;
  width: 100%;
  text-align: center;
  bottom: 15px;
  font-size: 0.875em;
}
.project-line {
  width: 20px;
  height: 1px;
  background: #BDA991;
  display: inline-block;
  margin: 5px 7px;
}
.project-arrow {
  cursor: pointer;
  position: fixed;
  top: 50%;
}
.project-prev, .project-next {
  width: 30px;
  height: 30px;
  border: 1px solid #BDA991;
}
.project-prev span, .project-next span {
  position: absolute;
  top: 6px;
  padding: 0 3px 0 5px;
  font-size: 0.875em;
  color: #BDA991;
  background: #FFF;
  text-shadow: 1px 1px 5px #FFF;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.project-prev {
  position: fixed;
  left: 75px;
}
.project-prev:hover:before {
  -moz-animation: prev-line 2s infinite;
  -webkit-animation: prev-line 2s infinite;
  animation: prev-line 2s infinite;
}
.project-prev:hover:after {
  left: 10px;
}
.project-prev:hover span {
  opacity: 0;
}
.project-prev:before {
  content: "";
  width: 95px;
  height: 1px;
  background: #BDA991;
  position: absolute;
  top: 50%;
  left: -80px;
}
.project-prev:after {
  content: "";
  width: 9px;
  height: 9px;
  background: #BDA991;
  position: absolute;
  top: 50%;
  left: 26px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: left 0.4s;
  -o-transition: left 0.4s;
  -webkit-transition: left 0.4s;
  transition: left 0.4s;
}
.project-prev span {
  right: 45px;
}
.project-next {
  position: fixed;
  right: 75px;
}
.project-next:hover:before {
  -moz-animation: next-line 2s infinite;
  -webkit-animation: next-line 2s infinite;
  animation: next-line 2s infinite;
}
.project-next:hover:after {
  right: 10px;
}
.project-next:hover span {
  opacity: 0;
}
.project-next:before {
  content: "";
  width: 95px;
  height: 1px;
  background: #BDA991;
  position: absolute;
  top: 50%;
  right: -80px;
}
.project-next:after {
  content: "";
  width: 9px;
  height: 9px;
  background: #BDA991;
  position: absolute;
  top: 50%;
  right: 26px;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  -moz-transition: right 0.4s;
  -o-transition: right 0.4s;
  -webkit-transition: right 0.4s;
  transition: right 0.4s;
}
.project-next span {
  left: 45px;
}
.project-content {
  position: relative;
  margin-top: 100vh;
  min-height: 100vh;
  z-index: 5;
  background: #f2f2f2;
  display: -ms-flexbox;
  display: flex;
}
.project-inner {
  position: relative;
  padding: 80px 10vw;
  max-width: 1100px;
  margin: auto;
}
.project-back {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.875em;
  font-family: "Tenor Sans", "Abel", sans-serif;
  opacity: 0;
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.project-back.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@-moz-keyframes prev-line {
  0% {
    width: 95px;
    left: -75px;
  }
  50% {
    width: 0;
    left: 10px;
  }
  50.1% {
    width: 0;
    left: -75px;
  }
  100% {
    width: 95px;
    left: -75px;
  }
}
@-webkit-keyframes prev-line {
  0% {
    width: 95px;
    left: -75px;
  }
  50% {
    width: 0;
    left: 10px;
  }
  50.1% {
    width: 0;
    left: -75px;
  }
  100% {
    width: 95px;
    left: -75px;
  }
}
@keyframes prev-line {
  0% {
    width: 95px;
    left: -75px;
  }
  50% {
    width: 0;
    left: 10px;
  }
  50.1% {
    width: 0;
    left: -75px;
  }
  100% {
    width: 95px;
    left: -75px;
  }
}
@-moz-keyframes next-line {
  0% {
    width: 95px;
    right: -75px;
  }
  50% {
    width: 0;
    right: 10px;
  }
  50.1% {
    width: 0;
    right: -75px;
  }
  100% {
    width: 95px;
    right: -75px;
  }
}
@-webkit-keyframes next-line {
  0% {
    width: 95px;
    right: -75px;
  }
  50% {
    width: 0;
    right: 10px;
  }
  50.1% {
    width: 0;
    right: -75px;
  }
  100% {
    width: 95px;
    right: -75px;
  }
}
@keyframes next-line {
  0% {
    width: 95px;
    right: -75px;
  }
  50% {
    width: 0;
    right: 10px;
  }
  50.1% {
    width: 0;
    right: -75px;
  }
  100% {
    width: 95px;
    right: -75px;
  }
}
@media screen and (max-width: 1100px) {
  .project-name {
    position: relative;
    margin: 15px 0;
    top: unset;
  }
  .project-photos {
    position: relative;
    bottom: unset;
    width: unset;
    margin: unset;
    padding: 0 50px;
  }
  .project-photos img {
    margin-bottom: 20px;
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    -moz-transition: clip-path 0.6s;
    -o-transition: clip-path 0.6s;
    -webkit-transition: clip-path 0.6s;
    transition: clip-path 0.6s;
  }
  .project-photos img.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .project-control {
    display: none;
  }
  .project-content {
    height: unset;
    min-height: unset;
    margin-top: 60px;
  }
  .project-inner {
    padding: 60px 50px;
  }
}
@media screen and (max-width: 640px) {
  .project-photos {
    padding: 0 20px;
  }
  .project-content {
    margin-top: 40px;
  }
  .project-inner {
    padding: 40px 20px;
  }
}
