
.insightSectionsWrapperRow {
    position: relative;
    overflow: hidden;
}


.insightSectionsWrapper {
    position: relative;
    z-index: 10;
}

/*
https://angrytools.com/gradient/

*/

.insightHex {
    position: absolute;
    top: -5%;
    left: -5%;
    aspect-ratio: 200/175;
    width: 10vw;
    background-color: var(--col-menthe-blue);
    z-index: 8;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

    transform-origin: center center;
    animation-duration: 30s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-play-state: running;
    animation-name: hexSway;

}


/* TODO: reippasti isommaksi jos on suurempi näyttö? */
.mediumHex {
    width: 30vw;
}

.maxHex {
    width: 50vw;
}

.mentheGradient {
    background: linear-gradient(135deg, rgba(0, 167, 181, 1) 0%, rgba(0, 167, 181, 0) 100%);
}

.lotusGradient {
    background: linear-gradient(135deg, rgba(239, 96, 121, 1) 0%, rgba(0, 167, 181, 0) 100%);
}


.mentheGradientReverse {
    background: linear-gradient(315deg, rgba(0, 167, 181, 1) 0%, rgba(0, 167, 181, 0) 100%);
}

.lotusGradientReverse {
    background: linear-gradient(315deg, rgba(239, 96, 121, 1) 0%, rgba(0, 167, 181, 0) 100%);
}


@keyframes hexSway {

    from {
        transform: rotateY(0deg) rotateZ(-10deg) ;
    }

    to {
        transform: rotateY(0deg) rotateZ(30deg);
    }

}



@keyframes hexSwayReverse {

    from {
        transform: rotateY(0deg) rotateZ(30deg) ;
    }

    to {
        transform: rotateY(0deg) rotateZ(-10deg);
    }

}



