* {
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

body {
  padding: 30px;
  background: #d53369;
  background: linear-gradient(90deg, #d53369 0%, #daae51 100%);
  font-family: Montserrat, Lato, Arial, Helvetica, sans-serif;
}

div {
  margin: 10px 0;
}

h1 {
  font-size: 3rem;
  text-align: center;
}

h2,
h3,
h4 {
  /* text-align: center; */
  margin-bottom: 15px;
}

h2.congrats {
  font-size: 1.2rem;
  color: #363439;
}

h3.score {
  font-size: 2rem;
}

h4.result {
  font-size: 1rem;
}

.progress-area {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: #fff;
}

.status-bg {
  width: 25%;
  height: 10px;
  padding: 0;
  border-radius: 10px;
  border: #4f3870 solid 1.75px;
  background: #1e1131;
  background: linear-gradient(180deg, #1e1131 0%, #4f3870 100%);
}

.status-fill {
  padding: 0;
  margin: 0;
  height: 10px;
  width: 0%;
  transition: transform 0.1s;
  border-radius: 10px;
  background: #1e1131;
  background-color: #ff3cac;
  background-image: linear-gradient(
    90deg,
    #ff3cac 0%,
    #784ba0 50%,
    #2b86c5 100%
  );
  -webkit-transition: width 1s ease-in-out;
  -moz-transition: width 1s ease-in-out;
  -o-transition: width 1s ease-in-out;
  transition: width 1s ease-in-out;
  /* transition: transform 1s; */
  /* animation: fill-bar 3s infinite; */
}

.container {
  /* display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center; */
  margin: 0 auto;
  padding: 50px;
  width: 50%;
  height: 50%;
  min-height: 500px;
  height: auto;
  border-radius: 30px;
  background: #fff;
}

/* CSS transition applied when translation of items happen */
.slider-container-transition {
  transition: transform 0.7s ease-in-out;
}

/* .q--hidden {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 2s, opacity 2s linear;
} */

.quiz-form {
  width: 100%;
  overflow: hidden;
  margin: 20px 0 0 0;
  position: relative;
}

.q-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  align-content: stretch;
  position: relative;
  margin-right: 0 !important;
  padding: 0 !important;
  gap: 0;
  /* background-color: #ccc; */
  /* border: #ccc 1px solid; */
  /* overflow: hidden; */
}

.q-container {
  /* position: absolute;
  top: 0;
  left: 0; */
  width: 100%;
  margin: 0;
  flex-grow: 1;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
  transition: transform 1s;
  /* margin-bottom: 80px; */
}

.quiz-form value {
  margin: 0 0 0 15px;
  font-weight: 500;
}

/* .form-check {
  display: flex;
  justify-content: center;
  align-items: center;
} */

.last-q-box {
  margin-bottom: 0 !important;
}

.q-title {
  font-size: 1.6rem;
  color: rgb(96, 96, 96);
  font-weight: 400;
  margin-bottom: 25px;
  text-align: center;
}

.q-option {
  padding: 15px;
  /* border: #d53369 1px solid; */
  border: #cecece 1px solid;
  border-radius: 10px;
}

.opt-container:hover,
.q--active {
  background-color: #d53369;
  border: #d53369 1px solid;
  color: #fff;
}

/* The container */
.opt-container {
  display: flex !important;
  flex-direction: row-reverse;
  justify-content: left;
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 10px;
  padding: 15px;
  /* border: #d53369 1px solid; */
  border: #cecece 1px solid;
  border-radius: 10px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.opt-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: relative;
  /* top: 0;
  left: 0; */
  margin-right: 20px;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.opt-container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.opt-container input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: '';
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.opt-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.opt-container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.btn {
  width: 25%;
  padding: 15px 0;
  margin-top: 40px;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.q-footer {
  display: block;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.prev,
.next {
  background: #2b86c5;
}

/* .next {
  float: right;
} */

.submitBtn {
  padding: 15px 0;
  margin-top: 40px;
  width: 100%;
  background: #d53369;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.message-box {
  position: fixed;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  background-color: white;
  border-radius: 9px;

  margin: 0;
  padding: 5rem 6rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.25);
  z-index: 1000;
  transition: all 0.5s;
}

/* .message-box p {
  text-align: center;
} */

.reward-ico {
  width: 200px;
  margin-bottom: 15px;
}

.score--orange {
  color: #f3a72d;
}

.score--green {
  color: #41dc7f;
}

.score--red {
  color: #ec4c4c;
}

.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.5rem;
  right: 1.6rem;
  font-size: 3.5rem;
  cursor: pointer;
  border: none;
  background: none;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}
