:root {
    --background: #151515;
    --background-medium: #181818;
    --background-low: #1C1C1C;
    --foreground: #E8E3E3;
    --accent: #8DA3B9;
    --background-lower: #222;
    --grey: #636363;
    --red: #B66467;
}

@font-face {
    font-family: 'feather';
    src: url(../static/feather.ttf);
    font-style: normal;
    font-display: block;
}

*:not(img) {
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 14px;
    color: var(--foreground);
    outline: none;
}

.drop-container {
    display: none;
    position: absolute;
    left: 50%;
    top: 61.5%;
    font-size: 14px;
    background-color: var(--background-medium);
    border-color: var(--background-lower);
    border-width: 2px;
    border-style: solid;
    min-width: 120px;
    z-index: 100;
    padding: 0;
}

.drop-container > div {
    height: 32px;
    line-height: 32px;
    padding: 0 12px;
    text-decoration: none;
    z-index: 100;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: block;
    text-align: start;
}

.drop-container.image > div {
    padding-left: 40px;
}

.drop-container > div:hover {
    background-color: var(--background-low);
}

body {
    overflow: hidden;
    -khtml-user-select: text;
    user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    -ms-user-select: text;
}

body::before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-image: url(../static/wp.png);
    background-size: cover;
}

*::selection {
    background-color: var(--accent);
    color: var(--background);
}

#toast-container > div, #login-box, .ghost {
    background-color: var(--background);
}

button, input {
    background-color: var(--background-medium);
    color: var(--foreground);
}

button {
    border: solid 2px var(--accent);
    height: 32px;
    min-width: 32px;
    cursor: pointer;
}

#login-btn:hover:not(:disabled) {
    background-color: var(--accent);
    color: var(--background);
}

button:hover {
    color: var(--accent);
}

input {
    padding: 0 8px;
    margin-right: 4px;
    height: 28px;
    border: solid 2px var(--background-low);
    width: 240px;
}

input:focus {
    border-color: var(--accent);
}

#name {
    font-size: x-large;
    display: inline-block;
}

.bottom * {
    font-size: x-small;
    font-weight: bolder;
}

.bottom {
    position: absolute;
    display: flex;
    align-items: flex-end;
    bottom: 0;
    width: 96%;
    justify-content: space-between;
}

.bottom > span { display: inline-flex; }

.bottom :first-child{
    margin-left: -6px;
    margin-bottom: 1px;
}

.icon {
    font-family: 'feather';
}

#avatar {
    border-radius: 50%;
    pointer-events: none;
    width: 128px;
    height: 128px;
}

.sm-avatar {
    pointer-events: none;
    max-width: 32px;
    max-height: 32px;
    position: absolute;
    left: 0;
}

.show {display:block;}

.ghost {
    border: none;
}

.xl-font {
    font-size: large;
}

#content {
    text-align: center;
    margin: 10%;
}

#toast-container {
    right: 4px;
    z-index: 1000;
    position: absolute;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#toast-container > :not(:last-child) {
    margin-bottom: 4px;
}

#login-btn:disabled {
    border-color: var(--background-low);
    color: var(--grey)
}

#toast-container > div {
    font-size: smaller;
    width: fit-content;
    padding: 16px 32px;
    border: solid 2px var(--background-lower);
}

.iflex {
    display: inline-flex;
}

#toast-container > div.err {
    border-color: var(--red);
}

#powermenu {
    left: 8px;
}

#powermenu p {
    line-height: 24px;
}

#session-list {
    left: 40%;
}

.bottom-drop {
    position: absolute;
    width: fit-content;
    height: fit-content;
    top: unset;
    bottom: 32px;
}

#login-box {
    padding: 16px;
    height: 400px;
    position: fixed;
    margin:auto;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width: 600px;
    border: solid 2px var(--background-lower);
}