/******************************** button hover animation *****************************************/

.ui-sortable.ln-button {
    visibility:visible;
}

.ln-button {
    visibility: hidden;
    line-height: 24px!important;
}

.ln-button.ln-show-btn {
    overflow: hidden;
    display: inline-flex!important;
    width: fit-content;
    visibility:visible;
}

.ln-button:after {
    content: '' !important;
}

.svg-before-container {
    overflow: hidden;
    max-height: 23px;
    padding: 0 3px;
}

.svg-before{
    width:0;
    height: 23px;
    transform: translateX(-100%);
    overflow: hidden;
    transition: all 0.3s;
}

.svg-after{
    width:37px;
    transform: translateX(0%);
    height: 23px;
    margin-left: 5px;
    transform: scale(1);
    transition: all 0.3s;
}

.ln-button:hover .svg-before {
    width: 37px;
    height: 23px;
    transform: translateX(0%);
    opacity: 1;
    transition: all 0.3s;
}

.ln-button:hover .svg-after {
    width: 0px;
    height: 24px;
    transform: translateX(100%);
    transform: scale(0);
    transition: all 0.3s;
}

.et_pb_button.primary-btn:after {
    transition: all 0.3s;
}


/******************************** heading animation *****************************************/

.anim-head {
    overflow-y: hidden;
}

/* .animate-heading {
    font-size: 100px;
} */

.outer-line {
    overflow: hidden;
    
}

.outer-line.show-full {
    overflow: unset;
}

.inner-line {
    position: relative;
    top: 150px;
    
}

.animate-heading .outer-line {
    display: block;
}

.animate-heading .outer-line.scrolled .inner-line {
    top: 0;
    transition: all 1s cubic-bezier(0.26, 0.78, 0.26, 0.94);
}

@media (min-width: 981px) {
    h1.animate-heading .outer-line {
        height:1em;
    }

    /* .lakenona-com-card-section-col1 h2.animate-heading .outer-line {
        height:1.4em;
    } */
}


@keyframes flyInFromBottom {
    from {
        /* transform: translateY(20px); */
        top: 20px;
    }

    to {
        top: 0px;
        /* transform: translateY(0); */
    }
}

.animate-heading .child-span {
    display: inline-block;
    position: relative;
    top: 20px;
    /* transform: translateY(20px); */
    animation-fill-mode: forwards;
    white-space: pre;
    overflow: hidden;
    /* Preserve whitespace */
}

.parent-span {
    overflow: hidden;
}