/*reset css*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*css start*/

@font-face {
    font-family: "Press Start 2P";
    src: url("fonts/PressStart2P-Regular.ttf");
}
* {
    box-sizing: border-box;
    font-family: 'Press Start 2P', cursive;
}
html, body {
    background-color: #0000f6;
    height: 100%;
    width: 100%;
    position: fixed;
    font-family: 'Press Start 2P', cursive;
}

.card img {
    width: 100%;
    position: relative;
    aspect-ratio: 26 / 37;
}
.card {
    display: inline-flex;
    padding: 0 25px;
}
.card_control {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
}
#main_container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}
#video_poker, #blackjack {
    width: 100%;
    background-color: #0000f6;
    max-width: 1920px;
    margin: 0 auto;
    max-height: 1080px;
    align-self: center;
}

#video_poker_paytable {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, auto);
    grid-template-rows: repeat(8, auto);
    color: #ffff00;
}
#video_poker_hand {
    display: grid;
    grid-template-columns: repeat(5, auto);
    grid-template-rows: auto;
    grid-template-areas: "card_one card_two card_three card_four card_five";
}
#card_one, #card_two, #card_three, #card_four, #card_five {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(2, auto);
}
#card_one {
    grid-area: card_one;
}
#card_two {
    grid-area: card_two;
}
#card_three {
    grid-area: card_three;
}
#card_four {
    grid-area: card_four;
}
#card_five {
    grid-area: card_five;
}
#video_poker_controls {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 50px;
    align-content: center;
    padding: 5px;
}
.input_button {
    width: 100%;
    display: flex;
    align-items: center;
}
.input_button button {
    height: 100%;
    width: 100%;
    background-color: yellow;
}
.hold {
    margin: 0 auto;
    align-self: center;
    border: none;
    background: none;
    color: #ff190a;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffff00;
    font-size: medium;
}
#video_poker_paytable section {
    padding: 2px 5px;
    font-family: 'Press Start 2P', cursive;
}
#video_poker_paytable section:nth-child(6n+1) {
    border-right: 5px solid yellow;
}
#video_poker_paytable section:nth-child(6n+3), #video_poker_paytable section:nth-child(6n+4), #video_poker_paytable section:nth-child(6n+5), #video_poker_paytable section:nth-child(6n+6){
    border-left: 5px solid yellow;
}
#video_poker_paytable section:nth-child(6n+2), #video_poker_paytable section:nth-child(6n+3), #video_poker_paytable section:nth-child(6n+4), #video_poker_paytable section:nth-child(6n+5), #video_poker_paytable section:nth-child(6n+6){
    text-align: right;
}
#video_poker_paytable {
    border: 5px solid yellow;
}
dialog::backdrop {
    background-color: rgb(4, 4, 16);
    backdrop-filter: blur(5px);
}
dialog {
    align-self: center;
    border: none;
    background: none;
    color: #ff190a;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffff00;
    font-size: xxx-large;
    /*font-family: 'Azeret Mono', monospace;*/
    font-family: 'Press Start 2P', cursive;
    white-space: nowrap;
}
#video_poker_information {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    color: #ff190a;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #ffff00;
    padding: 10px;
}
#video_poker_information section:last-child {
    text-align: right;
}