* {
    font-family: Ubuntu;
    font-size: 14px;
}

:root {
    --backgroundColor: #dde6eb;
    --backgroundBorderColor: #c1cfd8;
    --menuTextColor: #000000;
    --backgroundBrightness: 0.85;
    --backgroundLink: url(./resources/background_light.svg)
}

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

::-webkit-scrollbar-track {
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.3);
}

@font-face {
    font-family: coffee;
    src: url("/resources/coffee.ttf") format("opentype");
}

.conceal {
    -webkit-text-security: disc;
}

html,
body {
    overflow: hidden;
    height: 100%;
    position: fixed;
    -webkit-overflow-scrolling: touch;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

html,
body,
canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

canvas {
    image-rendering: optimizeSpeed;
    image-rendering: pixelated;
}

h1 {
    padding: 0;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 25px;
    font-weight: bolder;
    color: var(--menuTextColor);
}

h2 {
    font-size: small;
    color: #000;
    font-weight: bold;
    text-align: center;
    color: var(--menuTextColor);
}

h3 {
    font: small Ubuntu;
    /*color: #484848;
    font-style: italic;*/
    text-align: center;
}

h4 {
    font-size: small;
    color: #8abc3f;
    text-align: center;
    color: var(--menuTextColor);
}

hr.cl {
    border-style: dashed;
    border-color: #a6b4bc;
}

h5 {
    font-size: x-small;
    color: #484848;
    text-align: center;
    color: var(--menuTextColor);
}

small {
    font-size: x-small;
}

ul {
    padding-left: 15px;
    margin-left: 10px;
}

.optionsTable {
    color: var(--menuTextColor);
}

input {
    text-align: center;
    width: 100%;
    padding: 10px;
    border: solid 1px #dcdcdc;
    transition: box-shadow 0.3s, border 0.3s;
    box-sizing: border-box;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    outline: none;
}

input.checkbox {
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    position: relative;
    top: -2px;
    overflow: hidden;
}

input:focus, input.focus {
    border: solid 1px #cccccc;
    box-shadow: 0 0 3px 1px #dddddd;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font: 13px/1 Ubuntu;
    padding: 2px 28px 2px 8px;
    height: 21px;
    margin-left: 3px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

select:hover {
    background-color: #ccc;
    border-radius: 4px;
    border: 1px solid #ccc;
}

select:active {
    background-color: #eee;
    border-radius: 4px;
    border: 1px solid #eee;
}

td {
    width: 50%;
}

table {
    width: 100%;
}


a:link,
a:visited {
    color: #9d9dd1;
}

a:link:hover,
a:visited:hover {
    color: #c0c0ee;
}

#playerNameInput {
    padding: 6px;
    font-size: larger;
}

#mainWrapper {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    z-index: 100;
    position: relative;
    background: var(--backgroundLink) repeat center center;
    background-size: contain;
}

/* Mod Menu */
#modBrowser{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--backgroundLink) repeat center center;
    z-index: 150;
    transition: .2s;
}
.modTab{
    height: 5%;
    width: 80%;
    display: flex;
    justify-content: space-between;
}
.modTabMenuButtonHolder{
    width: 100%;
}
.modTabMenuButton {
    width: 12.25%;
    height: 90%;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #a6d469;
    border: 0;
    border: 2px solid #749f34;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    font: 1.25vw Ubuntu;
    transition: .2s;
}
.modTabButtonSelected{
    filter: saturate(1);
}
.modTabButtonSelected:hover{
    scale: .98;
    filter: brightness(.98);
}
.modTabButtonUnselected{
    filter: saturate(0); 
}
.modTabButtonUnselected:hover{
    scale: .98;
    filter: saturate(0) brightness(.98);
}
.modTabMenuButton:active{
    background: #749f34;
    scale: .9;
}
.modTabExitButton{
    width: 12.25%;
    height: 90%;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #ff6060;
    border: 0;
    border: 2px solid #ff0000;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    font: 1.5vw Ubuntu;
    transition: .2s;
    cursor: pointer;
}
.modTabExitButton:hover{
    scale: .98;
    filter: brightness(.98);
}
.modTabExitButton:active{
    background: #ff0000;
    scale: .9;
}
.modMenu {
    display: flex;
    background: white;
    width: 80%;
    height: 80%;
    box-sizing: border-box;
    border-radius: 5px 5px 5px 5px;
    border: 2px solid #749f34;
}

.modInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    height: 100%;
    background: #a6d469;
    border-right: 2px solid #749f34;
}
.modInfo > h1 {
    font-size: 2vw;
}
.modInfo > h2 {
    font-size: 1.75vw;
}
.modInfo > p {
    font-size: 1.5vw;
}
.modList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 75%;
    max-height: 100%;
    overflow-y: scroll;
    background: var(--backgroundColor);
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 10px;
}

.modEntry {
    background: var(--backgroundLink);
    width: 32.6%;
    height: 32.6%;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    padding: 0;
    margin: .33%;
    background-position: center;
    background-size: cover;
    transition: .35s;
}
.modEntry:hover {
    scale: 1.01;
}
.modEntryText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1.5px) brightness(.75);
    border-radius: 5px 5px 5px 5px;
    transition: .75s;
}
.modEntryText:hover{
    backdrop-filter: blur(1px) brightness(.85);
}
.modEntryText > * {
    color: white;
    margin: 0;
}
.modEntryText > h1 {
    font-size: 2vw;
}
.modEntryText > h2 {
    font-size: 1.75vw;
}
.modEntryText > p {
    font-size: 1.5vw;
}

#modSearch{
    position: sticky;
}

/* Play Screen */
#gameJoinScreen{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--backgroundLink) repeat center center;
    background-size: contain;
    z-index: 150;
    transition: .2s;
}
.gameJoinCloseHolder{
    height: 2.5vw;
    width: 80%;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    justify-content: flex-end;
}
.gameJoinClose{
    width: 12.25%;
    height: 100%;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #ff6060;
    border: 0;
    border: 2px solid #ff0000;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    font: 1.5vw Ubuntu;
    transition: .2s;
    cursor: pointer;
}
.gameJoinClose:hover{
    scale: .98;
    filter: brightness(.98);
}
.gameJoinClose:active{
    background: #ff0000;
    scale: .9;
}
.gameJoinBox {
    display: flex;
    background: white;
    width: 80%;
    height: 80%;
    box-sizing: border-box;
    border-radius: 5px 5px 5px 5px;
    border: 2px solid #749f34;
}
.joinSidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 25%;
    height: 100%;
    background: #a6d469;
    border-right: 2px solid #749f34;
}
.joinInfo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 18vw;
    width: 100%;
}
.joinInfo > * {
    margin: 2px;
}
.joinInfo > h1{
    font-size: 1.75vw;
    margin: 5px;
}
#nameInput{
    width: 70%;
    height: 2vw;
    padding: 0px;
    font-size: 1.2vw;
}
#tokenInput{
    width: 60%;
    height: 1vw;;
    padding: 5px;
    font-size: .5vw;
}
.joinRoomInfo{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: inherit;
    width: 100%;
    border-top: 2px solid #749f34;
    border-bottom: 2px solid #749f34;
    height: -webkit-fill-available;
    overflow-y: scroll;
    overflow-x: hidden;
}
.joinRoomInfo::-webkit-scrollbar {
    width: 4px;
}
.joinRoomInfo::-webkit-scrollbar-track{
	background: transparent;
}
.joinRoomInfo > * {
    padding: 0;
    margin: 5px;
    text-align: center;
}
#roomInfoGamemodeImage{
	width: 10vw;
    height: auto;
    border: 2px solid #749f34;
	border-radius: 5px;
}
.joinRoomModList{
    background: var(--backgroundColor);
    border-radius: 5px;
    width: 90%;
    min-height: 10vw !important;
	max-height: 10vw !important;
    margin-bottom: 5px;
    padding: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.modListEntry{
    width: 100%;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(0, 0, 0, .5);
}
.modListHeader{
    height: 2vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px;
}
.modListHeader > img{
    height: 1.5vw;
    width: 1.5vw;
    padding: 0;
    border-style: solid;
    border-width: 2px;
    border-color: rgba(0, 0, 0, .5);
}
.modListHeader > h2{
    height: 1vw;
    font-size: 1vw;
}
.modListHeader > button{
    font-size: .6vw;
    height: 1.5vw;
    width: 1.5vw;
    border-style: solid;
    border-radius: 5px;
    border-width: 2px;
    border-color: rgba(0, 0, 0, .5);
    color: white;
    transition: .1s;
}
.modListHeader > button:hover{
    scale: .95;
}
.modListHeader > button:active{
    scale: .7;
}
.modListHeaderAdd{
    background: green;
    cursor: pointer;
}
.modListHeaderRemove{
    background: red;
    cursor: pointer;
}
.modListEntry > p{
    width: auto;
    font-size: .75vw;
    padding: 5px;
    border-top-style: solid;
    border-width: 2px;
    border-color: rgba(0, 0, 0, .5);
}
.joinActionButton{
    height: 10vw;
    width: 100%;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #a6d469;
    border-style: none;
    cursor: pointer;
    font: 1.5vw Ubuntu;
    transition: .2s;
}
.joinActionButton:hover{
    filter: brightness(.95);
}
.joinActionButton:active{
    background: #749f34;
    font-size: 1.45vw;
}
.joinBrowser {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 75vw;
    max-height: 100%;
    background: var(--backgroundColor);
    padding: 10px;
    padding-top: 0px;
    padding-bottom: 10px;
}
.joinSearch{
    position: sticky;
    top: 5px;
    left: 0;
    height: 3vw;
    font-size: 1.5vw;
}
.joinSearchButtons{
    position: sticky;
    top: calc(3vw + 10px);
    left: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 2.5vw;
}
.joinSearchButtonGroup{
    width: 100%;
}
.joinSearchButtonGroup:first-of-type > button{
    float: left;
    margin-right: 0px;
    margin-left: 5px;
}
.joinSearchButtonGroup > button{
    float: right;
    width: 40%;
    height: 100%;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #a6d469;
    border: 0;
    border: 2px solid #749f34;
    cursor: pointer;
    border-radius: 5px 5px 5px 5px;
    font: 1.5vw Ubuntu;
    transition: .2s;
    margin-right: 5px;
}
.joinSearchButtonGroup > button:active{
    background: #749f34;
    scale: .9;
}
.joinSearchButtonSelected{
    filter: saturate(1); 
}
.joinSearchButtonSelected:hover{
    scale: .98;
    filter: brightness(.98);
}
.joinSearchButtonUnselected{
    filter: saturate(0); 
}
.joinSearchButtonUnselected:hover{
    scale: .98;
    filter: saturate(0) brightness(.98);
}
.joinEntryHolder{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    width: 100%;
    height: calc(100% - 5.5vw - 15px);
    overflow: scroll;
    margin-top: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 5px;
}
.gameEntryGallery{
    background: var(--backgroundLink);
    background-size: cover !important;
    background-position: center !important;
    border-radius: 5px;
    width: 17vw;
    height: 17vw;
    transition: all .35s, filter 1s;
    margin: 5px;
}
.gameEntryGallery:hover {
    scale: 1.01;
}
.gameEntryGallery:active {
    filter: brightness(1.2);
    transition: filter .1s;
}
.gameEntryGalleryText {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1.5px) brightness(.75);
    border-radius: 5px;
    transition: .75s;
}
.gameEntryGalleryText > h2{
    color: white;
    font-size: 2vw;
    margin: 0;
}
.gameEntryGalleryText > p {
    color: white;
    font-size: 1vw;
    margin: 0;
}
.gameEntryGalleryText > p > span{
    font-size: .75vw;
}
.gameEntryGalleryText:hover{
    backdrop-filter: blur(1px) brightness(.85);
}

.gameEntryList{
    background: var(--backgroundLink);
    background-size: cover !important;
    background-position: center !important;
    border-radius: 5px;
    width: 100%;
    height: 4vw;
    transition: all .35s, filter 1s;
    margin: 5px;
}
.gameEntryList:hover {
    scale: 1.005;
}
.gameEntryList:active {
    filter: brightness(1.2);
    transition: filter .1s;
}
.gameEntryListText {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1.5px) brightness(.75);
    border-radius: 5px;
    transition: .75s;
}
.gameEntryListText > h2{
    color: white;
    font-size: 2vw;
    margin: 0;
}
.gameEntryListText > p {
    color: white;
    font-size: 1vw;
    margin: 0;
}
.gameEntryListText > p > span{
    font-size: .75vw;
}
.gameEntryListText:hover{
    backdrop-filter: blur(1px) brightness(.85);
}


.modEntry {
    background: var(--backgroundLink);
    width: 32.6%;
    height: 32.6%;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
    padding: 0;
    margin: .33%;
    background-position: center;
    background-size: cover;
    transition: .35s;
}
.modEntry:hover {
    scale: 1.01;
}
.modEntryText{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(1.5px) brightness(.75);
    border-radius: 5px 5px 5px 5px;
    transition: .75s;
}
.modEntryText:hover{
    backdrop-filter: blur(1px) brightness(.85);
}
.modEntryText > * {
    color: white;
    margin: 0;
}
.modEntryText > h1 {
    font-size: 2vw;
}
.modEntryText > h2 {
    font-size: 1.75vw;
}
.modEntryText > p {
    font-size: 1.5vw;
}


#startMenu {
    display: flex;
    width: 1150px;
    justify-content: center;
    align-items: center;
    padding: 12px;
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 8px;
    background-color: var(--backgroundColor);
    box-sizing: border-box;
    overflow: hidden;
    border-style: solid;
    border-color: var(--backgroundBorderColor);
}

.startMenuHolder {
    width: 350px;
    height: 380px;
    padding: 0px;
    overflow: hidden;
    display: inline-block;
    vertical-align: text-top;
}

.shadowScroll {
    overflow-y: scroll;
    background:
        /* Shadow covers */
        linear-gradient(var(--backgroundColor) 30%, rgba(255, 255, 255, 0)),
        linear-gradient(rgba(255, 255, 255, 0), var(--backgroundColor) 70%) 0 100%,
        /* Shadows */
        radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: var(--backgroundColor);
    background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
    background-attachment: local, local, scroll, scroll;
}

.keybindHolder {
    height: 135px;
}

#startButton {
    margin: 0;
    margin-top: 0px;
    margin-bottom: 5px;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #a6d469;
    border: 0;
    border-bottom: 2px solid #749f34;
    cursor: pointer;
    box-shadow: inset 0 -2px #749f34;
    border-radius: 5px;
    font: 18px Ubuntu;
}

#startButton:hover {
    margin-top: 1px;
    height: 39px;
    border-bottom: 1px solid #749f34;
}

#startButton:active {
    margin-top: 2px;
    height: 38px;
    background: #749f34;
    border-bottom: 0;
    outline: none;
    box-shadow: none;
}

.miniButtonList{
    display: flex;
    width: 95%;
    margin: auto;
}
.miniButtonList > button {
    height: 30px;
    width: 50%;
    margin: 1%;
    box-sizing: border-box;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #85aa54;
    border: 0;
    border-bottom: 2px solid #63862e;
    cursor: pointer;
    box-shadow: inset 0 -2px #63862e;
    border-radius: 5px;
    font: 10px Ubuntu;
    transition: .5s;
}
.miniButtonList > button:hover {
    margin-top: 1px;
    height: 35px;
    border-bottom: 1px solid #749f34;
}


form {
    display: inline-block;
}

.bottomHolder {
    display: flex;
    height: 5%;
    flex-direction: row;
    justify-content: space-around;
    height: 5%;
}

.bottomHolder>a {
    display: inline-block;
    position: relative;
    margin: 2px;
    border: 0;
    padding: 5px 0;
    width: 108px;
    height: 100%;
    font-size: smaller;
    color: #fff !important;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    text-decoration: none;
    cursor: pointer;
    background: #b58efd;
    border-radius: 5px;
    box-shadow: inset 0 -4px rgba(0, 0, 0, .15)
}

.bottomHolder>a:nth-child(3n) {
    width: 115px
}

.bottomHolder>aa:hover {
    top: 1px;
    margin-top: 3px;
    height: 15px;
    box-shadow: inset 0 -3px rgba(0, 0, 0, .15)
}

.bottomHolder>a:active {
    top: 4px;
    margin-top: 5px;
    height: 12px;
    box-shadow: inset 0 -25px rgba(0, 0, 0, .15)
}

#startMenuWrapper {
    -webkit-transition: max-height 1s;
    -moz-transition: max-height 1s;
    -ms-transition: max-height 1s;
    -o-transition: max-height 1s;
    transition: max-height 1s;
    overflow: hidden;
}

#startMenu ul {
    margin: 10px;
    padding: 10px;
    padding-right: 0;
    margin-right: 0;
    margin-top: 0;
}

#startMenu .input-error {
    color: red;
    opacity: 0;
    font-size: 12px;
}

#startMenuWrapper {
    z-index: 2;
}

#gameAreaWrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

input [type="image"]:focus {
    border: none;
    outline: 1px solid transparent;
    border-style: none;
}

*:focus {
    outline: 1px solid transparent;
}

.popup {
    position: absolute;
    display: block;
    width: auto;
    max-width: 42%;
    height: 80%;
	overflow-y: scroll;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    border-radius: 10px;
    background: var(--backgroundColor);
    padding: 10px;
    font-size: larger;
    text-align: center;
    border-style: solid;
    border-color: #c1cfd8;
    color: var(--menuTextColor);
}

.popup button {
    margin: 15px;
    padding: 10px 50px 10px 50px;
    width: auto;
    box-sizing: border-box;
    color: white;
    text-align: center;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.2);
    background: #A9D86D;
    border: 0;
    border-bottom: 2px solid #8ABC3F;
    cursor: pointer;
    box-shadow: inset 0 -2px #8ABC3F;
    border-radius: 5px;
    font: 18px Ubuntu;
}

.popup button:hover {
    border-bottom: 1px solid #8ABC3F;
}

.popup button:active {
    background: #8ABC3F;
    border-bottom: 0;
    outline: none;
    box-shadow: none;
}

.popup span.small {
    font-size: xx-large;
    font-weight: bold;
    color: var(--menuTextColor);
    white-space: pre-line;
}

.popup span {
    font-size: x-large;
    white-space: pre-line;
    font-weight: light;
    color: var(--menuTextColor);
}

#settings-button {
    height: 30px;
    width: 30px;
    position: fixed;
    top: 10px;
    left: 10px;
    border: none;
    display: inline-block;
    opacity: .25;
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" fill%3D"%23DD0000" viewBox%3D"0 0 16 16" width%3D"20" height%3D"20"%3E%3Cpath d%3D"M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 101;
}

.optionInput {
    width: 90px;
    height: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.icon {
    width: 64px;
    height: 64px;
}

.links {
    text-align: center;
}

.links a {
    white-space: nowrap;
    margin: 0 4px;
}

.optionsFlexHolder {
    display: flex;
    flex-wrap: wrap;
}

.optionsFlexItem {
    flex: 1 0 50%
}

.optionsMenu {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: var(--backgroundColor);
    box-sizing: border-box;
    border-style: solid;
    border-color: var(--backgroundBorderColor);
    max-height: 80%;
    width: 40%;
    overflow-y: auto;
    border-radius: 10px;
    position: absolute;
    padding: 10px;
    margin: 10px;
    top: 0px;
    left: -1000px;

    color: var(--menuTextColor);

    opacity: 0.85;
    z-index: 101;
}

.achievementsHolder {
    position: absolute;
    display: block;
    width: 40%;
    top: 47.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    border-radius: 10px;
    background: var(--backgroundColor);
    padding: 10px;
    font-size: larger;
    text-align: center;
    border-style: solid;
    border-color: #c1cfd8;
    color: var(--menuTextColor);
    display: none;
}


#achievementsClose {
    height: 2vw;
    width: 2vw;
    float: right;
    opacity: .8;
    background-image: url('data:image/svg+xml,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" fill%3D"%23DD0000" viewBox%3D"0 0 16 16" width%3D"20" height%3D"20"%3E%3Cpath d%3D"M3 0 0 3 6 8 0 13 3 16 8 10 13 16 16 13 10 8 16 3 13 0 8 6 3 0Z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center;
}

#achievementsClose:hover {
    cursor: pointer;
    opacity: 1;
}

#achievementsDisplay {
    height: 50vh;
    width: auto;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.achievementsItem {
    margin: 16px 16px 12px 16px;
    border-radius: 14px;
    padding: 6px;

}

.autoBorder {
    display: block;
    border: 3.5px solid rgba(0, 0, 0, 0.35);
}

.achievementsHolder h1 {
    font-size: 1.5vw;
    font-weight: light;
    color: #22160b;
}

.achievementsItem span {
    font-size: 1.3vw;
    font-weight: bold;
    color: #22160b;
}

#achievementsStatsTable td {
    font-size: 1.4vh;
}

#achievementsStatsTable tr b {
    font-size: 1.4vh;
}

#patchHolder {
    margin: 0;
    padding: 0;
    border: 0;
}

#patchHolder .patchnoteSection {
    color: var(--menuTextColor);
}

/*Mf auto grammar*/
#patchHolder .patchnoteSection:first-letter {
    text-transform: capitalize
}

#patchHolder .patchnoteTitle {
    font-size: 22px;
    text-align: center;
    width: 100%;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
    font-weight: bolder;
}

/* Make the border smaller than the text itself */
#patchHolder .patchnoteTitle:after {
    content: "";
    display: block;
    margin: 0 auto;
    width: 94%;
    padding-top: 0px;
    border-bottom: 2px solid #9A9A9A;
}

#patchHolder ul {
    font-size: 14px;
    margin-bottom: 0px;
    padding: 0px;
    padding-left: 8px;
}

#patchHolder .patchnoteTime {
    font-weight: 900;
    padding-left: 8px;
    font-size: 17px;
}

#patchHolder li {
    font-size: 14px;
    font-weight: normal;
    list-style: none;
    margin-top: 4px;
}

#patchHolder li:before {
    content: '• ';
    font-size: 14px;
    font-weight: bolder;
    vertical-align: text-top;
}

#patchHolder .patchnoteBody {
    margin: 0px;
    padding: 2px;
    padding-left: 15px;
}

#patchHolder .changelogIcon {
    width: 5vw;
    height: 5vw;
    vertical-align: middle;
    padding-right: 1vw;
    border-radius: 2.5vw;
}

#chatBox {
    position: absolute;
    left: 50%;
    top: 60%;
    width: 300px;
    height: 30px;
    z-index: 100;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease-in-out;
    opacity: 0;
}