body {
  width: 100%;
  height: 100%;
  background: linear-gradient(325deg, #6f00fc 0%, #fc7900 50%, #fcc700 100%);
  background-image: radial-gradient(
    circle at center center,
    rgb(80, 32, 84),
    rgb(62, 35, 81),
    rgb(44, 38, 79),
    rgb(26, 40, 76),
    rgb(8, 43, 73)
  );
}

section {
  text-align: center;
}
.card-borad {
  position: relative;
  border-radius: 5px;
  box-shadow: 0 25px 50px rgb(33 33 33 / 25%);
  background: linear-gradient(135deg, #6f00fc 0%, #fc7900 50%, #fcc700 100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px;
}
.game-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.grid-container {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-gap: 20px;
  padding: 20px;
}

.card {
  position: relative;
  width: 100px;
  height: 100px;
  cursor: pointer;
  background-color: #f1f1f1;
  border: 2px solid #440101;
}

#card-message {
  color: #ffff;
}

.card img {
  display: block;
  width: 90px;
  height: 80px;
  vertical-align: middle;
  position: absolute;
  right: 0;
  left: 0;
  margin: auto auto;
  top: 0;
  bottom: 0;
}

.card::after {
  background-image: repeating-linear-gradient(
    45deg,
    #ff9494,
    transparent 100px
  );
}

h1 {
  font-size: 40px;
}
button {
  font-size: 22px;
}

H1,
button {
  font-family: "Indie Flower", cursive;
  font-weight: 900;
  color: white;
  font-style: normal;
}

.start_game {
  vertical-align: middle;
  background: green;
  color: white;
  padding: 10px 25px;
  cursor: pointer;
  position: relative;
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background-image: linear-gradient(
    325deg,
    #6f00fc 0%,
    #fc7900 50%,
    #fcc700 100%
  );
  color: #f1f1f1;
  width: 80px;
  height: 80px;
  transition: 0.5s ease;
  opacity: 1;
  color: white;
  padding: 10px;
  text-align: center;
}

/* When you mouse over the container, fade in the overlay title */
.card:hover .overlay {
  /* opacity: 0; */
}
