.memories{
    position: relative;
    margin-top: 4rem;
}

.memories__back{
    position: absolute;
    bottom: 8.1rem;
    left: -20rem;
    height: 46.7rem;
    width: 36rem;
}

.memories__back:after{
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 50vh;
    z-index: 5;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(149, 97, 88, 1)), color-stop(80%, rgba(118, 115, 66, 0)));
    background: -o-linear-gradient(bottom, rgba(149, 97, 88, 1) 0%, rgba(118, 115, 66, 0) 80%);
    background: linear-gradient( 
360deg
 , rgba(149, 97, 88, 1) 0%, rgba(118, 115, 66, 0) 80%);
}

.memories__back img{
    width: 36rem;
    position: absolute;
}

.memories__back img:nth-child(1){
    z-index: 3;
}
.memories__back img:nth-child(2){
    z-index: 2;
}
.memories__back img:nth-child(3){
    z-index: 1;
}

.memories__sloth{
    position: relative;
}

.memories__sloth figure{
    width: 20.2rem;
    margin: 0 auto;
}

.memories__sloth span{
    position: absolute;
    display: inline-block;
    font-size: 2.2em;
    line-height: 2.8rem;
    color: #EDF2F2;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    font-family: minion-pro, serif;
    width: 100%;
    left: 0;
    top: 1.5rem;
    text-align: center;
}

.memories__copy__first{
    position: absolute;
    top: 28.5rem;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 4;
}

.memories__copy__first h5,
.memories__copy__last h5{
    font-size: 1.4em;
    line-height: 2.4rem;
    letter-spacing: 1.44px;
    color: #EDF2F2;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    font-weight: 500;
    margin-bottom: 1rem;
}

.memories__copy__first p,
.memories__copy__last p{
    color: #EDF2F2;
    text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
    font-family: minion-pro, serif;
    font-size: 1.6em;
    line-height: 2.4rem;
}

.memories__copy__last{
    margin-top: 11rem;
    z-index: 5;
    position: relative;
}

.memories__copy__first p,
.memories__copy__last p{
    width: 28rem;
    margin: 0 auto;
}

.memories__copy__last p{
    width: 27rem;
}

.memories__copy__last{
    text-align: center;
}

.memories__calltoaction__wrapper{
    margin-top: 3rem;
    position: relative;
    z-index: 5;
}

.memories__sloth__create__desktop{
    display: none;
}

.memories .calltoaction__button{
    position: static;
}

.memories__birth figure img:nth-child(1){
    z-index: 1 !important;
}
.memories__birth figure img:nth-child(2){
    z-index: 2 !important;
}

.memories__birth figure{
    width: 90vw !important;
}

@media only screen and (min-width: 768px){
    .memories__back{
        left: -10rem;
    }
}

@media only screen and (min-width: 992px){

    .memories__calltoaction__wrapper{
        position: static;
    }

    .memories{
        height: 100.5rem;
        margin-top: 0;
    }

    .memories .container,
    .memories .row,
    .memories .col-12-12{
        height: 100%;
    }

    .memories__wrapper{
        position: relative;
        height: 100%;
    }

    .memories .row{
        max-width: 128rem;
    }

    .memories__copy__last{
        text-align: left;
        margin-left: 1.8rem;
        margin-top: 0;
        position: absolute;
        bottom: 7.2rem;
        z-index: 5;
    }

    .memories__copy__last p{
        margin-left: 0;
        width: 37rem;
    }

    .memories__copy__first{
        right: 0;
        width: 35rem;
        left: auto;
        top: 34rem;
        text-align: right;
        margin-right: 3.185rem;
        z-index: 4;
    }

    .memories__copy__first p{
        margin-right: 0;
        width: 35rem;
    }

    .memories .calltoaction__button{
        right: 0;
        bottom: 9.7rem;
    }

    .memories__sloth figure{
        width: 47rem;
        margin-right: 0;
    }

    .memories__sloth{
        position: absolute;
        right: 28rem;
        bottom: -22.9rem;
        z-index: 2;
    }

    .memories__sloth span{
        display: none;
    }

    .memories__sloth__create__desktop{
        display: block;
        position: absolute;
        top: 29.1rem;
        z-index: 3;
        width: 100%;
        text-align: center;
        left: 0;
    }

    .memories__sloth__create__desktop span{
        color: #EDF2F2;
        text-shadow: 0px 2px 4px rgba(12, 38, 35, .34);
        font-family: minion-pro, serif;
        font-size: 2.6em;
        line-height: 3.8rem;
    }

    .memories__copy__first h5, .memories__copy__last h5{
        font-size: 1.8em;
        line-height: 3.2rem;
        letter-spacing: 1.92px;
        margin-bottom: 3.1rem;
    }

    .memories__copy__first p, .memories__copy__last p{
        font-size: 1.8em;
        line-height: 3.2rem;
    }

    .memories__calltoaction__wrapper{
        margin-top: 0;
    }

    .memories__back{
        left: calc(30vw - 500px);
        bottom: 1rem;
        top: auto;
        height: 65.7rem;
    }

    .memories__back img,
    .memories__back{
        width: 50rem;
    }

    .memories .calltoaction__button{
        position: absolute;
    }

    .memories__birth figure{
        width: 50.4rem !important;
    }

    .memories__birth{
        right: 24rem !important;
        bottom: -15.9rem !important;
    }

    /* .memories__birth__wrap:after{
        width: 30rem;
    } */
}

@media only screen and (min-width: 992px) and (max-width: 1200px){
    .memories .col-12-12{
        padding: 0 4.5rem;
    }
}

@media only screen and (min-width: 1366px){
    .memories__back{
        left: calc(23vw - 500px);
        bottom: 1rem;
        top: auto;
        height: 81.9rem;
        width: 60.9rem;
    }

    .memories__back img{
        width: 60.9rem;
    }

    .memories__birth figure{
        width: 59.4rem !important;
    }

    .memories__birth{
        right: 24rem !important;
        bottom: -15.9rem !important;
    }

    .memories__back img:nth-child(1){
        left: -2rem;
    }
}

/* Sloth Animation */

.memories__sloth figure{
    height: 44rem;
    position: relative;
}

.memories__sloth figure img{
    position: absolute;
    left: 0;
    top: 0;
    -o-object-fit: cover;
       object-fit: cover;
}

.memories__sloth figure img:nth-child(1){
    z-index: 3;
    height: 20rem;
}

.memories__sloth figure{
    position: relative;
}

.memories__birth__wrap{
    position: absolute;
    top: 12rem;
    width: 100%;
    z-index: 2;
    height: 20rem;
    
}

.memories__birth__wrap:after{
    content: '';
    -webkit-box-shadow: inset 0px 0px 30px 30px rgba(149, 97, 88, 1);
    -moz-box-shadow: inset 0px 0px 30px 30px rgba(149, 97, 88, 1);
    box-shadow: inset 0px 0px 30px 30px rgba(149, 97, 88, 1);
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    
}

.memories__sloth figure img:nth-child(2){
    z-index: 2;
}
.memories__sloth figure img:nth-child(3){
    z-index: 1;
}

@media only screen and (min-width: 992px){

    .memories__sloth figure{
        height: 102rem;
    }

    

}

@media only screen and (min-width: 768px){

    .memories__sloth figure img:nth-child(1),
    .memories__birth__wrap{
        height: 30rem;
    }

    .memories__birth figure{
        width: 50rem !important;
    }

}

@media only screen and (min-width: 1024px){

    .memories__sloth figure{
        height: 102rem;
    }

    /* .memories__sloth figure img:nth-child(1){
        -webkit-animation: arc 6s ease-in-out infinite;
                animation: arc 6s ease-in-out infinite;
    } */

    .memories__back img:nth-child(1){
        -webkit-animation: arcMemories 4.5s ease-in-out infinite;
                animation: arcMemories 4.5s ease-in-out infinite;
    }
    .memories__back img:nth-child(3){
        -webkit-animation: arcMemories 7s ease-in-out infinite;
                animation: arcMemories 7s ease-in-out infinite;
    }

    .memories__sloth figure img:nth-child(1){
        height: 58.3rem;
        object-fit: cover;
        width: 65.8rem;
    }

    .memories__birth__wrap{
        height: 58.3rem;
        width: 65.8rem;
    }

    .memories__birth{
        right: 19rem !important;
        z-index: 0;
        bottom: -21.9rem !important;
    }

    .memories__birth__wrap:after{
        -webkit-box-shadow: inset 0px 0px 77px 140px rgb(149 97 88);
    -moz-box-shadow: inset 0px 0px 77px 140px rgb(149 97 88);
    box-shadow: inset 0px 0px 77px 140px rgb(149 97 88);
    }

}

@media only screen and (min-width: 1366px){
    .memories__birth{
        right: -2rem !important;
    }

    .memories__sloth figure img:nth-child(1){
        height: 67.3rem;
        object-fit: cover;
        width: 98.8rem;
    }

    .memories__birth__wrap{
        height: 67.3rem;
        width: 98.8rem;
    }

    .memories__birth figure{
        width: 98.8rem !important;
    }
}

@media only screen and (min-width: 1920px){
    .memories__birth{
        right: 4rem !important;
    }
}

body[data-page="discover"] .swiper-pagination-bullets .swiper-pagination-bullet{
    background-color: #EDF2F2;
}