html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

h1, h2, h3, h4, p {
  padding: 0;
  margin: 0;
  text-align: center;
  color: whitesmoke;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: 10rem;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

h2 {
  font-size: 3.5rem;
  width: 100%;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

header h2:nth-of-type(1) {
  font-style: italic;
  font-size: 1.75rem;
  width: 100%;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

h3 {
  font-size: 2rem;
  width: 75%;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

h4 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: -20px 0 10px;
}

html {
  font-size: 62.5%;
}

.wrapper {
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
}

#cardButton {
  padding: 40px;
}

header {
  min-height: 100vh;
  height: 1080px;
  background-color: #598392;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.centerCardContainer {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: center;
      align-content: center;
}

.centerCardContainer .centerCardFlexChild {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  -ms-grid-column-align: center;
      justify-self: center;
  margin-bottom: 35px;
}

.centerCardContainer .centerCardFlexChild img {
  width: 200px;
  height: auto;
}

.sectionGameTwo, .sectionGameThree, .sectionGameFour {
  width: 100%;
  height: auto;
  min-height: 1080px;
  display: none;
}

.sectionGameTwo .wrapper, .sectionGameThree .wrapper, .sectionGameFour .wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.sectionGameTwo .centerCardContainer, .sectionGameThree .centerCardContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
}

.sectionGameTwo .centerCardContainer .centerCardFlexChild, .sectionGameThree .centerCardContainer .centerCardFlexChild {
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.sectionGameTwo .centerCardContainer .gameOneCardContainer, .sectionGameTwo .centerCardContainer .gameTwoCardContainer, .sectionGameThree .centerCardContainer .gameOneCardContainer, .sectionGameThree .centerCardContainer .gameTwoCardContainer {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  text-align: center;
}

.sectionGameTwo .centerCardContainer .gameOneCardContainer .gOneCard, .sectionGameTwo .centerCardContainer .gameTwoCardContainer .gOneCard, .sectionGameThree .centerCardContainer .gameOneCardContainer .gOneCard, .sectionGameThree .centerCardContainer .gameTwoCardContainer .gOneCard {
  width: 150px;
  height: 225px;
}

.sectionGameTwo .centerCardContainer .gameOneCardContainer .gTwoCard, .sectionGameTwo .centerCardContainer .gameTwoCardContainer .gTwoCard, .sectionGameThree .centerCardContainer .gameOneCardContainer .gTwoCard, .sectionGameThree .centerCardContainer .gameTwoCardContainer .gTwoCard {
  width: 150px;
  height: 225px;
}

.sectionGameOne {
  background-color: #598392;
  width: 100%;
}

.sectionGameTwo {
  background-color: #01161E;
}

.sectionGameTwo .gameTwoCardContainer {
  visibility: hidden;
}

.sectionGameThree {
  background-color: #124559;
}

.sectionGameFour {
  background-color: #315969;
}

.buttonContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: 5s all;
  transition: 5s all;
}

.buttonContainer .cardButtonRed, .buttonContainer .cardButtonHigh, .buttonContainer .cardButtonInbet, .buttonContainer .cardButtonHeart,
.buttonContainer .cardButtonSpade, .buttonContainer .cardButtonDiam {
  margin: 0 35px 0 0;
  background-color: whitesmoke;
  width: 150px;
}

.buttonContainer .cardButtonBlck, .buttonContainer .cardButtonLow, .buttonContainer .cardButtonOutside, .buttonContainer .cardButtonSpade, .buttonContainer .cardButtonDiam,
.buttonContainer .cardButtonClub {
  margin-left: 35px;
  background-color: whitesmoke;
  width: 150px;
}

.cardButtonRed, .cardButtonHeart, .cardButtonDiam, .redFont {
  color: #D00000;
}

.cardButtonBlck, .cardButtonSpade, .cardButtonClub, .blackFont {
  color: #000000;
}

.cardButton:hover, .cardButton:focus, .cardButtonPlayAgain:hover, .cardButtonPlayAgain:focus {
  background-color: #c8c8c8;
}

.cardButton:active, .cardButtonPlayAgain:active {
  background-color: #aaaaaa;
}

.cardButton, .cardButtonPlayAgain {
  height: 50px;
  font-size: 2rem;
  text-transform: uppercase;
  text-shadow: 1px 1px grey;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

.cardButtonPlayAgain {
  margin-top: 50px;
  width: 150px;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  display: none;
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

footer p {
  font-size: 1.2rem;
  margin: 0;
}

@media (max-width: 810px) {
  .sectionGameFour .buttonContainer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  .sectionGameFour .buttonContainer .cardButtonHeart, .sectionGameFour .buttonContainer .cardButtonSpade, .sectionGameFour .buttonContainer .cardButtonClub, .sectionGameFour .buttonContainer .cardButtonDiam {
    margin: 0 0 20px;
  }
}

@media (max-width: 600px) {
  .buttonContainer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-line-pack: center;
        align-content: center;
  }
  .buttonContainer .cardButtonRed, .buttonContainer .cardButtonHigh, .buttonContainer .cardButtonInbet {
    margin: 0 0 20px;
  }
  .buttonContainer .cardButtonBlck, .buttonContainer .cardButtonLow, .buttonContainer .cardButtonOutside {
    margin: 0 0 25px;
  }
  .sectionGameTwo .gTwoCard {
    display: none;
  }
}

@media (max-width: 450px) {
  h1 {
    margin-top: 300px;
  }
  .sectionGameTwo .wrapper {
    padding-top: 100px;
  }
  main .wrapper {
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
  }
  main .wrapper .centerCardContainer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  main .wrapper .gOneCard {
    margin-bottom: 30px;
  }
}
