/*
 *
 *   W'Bit - Copyright (C) 2021  WZ73
 *   Oficial repository: https://gitlab.com/wz73/wbit
 *
 *   Created on 13 August, 2021
 *   Version BETA PRE-RELEASE 1.2.1
 *
 *   W'Bit is a discord bot with fully customised features like moderation,
 *   custom commands, fun, easy and simple dashboard, and more!
 *
 *   W'Bit is released under the GPLv2 License
 *
 */

:root {
    --font-family: sans-serif;
    --font-color: #212121;
    --color-primary: #fedbb4;
    --color-secondary: #18a0fb;
    --color-tertiary: #293447;
}

/* Default stylesheet */

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
* {
    margin: 0px;
    padding: 0px;
    outline: 0px;
    list-style: none;
    text-decoration: none;
    font-family: var(--font-family);
    font-weight: 100;
    color: var(--font-color);
    box-sizing: border-box;
    scrollbar-width: thin;
    text-align: center;
    scrollbar-color: var(--color-primary) var(--color-secondary);
}

/* Custom scroll bar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--color-primary); }
::-webkit-scrollbar-thumb { background: var(--color-secondary); }
/* ::-webkit-scrollbar-thumb:hover { opacity: 0.9; } */

/* Loader */

#loader {
    position: fixed;
    z-index: 99;
    top: 0px;
    right: 0px;
    height: 100vh;
    width: 100vw;
    background-color: #293447;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
#loader.hide {
    animation: fade-out 1s;
}
@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
#loader-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}
#loader-logo p {
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    margin-left: 12px;
}
#loader-logo img {
    height: auto;
    width: 50px;
}
#loader-item {
    position: relative;
    height: 23px;
    width: 69px;
}
#loader-item div {
    position: absolute;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
#loader-item div:nth-child(1) {
    left: 0px;
    animation: loader-item1 0.6s infinite;
}
#loader-item div:nth-child(2) {
    left: 0px;
    animation: loader-item2 0.6s infinite;
}
#loader-item div:nth-child(3) {
    left: 30px;
    animation: loader-item2 0.6s infinite;
}
#loader-item div:nth-child(4) {
    left: 52px;
    animation: loader-item3 0.6s infinite;
}
@keyframes loader-item1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes loader-item3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes loader-item2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(30px, 0);
    }
}
