.rpc-quiz h2 {
  color: #fff;
  margin: 0;
  position: relative;
  z-index: 2; }
  .rpc-quiz h2.title {
    margin: 1rem 0 1.5rem 0; }

.rpc-quiz h3 {
  color: #fff; }

.rpc-quiz p {
  color: #fff;
  font-size: 14px;
  font-weight: bold; }

.rpc-quiz__btn {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 5px;
  margin: 1rem 0;
  padding: 5px 15px 2px 15px;
  font-weight: bold; }
  .rpc-quiz__btn:hover {
    background-color: #fff;
    color: #000; }

.rpc-quiz {
  background-image: url("../images/bg_space.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center; }
  .rpc-quiz .home__content {
    visibility: hidden;
    z-index: -1;
    position: absolute; }
  .rpc-quiz .home .home__content {
    visibility: visible;
    z-index: 1;
    position: relative; }
  @media screen and (max-width: 992px) {
    .rpc-quiz__content {
      padding: 0 1rem; } }
  .rpc-quiz__video, .rpc-quiz__banner,
  .rpc-quiz iframe,
  .rpc-quiz picture {
    max-width: 400px;
    max-height: 226px;
    margin: auto; }
    .rpc-quiz__video picture,
    .rpc-quiz__video img, .rpc-quiz__banner picture,
    .rpc-quiz__banner img,
    .rpc-quiz iframe picture,
    .rpc-quiz iframe img,
    .rpc-quiz picture picture,
    .rpc-quiz picture img {
      width: 100%; }
    .rpc-quiz__video picture, .rpc-quiz__banner picture,
    .rpc-quiz iframe picture,
    .rpc-quiz picture picture {
      position: absolute; }

.rpc-quiz__wall {
  width: 70%;
  height: calc(100vh - 185px);
  background: #c9baa1;
  min-height: 750px;
  margin: auto;
  position: relative;
  padding: 1rem 0; }
  @media screen and (max-width: 1500px) {
    .rpc-quiz__wall {
      width: 80%; } }
  @media screen and (max-width: 992px) {
    .rpc-quiz__wall {
      width: 100%;
      height: 100%; } }
  .rpc-quiz__wall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    z-index: 1; }
    .rpc-quiz__wall-overlay.animate {
      animation: chageQuizBackground 3s forwards;
      height: 100%;
      max-width: 130%;
      z-index: 0;
      --mask: radial-gradient(
        7.18rem at calc(100% - 18.4rem) 100%,
            #000 90%,
            #0000 105%
        )
        0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(
                5.18rem at calc(100% - 16rem) 75%,
                #000 85%,
                #0000 105%
            )
            0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(
                4.18rem at calc(100% - 12rem) 70%,
                #000 85%,
                #0000 105%
            )
            0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(
                7.18rem at calc(100% - 12.4rem) 50%,
                #000 90%,
                #0000 105%
            )
            0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(
                5.18rem at calc(100% - 14rem) 25%,
                #000 85%,
                #0000 105%
            )
            0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(
                7.18rem at calc(100% - 18.4rem) 0%,
                #000 90%,
                #0000 105%
            )
            0 calc(80% - 6rem) / 100% 24rem,
        radial-gradient(7.18rem at calc(100%) 50%, #0000 90%, #000 105%)
            calc(100% - 6rem) 50%/100% 12rem repeat-y;
      -webkit-mask: var(--mask);
      mask: var(--mask); }

@keyframes chageQuizBackground {
  from {
    width: 0; }
  to {
    width: 130%; } }

.rpc-quiz__floor {
  width: 70%;
  margin: auto;
  min-height: 25px;
  height: 25px;
  position: relative !important;
  visibility: hidden;
  z-index: -1;
  position: absolute; }
  @media screen and (max-width: 1500px) {
    .rpc-quiz__floor {
      width: 80%; } }
  @media screen and (max-width: 992px) {
    .rpc-quiz__floor {
      width: 100%; } }
  .rpc-quiz__floor.home {
    visibility: visible;
    z-index: 1;
    position: relative; }
    .rpc-quiz__floor.home img {
      height: 400px;
      position: absolute;
      bottom: 0; }
    .rpc-quiz__floor.home .furniture img {
      left: 0;
      right: 0;
      margin: auto; }
      @media screen and (max-width: 1200px) {
        .rpc-quiz__floor.home .furniture img {
          width: 60%;
          height: auto; } }
      @media screen and (max-width: 768px) {
        .rpc-quiz__floor.home .furniture img {
          width: 100%;
          height: auto; } }
    @media screen and (max-width: 1200px) {
      .rpc-quiz__floor.home .plants img {
        width: 20%;
        height: auto; } }
    @media screen and (max-width: 768px) {
      .rpc-quiz__floor.home .plants img {
        display: none; } }
    .rpc-quiz__floor.home .plants img.left {
      left: 0;
      margin-left: 0; }
    .rpc-quiz__floor.home .plants img.right {
      right: 0;
      margin-right: 0; }

.rpc-quiz__credit {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto; }

.quiz__progress {
  width: 50%;
  height: 18px;
  max-width: 80%;
  background-color: white;
  border-radius: 10px;
  margin: 30px auto; }
  @media screen and (max-width: 992px) {
    .quiz__progress {
      width: 90%;
      max-width: 100%; } }
  @media screen and (max-width: 768px) {
    .quiz__progress {
      width: 100%; } }
  .quiz__progress-bar {
    height: inherit;
    background-color: #003087;
    border-radius: 10px;
    transition: width 1s ease-in-out; }

.rpc-quiz__content .quiz__top {
  width: 70%;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  margin: auto;
  padding: 1rem;
  min-height: 120px;
  position: relative;
  z-index: 2; }
  @media screen and (max-width: 992px) {
    .rpc-quiz__content .quiz__top {
      width: 100%;
      padding: 1rem; } }

.rpc-quiz__content .quiz__nav {
  position: relative; }
  .rpc-quiz__content .quiz__nav button {
    text-transform: uppercase; }

.rpc-quiz__content .quiz__counter {
  text-transform: uppercase; }

.rpc-quiz__content .quiz__btn {
  position: absolute;
  border: none;
  background: transparent;
  font-size: 11px; }
  .rpc-quiz__content .quiz__btn--back {
    left: 0; }
  .rpc-quiz__content .quiz__btn--next {
    right: 0; }

.rpc-quiz__content .quiz__question {
  color: #003087;
  margin: 1rem 0; }

.rpc-quiz__content .quiz__bottom {
  padding: 0 3rem;
  position: relative;
  z-index: 2; }
  @media screen and (max-width: 992px) {
    .rpc-quiz__content .quiz__bottom {
      width: 100%;
      padding: 0; } }

.rpc-quiz__content .quiz__options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; }
  .rpc-quiz__content .quiz__options--text .quiz__option:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #003087;
    color: #fff; }
  .rpc-quiz__content .quiz__options--image {
    gap: 4.5rem; }
    @media screen and (max-width: 1500px) {
      .rpc-quiz__content .quiz__options--image {
        gap: 2rem; } }
    @media screen and (max-width: 992px) {
      .rpc-quiz__content .quiz__options--image {
        gap: 1rem; } }
    .rpc-quiz__content .quiz__options--image .quiz__option {
      padding: 0;
      border-radius: 5px;
      max-width: 16%;
      min-height: auto; }
      @media screen and (max-width: 1500px) {
        .rpc-quiz__content .quiz__options--image .quiz__option {
          max-width: 20%; } }
      @media screen and (max-width: 992px) {
        .rpc-quiz__content .quiz__options--image .quiz__option {
          max-width: 45%; } }
      .rpc-quiz__content .quiz__options--image .quiz__option img {
        border-radius: 5px; }

.rpc-quiz__content .quiz__option {
  flex: 1 1 calc(25% - 1rem);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: none;
  color: #003087;
  font-weight: bold;
  font-size: 14px;
  min-height: 150px;
  max-width: 25%;
  padding: 10px;
  -webkit-box-shadow: 0px 3px 20px #00000029;
  box-shadow: 0px 3px 20px #00000029;
  -webkit-transition: top 5s ease-in-out;
  -o-transition: top 5s ease-in-out;
  transition: top 5s ease-in-out; }
  @media screen and (max-width: 992px) {
    .rpc-quiz__content .quiz__option {
      max-width: 100%;
      flex: 1 1 calc(100% - 1rem);
      min-height: auto; } }
  .rpc-quiz__content .quiz__option-image {
    width: 100%; }
  .rpc-quiz__content .quiz__option--selected {
    border: 1px solid #003087; }
  .rpc-quiz__content .quiz__option:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }

.rpc-quiz__content .quiz__credit-text {
  opacity: 0;
  font-size: 0.85rem;
  color: #666;
  transition: opacity 0.3s ease; }
  .rpc-quiz__content .quiz__credit-text.visible {
    opacity: 1; }

.rpc-quiz__content .quiz__results-page {
  background-color: #fff;
  margin: auto;
  width: 80%;
  border-radius: 10px;
  padding: 1rem 0 0 0; }
  .rpc-quiz__content .quiz__results-page p {
    color: #000;
    font-weight: bold;
    margin-bottom: 0.5rem; }

.rpc-quiz__content .quiz__results-heading {
  color: #003087;
  margin-bottom: 0.5rem; }

.rpc-quiz__content .quiz__results-img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 300px;
  border-radius: 10px; }

body:has(.rpc-quiz) footer {
  margin: 0; }
  body:has(.rpc-quiz) footer .col-arc,
  body:has(.rpc-quiz) footer .section-form {
    margin-top: 0; }
