/* GLOBAL */

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
    background-color: #111111;
}

html {
    height: 100%;
}

:root {
    --dark-background-color: rgba(27, 25, 25, 0.822);
    --game-theme-color: #ff9100;
    --game-theme-color2: #ff9100;
    --game-theme-color3: #ffaf46;
    --game-theme-color-transparent: rgba(255, 140, 0, 0.386);

    --game-sizing: calc(3rem + 3vh + 4vw);
    --gui-zoom: 1;
    font-size: 10px;
}

* {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.select-enabled {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}


/* IDs */

#overlays {
    display: none; 
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    background-color: 
    rgba(0,0,0,0.5); 
    z-index: 200;
}

#title {
    padding: 10px;
    text-shadow: 0 0 15px var(--game-theme-color), 0 0 30px var(--game-theme-color);
}

#canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px);
    z-index: 1;
}
#connecting {
    display:none;
    position: absolute; 
    left: 0; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    z-index: 100; 
    background-color: rgba(0,0,0,0.5);
}

#nick {
    float: right;
    width: 74%;
    background-color: rgba(77,77,77,0.2);
    color: white;
    border: 1px solid white;
    text-align: center;
}
#nick:focus{
    background-color: var(--game-theme-color-transparent);
    border: 1px solid var(--game-theme-color);
}

#server {
    float: left;
    width: 65%;
}

#connect {
    width: 33%;
    float: right;
}
#panel {
    margin: auto;
    margin-top: 5vh;
    display: flex;
    width: fit-content;
    height: 90vh;
}
#leaderboard-reload {
    text-align: center;
    border-radius: 7px;
    background-color: var(--game-theme-color2);
}
#leaderboard-reload:hover {
    background-color: var(--game-theme-color3);    
}
.game-panel {
    width: 400px;
    border-radius: 12px;
    padding: 0px 15px 5px 15px;
    z-index: 201;
}
#leaderboard-table {
    text-align: center;
    width: 100%;
    font-size: large;
    color: white;
    border-collapse: separate;
    border-spacing: 0 10px;
}
#leaderboard-table td, #leaderboard-table th {
    padding: 10px;
}
#leaderboard-list td {
    border: none;
    padding: 8px;
}
#leaderboard-list td:first-child {
    border-left: 2px solid var(--game-theme-color);
    border-top: 2px solid var(--game-theme-color);
    border-bottom: 2px solid var(--game-theme-color);
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}
#leaderboard-list td:last-child {
    border-right: 2px solid var(--game-theme-color);
    border-top: 2px solid var(--game-theme-color);
    border-bottom: 2px solid var(--game-theme-color);
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}
#leaderboard-list td:not(:first-child):not(:last-child) {
    border-top: 2px solid var(--game-theme-color);
    border-bottom: 2px solid var(--game-theme-color);
}


#choose-panel {
    width: 90%;
    height: 50px;
    margin-left: 5%;
}
#choose-panel2 {
    width: 90%;
    height: 50px;
    margin-left: 5%;
}
#cell-preview {
    margin-left: 2%;
    width: 20%;
    overflow: visible;
    pointer-events: none;
}
#skins-preview {
    pointer-events: auto;
    background-color: rgba(0,0,0,0);
    height: 80px;
    width: 80px;
    text-align: center;
    border-radius: 50%;
    padding-top: 28px;
    color: white;
    border: 3px solid white;
    float: left;
    background-image: url('');
    background-size: 100%;
    -webkit-box-shadow: inset 0px 0px 7px 3px rgba(117, 117, 117, 1);
    -moz-box-shadow: inset 0px 0px 7px 3px rgba(117, 117, 117, 1);
    box-shadow: inset 0px 0px 7px 3px rgba(117, 117, 117, 1);
    background-size: contain;
    position: relative;
    overflow: visible;
}
#skins-preview > div{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    overflow: visible;
}
#chat_textbox {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    background: rgba(0, 0, 0, .2);
    border: 0px;
    outline: none;
    color: #FFF;
    height: 30px;
    text-indent: 12px;
    width: 400px;
}
#chat-mode{
    display: inline-block;
    padding: 5px;
    background-color: rgba(59, 57, 57, 0.801);
    color: rgb(212, 207, 207);
    border-radius: 2px;
    cursor: pointer;
    height: 30px;
}
#chat-mode:hover{
    background-color: rgba(59, 57, 57, 0.728);
}
#chat-options{
    background-color: rgba(76, 72, 72, 0.706);
    color: rgba(209, 209, 209, 0.91);
    left: 395px;
    bottom: 35px;
    overflow: auto;
    border:#303238a0 solid 2px;
    background-color:#6f6969a0;
    border-radius:5px;
    color: rgba(255, 255, 255, 0.878);
}
#chat-options>div:hover{
    background-color: rgba(233, 233, 233, 0.365);
}
#chat-options>div{
    padding: 2px 10px;
    text-align:center;
}

#chat-container{
    position: fixed;
    z-index: 201;
    bottom: 10px;
    left: 10px;
    transform-origin: 0% 100%;
    /* width: 300px; */
}
#chat-msgs{	
    color: white;	
    overflow-y:auto;	
    direction:rtl; 	
    margin-bottom:5px;	
    font-size:16px;	
    display:grid;	
    justify-content: end;
    justify-items: end;	
    max-width: 500px;
    max-height: 275px;
    z-index: 1;
}	
#chat-msgs>section{	
    direction:ltr;	
    padding-left: 5px;	
    overflow-wrap: anywhere;	
}	
#chat-msgs>section>span{	
    padding: 2px;	
    padding-left: 0;	
}	
#chat-msgs>section>img{	
    padding: 0 2px;	
}	
#chat-msgs>section>span>img{	
    padding: 0 2px;	
    height: 20px;
}
#chat-msgs>section>p{	
    margin: 0;
    display: inline-block;
}
#chat-msgs::-webkit-scrollbar {
    width: 10px;
}

#chat-msgs::-webkit-scrollbar-track {
    background: #525050b9;
    border-radius:12px;
}
  
#chat-msgs::-webkit-scrollbar-thumb {
    background: var(--game-theme-color2);
    border-radius:12px;
}
  
#chat-msgs::-webkit-scrollbar-thumb:hover {
    background: #ffa034ab;
}
#chat-msgs{
    scrollbar-color: var(--game-theme-color2) #525050b9;
    scrollbar-width: thin;
}

#chat_textbox:focus {
    background: rgba(0, 0, 0, .5);
}

#footer {
    text-align: center;
    margin-bottom: 10px;
    margin-top: -10px;
}

#spectate-btn {
    width: 34%;
	float: right;
	display: block;
	background-color: var(----game-theme-color2);
    color: white;
	border: 3px solid #ffffff;
    margin-top: 10px;
}
#spectate-btn:hover {
    border: 3px solid var(--game-theme-color);
    background-color: var(--game-theme-color-transparent);
}

#play-btn {
    width: 34%;
    float: right;
	display: block;
	background-color: var(----game-theme-color2);
    color: white;
	border: 3px solid #ffffff;
    margin-right: 22px;
    margin-top: 10px;
}
#play-btn:hover {
    border: 3px solid var(--game-theme-color);
    background-color: var(--game-theme-color-transparent);
}

#settings-btn {
    width: 35%;
	float: right;
	display: block;
	background-color: #00E209;
	border: 2px solid green;
	margin-top: 10px;
}

#controls-btn {
    width: 49%;
	float: right;
	display: block;
	background-color: #00E209;
	border: 2px solid green;
	margin-top: 10px;
}
#settings {
    margin: 10px auto;
    padding: 5px 15px 5px 15px;
}
#controls {
    display: none;
    margin: 10px auto;
    padding: 5px 15px 5px 15px;
    color: white;
}
#reset-controls {
    background-color: #ff3b3b;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
    border: 2px solid white;
    padding: 4px 18px;
    margin:auto;
}
#iconcontainer{
    width: 100%;
    float: left;
    margin-top: 3%;
    margin-bottom: 2%;
    padding-right: 5%;
    padding-left: 5%;
}
#iconcontainer>input:hover{
    background-color: var(--game-theme-color-transparent);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--game-theme-color2), 0 0 20px var(--game-theme-color2);
}
#iconcontainer>input{
    width: 18%;
    float: right;
    margin: 3.5%;
}
#shop-panel{
    width: 100vw;
    height: 80vh;
    border-radius: 10px;
	background-color: rgb(22, 22, 22);
    color: white;
    border: 3px solid var(--game-theme-color);
    z-index: 202;
    font-weight: bold;
    display: none;
}
#shop-categorylist{
    width: 20%;
    height: 100%;
    background-color: rgb(15, 15, 15);
    padding-top: 15px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    float: left;
}

.shop-category{
    display: flex;
    vertical-align: middle;
    align-items: center;
    cursor: pointer;
    font-size: 4.2rem;
    color: white;
    padding: 0px 15px;
    justify-content: flex-start;
    margin: 0px;
    transition: all 0.2s cubic-bezier(0, 0.26, 0.43, 1.16) 0s;
    flex-wrap: nowrap;
}
.shop-category>span {
    /* border: solid 1px white; */
    padding: 2vh;
    /* background-color: var(--game-theme-color); */
    border-radius: 4px;
    width: 100%;
}

.shop-itemlist{
    width: 80%;
    height: 100%;
    overflow: auto;
}

.shop-skincategory{
    display: flex;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 4.5rem;
    color: white;
    padding: 0 20px;
    justify-content: center;
    margin: 0;
    transition: all 0.2s cubic-bezier(0, 0.26, 0.43, 1.16);
    flex-wrap: nowrap;
    flex-grow: 1;
}
.fishyBtn{
    display: flex;
    vertical-align: middle;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    font-size: 3.2vh;
    margin-bottom: 3vh;
    color: white;
    padding: 0 1vh;
    /* flex settings */
    justify-content: flex-start;
    margin: 0;
    transition: all 0.2s cubic-bezier(0, 0.26, 0.43, 1.16);
    flex-wrap: nowrap;
}
#skins-input {
    background-color: transparent;
    outline: none;
    border: 0;
    color: white;
    opacity: 1;
    text-align: center;
    width: 60px;
}
#skins-input::-webkit-outer-spin-button,
#skins-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#skins-input {
    -moz-appearance:textfield; /* Firefox */
}

#skin-categories{
    height: 12%;
    display: flex;
}
.shop-wearable{
    width: 23%;
    height: 35%;
    margin: 1%;
    background-color: rgba(94, 94, 94, 0.3);
    border-radius: 10px;
    border: 2px solid rgb(255, 196, 0);
    float: left;
    text-align: center;
}
.shop-wearableText{
    width: 100%;
    margin-top: 5%;
    color: rgb(255, 190, 25);
    font-size: 20px;
}
.shop-wearableImageContainer{
    width: 90%;
    height: 70%;
    margin-top: 2%;
    margin-left: 5%;
    float: left;
    border-radius: 10px;
    border: 5px solid black;
}
.common{
    background: linear-gradient(to bottom, #4d4d4d, #808080, #4d4d4d);
}
.rare{
    background: linear-gradient(to bottom, #FFD700, #FFFACD, #FFD700);
}
.epic{
    background: linear-gradient(to bottom, #800080, #D8BFD8, #800080);
}
.legendary{
    background: linear-gradient(to bottom, #7bd5ff, #FFD700, #800080);
}
.shop-wearableImage{
    width: 15em;
    height: 15em;
    margin-top: 2%;
    margin-left: 10%;
    float: left;
    border-radius: 10px;
    -webkit-filter: drop-shadow(12px 12px 25px rgba(0,0,0,0.5));
    filter: drop-shadow(5px 5px 5px #222);
    pointer-events: none;
}
.shop-useWearableBtn{
    width: 80%;
    height: 11%;
    background-color: var(--game-theme-color);
    border-radius: 10px;
    border: 3px solid black;
    font-size: 18px;
    text-align: center;
    float: left;
    margin-top: 1.5%;
    margin-left: 10%;
    padding-top: 5px;
    margin-bottom: 3%;
}
.shop-skin{
    margin: 1vh;
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: 1fr;
}
.shop-skin > section {
    grid-area: 1 / 1 / 2 / auto;
    width: max-content;
    z-index: 1;
    opacity: 0;
    font-size: 20px;
    transition: all .2s;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.shop-skin/*:hover*/ > section{
    opacity: 1;
}
.shop-skin>div{
    grid-row: 1/2;
    grid-column: 1;
}
#mainskinlist{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.shop-skinImage{
    width: 10vw;
    aspect-ratio: 1;
    background-size: cover;
    border-radius: 50%;
    /*border: 1px solid rgb(255 255 255 / 18%);*/
    cursor: pointer;
}

#inventory{
    z-index: 2;
    position: absolute;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    transform-origin: 50% 100%;
    bottom: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
    transition: height ease .2s;
}

.hide-btn{
    width: 40px;
    height: 40px;
    margin-right: 2.5%;
    float: right;
    font-size: 22px;

    border-radius: 100%;
    margin-top: 1.5%;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.hide-btn.down{
    -ms-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
/* CLASSES */
.chooseBtn{
    width: 48%;
    height: 50px;
    background-color: #4f4f4f23;
    color: white;
    text-align: center;
    float: left;
    border: 2px solid rgb(255, 255, 255);
    padding-top: 13px;
    border-radius: 10px;
}
#cControls{
    margin-left: 4%;
}
.chooseBtn:hover{
    background-color: var(--game-theme-color-transparent);
    border-color: var(--game-theme-color)
}
.chooseBtn2{
    width: 50%;
    height: 50px;
    background-color: #4f4f4f;
    color: white;
    text-align: center;
    float: left;
    border: 2px solid black;
    padding-top: 13px;
    font-weight: bold;
}
.chooseBtn.highlighted{
    background-color: var(--game-theme-color);
}
.chooseBtn2.highlighted{
    background-color: var(--game-theme-color);
}
.shop-category.highlighted{
    background-color: var(--game-theme-color);
}
.shop-skincategory.highlighted{
    background-color: var(--game-theme-color);
}
#chat-options>div.highlighted{
    background-color: rgba(233, 233, 233, 0.365);
}
#chat-msgs span.highlighted{
    background-color: #a4a4a485;
    border-radius: 3px;
}
.controlRow{
    width: 85%;
    height: 24px;
    margin-top: 1px;
}
.controlBtn{
    background-color: var(--game-theme-color);
    border-radius: 7px;
    height: 22px;
    width: 50px;
    text-align: center;
    float: right;
    border: 2px solid white;
}
.highlighted2{
    background-color: var(--game-theme-color3);
}
.highlighted3{
    background-color: white;
    color: black;
}
.highlighted4{
    background-color: #eb4034;
    color: white;
}
.highlightedTransparent{
    background-color: rgba(69, 139, 255 , .7);
}
.checkbox label {
    margin-right: 10px;
	display: block;
}

.mt-10 {
    margin-top: 10px;
}
.invis {
    display: none;
    pointer-events: none;
}
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.center {
    display: table;
    margin: 0 auto;
}

.menuSecondary {
	background-color: orangered;
}
.sklc{
    height: 100%;
    width: 100%;
    overflow: auto;
    float: right;
}
.spinner{
    height: 20px;
    animation: spinner 1s linear infinite;
}

.info-bar.top-left {
    z-index: 3;
    justify-content: center;
    align-items: center;
    grid-column: 1/2;
}
.abtn:active {
    transform: scale(0.9);
}
.abtn:hover {
    background-color: #3079b4;
}
#ingame-ui{
    transform-origin: 0% 0%;
    position: absolute;
    z-index: 1;
    width: 600px;
    height: 180px;
    background-color: #fefefe00;
    border-radius: 10px;
    margin-top: .5%;
    margin-left: .5%;
    color: white;
    display: grid;
    grid-template-columns: .5fr .72fr 1fr;
}
.ingame-info-container {
    background-color: rgba(79, 79, 79, 0.075);
    border-radius: 5px;
    padding-top: 5px;
}
#ingame-stats-container{
    width: 120px;
    height: 140px;
    grid-column: 1;
}
#minion-stats-container{
    width: 180px;
    height: 140px;
    grid-column: 2;
}
#advanced-ingame-stats-container{
    width: 160px;
    height: 140px;
    grid-column: 3;
}
#advanced-network-stats-container {
    width: 230px;
    height: 224px;
    grid-column: 4;
}
#advanced-network-stats-container > .ingame-stat {
    height: 12.5% !important;
}
.ingame-stat{
    width: 80%;
    margin-left: 10%;
    float: left;
    height: 20%
}
.ingame-int{
    margin: 0;
    margin-left: 40px;
    font-size: 26px;
    color: white;
    justify-self: left;
    max-width: fit-content;
    margin-top: 10px;
}
#ingame-mass, #ingame-topmass {
    color: rgb(255, 255, 255);
    max-width: fit-content;
    grid-row: 3;
    grid-column: span 100;
    padding-top: 16px;
}
#ingame-topmass {
    grid-row: 4;
    padding-top: 0;
}

.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}
@keyframes spinner{
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.shop-category:hover {
    background-color: #373535;
    color: var(--game-theme-color);
}
.fishyBtn:hover {
    background-color: #373535;
    color: var(--game-theme-color);
}
.bgRed {
    background-color: rgba(255, 75, 75, 0.375);
}

/* Swal2 Classes */
.swal2-title-orange {
    color: orange !important;
}
.swal2-title-green {
    color: #00E209 !important;
}
.swal2-title-red {
    color: red !important;
}
.swal2-title-blue {
    color: var(----game-theme-color2) !important;
}
.swal2-title-white {
    color: #FFF !important;
}

.standardSwal {
    border: 3px solid #0e486f !important;
    font-size: 14px !important;
}

/* chat dropdown */

.dropbtn:hover,.dropbtn:focus{
    color:#b8b8b89e;
}
.dropdown{
    position:relative;
    display:inline-block;
}
.dropdown-content{
    display:none;
    position:absolute;
    z-index:1;
}
	
#emoji-dropdown{	
    bottom: 35px;
    left: 395px;	
    overflow: auto;	
    height: 160px;	
    border:#303238a0 solid 3px;	
    background-color:#222020a0;	
    border-radius:5px;	
}	
#emoji-dropdown>div{	
    display: grid;	
    gap: 3px 3px;	
    grid-template-columns: repeat(5, 1fr);	
    align-items: center;	
}	
#emoji-dropdown>div *{	
    /* margin:auto; */	
    padding:auto;	
    text-align:center;	
    color:white;	
    border-radius: 3px;	
    cursor: pointer;	
    font-size: 1.9rem;	
}	
#emoji-dropdown>div *:hover{	
    background-color: rgba(75, 73, 73, 0.738);	
}	
#emoji-dropdown>div>img{	
    aspect-ratio: 1;	
    height: 28px;	
}
#emoji-btn{
    padding: 5px;
    color: white;
    background-color: var(--game-theme-color);
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    width: fit-content;
    display: inline-flex;
}
#emoji-btn:hover{
    background-color:var(--game-theme-color3);
}
#emoji-dropdown::-webkit-scrollbar {
    width: 5px;
}
#emoji-dropdown::-webkit-scrollbar-track {
    background: #525050b9;
    border-radius:12px;
}
  
#emoji-dropdown::-webkit-scrollbar-thumb {
    background: var(--game-theme-color2);
    border-radius:12px;
}
  
#emoji-dropdown::-webkit-scrollbar-thumb:hover {
    background: #3482ffab;
}
.skinImg{
    width: 100px;
}
.changeSkinOverlay{
    position: relative;
    width: 135px;
    height: 135px;
    padding-top: 45px;
    background-color: rgba(10, 10, 10, 0.85);
    border-radius: 50%;
    margin-top: -140px;
    text-align: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}
.changeSkinOverlay:hover{
    opacity: 1;
}
#curser-msg{
    position: fixed;
    top: 0;
    z-index: 500;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100vw;
}
#curser-msg div{
    display: none;
    padding: 3px 8rem;
    background-color:rgba(29, 29, 29, 0.9);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    font-size: 2rem;
    max-width: 63vw;
    color: #a3a3a3db;
}
.hidden{
    display: none !important;
}
.bottomln{
    color: white;
}
.bottomln:hover {
    text-decoration: underline;
}
.fl{
    float:left;
    padding: 5px;
    width: 50%;
    text-align: center;
}
.fr{
    float:right;
    padding: 5px;
    width: 50%;
    text-align: center;
}
#rules-container{
    padding: 20px;
}
.sklc::-webkit-scrollbar {
    width: 12px;
}

.sklc::-webkit-scrollbar-track {
    background: #525050b9;
    border-radius:12px;
}
  
.sklc::-webkit-scrollbar-thumb {
    background: var(--game-theme-color2);
    border-radius:12px;
}
  
.agpwscrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--game-theme-color);
}
.agpwscrollbar::-webkit-scrollbar {
    width: 12px;
}

.agpwscrollbar::-webkit-scrollbar-track {
    background: var(--game-theme-color-transparent);
    border-radius:12px;
}
  
.agpwscrollbar::-webkit-scrollbar-thumb {
    background: var(--game-theme-color2);
    border-radius:12px;
}
  
.agpwscrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--game-theme-color-transparent);
}
.pending{
    color: #000;
    background-color: rgb(255, 217, 49) !important;
}
.shop-skinImage.activeCustomSkin{
    border: none;
    -webkit-box-shadow: 0px 0px 17px 8px var(--game-theme-color-transparent);
    -moz-box-shadow: 0px 0px 17px 8px var(--game-theme-color-transparent);
    box-shadow: 0px 0px 17px 8px var(--game-theme-color-transparent);
}

.setting-col{
    width: 50%;
    float: left;
    margin-bottom: 5%;
}

#shop-coin{
    width: 1.5em;
    height: 1.5em;
    transform: translateY(-.2em) translateX(-.1em);
    border-radius: .75em;
    border: 2px solid rgb(15, 15, 15);
}

#userprofileiconcontainer{
    display: flex;
    justify-content: center;
}
.userprofileicon {
    margin: -5px 5px;
    width: 30px;
    height: 30px;
}

#chat-msgs>section>span[data-player-id] {
    display: inline-block;
    min-width: 10px;
}
#chat-msgs>section>span>img {
    display: inline;
}
.selector {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

#inventory2 {
    display: flex;
    position: absolute;
    z-index: 35;
    left: calc(50% + .1px);
    bottom: 45px;
    transform: translateX(-50%);
    margin: 0 auto
}

#inventory1 {
    display: flex;
    position: absolute;
    z-index: 35;
    left: calc(50% + .1px);
    bottom: 8px;
    transform: translateX(-50%);
    margin: 0 auto
}


.inventory-box {
    position: relative;
    transition: 50ms width ease,50ms height ease,50ms background-size ease,50ms opacity ease,50ms margin ease;
    width: 36px;
    height: 36px;
    cursor: pointer;
    background: rgba(76,86,239,.6) center no-repeat;
    background-size: 30px 30px;
    box-sizing: border-box;
    border: 2px solid rgba(26,32,77,.7);
    border-radius: 8px;
    opacity: .8;
    margin: 0;
    z-index: 35
}

.inventory-box.highlight {
    border: 3px solid #4f4;
    border-radius: 5px
}

.inventory-box.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(68,255,68,.2)
}

.inventory-box>p {
    transition: 50ms padding ease,50ms font-size ease;
    text-align: right;
    padding: 12px 0 0;
    margin: 0;
    color: #ffa;
    font-family: Ubuntu, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-shadow: -1px -1px #333,1px -1px #333,-1px 1px #333,1px 1px #333
}

.inventory-box.hover,.inventory-box:hover {
    width: 40px;
    height: 40px;
    background-size: 34px 34px;
    opacity: 1;
    margin: -2px;
    z-index: 40
}

.inventory-box.hover>p,.inventory-box:hover>p {
    padding: 14px 0 0;
    font-size: 20px
}

.inventory-box.active,.inventory-box:active {
    opacity: .4
}

.inventory-box.active.hover,.inventory-box:active:hover {
    opacity: .6
}

.inventory-box.large-box {
    width: 50px;
    background-size: 42px 12px
}

.inventory-box.large-box.hover,.inventory-box.large-box:hover {
    width: 54px;
    background-size: 46px 14px
}

.inventory-box.large-box.vertical {
    background-size: 12px 42px
}

.inventory-box.large-box.vertical.hover,.inventory-box.large-box.vertical:hover {
    background-size: 14px 46px
}

#invRecombine {
    background-image: url('../img/inv/inv_recombine2.png')
}

#invSpeed {
    background-image: url('../img/inv/inv_speed2.png')
}

#invGrowth {
    background-image: url('../img/inv/inv_growth2.png')
}

#invSpawnVirus {
    background-image: url('../img/inv/inv_virus4.png')
}

#invSpawnMothercell {
    background-image: url('../img/inv/inv_mothercell4.png')
}

#invSpawnPortal {
    background-image: url('../img/inv/inv_portal2.png')
}

#invSpawnGoldOre {
    background-image: url('../img/inv/inv_goldore2.png')
}

#invWall {
    background-image: url('../img/inv/inv_wall2.png')
}

#invWall::before {
    content: '';
    background-image: url('../img/inv/inv_wall_vertical2.png');
    visibility: hidden
}

#invWall.vertical {
    background-image: url('../img/inv/inv_wall_vertical2.png')
}

#invFreeze {
    background-image: url('../img/inv/inv_freeze2.png')
}

#invAntiFreeze {
    background-image: url('../img/inv/inv_anti_freeze2.png')
}

#invAntiRecombine {
    background-image: url('../img/inv/inv_anti_recombine2.png')
}

#invFrozenVirus {
    background-image: url('../img/inv/inv_frozen_virus2.png')
}

#inv360Shot {
    background-image: url('../img/inv/inv_360shot2.png');
    background-size: cover
}

#invCloak {
    background-image: url('../img/inv/inv_cloak2.png');
    background-size: cover
}

#invShield {
    background-image: url('../img/inv/inv_shield4.png')
}

.checkbox {
    accent-color: var(--game-theme-color);
}

.activatedInv {
    border: 3px #feff00 solid;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 30px 0 #f5c807;
    -moz-box-shadow: 0 0 30px 0 #f5c807;
    box-shadow: 0 0 30px 0 #f5c807
}

.fsfb-slider{
    display: grid;
    justify-items: left;
    align-items: center;
    grid-template-columns: 1fr;
}
div.fsfb-slider{
    grid-column: 1;
}

input[type="range"].fsfb-slider{
    width: 58px;
    margin-top: -10px;
    grid-column: 2;
    background-color: "#FFF";
}

#mgrowth-amnt {
    grid-column: 3;
    margin-left: 10px;
}