/* Colour Fill Game Styles */
#main-menu {
    margin-bottom: 20px;
}

#counter {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

#fill-colors {
    margin-bottom: 20px;
}

#fill-colors div {
    height: 15px;
    width: 15px;
    display: inline-block;
    margin: 5px;
    vertical-align: middle;
    transition: background-color 350ms linear;

}

#fill-colors div#fill-0 {
    height: 30px;
    width: 30px;
}

#play-area {
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

#board {
    height: 100%;
    width: 100%;
    border-collapse: collapse;
}
#board td {
    aspect-ratio: 1 / 1 ;
}
#board td:after {
    content: '';
    display: block;
    margin-top: 100%;
  }

#overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: rgba(0,0,0,0.4);
}

#overlay #message {
    flex: 1;
    font-weight: bold;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

#overlay #controls {
    flex: 1;
}
#overlay #controls button {
	font: inherit;
	cursor: pointer;
	outline: inherit;
    background: white;
    border: solid #2D4574 2px;
    border-radius: 20px;
    padding: 5px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #2D4574;
    transition: all linear 400ms;
}
#overlay #controls button:hover {
    color: white;
    background-color: #2D4574;
    border: solid white 2px;
    transition: all linear 200ms;
}