@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    list-style-type: none;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
    display: flex;
    background-color: rgb(6, 0, 157);
}
.site {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-template-areas: "payTableHeader"
                         "mainBoard"
                         "footerControls";
}
.site > header {
    grid-area: payTableHeader;
    width: 100%;
    height: fit-content;
    display: contents;
}
.site > main {
    grid-area: mainBoard;
}
.site > footer {
    grid-area: footerControls;
    bottom: 0px;
    position: absolute;
    width: 100%;
}
.heldText {
    color: #06009D;
    text-align: center;
}
.cardOne, .cardTwo, .cardThree, .cardFour, .cardFive {
    display: inline-block;
    text-align: center;
}
.holdCheckbox {
    display: none;
}
.holdOne {
    grid-area: holdOne;
}
.endGame {
    display: none;
    width: 100%;
    position: fixed;
    border-style: solid;
    border-top: 5px;
    border-bottom: 5px;
    border-left: 0;
    border-right: 0;
    border-style: solid;
    margin: auto auto;
    z-index: 1;
    top: 50%;
    background-color: #B00000;
    color: #F1FC08;
    padding: 20px;
}
.endGame h1 {
    text-align: center;
}
.payTable {
    text-align: right;
    display: grid;
    grid-template-columns: repeat(6,1fr);
    grid-template-rows: repeat(9,1fr);
    color: #F1FC08;
    border-style: solid;
    border-collapse: collapse;
    background-color: #000064;
}
.payTable span:nth-child(6n+1) {
    text-align: left;
}
.payTable span {
    border-right: solid;
}
.payTable span:nth-child(6n+6){
    border-right: none;
}
.controlButton {
    width: 50%;
    margin: 0 5px;
    display: inline-block;
    min-width: 150px;
    max-width: 150px;
    box-shadow: 0px 1px 0px 0px #fff6af;
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	background-color:#ffec64;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	padding:6px 24px;
	text-decoration:none;
    text-shadow:0px 1px 0px #ffee66;
    font-family: 'Press Start 2P', cursive;
}
.betButton {
    display: inline-block;
    width: 50%;
    max-width: 50px;
    min-width: 50px;
    margin: 0 5px;
    box-shadow: 0px 1px 0px 0px #fff6af;
	background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
	background-color:#ffec64;
	border:1px solid #ffaa22;
	display:inline-block;
	cursor:pointer;
	color:#333333;
	padding:6px 6px;
	text-decoration:none;
    text-shadow:0px 1px 0px #ffee66;
    font-family: 'Press Start 2P', cursive;
}
.hand {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: 100%;
    height: 100%;
}
.cardOne img, .cardTwo img, .cardThree img, .cardFour img, .cardFive img {
    height: 100%;
    max-width: 100%;
}
/*.controls, .controls span {
    width: fit-content;
    font-family: 'Press Start 2P', cursive;
    color: white;
    margin: 0 auto;
    display: flex;
    align-items: center;
}*/
.controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 100%;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    color: white;
}
@media only screen and (max-height: 420px){
    * {
        font-size: 8px;
    }
}