body {
    background: #171717;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    user-select: none;
    overflow: hidden;
}

#board-ex {
    width: 510px;
    height: 510px;
    background: rgb(77, 8, 11);
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    color: #5e554c;
    font-size: 10px;
    -moz-user-select: none;
    user-select: none;
}

#figs {
    width: 480px;
    height: 480px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* background: green; */
    position: absolute;
    /* opacity: 0.5; */
    z-index: 1;
}

#board {
    width: 480px;
    height: 480px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    /* background: #cc8844; */
}

.b-x {
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.b-h {
    width: 480px;
    height: 15px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.b-v {
    width: 15px;
    height: 480px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.led {
    width: 33%;
    height: 33%;
    background: white;
    border-radius: 50%;
    visibility: "hidden";
    /* box-shadow: inset 0px 0px 1px 0px black; */
}

.field {
    position: relative;
    width: 60px;
    height: 60px;
    text-align: center;
    color: white;
}

.black {
    background: #cc8844;
}

.white {
    background: #eeddbb;
}

.fr {
    background: #4d2f08;
}

.top {
    margin-top: -10px;
}

div {
    visibility: hidden;
    -moz-user-select: none;
    user-select: none;
}

.square {
    cursor: pointer;
}

.selected {
    /* -webkit-box-shadow: 0px 0px 1px 1px #ffa; 
    box-shadow: inset 0px 0px 1px 1px rgb(105, 69, 2);     */
    -webkit-animation: spin 0.5s infinite linear;
    animation: spin 0.5s infinite linear;
}

.rotation {
    -webkit-animation: spin2 1s infinite linear;
    animation: spin2 1s infinite linear;
}

@keyframes spin {
    50% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
}

@-webkit-keyframes spin {
    50% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
}

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

@-webkit-keyframes spin2 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.crc {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 50%; */
    cursor: pointer;
    /* background: green; */
    flex-direction: column;
}

.crc:hover {
    transform: scale(1.05);
}

.popup {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.promotion {
    width: 100px;
    height: 100px;
    background: rgb(77, 47, 8);
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    /* color:  #cc8844; */
    font-size: 10px;
    align-items: center;
}

.promo {
    position: relative;
    width: 60px;
    height: 60px;
    text-align: center;
    justify-content: space-around;
    cursor: pointer;
}

.pop-info {
    width: 200px;
    height: 100px;
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
}

.pop-toast {
    width: 200px;
    height: 100px;
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
}

.pop-rating {
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: space-around;
    /* flex-wrap: wrap;    */
    font-size: 10px;
    align-items: center;
    /* justify-content: center; */
    border-radius: 50px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
}

#img-rating {
    width: 60%;
    height: 60%;
}

.pop-options {
    width: 200px;
    height: 100px;
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
    justify-content: space-around;
    padding: 10px;
}

.pop-toast {
    width: 200px;
    height: 100px;
    display: flex;
    position: absolute;
    flex-wrap: wrap;
    font-size: 10px;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border-radius: 50%;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
}

#all {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
}

#panel-tl {
    color: white;
    display: flex;
    position: absolute;
    align-items: center;
    width: 100%;
    height: 100%;
    /* background: darkmagenta; */
    margin: 0;
    padding: 0;
    justify-content: space-around;
}

.hori {
    flex-direction: column;
}

.vert {
    flex-direction: row;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* background: green; */
    height: 100%;
    padding: 10px;
    width: 100%;
}

#info-12 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* background: blue; */
    height: 100%;
    padding: 10px;
    width: 100%;
}

#j-chess {
    font-size: 40px;
    font-family: 'Courgette', cursive;
}

.vis {
    visibility: visible;
}

#empty {
    height: 13500px;
}

.pop-chat-msg {
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    position: absolute;
    justify-content: space-around;
    /* flex-wrap: wrap;    */
    font-size: 10px;
    align-items: center;
    /* justify-content: center; */
    border-radius: 25px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
}

textarea {
    border: none;
    resize: none;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    border-radius: 10px;
    padding: 2px;
    outline: 0px !important;
    -webkit-appearance: none;
}

#panel-br {
    color: white;
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    /* background: red; */
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.chat {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    /* TODO: temp */
}

.ch-m {
    margin-left: 20px;
}

.ch-y {
    margin-right: 20px;
}

.material-icons.vis {
    display: inline-flex;
    vertical-align: middle;
    line-height: inherit;
}

#mark {
    position: absolute;
    width: 100px;
    height: 1px;
    top: 0;
    background: white;
    z-index: 1;
}