﻿:root {
    --effect: hover 1s linear infinite;
}

/*body {
    display: flex;
    width: 100vw;
    height: 100vh;
    background: black;
    align-items: center;
    justify-content: center;
}*/

.loader {
    text-align: center;
}

.loader p {
    display: inline-block;
    text-transform: uppercase;
    text-align: center;
    font-size: 4em;
    font-family: arial;
    font-weight: 600;
    transform: scale(.5);
    color: #121212;
    -webkit-text-stroke: 2px gray;
}

    .loader p:nth-child(1) {
        animation: var(--effect);
    }

    .loader p:nth-child(2) {
        animation: var(--effect) .125s;
    }

    .loader p:nth-child(3) {
        animation: var(--effect) .25s;
    }

    .loader p:nth-child(4) {
        animation: var(--effect) .375s;
    }

    .loader p:nth-child(5) {
        animation: var(--effect) .5s;
    }

    .loader p:nth-child(6) {
        animation: var(--effect) .675s;
    }

    .loader p:nth-child(7) {
        animation: var(--effect) .75s;
    }

@keyframes hover {
    0% {
        transform: scale(.5);
        color: #121212;
        -webkit-text-stroke: 2px gray;
    }

    20% {
        transform: scale(1);
        color: pink;
        -webkit-text-stroke: 3px red;
        filter: drop-shadow(0 0 1px black)drop-shadow(0 0 1px black)drop-shadow(0 0 3px red)drop-shadow(0 0 5px red)hue-rotate(10turn);
    }

    50% {
        transform: scale(.5);
        color: #121212;
        -webkit-text-stroke: 2px gray;
    }
}


.loader2 {
    background-color: #84848459;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader2 {
    -webkit-perspective: 700px;
    perspective: 700px;
}

    .loader2 > span {
        font-size: 130px;
        font-family: "franklin gothic medium",sans-serif;
        display: inline-block;
        animation: flip 2.6s infinite linear;
        transform-origin: 0 70%;
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
    }

@keyframes flip {
    35% {
        transform: rotateX(360deg);
    }

    100% {
        transform: rotatex(360deg);
    }
}


.loader2 > span:nth-child(even) {
    color: white;
}

.loader2 > span:nth-child(2) {
    animation-delay: 0.3s;
}

.loader2 > span:nth-child(3) {
    animation-delay: 0.6s;
}

.loader2 > span:nth-child(4) {
    animation-delay: 0.9s;
}

.loader2 > span:nth-child(5) {
    animation-delay: 1.2s;
}

.loader2 > span:nth-child(6) {
    animation-delay: 1.5s
}

.loader2 > span:nth-child(7) {
    animation-delay: 1.8s
}