@font-face {
  font-family: "Montserrat-Bold";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: bold;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blooms";
  src: url("../fonts/Blooms.otf") format("opentype");
  font-weight: normal;
  font-display: swap;
}
body {
  margin: 0px;
}

#brafton-quiz-wrapper {
  background-color: #ddd;
  width: 100vw;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  overflow-y: auto;
}
#brafton-quiz-wrapper dialog #custom-alert-box-button {
  display: block;
  margin: 1em auto 0 auto;
}
#brafton-quiz-wrapper .page {
  background-color: black;
  padding: 0px;
  position: relative;
  box-sizing: border-box;
}
#brafton-quiz-wrapper .page.hide {
  display: none;
  opacity: 0;
  animation: fade-out 1s;
}
#brafton-quiz-wrapper .page.show {
  visibility: visible;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  animation: fade-in 1.5s;
  animation-fill-mode: forwards;
  display: block;
}
#brafton-quiz-wrapper .page.entry {
  display: flex;
  height: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  align-items: stretch;
  height: 100vh;
  gap: 66px;
  text-align: center;
  height: 100%;
  overflow: clip;
}
@media screen and (max-width: 800px) {
  #brafton-quiz-wrapper .page.entry {
    gap: 0px;
  }
}
@media screen and (max-width: 800px) {
  #brafton-quiz-wrapper .page.entry {
    flex-direction: column;
  }
}
#brafton-quiz-wrapper .page.entry .entry-left, #brafton-quiz-wrapper .page.entry .right {
  flex-basis: 390px;
  min-height: 690px;
  display: flex;
  align-items: center;
}
#brafton-quiz-wrapper .page.entry .entry-left img, #brafton-quiz-wrapper .page.entry .right img {
  width: 100%;
}
#brafton-quiz-wrapper .page.entry .right img {
  height: 610px;
  object-fit: cover;
}
@media screen and (max-width: 800px) {
  #brafton-quiz-wrapper .page.entry .entry-left {
    flex-basis: 390px;
    min-height: 330px;
    align-items: center;
    display: block;
  }
}
#brafton-quiz-wrapper .page.entry .img-left {
  height: 100%;
}
#brafton-quiz-wrapper .page.entry .img-left img {
  height: 100%;
  object-fit: cover;
}
#brafton-quiz-wrapper .page.entry .content {
  flex-basis: 600px;
  padding-top: 146px;
}
#brafton-quiz-wrapper .page.entry .content h1 {
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 72px;
  font-style: normal;
  font-weight: 300;
  line-height: 88px;
  margin-bottom: 20px;
  margin-top: 0px;
  position: relative;
}
@media (max-width: 768px) {
  #brafton-quiz-wrapper .page.entry .content h1 {
    font-size: 50px;
    line-height: 65px;
  }
}
#brafton-quiz-wrapper .page.entry .content h1:before {
  content: "";
  width: 100px;
  height: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -63px;
  background: #71BBCA;
}
#brafton-quiz-wrapper .page.entry .content h3 {
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
}
#brafton-quiz-wrapper .page.entry .content .next-slide.entry {
  border: 1px solid #71BBCA;
}
#brafton-quiz-wrapper .page.entry.hide {
  opacity: 0;
  display: none;
}
#brafton-quiz-wrapper .page .current {
  font-weight: 700;
  background: #DEDEDE;
}
#brafton-quiz-wrapper .page .buttons div {
  display: flex;
  align-items: center;
  margin: 12px 0;
}
#brafton-quiz-wrapper .page .buttons div .choice.selected {
  background: rgb(113, 187, 202);
  color: white;
}
#brafton-quiz-wrapper .page .buttons div span {
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
  flex: 100%;
}
#brafton-quiz-wrapper .page .buttons div:has(.selected) span {
  color: rgb(113, 187, 202);
}
#brafton-quiz-wrapper .page #begin,
#brafton-quiz-wrapper .page .next-slide {
  display: inline-block;
  border: 1px solid #71BBCA;
  padding: 18px 20px;
  cursor: pointer;
  color: white;
  max-width: 250px;
  margin: 1em auto;
  margin-top: 84px;
  font-family: "Montserrat";
  font-weight: bold;
}
@media screen and (max-width: 900px) {
  #brafton-quiz-wrapper .page #begin,
#brafton-quiz-wrapper .page .next-slide {
    margin-left: 0;
  }
}
#brafton-quiz-wrapper .page .next-slide {
  color: black;
}
#brafton-quiz-wrapper .page #begin {
  color: white;
}
#brafton-quiz-wrapper .page .tracker {
  margin: 1.5em 0;
  position: relative;
  bottom: 0px;
  margin-left: 40px;
}
@media screen and (max-width: 900px) {
  #brafton-quiz-wrapper .page .tracker {
    margin-left: 106px;
  }
}
#brafton-quiz-wrapper .page .tracker span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0);
  font-size: 0px;
  height: 10px;
  width: 10px;
  background-color: white;
  margin-right: 20px;
  border-radius: 20px;
  border: 1px solid var(--Black, #000);
}
#brafton-quiz-wrapper .page .tracker span.position.current {
  width: 60px !important;
  background-color: black !important;
}
#brafton-quiz-wrapper #custom-alert-box {
  width: 300px;
  height: 200px;
  position: absolute;
  z-index: 9;
  background: #FFF;
  border: 1px solid;
  top: 150px;
  left: 150px;
}
#brafton-quiz-wrapper #custom-alert-box #custom-alert-box-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#brafton-quiz-wrapper #custom-alert-box #custom-alert-box-wrap #custom-alert-box-button {
  cursor: pointer;
}
#brafton-quiz-wrapper .end-link {
  padding: 2% 3%;
  display: inline-block;
  margin-top: 1em;
}
#brafton-quiz-wrapper #brafton-quiz-form-slide {
  display: none;
}
#brafton-quiz-wrapper #brafton-quiz-form-slide.show {
  display: grid;
  grid-template-rows: 62px 538px;
}
#brafton-quiz-wrapper #brafton-quiz-form-slide #quiz-form {
  grid-row-start: 2;
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}
#brafton-quiz-wrapper #brafton-quiz-form-slide #quiz-form input[type=submit] {
  padding: 0.5em 1em;
  font-size: 1em;
}
#brafton-quiz-wrapper #brafton-quiz-form-slide #quiz-form input[type=text] {
  padding: 0.25em 0.5em;
  font-size: 1em;
}
#brafton-quiz-wrapper h1, #brafton-quiz-wrapper .entry h1 {
  font-family: Blooms, serif;
  font-size: 2.5em;
}
#brafton-quiz-wrapper .finish-wrap h2 {
  font-family: Blooms, serif;
  color: #FFF;
  font-family: Blooms;
  font-size: 85px;
  font-style: normal;
  font-weight: 400;
  line-height: 112px;
}

.question-wrap {
  display: flex;
  gap: 170px;
  background-color: white;
  padding-bottom: 121px;
}
@media screen and (max-width: 900px) {
  .question-wrap {
    flex-direction: column;
    gap: 0px;
  }
}
.question-wrap h2 {
  position: relative;
  padding-top: 250px;
  padding-left: 100px;
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 55px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
@media screen and (max-width: 900px) {
  .question-wrap h2 {
    padding-top: 8px;
  }
}
@media screen and (max-width: 540px) {
  .question-wrap h2 {
    font-size: 32px;
    line-height: 45px;
  }
}
.question-wrap h2:before {
  background-color: #71BBCA;
  width: 40px;
  height: 385px;
  display: block;
  content: "";
  position: absolute;
  left: 0;
  top: -32px;
}
.question-wrap .left-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.question-wrap .right-wrap {
  padding-top: 200px;
  flex: 1 0 40%;
}
@media screen and (max-width: 900px) {
  .question-wrap .right-wrap {
    padding-top: 0px;
    padding-left: 106px;
  }
}
.question-wrap .right-wrap .buttons {
  display: flex;
  flex-direction: column;
}
.question-wrap .right-wrap .buttons div {
  cursor: pointer;
}
.question-wrap .right-wrap .buttons div .choice {
  margin-right: 25px;
  width: 70px;
  height: 70px;
  flex: 84px;
  color: black;
  text-transform: capitalize;
  font-size: 20px;
  border: 2px solid rgb(113, 187, 202);
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.final-wrap {
  display: flex;
  gap: 156px;
}
@media screen and (max-width: 666px) {
  .final-wrap {
    flex-direction: column;
    align-content: center;
    align-items: center;
    gap: 0px;
  }
}
.final-wrap .finish-wrap.wrapped * {
  color: white;
}
.final-wrap .right-side {
  padding-bottom: 134px;
  flex: 1 1 calc(50% - 50px);
}
@media screen and (max-width: 666px) {
  .final-wrap .right-side {
    width: 90vw;
  }
}
.final-wrap a.end-link.next-slide {
  color: white !important;
  max-width: fit-content !important;
  text-decoration: none;
}
.final-wrap h3 {
  color: #FFF;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
  text-transform: uppercase;
  max-width: 90vw;
  margin-top: 134px;
}
.final-wrap .result-content p {
  color: #FFF;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
}
.final-wrap .result-content:before {
  content: "";
  width: 110px;
  height: 2px;
  background-color: teal;
  display: block;
  margin-top: 100px;
  margin-bottom: 32px;
}
.final-wrap .left-image {
  flex: 1 0 30%;
  position: relative;
}
@media screen and (max-width: 900px) {
  .final-wrap .left-image {
    flex: 1 0 20%;
  }
}
@media screen and (max-width: 666px) {
  .final-wrap .left-image {
    width: 100vw;
    min-height: 580px;
    display: flex;
    justify-content: center;
  }
}
.final-wrap .left-image img {
  position: absolute;
  right: -80px;
  top: 0%;
  transform: translate(0px, 50%);
}
@media screen and (max-width: 666px) {
  .final-wrap .left-image img {
    position: relative;
    transform: none;
    right: auto;
    left: auto;
    bottom: -68px;
  }
}

.final-wrap .left-image {
  background-size: cover;
}