* {
    cursor: url(/assets/cursors/cursor.svg) 12 0, auto;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;

    margin: 0;
    padding: 0;

    background-image: url("/assets/ui/tilingstock3.jpeg");
    /*background-image: 
        url(/assets/ui/empty.png),
        url(/assets/ui/tilingstock3.jpeg);*/
    background-size: auto;
    background-repeat: repeat;
    animation: animatedBackground 20s infinite linear;
}

#bg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;

    background-image: url("/assets/ui/withoutbg2.png");
    background-size: cover;
    background-repeat: no-repeat;

    pointer-events: none;

    /*animation: flyUp 0.5s 1 ease-in forwards;*/
}

@keyframes flyUp {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 -150vh;
    }
}

@keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 100%;
    }
}

#social-bar {
    position: absolute;
    bottom: 0;
    right: 0;

    display: flex;
    flex-direction: row;
}

.social-pic {
    height: 50px;
    width: 50px;
    margin-left: 10px;
    margin-right: 10px;

    opacity: 0.6;
}

.social-pic:hover {
    opacity: 1;
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#loading {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 385px;

    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#loading-text {
    font-size: 28pt;
    font-family: 'CarterOne';
    color: white;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #fff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

#esc-menu {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;

    background-color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

@keyframes fadeOut {
    from {
        opacity: 0.9;
    }

    to {
        opacity: 0;
    }
}

#esc-menu-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 50px;
}

.volume-slider-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 10px;
    padding-right: 25px;
}

#volume-nested {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;

    width: 100%;
}

.volume-icon {
    width: 100px;
    height: 100px;
}

.slider {
    width: 20vw;
    height: 25px;
}

#genre {
    border-radius: 5px;

    color: #fff;
    font-family: 'LexendDeca';
    font-size: 14pt;

    background-color: #000;
}

#genre:hover {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}


#math-tutorials {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 20px;

    background-color: #000;
}

#math-tutorials > iframe {
    height: 100%;
}


.ex-buttons {
    background-color: black;
    color: white;

    margin-top: 30px;
    padding: 10px;
    border-radius: 30px;

    border: 3px solid white;

    box-shadow: 0px 0px 10px white;

    width: 100%;

    transition-duration: 0.3s;
    font-size: 24pt;
    font-family: 'LexendDeca';
}

.ex-buttons:hover {
    background-color: white;
    color: black;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#name {
    position: absolute;
    bottom: 5%;
    right: 5%;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.vertical-line {
    height: 100%;
    width: 1px;

    background-color: white;
    color: white;

    margin: 20px;
}

#sso-outer {
    display: none;
}

@property --myColor1 {
    syntax: '<color>';
    initial-value: #FFA101;
    inherits: false;
}

@property --myColor2 {
    syntax: '<color>';
    initial-value: #FF6800;
    inherits: false;
}

.mm-buttons {
    --myColor1: #FFA101;
    --myColor2: #FF6800;

    background-color: #FF6800;
    background: linear-gradient(var(--myColor1), var(--myColor2));
    color: #FFA101;

    padding: 15px;
    border-radius: 30px;

    border-width: 5px;
    border-color: #000;

    box-shadow: 0px 0px 10px #000000;

    width: 100%;

    transition: --myColor1 0.2s, --myColor2 0.2s, color 0.2s;
    font-size: 36pt;
    font-family: 'CarterOne';
    -webkit-text-stroke: 2px black;
}

.mm-buttons:hover {
    --myColor1: #FF6800;
    --myColor2: #FFA101;
    color: #d05300;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}


#top-bar {
    position: absolute;
    top: 0;
    right: 0;

    display: none;
    flex-direction: row;
}

#top-bar>button {
    text-align: center;
    font-size: 14pt;
    font-family: 'CarterOne';

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 10px 20px;
    margin: 10px;

    border-radius: 10px;
    box-shadow: 0px 0px 5px #000000;

    border-width: 5px;
    border-color: #333;

    background: linear-gradient(#FFA101, #FF6800);
    color: black;

    transition-duration: 0.2s;
}

#top-bar>button:hover {
    /*background-image: linear-gradient(black, black);*/
    box-shadow: 0px 0px 10px #000000;
    transform: scale(1.03);
}

#profile {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#profile-img {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#shop {
    cursor: url(/assets/cursors/notallowed.svg) 12 0, auto;
}

#shop-img {
    cursor: url(/assets/cursors/notallowed.svg) 12 0, auto;
}

#gamemodes {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;


    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

@keyframes flyoutright {
    from {
        transform: translateX(0vw);
    }

    to {
        transform: translateX(-150vw);
    }
}

@keyframes flyinleft {
    from {
        transform: translateX(150vw);
    }

    to {
        transform: translateX(0vw);
    }
}

#gamemodes>input {
    width: 600px;
}

#game-desc {
    margin-top: 30px;

    color: white;
    text-align: center;
    font-size: 32pt;
    font-family: 'LexendDeca';
    -webkit-text-stroke: 1px black;
}

#profile-menu {
    display: none;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
    width: 50vw;
    height: 60vh;
}

.profile-bar {
    margin-bottom: 20px;
    width: 120px;

    display: flex;
    flex-direction: row;
}

.profile-bar>input {
    font-size: 16pt;
    border-radius: 10px;
}

#profile-area {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    overflow: hidden;

    padding: 10px;
    border-radius: 10px;
    border: 3px solid #000;
    box-shadow: 0px 0px 10px #000000;

    background-image: linear-gradient(#e05a00, #e08e00);

    height: calc(100% - 80px);
}

#profile-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#username-input {
    padding: 5px;
    border-radius: 10px;

    font-family: 'LexendDeca';
    font-size: 20pt;

    transition-duration: 0.2s;

    box-shadow: 0px 0px 5px #000000;

    color: white;
    background-color: #bc4e00;
}

#username-input::placeholder {
    color: #bbb;
}

#username-input:hover {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#username-bar {
    display: flex;
    flex-direction: row;
}

#username-bar>button {
    font-size: 14pt;
    font-family: 'LexendDeca';

    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

    width: 50px;
    height: 54px;

    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #000000;
    margin-left: 10px;

    background-color: #bc4e00;
    color: white;

    transition-duration: 0.2s;
}

#username-bar>button:hover {
    background-color: white;
    color: black;
    box-shadow: 0px 0px 0px #000000;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

.fa-solid {
    font-size: 24px;
}

.fa-pencil {
    color: gold;
}

.fa-check {
    color: green;
}

.fa-x {
    color: red;
}

#edit-username {
    display: flex;
}

#username-confirm {
    display: none;
}

#username-cancel {
    display: none;
}

#username-status {
    color: white;
    text-align: center;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#profile-right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
}

#profile-right>div {
    color: white;
    text-align: center;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#queue-menu {
    display: none;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
    width: 65vw;
    height: 70vh;
}

.queue-bar {
    margin-bottom: 20px;
    width: 120px;

    display: flex;
    flex-direction: row;
}

.queue-bar>input {
    font-size: 16pt;
    border-radius: 10px;
}

#queue-center {
    display: flex;

    width: 100%;
    height: calc(100% - 70px);
}

#queue-area {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    overflow: hidden;

    height: calc(100% - 20px);
    width: 70%;

    padding: 10px;
    border-radius: 10px;

    background-image: linear-gradient(#e05a00, #e08e00);

    border: 3px solid #000;
    box-shadow: 0px 0px 10px #000000;
}

#queue-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 100%;
}

#queue-left>div {
    color: white;
    text-align: center;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#queue-right {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
}

#queue-right>div {
    color: white;
    text-align: center;
    font-family: 'LexendDeca';
}

#queue-right>button {
    justify-content: center;
    align-items: center;

    text-align: center;
    font-size: 20pt;
    font-family: 'LexendDeca';

    width: 300px;
    padding: 10px;
    margin: 10px;

    border-radius: 10px;
    box-shadow: 0px 0px 5px #000000;

    color: white;

    transition-duration: 0.2s;
}

#queue-right>button:hover {
    background-color: #1b974f;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#actually-join-queue {
    background-color: #17723d;
    display: flex;
}

#actually-leave-queue {
    background-color: #b23a1f;
    display: none;
}

#queue-status {
    font-size: 18pt;
}

#queue-data {
    font-size: 18pt;
}

#queue-leaderboard {
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;

    height: calc(100% - 20px);
    width: 30%;

    box-shadow: 0px 0px 10px #000000;
    background-image: linear-gradient(#e05a00, #e08e00);
    border: 3px solid #000;
    border-radius: 10px;

    margin-left: 10px;

    padding: 10px;
}

#cupimage2 {
    width: 80px;
    height: 80px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#leaderboard-elos {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr;

    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

#leaderboard-elos>div {
    font-size: 14pt;
    font-family: 'LexendDeca';
    color: white;

    padding: 5px;
}



#group-menu {
    display: none;
    flex-direction: column;
    justify-content: center;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
    width: 50vw;
}

hr {
    width: 97%;
    color: white;
    border-color: white;
    background-color: white;
}

.group-bar {
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
    gap: 20px;
}

.gg-buttons {
    background-color: #e05a00;
    color: white;

    padding: 10px;
    border-radius: 30px;

    border: 3px solid #000;

    box-shadow: 0px 0px 10px #000000;

    width: 100%;

    transition-duration: 0.2s;
    font-size: 24pt;
    font-family: 'LexendDeca';
}

.gg-buttons:hover {
    background-color: #FFA101;
    color: #FF6800;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#group-labels {
    width: 95%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 10px;
    border-radius: 10px;
}

#group-labels>div {
    color: white;
    font-size: 24pt;
    font-family: 'LexendDeca';
}

#group-list {
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    padding: 10px;
    border-radius: 30px;

    border: 3px solid #000;

    box-shadow: 0px 0px 10px #000000;

    background-image: linear-gradient(#e05a00, #e08e00);
    height: 70%;
}

#group-list-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow-y: scroll;
    overflow-x: hidden;
}

.group-element {
    width: 95%;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    margin: 10px;
    padding: 10px;

    border-radius: 10px;
    /*box-shadow: 0px 0px 10px #000000;

    background-color: black;*/
    color: white;

    transition-duration: 0.2s;
}

.group-element:hover {
    background-color: #FFA101;
    color: #FF6800;
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;

    box-shadow: 0px 0px 10px #000000;
}

.group-element>div {
    font-size: 18pt;
    font-family: 'LexendDeca';
}


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#failed {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#failed-text {
    font-size: 20pt;
    font-family: 'LexendDeca';
    color: white;

    margin-bottom: 20px;
}

#okay {
    background-image: linear-gradient(#e05a00, #e08e00);
    color: white;

    box-shadow: 0px 0px 10px #000000;

    padding: 10px;
    border-radius: 10px;

    transition-duration: 0.2s;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#okay:hover {
    background-color: white;
    color: black;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;

    box-shadow: 0px 0px 0px #000000;
}

#group-players {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;


    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#group-center {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#group-main {
    display: flex;
    flex-direction: column;
    align-items: center;

    border-radius: 10px;

    height: 600px;
    width: 960px;

    background-image: linear-gradient(#e05a00, #e08e00);

    border: 3px solid #000;
    box-shadow: 0px 0px 10px #000000;

    padding: 20px;
}

#player-list {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: 100px;
    margin-right: 100px;
}

.player {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 14pt;
    font-family: 'LexendDeca';
    color: white;

    width: 165px;
    height: 260px;
    margin: 10px;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.player-image {
    width: 160px;
    height: 200px;

    margin-left: 5px;
    margin-bottom: 10px;
}

.score {
    color: silver;
}

@keyframes sprite {
    from {
        background-position: 0px -40px;
    }

    to {
        background-position: -2560px -40px;
    }
}

.animated {
    background-image: url("/assets/ui/player.png");

    animation-name: sprite;
    animation-duration: 0.5s;
    animation-timing-function: steps(16);
    animation-iteration-count: infinite;
}


#settings {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    width: 100%;

    margin: 20px;
}

#map-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
}

.option-text {
    display: flex;
    flex-direction: row;
    align-items: center;

    color: #fff;
    font-family: 'LexendDeca';
    font-size: 14pt;
}

.option-select {
    margin-left: 5px;
    padding: 5px;
    border-radius: 5px;

    color: #fff;
    font-family: 'LexendDeca';
    font-size: 14pt;

    background-color: #333;
}

.option-select:hover {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#map-image {
    height: 200px;

    margin-top: 20px;
}

#other-settings {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
}

#join-code-text {
    color: #fff;
    font-family: 'LexendDeca';
    font-size: 14pt;
    text-align: center;
}

#group-chatbox {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;

    height: 630px;
    width: 300px;

    box-shadow: 0px 0px 10px #000000;
    background-image: linear-gradient(#e05a00, #e08e00);
    border: 3px solid #000;
    border-radius: 10px;

    margin-left: 10px;

    padding: 5px;
}

#group-chatmessages {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: baseline;

    height: calc(100% - 70px);
    width: 96%;

    overflow-y: scroll;
    margin: 5px;
}

#group-chatinput {
    width: calc(100% - 25px);

    color: #fff;
    font-size: 12pt;
    font-family: 'LexendDeca';

    background-color: #e05a00;
    border-color: #000;
    border-width: 3px;
    border-radius: 10px;
    resize: none;

    padding: 5px;
}

#group-chatinput::placeholder {
    color: #c7c7c7;
}

#leaderboard {
    display: none;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;

    height: 630px;
    width: 300px;

    box-shadow: 0px 0px 10px #000000;
    background-image: linear-gradient(#e05a00, #e08e00);
    border: 3px solid #000;
    border-radius: 10px;

    margin-left: 10px;

    padding: 5px;
}

#cupimage {
    width: 100px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#leaderboard-timeframe {
    display: flex;
    flex-direction: row;

    box-shadow: 0px 0px 10px #000000;

    border-bottom: 3px solid #fac809;

    margin-bottom: 10px;
}

#leaderboard-timeframe>div {
    font-size: 14pt;
    font-family: 'LexendDeca';
    text-align: center;
    color: #fff;

    background-color: #333;

    padding: 0px;
    width: 90px;
    height: 50px;
    line-height: 50px;

    transition-duration: 0.2s;
}

#leaderboard-timeframe>div:hover {
    background-color: #fac809;
    color: #000;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

.selected {
    background-color: #fac809 !important;
    color: #000 !important;
}

#leaderboard-times {
    display: grid;
    grid-template-columns: 1fr 4fr 2fr;

    width: 100%;
    overflow: hidden;
}

.number {
    justify-self: end;
}

#leaderboard-times>div {
    font-size: 14pt;
    font-family: 'LexendDeca';
    color: #fff;

    padding: 3px;
    margin-top: 1px;
    margin-bottom: 2px;
}

#start {
    font-size: 20pt;
    font-family: 'LexendDeca';

    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #000000;

    background-color: rgba(128, 128, 128, 0.5);
    color: white;

    width: 600px;

    transition-duration: 0.2s;
}

.start-enabled {
    background-color: #008a00 !important;
}

.start-enabled:hover {
    background-color: #008a00 !important;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto !important;
}

#leave {
    border-radius: 10px;
    font-size: 16pt;
    width: 120px;
}

.group-bar2 {
    width: 1332px;
    margin-bottom: 20px;

    display: flex;
    flex-direction: row;
}

#create-group {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#group-name-input {
    padding: 10px;
    border-radius: 10px;

    margin-bottom: 20px;

    font-family: 'LexendDeca';
    font-size: 28pt;

    transition-duration: 0.2s;

    box-shadow: 0px 0px 5px #000000;

    color: white;
    background-color: #bc4e00;
}

#group-name-input::placeholder {
    color: #bbb;
}

#group-name-input:hover {
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#group-name-submit {
    width: 400px;
}

#game {
    display: none;
    justify-content: center;
    align-items: center;

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;
}

#myCanvas {
    border: solid 10px #000;
    border-radius: 10px;

    box-shadow: 0px 0px 10px #000;
}

#game-sidebar {
    display: block;
    width: 300px;

    margin-left: 10px;
}

#timer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;

    box-shadow: 0px 0px 10px #000000;
    background-color: #000;
    border-radius: 10px;

    padding: 5px;
    margin-bottom: 10px;

    color: white;
    font-size: 28pt;
    font-family: 'CarterOne';
}

#powerup-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;

    width: 100%;

    box-shadow: 0px 0px 10px #000000;
    background-color: #000;
    border-radius: 10px;

    padding: 5px;
    margin-bottom: 10px;
}

.powerup-entry {
    display: flex;
    justify-content: center;
    align-items: center;
}

.powerup-entry>img {
    box-shadow: 0px 0px 10px #fff;
    border-radius: 10px;

    margin: 10px;
}

.powerup-entry>div {
    width: 10px;
    height: 10px;
    margin-right: 5px;

    border-radius: 5px;

    background-color: #555;
}

#game-chatbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;

    width: 100%;
    /*height: 35vh;*/

    box-shadow: 0px 0px 10px #000000;
    background-color: #000;
    border-radius: 10px;

    padding: 5px;
    margin-bottom: 10px;
}

#game-chatmessages {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: baseline;

    height: 30vh;
    width: 96%;

    overflow-y: scroll;
    margin: 5px;
}

.chatmessage {
    font-size: 12pt;
    font-family: 'LexendDeca';

    padding: 5px;
}

.normal {
    color: #fff;
}

.good {
    color: #2ecc71;
}

.bad {
    color: #e74c3c;
}

.hidden {
    display: none;
}

#tips-container {
    display: flex;
    flex-direction: row;
}

#tips-container>label {
    font-size: 11pt;
    font-family: 'LexendDeca';
    color: white;
}

#chatinput {
    height: 3vh;
    width: calc(100% - 25px);

    color: #fff;
    font-size: 12pt;
    font-family: 'LexendDeca';

    background-color: #000;
    border-width: 3px;
    border-radius: 10px;
    resize: none;

    padding: 5px;
}

#tt-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    width: calc(100% - 10px);
    /*height: 35vh;*/

    box-shadow: 0px 0px 10px #000000;
    background-color: #000;
    border-radius: 10px;

    padding: 10px;
}

#tt-controls>button {
    width: 75px;
    height: 75px;
    line-height: 75px;

    box-shadow: 0px 0px 10px #ffffff70;
    border-radius: 10px;
    border: none;

    color: white;

    text-align: center;
    font-size: 30pt;
}

#tt-controls>button:enabled:hover {
    box-shadow: 0px 0px 0px #ffffff70;
    cursor: url(/assets/cursors/hand.svg) 12 0, auto;
}

#reset-tt:enabled {
    background-image: linear-gradient(#2f2f2f, #222);
}

#reset-tt:enabled:hover {
    background-image: linear-gradient(#222, #222);
}

#exit-tt:enabled {
    background-image: linear-gradient(#e81f37, #ba1a2d);
}

#exit-tt:enabled:hover {
    background-image: linear-gradient(#ba1a2d, #ba1a2d);
}

#win-screen {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#win-screen>div {
    font-size: 20pt;
    font-family: 'LexendDeca';
    color: white;

    width: 500px;
    padding: 20px;

    margin: 10px;

    background-color: #000;
    box-shadow: 0px 0px 10px #000000;
}

#first {
    border: solid;
    border-color: #FFD700;
}

#second {
    border: solid;
    border-color: #C0C0C0;
}

#third {
    border: solid;
    border-color: #CD7F32;
}

#win-screen-exit {
    background-color: black;
    color: white;

    box-shadow: 0px 0px 10px #000000;

    padding: 10px;
    border-radius: 10px;

    transition-duration: 0.2s;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#win-screen-exit:hover {
    background-color: white;
    color: black;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;

    box-shadow: 0px 0px 0px #000000;
}

#queue-win-screen {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    margin: auto;

    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#queue-win-screen>div {
    font-size: 20pt;
    font-family: 'LexendDeca';
    color: white;

    width: 500px;
    padding: 20px;

    margin: 10px;

    background-color: #000;
    box-shadow: 0px 0px 10px #000000;

    display: flex;
    justify-content: space-between;
}

#queue-first {
    border: solid;
    border-color: #FFD700;
}

#queue-second {
    border: solid;
    border-color: #C0C0C0;
}

#queue-third {
    border: solid;
    border-color: #CD7F32;
}

#queue-win-screen-exit {
    background-color: black;
    color: white;

    box-shadow: 0px 0px 10px #000000;

    padding: 10px;
    border-radius: 10px;

    transition-duration: 0.2s;
    font-size: 20pt;
    font-family: 'LexendDeca';
}

#queue-win-screen-exit:hover {
    background-color: white;
    color: black;

    cursor: url(/assets/cursors/hand.svg) 12 0, auto;

    box-shadow: 0px 0px 0px #000000;
}

#useFont {
    font-family: 'AnalogueOS';
    font-size: 0pt;

    position: fixed;
}

@font-face {
    font-family: 'AnalogueOS';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/AnalogueOS-Regular.woff2) format('woff2');
}

@font-face {
    font-family: 'CarterOne';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/CarterOne-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'LexendDeca';
    font-style: normal;
    font-weight: 400;
    src: url(/assets/fonts/LexendDeca-Bold.ttf) format('truetype');
}