:root {
    --text-color: #f3f4f4;
    --primary-color: #853953;
    --secondary-color: #612d53;
    --background-color: #2c2c2c;
    --background-color2: #1a1a1a;
    --discord-color: #5865f2;
    --highlight-color: #ffffff66;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    max-height: 100vh;
    margin: 0;
}

#header-div {
    position: fixed;
    width: calc(100vw - 56px);
    z-index: 1;
    top: 0;
}

#header {
    display: flex;
    align-items: center;
    background-color: var(--background-color2);
    padding: 12px 20px 12px 6px;
    min-height: 32px;
    max-height: 32px;
}

#header .title-div {
    display: flex;
    align-items: center;
}

#header .title-div .title {
    font-weight: bold;
    font-size: x-large;
}

#header .title-div .logo {
    max-width: 32px;
    max-height: 32px;
    margin-right: 10px;
    color: white;
}

#header .user {
    flex-grow: 0;
    align-items: center;
}

#header .user .login {
    background-color: var(--discord-color);
    border-radius: 8px;
    padding: 8px;
}

#header .separator {
    flex-grow: 1;
}

#header a {
    display: flex;
    color: var(--text-color);
    text-decoration: none;
    align-items: center;
}

#darken {
    background-color: black;
    pointer-events: none;
    opacity: 0%;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vw;
    transition: opacity 200ms;
    z-index: 2;
}

#main-div {
    display: flex;
    margin-left: 56px;
    margin-top: 56px;
    width: calc(100vw - 56px);
    height: calc(100vh - 56px);
}

#sidebar-div {
    position: fixed;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    background-color: var(--background-color2);
    left: 0;
    top: 0;
    min-width: 56px;
    max-width: 56px;
    height: 100vh;
}

.sidebar-button {
    max-width: 24px;
    max-height: 24px;
    padding: 8px;
    margin: 8px;
    border-radius: 100%;
    cursor: pointer;
}

.sidebar-button:hover {
    background-color: var(--background-color);
}

#sidebar-exp-div {
    position: fixed;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: left;
    background-color: var(--background-color2);
    left: -300px;
    top: 0;
    min-width: 256px;
    max-width: 256px;
    height: 100vh;
    transition: left 200ms;
    z-index: 3;
    box-shadow: 0px 0px 20px 20px #000000cc;
}

#content-div {
    height: calc(100vh - 56px);
    width: calc(100vw);
    overflow: scroll;
}

.discord {
    display: inline-flex;
    max-width: 24px;
    max-height: 24px;
    margin-right: 6px;
    color: white;
}

.profile-pic {
    display: inline-flex;
    max-width: 32px;
    max-height: 32px;
    margin-left: 6px;
    border-radius: 100%;
}

.draft-board {
    display: flex;
    margin: 2px 2px;
}

.draftable-column {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    max-width: 150px;
    text-align: center;
    margin-top: 34px;
    margin-right: 2px;
}

.draftable-column-header {
    display: flex;
    align-items: center;
    position: absolute;
    top: -34px;
    left: 0;
    font-weight: bolder;
    font-size: 1.5rem;
    width: 150px;
    height: 32px;
    border: 1px solid var(--background-color);
    border-radius: 2px;
}

.draftable-column-header-text {
    flex-grow: 1;
}

.draftable-pokemon {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 150px;
    height: 32px;
    border: 1px solid var(--background-color);
    border-radius: 2px;
    overflow: hidden;
}

.draftable-pokemon-icon {
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    margin-right: 6px;
    border-radius: 100%;
    background-color: var(--highlight-color);
    margin-left: 4px;
}

.draftable-pokemon-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-grow: 1;
    margin-right: 6px;
    font-size: 0.8rem;
    font-family: "Roboto", sans-serif;
    cursor: default;
}

#draftable-popup {
    display: none;
    position: fixed;
    flex-direction: column;
    align-items: center;
    z-index: 4;
    top: 0;
    left: 0;
    pointer-events: none;
    background-color: #1a1a1add;
    width: 220px;
    border-radius: 8px;
    padding: 8px;
}

#draftable-popup-row1 {
    display: flex;
    flex-direction: row;
    margin-top: 8px;
    width: 220px;
}

#popup-pokemon-icon {
    width: 72px;
    height: 72px;
    background-color: var(--highlight-color);
    border-radius: 8px;
    padding: 8px;
    margin-left: 2px;
}

#draftable-popup table {
    table-layout: fixed;
    width: 200px;
}

#draftable-popup table tr th {
    font-weight: normal;
    font-size: 0.8rem;
    text-align: center;
}

#draftable-popup table tr td {
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    background-color: var(--highlight-color);
    border-radius: 4px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
}

#draftable-popup-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 2px;
    flex-grow: 1;
}

#draftable-popup-types {
    display: flex;
    flex-direction: row;
}

#draftable-popup-ability {
    font-weight: normal;
    text-decoration: underline;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 4px;
}

#draftable-popup-abilities {
    font-weight: normal;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 2px;
}

.type-icon {
    border-radius: 4px;
    font-size: .75rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .7);
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, .2);
    width: 60px;
    text-align: center;
    margin: 0px 1px;
}

.type-normal {
    background-color: #aa9;
}

.type-fire {
    background-color: #f42;
}

.type-water {
    background-color: #39f;
}

.type-electric {
    background-color: #fc3;
}

.type-ice {
    background-color: #6cf;
}

.type-fighting {
    background-color: #b54;
}

.type-steel {
    background-color: #aab;
}

.type-ground {
    background-color: #db5;
}

.type-flying {
    background-color: #89f;
}

.type-grass {
    background-color: #7c5;
}

.type-poison {
    background-color: #a59;
}

.type-bug {
    background-color: #ab2;
}

.type-rock {
    background-color: #ba6;
}

.type-psychic {
    background-color: #f59;
}

.type-fairy {
    background-color: #e9e;
}

.type-ghost {
    background-color: #66b;
}

.type-dragon {
    background-color: #76e;
}

.type-dark {
    background-color: #754;
}

.movable {
    cursor: move;
}