/* 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: url("../assets/background.jpg") no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 500px;
  height: auto;
  margin: 5rem 0;
  animation: logo 3s infinite;
}

.difficulty-title {
  text-align: center;
  text-transform: uppercase;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3rem;
}

.btn {
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: translateY(5px);
}

.btn-container-return {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 1rem;
}

.btn-return {
  transition: all 0.3s ease-in-out;
}

.btn-return:hover {
  transform: translateY(5px);
}

.btn-home {
  margin-top: 1rem;
}

.result {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url(/assets/bg-screen.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 2rem;
}

.result-text {
  margin-top: 1.5rem;
}

#confetti {
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
}

/* ANIMATIONS */
@keyframes logo {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* MEDIA QUERIES */
@media (max-width: 690px) {
  .btn-container {
    flex-direction: column;
    gap: 1rem;
  }
  .btn-difficulty {
    margin: 0.3rem;
    padding: 0.5rem 2rem;
    font-size: 1rem;
  }
  .btn-gamemode {
    margin: 0.3rem;
    font-size: 0.8rem;
    /* padding: 1rem 2rem; */
  }
  .difficulty-title {
    margin: 1rem;
    font-size: 1.2rem;
  }
  .logo {
    margin-top: 2rem;
    margin-bottom: 5rem;
    width: 300px;
  }
}
