:root {
    --green: #176417;
    --translucent: 0.4;
}

.translucent {
    opacity: var(--translucent);
}

body {
    background-color: #202022;
    text-align: center;
}

.game-container {
    position: relative;
    margin: 20px;
    /* outline: blue 1px solid; */
}

.game-container>svg {
    position: absolute;
    margin: 0;
    padding: 0;
    left: 0;
}

.board {
    right: 0;
    z-index: 100;
    cursor: pointer;
}

.indicator-board {
    z-index: 99;
    background-image: url('./assets/boards/brown.svg');
}

.ghost {
    opacity: 0.6;
}

.piece1 {
    fill: red;
}

.piece2 {
    fill: yellow;
}


/**/

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .2s;
    transition: .2s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

* {
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 18pt;
}