/* @group Our history
------------------------------------ */
.our-history {
    position: relative;
    padding: 6.8rem 0 18.3rem;
    overflow: hidden;
}
.our-history::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1.9rem;
    background-image: url('../../img/layout/banner-no-content/bottom-arrows.svg');
    background-position: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}
.our-history .row {
    position: relative;
    z-index: 2;
    max-width: 167.3rem;
}
.our-history .col-title {
    flex: 0 1 33.4rem;
    max-width: 33.4rem;
}
.our-history .title-container,
.our-history .text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.our-history .title-container {
    border-radius: 50%;
    border: .3rem solid rgba(238, 212, 141, 1);
    background: rgba(255, 255, 255, 0.8);
}
.our-history h3,
.our-history p {
    color: var(--main-black);
    font-family: var(--alegreya);
    text-align: center;
}
.our-history h3 {
    position: relative;
    font-size: 4.5em;
    line-height: 0.933em;
    letter-spacing: 0.03em;
}
.our-history p {
    font-size: 1.8em;
    line-height: 1.55em;
}
.our-history__figure, 
.our-history__blured {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 169.09rem;
    height: auto;
    z-index: -1;
    transition: transform .3s;
}
.our-history__blured {
    z-index: -2;
}
.our-history__figure img,
.our-history__blured img {
    width: 100%;
    height: auto;
}
.our-history__row {
    transition: transform .2s;
}

@media only screen
and (min-width : 961px) {
    .our-history {
        padding: 15.8rem 0 29.6rem;
    }
    .our-history::before {
        height: 5.9rem;
    }
    .our-history .row {
        padding: 0 7.6rem;
    }
    .our-history .row .col-text {
        position: relative;
    }
    .our-history .row:nth-child(even) .col-text {
        left: -2rem;
        order: -1;
    }
    .our-history .row:nth-child(odd) .col-text {
        right: -2rem;
    }
    .our-history .col-title {
        flex: 0 1 66.7rem;
        max-width: 66.7rem;
    }
    .our-history .text-container {
        height: 25rem;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.8);
    }
    .our-history .col-text {
        flex: 0 1 80.6rem;
        max-width: 80.6rem;
    }
    .our-history .title-container {
        width: 66.7rem;
        height: 66.7rem;
    }
    .our-history h3 {
        font-size: 10em;
        line-height: .9em;
        letter-spacing: 0.03em;
    }
    .our-history h3::after {
        content: "";
        display: block;
        width: 22.3rem;
        height: 2.2rem;
        background-image: url('../../img/layout/our-history/bottom-lines.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 6rem auto 0;
    }
    .our-history p {
        font-size: 3em;
        line-height: 1.5em;
    }
    .our-history__blured,
    .our-history__figure {
        top: 77rem;
        width: 169.09rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .our-history__blured {
        top: 50rem;
    }

    /* Butterflyes */
    .our-history__row__1::before,
    .our-history__row__3::before,
    .our-history__row__4::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 26rem;
        height: 21rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        z-index: 2;
        -webkit-animation: bee 15s infinite cubic-bezier(.02, .01, .21, 1) alternate;
        animation: bee 15s infinite cubic-bezier(.02, .01, .21, 1) alternate;
    }
    .our-history__row__1::before {
        -webkit-animation: first 20s infinite cubic-bezier(.02, .01, .21, 1) alternate;
        animation: first 20s infinite cubic-bezier(.02, .01, .21, 1) alternate;
        }
    .our-history__row__1::before {
        top: 3rem;
        left: 87rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-1.png');
    }
    .our-history__row__3::before {
        top: 4rem;
        left: 132rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-2.png');
    }
    .our-history__row__4::before {
        bottom: -9rem;
        left: 19rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-3.png');
    }
}
@media only screen
and (min-width : 961px)
and (max-width : 1440px) {
}
@media only screen
and (min-width : 0)
and (max-width : 960px) {

    .our-history {
        padding: 6.8rem 0 12rem;
    }
    .our-history::before {
        background-size: 100rem auto;
    }
    .our-history .our-history__row {
        height: 33.4rem;
        justify-content: center;
        margin-bottom: 4rem;
    }
    .our-history .col-title,
    .our-history .col-text { 
        width: 33.4rem;
        height: 33.4rem;
        max-width: 33.4rem;
        padding: 0;
        position: absolute;
        top: 0;
        left: auto;
        transform: translateX(-50%);
        transition: opacity .7s;
    }
    .col-text,
    .show-more .col-title {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .show-more .col-text {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    .our-history .text-container {
        border-radius: 50%;
        border: .3rem solid rgba(238, 212, 141, 1);
        background: rgba(255, 255, 255, 0.8);
        padding: 4rem;  
    }
    .our-history .text-container,
    .our-history .title-container {
        height: 33.4rem;
        width: 33.4rem;
    }
    .our-history p br {
        display: none;
    }
    .our-history .text-container a,
    .our-history .title-container a {
        font-family: var(--alegreya);
        font-size: 1.4em;
        line-height: 1em;
        letter-spacing: .01em;
        text-transform: uppercase;
        text-decoration: underline;
        margin-top: 2.4rem;
    }
    .our-history__figure {
        top: 12rem;
        left: 67rem;
        width: 115.8rem;
        height: 141.6rem;
    }
    /* Butterflyes */
    .our-history__row__1::before,
    .our-history__row__2::before,
    .our-history__row__4::before {
        content: "";
        display: inline-block;
        position: absolute;
        width: 10.6rem;
        height: 8.7rem;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% auto;
        z-index: 2;
        -webkit-animation: bee 15s infinite cubic-bezier(.02, .01, .21, 1) alternate;
        animation: bee 15s infinite cubic-bezier(.02, .01, .21, 1) alternate;
    }
    .our-history__row__1::before {
        top: -2rem;
        left: 19rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-1.png');
    }
    .our-history__row__2::before {
        top: -2rem;
        left: -1rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-3.png');
        transform: rotate(40deg);
    }
    .our-history__row__4::before {
        bottom: -9rem;
        left: 19rem;
        background-image: url('../../img/layout/our-history/tupelo-butterfly-3.png');
    }
}

/* @end */
@keyframes first {
0% {
transform: rotate(0deg) translate(-2rem, 0);
}
20% {
transform: rotate(30deg) translate(2rem, -3rem);
}
40% {
transform: rotate(-10deg) translate(10rem, 0rem);
}
60% {
transform: rotate(15deg) translate(20rem, -8rem);
}
80% {
transform: rotate(0deg) translate(25rem, 0);
}
100% {
transform: rotate(30deg) translate(35rem, -20rem);
}
}
@keyframes bee {
0% {
    animation-timing-function: cubic-bezier(.3, .27, .07, 1.64);
    transform: translateX(30px, -30px)
}
40% {
    animation-timing-function: cubic-bezier(.3, .27, .07, 1.64);
    transform: translate(80px, -20px) rotate(10deg)
}
70% {
    animation-timing-function: cubic-bezier(.3, .27, .07, 1.64);
    transform: translate(40px, -15px)
}
100% {
    animation-timing-function: cubic-bezier(.02, .01, .21, 1);
    transform: translate(70px, -40px) rotate(5deg)
}
}


.our-history__row .col-title,
.our-history__row .col-text {
    opacity: 0;
}


.our-history__row.animateActive:nth-child(odd) .col-title { animation: fadeLeft 1.3s forwards; animation-delay: .3s; }
.our-history__row.animateActive:nth-child(odd) .col-text { animation: fadeRight 1.3s forwards; animation-delay: .3s; }


.our-history__row.animateActive:nth-child(even) .col-title { animation: fadeRight 1.3s forwards; animation-delay: .3s; }
.our-history__row.animateActive:nth-child(even) .col-text { animation: fadeLeft 1.3s forwards; animation-delay: .3s; }
