@import './variables.css';

/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++
---------------- AOS Animations ---------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++
*/

[data-aos^="reveal-from"],
[data-aos^="reveal-from"] .animate,
[data-aos^="reveal-from"] .animate::after {
    transition: all cubic-bezier(0.65, 0.05, 0.36, 1);
    position: relative;
}

[data-aos-delay="500"] .animate {
    transition-delay: 400ms;
}
[data-aos-delay="1000"] .animate {
    transition-delay: 800ms;
}
[data-aos-delay="1500"] .animate {
    transition-delay: 1300ms;
}
[data-aos-delay="2000"] .animate {
    transition-delay: 1800ms;
}
[data-aos-delay="2500"] .animate {
    transition-delay: 2300ms;
}
[data-aos-delay="3000"] .animate {
    transition-delay: 2800ms;
}
[data-aos-delay="3500"] .animate {
    transition-delay: 3300ms;
}
[data-aos-delay="4000"] .animate {
    transition-delay: 3800ms;
}

[data-aos-delay="500"].aos-animate .animate::after {
    transition-delay: 1000ms;
}
[data-aos-delay="1000"].aos-animate .animate::after {
    transition-delay: 1500ms;
}
[data-aos-delay="1500"].aos-animate .animate::after {
    transition-delay: 2000ms;
}
[data-aos-delay="2000"].aos-animate .animate::after {
    transition-delay: 2500ms;
}
[data-aos-delay="2500"].aos-animate .animate::after {
    transition-delay: 3000ms;
}
[data-aos-delay="3000"].aos-animate .animate::after {
    transition-delay: 3500ms;
}
[data-aos-delay="3500"].aos-animate .animate::after {
    transition-delay: 4000ms;
}
[data-aos-delay="4000"].aos-animate .animate::after {
    transition-delay: 4500ms;
}

[data-aos-duration="100"] .animate,
[data-aos-duration="100"].aos-animate .animate::after {
    transition-duration: 50ms;
}
[data-aos-duration="200"] .animate,
[data-aos-duration="200"].aos-animate .animate::after {
    transition-duration: 100ms;
}
[data-aos-duration="300"] .animate,
[data-aos-duration="300"].aos-animate .animate::after {
    transition-duration: 200ms;
}
[data-aos-duration="400"] .animate,
[data-aos-duration="400"].aos-animate .animate::after {
    transition-duration: 300ms;
}
[data-aos-duration="500"] .animate,
[data-aos-duration="500"].aos-animate .animate::after {
    transition-duration: 400ms;
}
[data-aos-duration="1000"] .animate,
[data-aos-duration="1000"].aos-animate .animate::after {
    transition-duration: 800ms;
}
[data-aos-duration="1500"] .animate,
[data-aos-duration="1500"].aos-animate .animate::after {
    transition-duration: 1300ms;
}
[data-aos-duration="2000"] .animate,
[data-aos-duration="2000"].aos-animate .animate::after {
    transition-duration: 1800ms;
}


/**
* AOS Basic Reveals
**/

[data-aos="reveal-from-clip-center"] {
    clip-path: polygon(40% 20%, 80% 20%, 80% 80%, 40% 80%);
    background-size: 90% !important;
}
[data-aos="reveal-from-clip-center"].aos-animate{
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
    background-size: 110% !important;
}
[data-aos="reveal-from-clip-center"] .image_wrapper img {
    transform-origin: center;
    transform: scale(0.9) !important;
    transition: all 1000ms ease-in-out;
}
[data-aos="reveal-from-clip-center"].aos-animate .image_wrapper img{
    transform: scale(1) !important;
}

[data-aos="reveal-from-center-lr"] {
    clip-path: polygon(50% 0, 50% 0%, 50% 100%, 50% 100%);
}
[data-aos="reveal-from-center-lr"].aos-animate{
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-center-tb"] {
    clip-path: polygon(0% 50%, 100% 50%, 100% 50%, 0% 50%);
}
[data-aos="reveal-from-center-tb"].aos-animate{
    clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-center-diagonal"] {
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0 0);
}
[data-aos="reveal-from-center-diagonal"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-left"],
[data-aos="reveal-from-left-move"] {
    clip-path: polygon(0 0, 0% 0%, 0% 100%, 0% 100%);
}
[data-aos="reveal-from-left"].aos-animate,
[data-aos="reveal-from-left-move"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-right"],
[data-aos="reveal-from-right-move"] {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
[data-aos="reveal-from-right"].aos-animate,
[data-aos="reveal-from-right-move"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-top"],
[data-aos="reveal-from-top-move"] {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}
[data-aos="reveal-from-top"].aos-animate,
[data-aos="reveal-from-top-move"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}

[data-aos="reveal-from-bottom"],
[data-aos="reveal-from-bottom-move"] {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}
[data-aos="reveal-from-bottom"].aos-animate,
[data-aos="reveal-from-bottom-move"].aos-animate{
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
}

[data-aos="reveal-from-left-move"] .animate {
    transform: translateX(100%);
}
[data-aos="reveal-from-left-move"].aos-animate .animate {
    transform: translateX(0%);
}

[data-aos="reveal-from-right-move"] .animate {
    transform: translateX(-100%);
}
[data-aos="reveal-from-right-move"].aos-animate .animate {
    transform: translateX(0%);
}

[data-aos="reveal-from-top-move"] .animate {
    transform: translateY(100%);
}
[data-aos="reveal-from-top-move"].aos-animate .animate {
    transform: translateY(0%);
}

[data-aos="reveal-from-bottom-move"] .animate {
    transform: translateY(-100%);
}
[data-aos="reveal-from-bottom-move"].aos-animate .animate {
    transform: translateY(0%);
}


/**
* AOS Block Reveals
**/

/* Reveal block from left */
[data-aos^="reveal-from-block"] .animate {
    position: relative;
    overflow: hidden;
}
[data-aos^="reveal-from-block"] .animate::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--primary);
    z-index: 1;
    visibility: visible;
    bottom: 0;
    left: 0;
}

[data-aos="reveal-from-block-left"] {
    clip-path: polygon(0 0, 0% 0%, 0% 100%, 0% 100%);
}
[data-aos="reveal-from-block-left"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}
[data-aos="reveal-from-block-left"].aos-animate .animate::after {
    transform: translateX(105%);
}

[data-aos="reveal-from-block-right"] {
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
}
[data-aos="reveal-from-block-right"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}
[data-aos="reveal-from-block-right"].aos-animate .animate::after {
    transform: translateX(-105%);
}

[data-aos="reveal-from-block-top"] {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}
[data-aos="reveal-from-block-top"].aos-animate{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}
[data-aos="reveal-from-block-top"].aos-animate .animate::after {
    transform: translateY(105%);
}

[data-aos="reveal-from-block-bottom"] {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}
[data-aos="reveal-from-block-bottom"].aos-animate{
    clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
}
[data-aos="reveal-from-block-bottom"].aos-animate .animate::after {
    transform: translateY(-105%);
}


/**
* AOS Circle Reveals
**/

/* Reveal circle from center */

[data-aos="reveal-circle-from-center"] {
    clip-path: circle(0% at 50% 50%);
}
[data-aos="reveal-circle-from-center"].aos-animate{
    clip-path: circle(100% at 50% 50%);
}

/* Reveal circle from center */
[data-aos="reveal-circle-from-left-top"] {
    clip-path: circle(0% at 0% 0%);
}
[data-aos="reveal-circle-from-left-top"].aos-animate{
    clip-path: circle(150% at 0% 0%);
}

/* Reveal circle from top */
[data-aos="reveal-circle-from-top"] {
    clip-path: circle(0% at 50% 0%);
}
[data-aos="reveal-circle-from-top"].aos-animate{
    clip-path: circle(150% at 50% 0%);
}

/* Reveal circle from right top */
[data-aos="reveal-circle-from-right-top"] {
    clip-path: circle(0% at 100% 0%);
}
[data-aos="reveal-circle-from-right-top"].aos-animate{
    clip-path: circle(150% at 100% 0%);
}

/* Reveal circle from right */
[data-aos="reveal-circle-from-right"] {
    clip-path: circle(0% at 100% 50%);
}
[data-aos="reveal-circle-from-right"].aos-animate{
    clip-path: circle(150% at 100% 50%);
}

/* Reveal circle from right bottom */
[data-aos="reveal-circle-from-right-bottom"] {
    clip-path: circle(0% at 100% 100%);
}
[data-aos="reveal-circle-from-right-bottom"].aos-animate{
    clip-path: circle(150% at 100% 100%);
}

/* Reveal circle from bottom */
[data-aos="reveal-circle-from-bottom"] {
    clip-path: circle(0% at 50% 100%);
}
[data-aos="reveal-circle-from-bottom"].aos-animate{
    clip-path: circle(150% at 50% 100%);
}

/* Reveal circle from left bottom */
[data-aos="reveal-circle-from-left-bottom"] {
    clip-path: circle(0% at 0% 100%);
}
[data-aos="reveal-circle-from-left-bottom"].aos-animate{
    clip-path: circle(150% at 0% 100%);
}

/* Reveal circle from left */
[data-aos="reveal-circle-from-left"] {
    clip-path: circle(0% at 0% 50%);
}
[data-aos="reveal-circle-from-left"].aos-animate{
    clip-path: circle(150% at 0% 50%);
}