.top{
    margin-top: 5.8rem;
}

.top .col-12-12{
    padding: 0;
}

.top__img__first,
.top__img__last{
    height: 52rem;
    position: relative;
    overflow: hidden;
}

.top__img__first figure img{
    -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
            transform: scale(1.2);
    -o-object-position: center -5rem;
       object-position: center -5rem;
}

.top__img__last:after,
.top__img__first:after{
    content: '';
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    height: 22rem;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(149, 97, 88, 1)), color-stop(80%, transparent));
    background: -o-linear-gradient(bottom, rgba(149, 97, 88, 1) 0%, transparent 80%);
    background: linear-gradient(360deg, rgba(149, 97, 88, 1) 0%, transparent 80%);
    width: 100%;
}

.top__img__first:before{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 22rem;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(149, 97, 88, 1)), color-stop(80%, transparent));
    background: -o-linear-gradient(top, rgba(149, 97, 88, 1) 0%, transparent 80%);
    background: linear-gradient(180deg, rgba(149, 97, 88, 1) 0%, transparent 80%);
    width: 100%;
}

.top__img__last:before{
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 41rem;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(149, 97, 88, 1)), color-stop(80%, transparent));
    background: -o-linear-gradient(top, rgba(149, 97, 88, 1) 0%, transparent 80%);
    background: linear-gradient(180deg, rgba(149, 97, 88, 1) 0%, transparent 80%);
    width: 100%;
}

.top__img__first figure,
.top__img__last figure{
    height: 100%;
}

.top__img__first span{
    display: none;
}

.top__img__last{
    margin-top: 9.1rem;
}

.top__wrapper{
    position: relative;
}

.top__quote{
    position: absolute;
    top: 31.2rem;
    left: 0;
    width: 100%;
    z-index: 1;
    text-align: center;
}

.top__quote__img{
    width: 20.2rem;
    height: 20.2rem;
    margin: 0 auto;
    position: relative;
    border: 2px solid #EDF2F2;
}

.top__quote__img figure{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22rem;
    z-index: 0;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.top__title{
    font-size: 2.4em;
    color: #EDF2F2;
    font-weight: 500;
    line-height: 2.9rem;
    letter-spacing: 2.75px;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    width: 100%;
    text-transform: uppercase;
    text-align: center;
}

.top__quote__img span{
    font-size: 2.4em;
    color: #EDF2F2;
    font-weight: 500;
    line-height: 2.9rem;
    letter-spacing: 2.75px;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
    text-align: center;
}

.top__img__last span{
    display: inline-block;
    font-size: 1.2em;
    line-height: 2.4rem;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    color: #EDF2F2;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    position: absolute;
    z-index: 2;
    width: 100%;
    text-align: center;
    bottom: 5.5rem;
}

.top__quote__mobile{
    margin-top: 2.6rem;
    display: inline-block;
    font-size: 1.2em;
    line-height: 2.4rem;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    color: #EDF2F2;
    text-transform: uppercase;
    letter-spacing: 1.44px;
}

.top__quote__q{
    margin-top: 2.9rem;
}

.top__quote__q p{
    font-family: minion-pro, serif;
    font-size: 1.6em;
    line-height: 2.4rem;
    color: #EDF2F2;
    font-style: italic;
}

@media only screen and (min-width: 769px){
    .top__quote{
        position: static;
    }

    .top__img{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    .top .row{
        max-width: 132.2rem;
    }

    .top .col-12-12{
        padding: 0 1.5rem;
    }

    .top__img__first{
        -webkit-box-flex: 0;
            -ms-flex: 0 1 76rem;
                flex: 0 1 76rem;
        padding-right: 0.6rem;
    }

    .top__img__first,
    .top__img__last{
        height: 60rem;
    }

    .top__img__last{
        -webkit-box-flex: 0;
            -ms-flex: 0 1 52.6rem;
                flex: 0 1 52.6rem;
        margin-top: 0;
    }

    .top__img__first:before,
    .top__img__last:before{
        display: none;
    }

    .top__img__first span{
        display: inline-block;
    }

    .top__img__last span,
    .top__img__first span{
        font-size: 1.8em;
        line-height: 3.2rem;
        text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
        color: #EDF2F2;
        text-transform: uppercase;
        letter-spacing: 1.92px;
        position: absolute;
        z-index: 2;
        width: 100%;
        text-align: center;
        bottom: 8.8rem;
    }

    .top__quote__mobile{
        display: none;
    }

    .top__quote__img{
        margin: 0;
        width: 32rem;
        height: 32rem;
        margin-right: 12.3rem;
    }

    .top__quote__img figure{
        width: 31rem;
    }

    .top__quote{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        margin-top: 4.7rem;
    }

    .top__quote__q{
        -ms-flex-item-align: end;
            align-self: flex-end;
    }

    .top__quote__q p{
        text-align: left;
        font-size: 1.8em;
        line-height: 3.2rem;
    }

    .top__quote__q p:first-child{
        margin-bottom: 3.2rem;
    }

    .top{
        margin-top: 7.1rem;
    }

    .top__title{
        font-size: 3.2em;
        line-height: 4.8rem;
        letter-spacing: 3.48px;
        margin-bottom: 4.3rem;
    }

    .top__quote__img span{
        font-size: 3.4em;
        line-height: 4.8rem;
        letter-spacing: 3.48px;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1200px){
    .top .col-12-12{
        padding: 0 4.5rem;
    }
}

@media only screen and (max-height: 620px){
    .top__img__first,
    .top__img__last{
        height: 100vh;
        max-height: 60rem !important;
    }
}

/* Test Animation */
.animate__top figure{
    height: 38rem;
}

.animate__top figure img{
    position: absolute;
    top: 0;
    left: 0;
    height: 38rem;
}

.animate__top figure img:nth-child(1){
    z-index: 3;
}

.animate__top figure img:nth-child(2){
    z-index: 2;
}

.animate__top figure img:nth-child(3){
    z-index: 1;
}

@media only screen and (min-width: 1024px){
    .top__img__last figure{
        overflow: hidden;
    }

    .top .top__img__first figure img{
        -webkit-transform: scale(1.28);
            -ms-transform: scale(1.28);
                transform: scale(1.28);
    }

    .top .top__img__last figure img{
        -webkit-transform: scale(1.08);
            -ms-transform: scale(1.08);
                transform: scale(1.08)
    }
    
    .top.animateActive .top__img__first figure img{
        -webkit-animation: openImageTop 4s ease-in-out forwards;
                animation: openImageTop 4s ease-in-out forwards;
    }
    
    .top.animateActive .top__img__last figure img{
        -webkit-animation: openImageTopSecond 4s ease-in-out forwards;
                animation: openImageTopSecond 4s ease-in-out forwards;
    }

    .animate__top figure img:nth-child(1){
        -webkit-animation: float1 5s ease-in-out infinite;
                animation: float1 5s ease-in-out infinite;
    }

    .animate__top figure img:nth-child(2){
        -webkit-animation: arc 6.5s ease-in-out infinite;
                animation: arc 6.5s ease-in-out infinite;
    }

    .animate__top figure img:nth-child(3){
        z-index: 1;
    }
}

/* Animation Relieve */

.top__quote__img__animation figure{
    position: relative;
}

.top__quote__img__animation figure img{
    position: absolute;
    top: 0;
    left: 0;
}

.top__quote__img__animation.top__quote__img figure{
    height: 22.3rem;
}

.top__quote__img__animation.top__quote__img figure img:nth-child(1){
    z-index: 3;
    opacity: .8;
}
.top__quote__img__animation.top__quote__img figure img:nth-child(2){
    z-index: 2;
}
.top__quote__img__animation.top__quote__img figure img:nth-child(3){
    z-index: 1;
}

@media only screen and (min-width: 769px){
    .top__quote__img__animation.top__quote__img figure{
        height: 31.9rem;
    }
}

@media only screen and (min-width: 1024px){

    /* Eat */

    .top__quote__img__animation__eat.top__quote__img figure img:nth-child(1){
        -webkit-animation: arc2 7.5s ease-in-out infinite;
                animation: arc2 7.5s ease-in-out infinite;
    }
    
    .top__quote__img__animation__eat.top__quote__img figure img:nth-child(3){
        -webkit-animation: arc 5.5s ease-in-out infinite;
                animation: arc 5.5s ease-in-out infinite;
    }
    
    /* Amores */

    .top__quote__img__animation__amores.top__quote__img figure img:nth-child(1){
        
    }
    
    .top__quote__img__animation__amores.top__quote__img figure img:nth-child(2){
        -webkit-animation: arc 9.5s ease-in-out infinite;
                animation: arc 9.5s ease-in-out infinite;
    }
    
    .top__quote__img__animation__amores.top__quote__img figure img:nth-child(3){
        -webkit-animation: arc 8.5s ease-in-out infinite;
                animation: arc 8.5s ease-in-out infinite;
    }
    
    /* Spa */

    .top__quote__img__animation__spa.top__quote__img figure img:nth-child(2){
        
    }
    .top__quote__img__animation__spa.top__quote__img figure img:nth-child(3){
        /* -webkit-animation: rotateunwind 25s ease-in-out infinite;
                animation: rotateunwind 25s ease-in-out infinite; */
                -webkit-animation: arc 5.5s ease-in-out infinite;
                animation: arc 5.5s ease-in-out infinite;
    }
    
    /* Spa */

    /* .top__quote__img__animation__yoga.top__quote__img figure img:nth-child(2){
        -webkit-animation: arc 6.5s ease-in-out infinite;
                animation: arc 6.5s ease-in-out infinite;
    } */
    .top__quote__img__animation__yoga.top__quote__img figure img:nth-child(1){
        -webkit-animation: float1 5s ease-in-out infinite;
                animation: float1 5s ease-in-out infinite;
    }
}
