html, body {
	margin: 0;
	padding: 0;
	background: #000;
}
.gosuH1 {
	margin: 0 auto;
    text-align: center;
    margin-top: 5px;
    color: green;
    font-size: 42px;
    font-family: fantasy;
	letter-spacing: 1px;
	font-weight: 100;
}
#gameTable {
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 0px;
	width: 96%;
	height: 78%;
	max-width: 500px;
	max-height: 650px;
	border-collapse: unset;
	table-layout: fixed;
}
#gameTable #tabs {
	width: 100%;
    background: darkslategray;
    border-radius: 5px;
}
#gameTable #tabs .tab {
	display: inline-block;
    color: #aaa;
    text-align: center;
    width: 32%;
    height: 22px;
    padding: 0;
    margin: 0;
    padding-top: 10px;
    font-weight: bold;
    text-decoration: underline;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
    opacity: 0.4;
}
#gameTable #tabs .tab.active {
	opacity: 1;
	text-decoration: none;
	cursor: default;
}
#gameTable .letters {
	display: block;
	text-align: center;
	margin-top: 15px;
    margin-bottom: 10px;
    display: none;
}
#gameTable .letters span {
	width: 22px;
	height: 20px;
	padding-top: 2px;
    display: inline-block;
    border: 1px solid orangered;
    margin: 2px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
}
#gameTable .letters span.guessed {
	border: 1px solid green;
}
.notif {
	display: none;
	border-radius: 10px;
    position: absolute;
    top: 30%;
	left: 10%;
	width: 80%;
    z-index: 102; 
    background: #000;
    color: #fff;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    line-height: 26px;
}
.overlay {
	display: none;
	background: #000;
    position: absolute;
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    z-index: 100; 
    opacity: 0.7;
    cursor: pointer;
}
.popup {
	display: none;
	border-radius: 10px;
	background: #222;
    position: absolute;
    top: 15%;
	left: 35%;
	width: 30%;
	height: 85%;
    z-index: 101; 
    max-height: 375px;
    min-height: 400px;
}
.popup .close {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}
.popup .message {
	position: relative;
    margin: 20px;
    color: teal;
    font-size: 20px;
    line-height: 28px;
    display: none;
    margin-top: 40px;
}
.popup .message p.text {
    margin-top: 10px;
    margin-bottom: 10px;
}
.popup .message p.center {
	text-align: center;
}
.popup .message p.copy {
	font-size: 12px;
	line-height: 18px;
    font-style: italic;
}
.popup .message p.small {
	font-size: 10px;
	line-height: 16px;
    font-style: italic;
    color: lightslategray;
}
.popup .message #clipboard {
	display: block;
	width: 90%;
	min-height: 80px;
	margin: 0 auto;
	background: #111;
	border: 1px solid #111;
	font-size: 12px;
	color: #fff;
}
.popup .message .myscore {
	font-size: 50px;
	color: green;
	font-weight: bold;
	margin-top: 40px !important;
		margin-bottom: 20px !important;
}
.popup .message p.over {
	font-size: 40px;
	line-height: 46px;
	text-transform: capitalize;
	margin-top: 10px;
}
.popup .message p.frown {
	font-size: 300%;
	margin-top: 30px;
}

.keyboard {
    margin: 0 8px;
    display: none;
}
.keyboard .row {
	display: flex;
    width: 100%;
    margin: 0 auto 8px;
}
.keyboard button {
    font-family: inherit;
    font-weight: bold;
    border: 0;
    padding: 0;
    margin: 0 6px 0 0;
    height: 58px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    color: #bbb;
	background: #333;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    -webkit-tap-highlight-color: rgba(0,0,0,0.3);
}
.keyboard button.tried {
	opacity: 0.2;
	cursor: default;
}

.guessesLeft {
	color: #bbb;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    display: none;
}
.guessesLeft span {
	color: #eee;
	font-weight: bold;
}

@media screen and (max-width: 1000px) {
	.popup {
    	left: 30%;
    	width: 40%;
	}
}
@media screen and (max-width: 800px) {
	.popup {
    	left: 20%;
    	width: 60%;
	}
}
@media screen and (max-width: 550px) {
	.popup {
    	left: 10%;
    	width: 80%;
	}
}

@media screen and (max-width: 320px) {
	.popup .message p.over {
	    font-size: 28px;
	    line-height: 36px;
	}
}