:root {
  color-scheme: light only;
}

body {
    display: flex;
    justify-content: start;
    flex-direction: column;
    height:100vh;
    align-items:center;
    background-color: #222;
}

#gameboard {
    min-width:320px;
    min-height:320px;
    width:40vw;
        max-width: 480px;
    height:auto;
    background-color: rgb(85, 255, 108);
    display: flex;
    flex-wrap: wrap;
}

.top {
    background-color: rgb(167, 166, 166);
    border: 2.5px solid rgb(231, 9, 9);

}

.bottom {
    background-color: rgb(167, 166, 166);
    border: 2.5px solid rgb(6, 116, 219);
}

.piece {
    border-radius: 15%;
    width:5vw;
    min-width:27px;
        max-width: 80px;
    margin:5px;
    cursor:pointer;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.square {
    width:5vw;
    height:5vw;
        max-width: 60px;
        max-height: 60px;
    min-width:40px;
    min-height:40px;
    display: flex;
}

.odd-square {
    background-color: #dbd3b3;
}

.even-square {
    background-color: #b8b093;
}

.highlight {
    /*background-color: rgb(76, 255, 70);*/
    opacity:0.3;
    cursor:pointer;
}

.treecell {
    background-image: url(../assets/tree.png);
    background-color: #917141;
    display: flex;
    width:5vw;
    height:5vw;
    min-width:40px;
    min-height:40px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
        max-width: 60px;
        max-height: 60px;
}

#animal-info {
    width:320px;
    height:90px;
    background-color:  #dbd3b3;
    margin:10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding:5px;
    justify-content: space-around;
    font-family:monospace;
    
}

#animal-picture {
    background-color: #b8b093;
    width:80px;
    height:80px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#animal-stats {
    background-color:none;
    width:200px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 11px;
}

.stat-wrapper {
    display: flex;
    flex-direction: row;
    padding:2px;
}

.stat-title {
    font-weight: 600;
}

.stat-data {
    margin-left:4px;
}

#win-state {
    width:200px;
    height:70px;
    background-color: #423e37;
    margin:10px;
    display:flex;
    justify-content: center;
    flex-direction: column;
    align-items:center;
    padding:5px;
}

.invisible {
    display: none !important;
}

#winner {
    width:100px;
    height:20px;
    color:#fff;
    display:flex;
    justify-content: center;
    align-items:center;
    font-family: sans-serif;
    font-size: 16pt;
}

#replay {
    width: 100px;
    height:30px;
    margin:5px;
    background-color: #afdb74;
    color:#1d1c1a;
    font-weight: 800;
}