html,
body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    background-color: #2e2e2e;
		touch-action: none;
}

.header {
    background-color: #2E2E2E;
    color: #CCC;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #CCC;
    height: 50px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.menu-button {
    background-color: transparent;
    color: #CCC;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
}

.menu-button:hover {
    color: #3E7CB1;
}

.container {
    margin: 0 auto;
    z-index: 990;
		text-align: center;
		user-select: none;
		-ms-user-select: none;
		-webkit-user-select: none;
		-webkit-text-size-adjust: none;
}

.game-heading {
    font: 20px Georgia, Serif;
    color: #FFF;
    font-size: 2rem;
		margin-top: 0;
    margin-bottom: 2rem;
}

.drawing-canvas {
    display: block;
    background-color: #FFF;
    width: 300px;
    height: 300px;
}
.canvas-button {
    margin-right: 25px;
    margin-top: 25px;
		border-radius: 0px;
		border: 0px;
		background-color: #FFF;
		color: #2E2E2E;
  	font-family: Helvetica, sans-serif;
    width: 80px;
    height: 50px;
}

.canvas-button:hover {
    background-color: #E8E8E8;
}

.canvas-button:active {
    background-color: #FFF;
}

.clear-button {
    margin-top: 25px;
    border: 1px solid #CCC;
    background-color: #2E2E2E;
    color: #CCC;
		font-family: Helvetica, sans-serif;
    width: 80px;
    height: 50px;
}

.clear-button:hover {
    background-color: #383838;
}

.clear-button:active {
    background-color: #2E2E2E;
}

.welcome {
    margin: 0 auto;
    position: absolute;
    background-color: #2E2E2E;
    z-index: 991;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
		
		/* Temp hidden to work on game */
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.welcome.fade {
    opacity: 0;
    visibility: hidden;
}

.welc-heading {
    font: 20px Georgia, Serif;
    color: #CCC;
    font-size: 3rem;
    margin: 2rem auto;
}

.intro {
    font: 15px Helvetica, Sans-serif;
    color: #CCC;
    max-width: 200px;
    margin: 0 auto 30px;
}

.hm-buttons {
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.hm-buttons li {
    margin: 10px 0;
}

.hm-button {
    background-color: #2E2E2E;
    border: 1px solid #CCC;
    border-radius: 30px;
    color: #FFF;
    cursor: pointer;
    font: 15px Helvetica, Sans-serif;
    padding: 1rem;
    width: 120px;
}

#play-btn {
    background-color: #3E7CB1;
}

.hm-button:hover {
    background-color: #3E7CB1;
}

#play-btn:hover {
    color: #000;
}

p {
    font: 15px Helvetica, Sans-serif;
}

.hm-diag {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    height: 50%;
    max-height: 500px;
    z-index: 992;
    background-color: #2E2E2E;
    color: #CCC;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hm-diag.show {
    opacity: 1;
    visibility: visible;
}

.hm-diag h2 {
    margin-top: 0;
    font: 20px Georgia, Serif;
    color: #CCC;
}

.close-diag {
    background-color: transparent;
    border: none;
    color: #CCC;
    cursor: pointer;
    font-size: 25px;
    position: absolute;
    right: 12px;
    top: 12px;
}

.side-panel {
    background-color: #2E2E2E;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #CCC;
    height: 100%;
    left: -252px;
    position: fixed;
    top: 50px;
    bottom: 50px;
    transition: left 0.3s ease;
    width: 250px;
    z-index: 997;
}

.side-header {
    font: 20px Georgia, Serif;
    color: #CCC;
    display: inline-block;
    padding: 15px;
}

.close-side {
    background-color: transparent;
    border: none;
    color: #CCC;
    cursor: pointer;
    font-size: 25px;
    position: absolute;
    right: 12px;
    top: 12px;
}

.side-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    font: 15px Helvetica, Sans-serif;
    color: #CCC;
    padding: 1rem;
}

.menu-list a {
		text-decoration: none;
}

.credits {
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.credits li {
    color: #CCC;
    font: 10px Helvetica, Sans-serif;
    text-align: center;
    padding: 20px;
}

.menu-list li:hover {
    background-color: #3E7CB1;
}

.side-panel.open {
    left: 0;
}

.footer {
    background-color: #2E2E2E;
    color: #CCC;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #CCC;
    font: 10px Helvetica, Sans-serif;
    position: fixed;
    bottom: 0;
    height: 50px;
    line-height: 50px;
    width: 100%;
    text-align: center;
    z-index: 998;
}