/* styles.css */
body {
  background: url("../assets/img/game-bg.png") no-repeat center center fixed;
  background-size: cover;
  font-family: "Quicksand", serif !important;
  background-color: #f9f0ec !important;
  color: #04063e !important;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  /* background-color: #f9f0ec; */
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.background-light{
    background-color: #f9f0ec;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 42px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 15px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: 500;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

h1 {
  color: #343a40;
}

#next-dare-btn {
  font-size: 20px;
  padding: 10px 20px;
}

/* Full-Screen Loader */
.fullscreen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-loader img {
  width: 200px;
}

.dare-pop-logo {
  width: 100px;
}

.dare-pop-text {
  width: 50vw;
  font-family: "Quicksand";
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #04063e;
}

.game-btn {
  padding: 9px 24px;
  background: #ff0054;
  border-radius: 6px;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  border: none;
  height: 45px;
}

.poppins{
  font-family: "Poppins";
}

.game-btn:hover {
  background: #fe1260;
}

.dare-card-container {
  position: relative;
  width: 320px; /* Same as the main card width */
  height: 400px; /* Same as the main card height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-card {
  position: absolute;
  width: 260px; /* Slightly smaller than the main card */
  height: 340px;
  background-color: #ff0054; /* A darker shade for the background card */
  border-radius: 8px;
  transform: rotate(-9deg); /* Slight tilt for the background card */
  z-index: 1;
}

.dare-card {
  position: absolute;
  width: 280px;
  height: 360px;
  background-color: #300B74;
  color: #fff;
  border-radius: 12px;
  /* transform: rotate(3deg); Tilt for the main card */
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#dare-text {
  color: #fff;
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
}


.dare-card img{
  width: 120px;
  position: absolute;
  right: 16px;
  bottom: 16px;
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
  .dare-pop-text {
    width: 70vw;
    font-size: 24px;
    color: #04063e;
  }
  .dare-pop-logo {
    width: 100px;
  }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
  .dare-pop-text {
    width: 90vw;
    font-size: 18px;
    color: #04063e;
  }
  .dare-pop-logo {
    width: 80px;
  }
  .game-btn {
    font-size: 14px;
  }
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #ff0054; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #f8f8f800; 
}
