@import "../../theme/colors.scss";

html,
body,
#root {
    height: 100%;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00000060, #00000050);
    border-radius: 10px;
}

/* ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #005aea90, #4a90e290);
} */

::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

#splash-screen {
    display: table;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #fff;
    z-index: 100000;
    transition: opacity 1s;
}

@keyframes flickerAnimation {
    0% {
        margin-top: -40px;
    }

    50% {
        margin-top: 0;
    }

    100% {
        margin-top: -40px;
    }
}

@-o-keyframes flickerAnimation {
    0% {
        margin-top: -40px;
    }

    50% {
        margin-top: 0;
    }

    100% {
        margin-top: -40px;
    }
}

@-moz-keyframes flickerAnimation {
    0% {
        margin-top: -40px;
    }

    50% {
        margin-top: 0;
    }

    100% {
        margin-top: -40px;
    }
}

@-webkit-keyframes flickerAnimation {
    0% {
        margin-top: -40px;
    }

    50% {
        margin-top: 0;
    }

    100% {
        margin-top: -40px;
    }
}

#splash-screen img {
    height: auto;
    width: 100px;
    display: inline-block;
    animation: flickerAnimation 2s infinite;
    -o-animation: flickerAnimation 2s infinite;
    -moz-animation: flickerAnimation 2s infinite;
    -webkit-animation: flickerAnimation 2s infinite;
}

.splash-screen-hide {
    opacity: 0;
}
