/* FONT */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

body {
  background: transparent;
}

#myIframe {
  margin-bottom: 0 !important;
}

.bg-game {
  position: absolute;
  width: 550px !important;
  left: 0;
  right: 0;
  top: 20px;
  bottom: 0;
  margin: 0 auto;
  z-index: -1;
  background-image: url("../assets/bg-game.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.game {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.errors {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: none;
}

.timer {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: none;
}

.solo-img {
  width: 300px;
  height: auto;
}

#board {
  height: 650px;
  width: 500px;
  margin: 0 auto;
  background-color: #4e4997;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.card {
  cursor: pointer;
  width: 100px;
  height: 100px;
  margin: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.1);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}
.btn {
  transition: all 0.3s ease-in-out;
}
.btn img {
  width: 100px;
  height: auto;
}

.btn:hover {
  transform: translateY(5px);
}
/* MEDIA QUERIES */
@media (max-width: 768px) {
  #board {
    height: 500px;
    width: 380px;
    background-color: #4e4997;
  }
  .card {
    cursor: pointer;
    width: 75px;
    height: 75px;
    margin: 0.3rem;
    transition: all 0.3s ease-in-out;
  }
  .errors {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }
  .timer {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .bg-game {
    position: absolute;
    width: 420px !important;
    left: 0;
    right: 0;
    top: 30px;
    bottom: 0;
    margin: 0 auto;
    z-index: -1;
  }
}
