.space, .imgspace, .color, .piece, .colorLabel {
    width: 100%;
    height: 100%;
}

.color {
    z-index: 100;
    position: relative;
    top: -100%;
}

.board-dark {
    background: #bd8057d0;
}

.board-light {
    background: #ffd4b7d0;
}
.inputArea {
    display: flex;
    width: 100%;
    margin-bottom: 15px;
}

.board-container {
    display: grid;
    aspect-ratio: 1;
    height: 100%;
    width: 100%;
    grid-template-columns: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
    grid-template-rows: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
}

#infoDisp {
    margin: 15px 0;
}

#infoDisp h2 {
    margin: 5px 0;
}

#fenInput {
    width: 100%;
    height: 32px;
    background-color: #ffffff40;
    color: #ffffff;
    font-size: 16px;
    border: 1px solid #ffffff60;
    padding: 1px 10px;
}

#calc { /*the submit button*/
    background: #ffffff70;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.labelValue {
    font-size: 28px;
    margin: 0 32px;
}

.colorLabel {
    text-align: center;
    color: #ffffff;
    font-size: 12px;
}

.colorLabel>span {
    top: 50%;
    transform: translateY(-50%); /*not the best solution but it's like 12 am and i'm tired*/
    position: relative;
    display: block;
}

.enPassantLabel, .caslingLabel {
    background: #00000080;
}

.share {
    left: 100%;
    transform: translateX(-100%);
    position: relative;
    width: fit-content;
    margin: 3px 0;
}

/*scroll*/

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #00000000;
}

::-webkit-scrollbar-thumb {
    background: #808080;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}
