* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

#cards {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  grid-gap: 1em;
  width: 50%;
  margin: 0 auto;
}
.card {
  height: 300px;
  padding: 2em;
  width: fit-content;
  -webkit-box-shadow: 3px 3px 13px -5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 3px 3px 13px -5px rgba(0, 0, 0, 0.75);
  box-shadow: 3px 3px 13px -5px rgba(0, 0, 0, 0.75);
  border-radius: 15px;
  display: flex;
  position: relative;
  margin: 2em auto;
}

.suitspades {
  background: url(img/spade.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 110px;
  height: 130px;
  align-self: center;
  justify-self: center;
}
.suithearts {
  background: url(img/heart.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 120px;
  height: 110px;
  align-self: center;
  justify-self: center;
}
.suitclubs {
  background: url(img/club.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 120px;
  height: 125px;
  align-self: center;
  justify-self: center;
}
.suitdiamonds {
  background: url(img/diamond.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 110px;
  height: 130px;
  align-self: center;
  justify-self: center;
}
.value {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  position: absolute;
  top: 0;
  left: 0;
  height: fit-content;
  padding: 0.2em;
}

.button {
  width: max-content;
  margin: 0 auto;
}
#shuffle {
  text-decoration: none;
  border: 2px solid #000;
  border-radius: 5px;
  -webkit-box-shadow: 2px 2px 11px -2px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 2px 2px 11px -2px rgba(0, 0, 0, 0.75);
  box-shadow: 2px 2px 11px -2px rgba(0, 0, 0, 0.75);
  padding: 7px;
  margin: 0 auto;
}
