@font-face {
  font-family: 'FFDINforPUMA';
  src: url('../font/FFDINforPUMA-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #ac1e1e;
  --text-color: rgb(0, 0, 0);
  --primary-color-dark: #8a1a1a; 
}
/* 
html, body *{
  cursor: url('../images/cursor.png'),default !important;
} */



body {

  width: 100%;
  height: auto;
  position: relative;
  font-family: "FFDINforPUMA" !important;
  /* background-image: url(../images/bg.jpg); */
  background-size: cover;
    background-color: rgba(0, 0, 0);
}

main {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 50px 0;
  zoom:80%
}


main::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;

}

main > * {
  position: relative;
}

header {
  width: 100%;
  margin-bottom: 30px;
}

.stepCounter {
  font-size: 22px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 25px;
}
#background-music {
  display: none;
}
.stepBar {
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 22px;
}

.stepBar .fill {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: 0.5s all ease-in-out;
}

#step1 .hidePrev {
  opacity: 0;
  pointer-events: none;
}

.stepHead {
  width: 100%;
  height: auto;
  position: relative;
  margin-bottom: 15px;

}

.stepHead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imagerds{
  border-radius: 20px;
}

.nextPrev {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: calc(100% + 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translate(-50%, -50%);
}

.nextPrev button {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: rgb(90, 91, 90);
  border: 0;
  font-size: 34px;
  color: rgb(255, 255, 255);
}

.nextPrev button i {
  transition: 0.5s;
}

.nextPrev .next,
.nextPrev .apply {
  background-color: var(--primary-color);
}

.nextPrev .next:hover i,
.nextPrev .apply:hover i {
  margin-left: 20px;
}

.nextPrev .prev:hover i {
  margin-right: 20px;
}

.question {
  font-size: 44px;
  color: var(--text-color);
  font-weight: bold;
  text-align: center;
  background-color: rgb(255, 255, 255);
  border-radius: 20px;
  box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.14);
  height: 200px;
  display: grid;
  place-content: center;
  padding: 0 80px;
}
.hint {
  font-size: x-large;
  color: #000000
}


.options {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}

.options .option {
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 3px 13px 0px rgba(0, 0, 0, 0.14);
  width: 20%;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s, color 0.5s;
  /* cursor: url('../images/cur-1.png'),default !important; */
}


/* Hides the radio button */
.option input {
  display: none;
}

/* Style for selected option */
.option.selected {
  background-color: var(--primary-color); /* Change to primary color when selected */
  color: #fff; /* Change text color to white when selected */
}

.option label {
  font-size: 30px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  margin-right: 0; /* Remove the margin to ensure the label is centered */
  text-align: center; /* Center the text inside the label */
  width: 100%; /* Make sure the label takes up the full width of the option */
  /* cursor: url('../images/cur-1.png'),default !important; */
}


/* Changes label color when the option is selected */
.option.selected label {
  color: #fff; /* Change label color to white when selected */
}

.option input:checked #error {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000000;
}

.custom-toast-margin {
  top: 150px; /* This adds a margin of 50px from the top */
}

/*add welcome screen*/

#welcomeSection {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70vh; /* Adjust the height as needed */
  /* background: rgba(255, 255, 255, 0.9); */
  border-radius: 8px; /* Rounded corners */
  padding: 20px; /* Optional: add padding for inner spacing */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow */
}

.welcome-content {
  /* background: rgba(255, 255, 255, 0.9); 
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  */
  text-align: center;
}

.welcome-logo {
  max-width: 130px; /* Adjust the logo size */
  margin-bottom: 20px;
}

#welcomeSection h2 {
  font-size: 98px;
  margin-bottom: 20px;
  color: #fff;
}
#welcomeSection p {
  color: #fff;
  font-size: 20px;
}

#playNowBtn {
  padding: 10px 20px;
  font-size: 32px;
  border-radius: 5px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000000;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

/* Ensure that the fieldset is the relative positioning parent */
fieldset {
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
  z-index: 1; /* Make sure fieldset is below the overlay */
}

.result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(255, 0, 0, 0.5)); /* Default gradient */
  background-size: cover; /* Ensure the image covers the entire area */
  background-position: center; /* Center the background image */
  display: none; /* Start with display none to not block content */
  justify-content: center;
  align-items: center;
  z-index: 10; /* Higher than fieldset, but only when active */
}

.result-overlay.correct-answer {
  
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 0, 0, 0.2)), 
  url('../images/cracker.gif'); /* Gradient with background image */
  background-size: cover; /* Ensure the image covers the entire area */
  background-position: center; /* Center the background image */
 
}


.result-content {
  text-align: center;
  color: #fff;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 100%;
  height: 100%;
  padding-top: 21%;
}

.result-content .result-text {
  font-size: 46px;
  margin-bottom: 20px;
}

.result-content .next-question-btn {
  padding: 10px 20px;
  font-size: 38px;
  border-radius: 5px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.result-content .next-question-btn:hover {
  background-color: var(--primary-color-dark);
}

.result-content .result-gif {
  max-width: 150px;
  margin-bottom: 20px;
}

/* Specific to disabling overlay interaction */
.result-overlay.show {
  display: flex; /* Show overlay only when needed */
  pointer-events: auto; /* Allow interaction with the overlay itself */
}

/* Hide overlay by default */
.result-overlay.hide {
  display: none;
}


