@font-face {
  font-family: LuckiestGuy;
  src: url('../../../assets/fonts/luckiestguy.ttf');
}
@font-face {
  font-family: 'Arial Rounded Bold';
  src: url('../../../assets/fonts/Arial\ Rounded\ Bold.ttf');
}
body {
  font-family: 'Arial Rounded Bold';
  background-color: #0f6adb;
  border-radius: 0;
  min-height: 100vh;
}
.jumbotron {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(30, 172, 253, 1) 30%,
    rgba(30, 172, 253, 1) 70%,
    rgba(30, 172, 253, 0) 100%
  );
}
.jumbotron,
.container,
.row,
.col-12 {
  padding: 0;
  margin: 0;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
p,
h1,
h2 {
  color: #fff;
  font-family: 'Arial Rounded Bold';
  font-size: 45px;
  margin-top: 0;
}
h3 {
  font-family: LuckiestGuy;
  margin: 50px 0 0;
  color: #fff;
  font-size: 30px;
}
h1,
h3 {
  text-align: center;
}
/* GAME */
.titulo {
  font-weight: bold;
  font-size: 23px;
  padding-bottom: 0;
  margin-bottom: 0;
}
.sub-titulo {
  font-size: 17px;
}
.cartas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px auto;
  max-width: 900px;
}
.carta {
  width: 20%;
  margin: 0 10px 20px;
}

/* FLIP BOX */
.flip-box {
  background-color: transparent;
  perspective: 3000px;
}
.flip-box,
.flip-box-front img,
.flip-box-back img {
  width: 180px;
  height: 250px;
}
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
.aberta .flip-box-inner {
  transform: rotateY(180deg);
}
.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-box-front {
  background-color: #bbb;
  color: black;
}
.flip-box-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}
/* TOAST */
.toast {
  text-align: center;
  padding: 20px;
  font-size: 20px;
  margin: 0 auto;
  background-color: #fff;
  color: #000;
  border-radius: 13px;
}
@media (max-width: 576px) {
  .flip-box,
  .flip-box-front img,
  .flip-box-back img {
    width: 126px;
    height: 175px;
  }
  .toast {
    font-size: 20px;
    width: 80%;
  }
}

@media (min-width: 300px) {
  .container {
    width: 100% !important;
  }
}
