
.exhibition-wrap {
  background: #cecece;
  .icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
  }

  .btn {
    position: relative;
    border: 0;
    box-shadow: none;
    background: none;
    width: 40px;
    cursor: pointer;

    &::before {
      position: absolute;
      color: #fff;
      top: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      font-family: "Ionicons";
      font-size: 60px;
      display: block;
      -webkit-transition: all 0.3s ease;
      transition: all 0.3s ease;
    }
    &--nav-left {
      &::before {
        content:"\f3d5";
        left: 5px;
        -webkit-transition: all 350ms ease;
        transition: all 350ms ease;
      }
      &:hover {
        &::before {
          left: -10px;
        }
      }
    }
    &--nav-right {
      &::before {
        content: '\f3d6';
        right: -10px;
        -webkit-transition: all 350ms ease;
        transition: all 350ms ease;
      }
      &:hover {
        &::before {
          right: -25px;
        }
      }
    }
  }
  .btn:focus {
    outline: none;
  }
  .btn:hover {
    color: #1b1b1b;
  }
  .btn--nav {
    font-size: 2em;
    pointer-events: auto;
  }
  .nav-icon--right {
    -webkit-transform: scale3d(-1, -1, 1);
    transform: scale3d(-1, -1, 1);
  }
  .nav__triangle,
  .nav__line {
    -webkit-transition: transform 0.3s;
    transition: transform 0.3s;
    fill: currentColor;
  }
  .btn--nav:hover .nav__triangle {
    -webkit-transform: translate3d(-54px, 0, 0);
    transform: translate3d(-54px, 0, 0);
  }
  .btn--nav:hover .nav__line {
    -webkit-transform: translate3d(17px, 0, 0);
    transform: translate3d(17px, 0, 0);
  }
  .btn--info {
    margin: 0 2em 0 auto;
  }
  .btn--toggle.btn--active {
    z-index: 100;
    color: #fff;
  }
  .btn--toggle.btn--active:hover {
    color: #1f1f21;
  }
  .btn--toggle .icon:nth-child(2),
  .btn--toggle.btn--active .icon:first-child {
    display: none;
  }
  .btn--toggle.btn--active .icon:nth-child(2) {
    display: block;
  }
  .container-wrap {
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    perspective: 2000px;
  }
  .scroller {
    height: 100%;
    transform-style: preserve-3d;
  }
  .room {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    margin: -50vh 0 0 -50vw;
    pointer-events: none;
    opacity: 0;
    transform-style: preserve-3d;
  }
  .room--current {
    pointer-events: auto;
    opacity: 1;
  }
  .room__side {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
  }
  .room__side--left,
  .room__side--right {
    width: 4000px; /* depth */
    height: 100vh;
    background: #eee;
  }
  .room__side--back {
    width: 100vw;
    height: 100vh;
    background: #e9e9e9;
    box-shadow: 0 0 0 2px #e9e9e9;
    -webkit-transform: translate3d(0, 0, -4000px) rotate3d(1, 0, 0, 0.1deg) rotate3d(1, 0, 0, 0deg);
    transform: translate3d(0, 0, -4000px) rotate3d(1, 0, 0, 0.1deg) rotate3d(1, 0, 0, 0deg);
  }
  .room__side--right {
    right: 0;
    justify-content: flex-end;
    -webkit-transform: rotate3d(0, 1, 0, -90.03deg);
    transform: rotate3d(0, 1, 0, -90.03deg);
    transform-origin: 100% 50%;
  }
  .room__side--left {
    justify-content: flex-start;
    -webkit-transform: rotate3d(0, 1, 0, 90deg);
    transform: rotate3d(0, 1, 0, 90deg);
    transform-origin: 0 50%;
  }
  .room__side--bottom {
    width: 100vw;
    height: 4000px;
    background: #d0d0d0;
    -webkit-transform: rotate3d(1, 0, 0, 90deg) translate3d(0, -4000px, 0);
    transform: rotate3d(1, 0, 0, 90deg) translate3d(0, -4000px, 0);
    transform-origin: 50% 0%;
  }
  .room__side--bottom {
    top: 100%;
  }
  .room__img {
    flex: none;
    max-width: 40%;
    max-height: 60%;
    margin: 0 5%;
    -webkit-transform: translate3d(0, 0, 10px);
    transform: translate3d(0, 0, 10px);
    backface-visibility: hidden;
  }
  .content {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding: 2vw;
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, .2);
    }
  }
  .slides {
    position: relative;
    flex: 1;
  }
  .slide {
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 70vw;
    height: 100%;
    margin: 7vh 0 0 12.4vw;
    pointer-events: none;
    opacity: 0;
    a {
      text-decoration: none;
      transition: 0.5s;
      &:focus, &:hover {
        text-decoration: none;
        opacity: 0.7;
      }
    }
  }
  .slide--current {
    pointer-events: auto;
    opacity: 1;
  }
  .slide__name {
    margin-bottom: 1.5em;
    font-size: 70px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
  }
  //.slide__title,
  //.slide__date {
  //  text-align: right;
  //}
  //.a-btn-2 {
  //  padding: 15px 35px;
  //  font-size: 13px;
  //  letter-spacing: 2px;
  //}
  //.slide__title {
  //  display: flex;
  //  flex-direction: column;
  //  align-items: flex-end;
  //  margin: 0.75em 0 0 0;
  //  > div {
  //    max-width: 470px;
  //    word-wrap: break-word;
  //    font-size: 21px;
  //    font-weight: 600;
  //    font-style: normal;
  //    font-stretch: normal;
  //    line-height: 1.3;
  //    letter-spacing: 0.3px;
  //    text-align: left;
  //    color: #ffffff;
  //  }
  //  span {
  //    display: block;
  //    padding: 0;
  //    margin-top: 40px;
  //  }
  //}
  .nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto 0 0 0;
    pointer-events: none;
  }

  .overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
  }
  .overlay--loader {
    display: none;
  }
  .js .overlay--active {
    pointer-events: auto;
    opacity: 1;
  }
  .loader {
    display: none;
  }
  .loader div {
    display: none;
  }
  .loader div:nth-child(2) {
    display: none;
  }
  .loader div:nth-child(3) {
    display: none;
  }
  .cat {
    a {
      text-decoration: none;
      font-size: 18px;
      font-weight: 800;
      line-height: 1.2;
      letter-spacing: .2px;
      color: #f54ea2;
      &:hover {
        text-decoration: none;
      }
    }
  }
  @keyframes anim-loader {
    100% {
      -webkit-transform: translate3d(0, 30px, 0) scale3d(0.9, 0.9, 1);
      transform: translate3d(0, 30px, 0) scale3d(0.9, 0.9, 1);
    }
  }
  @media screen and (max-width: 50em) {
    .subject {
      display: none;
    }
    .btn--info {
      margin-right: 1.25em;
    }
    .location {
      position: relative;
      height: auto;
      margin: 1em 0 0 0;
      padding: 0;
      text-align: left;
      -webkit-writing-mode: horizontal-tb;
      writing-mode: horizontal-tb;
    }
    .slide {
      width: 100%;
      margin: 7vh 0 0 0;
    }
    .nav {
      position: absolute;
      top: 8em;
      left: 0;
      width: 100%;
      padding: 1em;
    }
    .nav__triangle {
      -webkit-transform: translate3d(-54px, 0, 0);
      transform: translate3d(-54px, 0, 0);
    }
    .nav__line {
      -webkit-transform: translate3d(17px, 0, 0);
      transform: translate3d(17px, 0, 0);
    }
    .btn--nav:hover {
      color: currentColor;
    }
  }
}

@media screen and (max-width: 991px) {
  .exhibition-wrap .slide__name {
    font-size: 50px;
  }
}
