* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

:root {
    --text-color: white;
    --background: linear-gradient(to right, purple, rgb(35 192 204));
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: var(--background);

    /* text */
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
    word-spacing: normal;
    line-height: 1;    
}



/* MENUBAR */
.menubar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    z-index: 2000;
    position: absolute;
    padding-right: 10px;
    top: 0;
    right: 0;
    height: 35px;
}

.menubar>* {
    height: 100%;
}


/* LOGIN CONTAINER */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.auth-container__avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: white;
    user-select: none;
    pointer-events: none;
    padding: 10px;
}

.auth-container__username {
    /* username */
    color: white;
    font-size: 30px;
    margin: 15px 0;
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 10px rgb(0 0 0 / 80%);
}

.auth-container>#password {
    padding: 0 6px;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: rgb(255 255 255 / 60%);
    width: 200px;
    height: 33px;
    border-radius: 4px;
}


.auth-container__show-password {
    position: relative;
    top: -31.5px;
    left: 83px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: transparent;
}

.auth-container__show-password:active {
    background-color: rgb(86 86 86 / 24.7%);
}

.auth-container__show-password svg {
    fill: white;
    height: 100%;
    width: 100%;
    border-radius: 2px;
}

.auth-container__show-password:active svg {
    fill: gray;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(10px);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}




/* USERS */
.users {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 1px;
}

.users>.user {
    display: flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
    padding: 8px 5px;
    border-radius: 5px;
    height: 50px;
    width: 250px;
}

.users>.user:hover {
    background-color: rgb(255 255 255 / 20%);
}

.user>.avatar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: black;
    background-color: white;
    border-radius: 50%;
    margin-right: 8px;
    user-select: none;
    pointer-events: none;
}

.user>.username {
    font-size: 20px;
    color: white;
    text-shadow: 0 0 10px rgb(0 0 0 / 80%);
}

/* APPLETS */
.applets {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    position: absolute;
    right: 16px;
    bottom: 16px;
    height: 35px;
    gap: 1px;
    z-index: 2000;
}

.applets>* {
    height: 100%;
}



/* ONLY DISPLAY USERS ON DESKTOP */
@media (pointer: coarse) {
    .users {
        display: none;
    }

    .applets {
        display: none;
    }
}

/* ONLY DISPLAY APPLETS ON MENUBAR */
@media (pointer: fine) {
    .menubar {
        display: none;
    }
}