* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(to bottom, white, red);
  color: white;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 210px;
}

#wrapper {
  margin-left: auto;
  margin-right: auto;
  width: 70%;
  background-image: linear-gradient(to bottom, white, red);
  background-repeat: no-repeat;
  min-width: 960px;
  max-width: 2048px;
  border: 3px solid black;
}

header a {
  text-decoration: none;
}

header a:link {
  color: purple;
}

h1 {
  margin-bottom: 0;
  margin-top: 0;
  font-family: 'Times New Roman', Times, serif;
  font-size: 2em;
  letter-spacing: .15em;
  text-align: center;
}

nav {
  float: left;
  font-weight: bold;
  padding: 1.25em;
  font-size: 110%;
  width: 175px;
}

nav a {
  text-decoration: none;
}

nav ul {
  list-style-type: none;
  margin: 0%;
}

nav a:link {
  color: red
}

nav a:visited {
  color: white;
}

main {
  padding: 1px 20px 20px 30px;
  margin-left: 175px;
  overflow: auto;
}


.header2 {
  color: black;
}

#casino {
  height: 250px;
  background-image: url(casino.jpeg);
  background-size: 75% 75%;
  background-repeat: no-repeat;
  margin-left: 275px;
}

#blackjack {
  height: 250px;
  background-image: url(blackjack.jpeg);
  background-size: 75% 75%;
  background-repeat: no-repeat;
  margin-left: 275px;
}

#poker {
  height: 250px;
  background-image: url(poker.webp);
  background-size: 75% 75%;
  background-repeat: no-repeat;
  margin-left: 275px;
}

#craps {
  height: 250px;
  background-image: url(craps.jpeg);
  background-size: 75% 75%;
  background-repeat: no-repeat;
  margin-left: 275px;
}

.favorites {
  color: yellow;
  font-weight: bold;
}

.Dealer {
  color: black;
  padding-left: 10em;
}

table {
  border: 2px solid black;
  border-collapse: collapse;
}

td, th {
  padding: .5em;
  border: 2px solid black;
  text-align: center;
}

form {
  display: flex;
  flex-flow: column nowrap;
}

form {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 6em 1fr;
  grid-auto-rows: auto;
  width: 60%; 
}


body {
  background-color: gray;
  font-family: 'Times New Roman', Times, serif;
  color: white;
}

input[type=submit] {grid-column: 2/3;
                    width: 9em;}

footer {
  font-size: 50%;
  font-style: italic;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  padding: 3em;
}