canvas {
    background-color: black;
    display: block;
}

body {
    margin: 0;
    background-color: #444;
    user-select: none;
    cursor: default !important;
    background-image: url(https://wallpapercave.com/wp/CPBAeXS.jpg);
}

img {
    display: block;
    margin: auto;
    width: 200px;
}

game {
    display: none;
}

h1 {
    font-family: old;
    font-size: 3em;
    text-align: center;
    color: tan;
}

button,
#games,
colors,
peoplein,
#options {
    background-color: tan;
    width: 50%;
    display: block;
    margin: auto;
    border: 1px solid white;
    font-family: old;
    font-size: 20px;
    text-align: center;
}

@media only screen and (max-width: 800px) {

    button,
    #games,
    colors,
    peoplein,
    req,
    #options {
        width: 100% !important;
    }
}

@font-face {
    font-family: old;
    src: url('assets/font.ttf');
}

#games {
    margin-top: 10px;
}

.color {
    display: inline-block;
    width: 100px;
    height: 100px;
    border: 2px solid white;
}

wait {
    display: none;
    background-color: black;
}

colors {
    background-color: black;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 10px;
}

.ppl {
    margin: 0;
}

.ppl:hover {
    background: darkgray;
}

req {
    display: grid;
    grid-template-columns: repeat(3, 33%);
    box-sizing: border-box;
    grid-column-gap: 5px;
    background-color: transparent;
    width: 50%;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 20px;
}

.req {
    display: block;
    width: 100%;
    height: 100%;
    background-color: tan;
    border: 1px solid white;
    font-family: old;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

peoplein {
    min-height: 100px;
    margin-top: 10px;
    background-color: #222;
}

#players {
    box-sizing: border-box;
    border: 0;
    width: 400px;
    height: 500px;
}

game {
    display: grid;
    grid-template-columns: auto 400px;
    grid-column-gap: 5px;
    width: calc(700px + 400px);
    margin: auto;
}

.player {
    width: 100%;
    height: 80px;
    background-color: black;
    border: 5px solid #222;
    margin-bottom: 5px;
    font-family: old;
    box-sizing: border-box;
    padding: 10px;
    font-size: 1.8em;
}

iframe {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 15px 15px 15px black;
    transition: opacity .4s;
}

#win {
    width: 600px;
    height: 300px;
    background-image: url(assets/winframe.jpg);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    display: none;
    font-family: old;
    font-size: 50px;
    color: gold;
    text-align: center;
    box-sizing: border-box;
    padding: 100px;
}

#options {
	box-sizing: border-box;
	background-color: gray;
	margin-top: 10px;
	margin-bottom: 10px;
}

#options>p{
	display: inline;
	font-family: monospace;
}

/* Taken from W3SCHOOLS Toggle Switch*/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 8px;
    transform: translateY(13%);
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

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

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);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}