body{
    font-family: "Myriad Pro", "Myriad Web", "Tahoma", "Helvetica", "Arial", sans-serif;
    height: 100%;
    overflow: hidden;
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 20rem;
    z-index: 9;
    background: rgba(0,0,0,0.85);
    max-width: 300px;

    transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
    margin-left: 0;
}

nav.closed-nav {
    margin-left: -20rem;
}

nav ul {
    list-style: none;
    padding: 10px 32px;
    overflow: auto;
    height: 88vh;
    margin-top: 50px;
}

nav ul li{
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

nav ul a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s ease 0s;
    padding: 5px 0;
    display: block;
    font-size: 80%;
}

nav ul a:hover{
    color: #ED1B24;
}

.icon-slide {
    position: fixed;
    background: rgba(0,0,0,0.8);
    top: 10px;
    left: 10px;
    padding: 20px;
    z-index: 99;
}

.icon-slide::after{
    content: "";
    position: absolute;
    color: #fff;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 6px;
    top: 12px;
    left: 10px;
    cursor: pointer;
    transition: all 0.5s ease 0s;
}

.opened-nav .icon-slide::after{
    transform: rotate(135deg);
}

.closed-nav .icon-slide::after{
    transform: rotate(-45deg);
}





.close {
    position: absolute;
    cursor: pointer;
    right: 89px;
    top: 55px;
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: all 0.5s ease 0s;
    z-index: 99;
    display: none;
}

.close:hover {
    opacity: 1;
}
.close:before, .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #fff;
    transition: all 0.5s ease 0s;
}
.close:hover::before,
.close:hover::after{
    background-color: #ED1B24;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}

.overlay-active .close{
    opacity: 1;
    display: block;
}

.product-container{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    z-index: 0;
    /*
    transition: all 0.5s ease 0s;
    transform: translate3d(-100%,-100%,0);

     */
}

.product-container::after{
    background: rgba(0,0,0,0.7);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: all 0.2s ease 0s;
    z-index: -1;
    opacity: 0;
}
.product-container.open::after{
    opacity: 1;
}


.product-container.open{
    /*transform: translate3d(0,0,0);*/
    z-index: 9;
}



.product-container .slide{

    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transition: all 0.2s ease 0.5s;
    transform: translate3d(-200%,-150%,0);
    opacity: 0;
}

.product-container.open .slide{
    transform: translate3d(-50%,-50%,0) scale(1.25);
}
.video-container.open .slide{
    opacity: 1;
}
.product-container .slide img,
.product-container .slide video{
    width: 100%;
    height: auto;
}

.product-container .slide.active{
    opacity: 1;
}

#prev-next {
    max-width: 68%;
    text-align: center;
    display: flex;
    flex-flow: row-reverse;
    justify-content: space-between;
    margin: 0 auto;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.6s ease 0.7s;
    z-index: 9;

}

.open #prev-next {
    opacity: 1;
}

.next, .prev{
    cursor: pointer;
}

a.room-link {
    font-weight: bold;
    background: #DD1617;
    padding: 10px;
    margin-top: 10px;
    transition: all 0.6s ease 0.7s;
}

a.room-link:hover{
    background: #eee;
}