/* SECTION PRELOADER PRIMARY */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

/* KEYFRAME DO LOGO ATIV */
@keyframes logoUp {
    from {
        transform: translateY(50px);
        clip-path: inset(0 0 100% 0);
    }

    to {
        transform: translateY(0);
        clip-path: inset(0);
    }
}

@keyframes logoOutUp {
    from {
        transform: translateY(0);
        clip-path: inset(0);
    }

    to {
        transform: translateY(-50px);
        clip-path: inset(100% 0 0 0);
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#logo img {
    width: 320px;
    z-index: 10000;
    position: relative;
    margin: auto;
    animation: logoUp 0.4s ease-in-out forwards;
}

#transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00CC73;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    z-index: 9999;
}

.transition-active #transition {
    animation: slideUp 1s ease-in-out forwards;
}

.transition-exit #transition {
    animation: slideOutUp 1s ease-in-out forwards;
}

.transition-exit #logo img {
    animation: logoOutUp 0.6s ease-in-out forwards;
}

#preloader.hidden {
    display: none;
}

/* FIM PRELOADER PRIMARY*/


/* PRELOADER SECUNDARY */
@keyframes slideUpSecundary {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideOutUpSecundary {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes logoUpSecundary {
    from {
        transform: translateY(50px);
        clip-path: inset(0 0 100% 0);
    }

    to {
        transform: translateY(0);
        clip-path: inset(0);
    }
}

@keyframes logoOutUpSecundary {
    from {
        transform: translateY(0);
        clip-path: inset(0);
    }

    to {
        transform: translateY(-50px);
        clip-path: inset(100% 0 0 0);
    }
}

#preloaderSecundary {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00CC73;
    display: none;
    justify-content: center;
    align-items: center;
    transform: translateY(100%);
    z-index: 9999;
}

#logoSecundary img {
    width: 320px;
    z-index: 10000;
    position: relative;
    margin: auto;
    animation: logoUp 1.5s ease-in-out forwards;
}

.preloaderSecundary-active {
    display: flex !important;
    animation: slideUpSecundary 1s ease-in-out forwards;
}

.preloaderSecundary-exit {
    animation: slideOutUpSecundary 1s ease-in-out forwards;
}

.preloaderSecundary-exit #logoSecundary img {
    animation: logoOutUpSecundary 0.4s ease-in-out forwards;
}

/* END */