:root {
    --quizz-primary-color: #EF7D01;
    --quizz-secondary-color: #E50046;
    --quizz-background-color: #18181b;
    --quizz-text-color: #FFFFFF;
    --quizz-border-radius: 0.3125rem;
    --quizz-box-shadow: 0 0 5rem 1.25rem rgba(166, 166, 166, 0.8);
    /* --quizz-form-width: 26.5625rem; */
    --quizz-form-width: 25rem;
    --quizz-form-min-width: 18.75rem;
    --quizz-input-width: 20rem;
    --quizz-font-size-small: 0.6875rem;
    --quizz-font-size-medium: 0.8125rem;
    --quizz-gap-size: 1.25rem;
}

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

header, footer { display: none !important; }

#mp-form-container {
    background-color: var(--quizz-background-color);
    height: 100vh;
    color: var(--quizz-text-color);
    font-family: "Unbounded", sans-serif;
    margin: 0;
    font-size: 1rem;
}

.mp-start-quiz-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10%;
}

#mp-progressive-form, #mp-result-container, .mp-form-footer, .pixel-loader {
    max-width: 700px;
    align-self: center;
}


#mp-form-wrapper {
    display: flex;
    width: var(--quizz-form-width);
    min-width: var(--quizz-form-min-width);
    margin: 1.25rem auto;
    padding: 2.5rem 0 0 0;
    border-radius: 0.875rem;
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 80vh;
    background-color: #222225;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--quizz-gap-size);
    overflow: hidden;
}

.mp-small-txt {
    color: var(--quizz-text-color);
    font-size: 0.5625rem;
    font-weight: 300;
}

.mp-form-footer {
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
    align-items: center;
    flex: 1;
    justify-content: space-between;
    padding-bottom: 0.625rem;
}

.mp-form-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5625rem;
    justify-content: center;
    text-align: center;
    align-items: center;
    color: var(--quizz-text-color);
    font-size: var(--quizz-font-size-small);
    font-weight: 400;
    max-width: 18.75rem;
}

.mp-form-footer-bottom a, .mp-form-footer img {
    color: var(--quizz-text-color);
}

.mp-form-footer img {
    width: fit-content;
}

.mp-form-footer .mp-legals-link {
    font-size: 0.5625rem;
}

#mp-form-wrapper input:focus {
    outline: none;
}

#mp-form-wrapper form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.875rem;
    color: var(--quizz-text-color);
    padding: 0 1.25rem;
}

#mp-progress-bar {
    width: 100%;
    background-color: #e0e0e0;
    height: 0.625rem;
    border-radius: 0.3125rem;
    margin-top: 1.25rem;
    overflow: hidden;
}

#mp-progress {
    height: 100%;
    width: 0%;
    background-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color));
    border-radius: 0.1875rem;
    transition: width 0.8s ease;
}

.mp-form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out forwards;
}

.mp-form-step.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: var(--quizz-input-width);
    justify-content: center;
}

.mp-form-step h2 {
    padding: 1rem;
    background-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color));
    color: var(--quizz-text-color);
    font-size: var(--quizz-font-size-medium);
    line-height: 0.9375rem;
    border-radius: var(--quizz-border-radius);
    text-align: center;
    margin: 0;
    width: 100%;
}

.mp-suggestions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.375rem;
    width: 100%;
}

.mp-suggestion-sublabel {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.9375rem;
    height: 0.9375rem;
    border-radius: 0.125rem;
    background-color: var(--quizz-text-color);
    color: #000;
    font-size: var(--quizz-font-size-small);
    font-weight: 300;
    display: flex;
    justify-content: center;
    align-items: center;
}


#mp-form-container input.mp-text-input[type="text"], #mp-form-container input.mp-email-input[type="email"]{
    padding: 1rem 0.5em;
    font-size: var(--quizz-font-size-medium);
    line-height: 0.9375rem;
    border-radius: var(--quizz-border-radius);
    text-align: center;
    width: var(--quizz-input-width);
    border: none;
    box-sizing: border-box;
}

.mp-submit-btn, .mp-next-btn {
    color: rgba(255, 255, 255, 0.8);
    border: 0.0625rem solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    cursor: pointer;
    margin-top: 0.625rem;
    background-color: rgba(255, 255, 255, 0.08);
    display: none;
}

.mp-submit-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    margin-top: 0.625rem;
    min-width: 10.125rem;
    text-transform: uppercase;
    line-height: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0.25rem 0.125rem rgba(239, 125, 1, 0.8), -0.0625rem -0.0625rem 0.25rem 0.1875rem rgba(229, 0, 70, 0.5);
}

.mp-next-btn {
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mp-next-btn img {
    width: 1.25rem;
}

.mp-submit-btn:hover, .mp-next-btn:hover {
    background-color: var(--quizz-text-color);
    color: #000;
    box-shadow: 0 0 0.25rem 0.125rem rgba(239, 125, 1, 0.8), -0.0625rem -0.0625rem 0.25rem 0.1875rem rgba(229, 0, 70, 0.5);
}

.mp-next-btn:hover img {
    filter: grayscale(100%) brightness(0%);
}

#mp-start-btn-MARC, #mp-start-btn-SITOUEBE {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 2rem;
    cursor: pointer;
    margin-top: 0.625rem;
    background-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color));
    min-width: 10.125rem;
    font-size: 1.125rem;
    line-height: 0.875rem;
    font-weight: 600;
    color: var(--quizz-text-color);
}

#mp-start-btn-MARC:hover, #mp-start-btn-SITOUEBE:hover {
    background-image: linear-gradient(to right, var(--quizz-text-color), var(--quizz-text-color));
    color: #000;
}

.mp-radio-label, .mp-checkbox-label {
    display: block;
    position: relative;
    padding: 0.625rem 0.75rem;
    color: var(--quizz-text-color);
    border-radius: var(--quizz-border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 16rem;
    text-align: center;
    border: 0.125rem solid #5C5959;
    font-size: 0.625rem;
    line-height: 0.8125rem;
}

.mp-radio-label:hover, .mp-checkbox-label:hover {
    box-shadow: 0 0 0.25rem 0.125rem rgba(239, 125, 1, 0.8), -0.0625rem -0.0625rem 0.25rem 0.1875rem rgba(229, 0, 70, 0.5);
    border-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color)) 1;
}

#mp-form-wrapper input[type="radio"], #mp-form-wrapper input[type="checkbox"] {
    display: none;
}

#mp-form-wrapper input[type="radio"]:checked + .mp-radio-label, #mp-form-wrapper input[type="checkbox"]:checked + .mp-checkbox-label {
    border-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color)) 1;
    background-color: #333;
}

#mp-animated-text-banner {
    width: 100%;
    background-color: #252525;
    color: var(--quizz-text-color);
    display: flex;
    align-items: center;
    padding: 0.1875rem 0;
    position: relative;
}

#mp-animated-text-banner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    background: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color));
    z-index: -1;
    box-shadow: inset 0 0 0.3125rem 0.125rem #222225;
    height: 2.875rem;
}

#mp-animated-text-banner .mp-animated-text-banner-sentence {
    display: flex;
    animation: mp-horizontal-scroll 60s linear infinite;
}

#mp-animated-text-banner p {
    white-space: nowrap;
    margin: 0.3125rem 0.3125rem 0.3125rem 0;
}

#mp-animated-text-banner p .mp-banner-bold {
    font-size: 0.9375rem;
    font-weight: 800;
}

#mp-animated-text-banner p .mp-banner-light {
    font-size: 0.9375rem;
    font-weight: 200;
}

@keyframes mp-horizontal-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.mp-center-column-container {
    display: grid;
    flex-direction: column;
    justify-content: center;
    gap: 0.625rem;
}

#mp-form-wrapper h1 {
    color: var(--quizz-text-color);
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    width: fit-content;
    justify-self: center;
    margin: 0;
}

.mp-sublabel-h1 {
    color: var(--quizz-text-color);
    font-size: 0.6875rem;
    font-weight: 300;
    text-align: center;
    width: 21.25rem;
    margin: 0;
}

.mp-top-part, .mp-center-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.mp-bottom-part {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.mp-top-part img {
    width: fit-content;
}

.mp-bottom-part #cercleLcdd, .mp-bottom-part #cercleStudio {
    top: 0;
    right: 0;
    left: 0;
    transform: none;
}

.mp-bottom-part #cercleLcdd a, .mp-bottom-part #cercleStudio a {
    pointer-events: none;
    cursor: default;
}

.mp-bottom-part svg {
    height: 100px !important;
}

.mp-bottom-part svg #Ellipse_41, .mp-bottom-part svg #Ellipse_42 {
    fill: rgba(255,225,255,0.06) !important;
}

.mp-avatar-maison-pixels {
    position: relative;
    z-index: 2;
    margin: -5rem 0;
}

.mp-avatar-maison-pixels-txt {
    position: absolute;
    margin: auto;
    right: 5px;
    z-index: 99;
    width: 140px;
    top: 30px;
}

.mp-avatar-maison-pixels-txt-sitouebe {
    right: 0px;
    width: 155px;
}

.mp-halo {
    position: absolute;
    width: 9.375rem;
    height: 9.375rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #D40442, #F16F21);
    animation: mp-haloSpiral 9s infinite linear;
    filter: blur(1.25rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(4.6875rem);
}

.mp-primary-halo {
    position: absolute;
    width: 12rem;
    height: 17rem;
    border-radius: 50%;
    background: linear-gradient(180deg, #D40442, #F16F21);
    animation: mp-primary-haloSpiral 12s infinite linear;
    filter: blur(2rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(4.6875rem);
}

@keyframes mp-haloSpiral {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg) translateX(0) scale(1.1); }
    5% { transform: translate(-50%, -50%) rotate(30deg) translateX(1.5625rem) scale(1.2); }
    25% { transform: translate(-50%, -50%) rotate(90deg) translateX(1.5625rem) scale(1.6); }
    50% { transform: translate(-50%, -50%) rotate(180deg) translateX(1.5625rem) scale(1.8); }
    75% { transform: translate(-50%, -50%) rotate(270deg) translateX(1.5625rem) scale(1.5); }
    99% { transform: translate(-50%, -50%) rotate(270deg) translateX(0) scale(1.1); }
}

@keyframes mp-primary-haloSpiral {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg)  scale(1.1); }
    5% { transform: translate(-45%, -55%) rotate(30deg) scale(1.2); }
    25% { transform: translate(-30%, -60%) rotate(90deg) scale(1.6); }
    50% { transform: translate(-30%, -10%) rotate(180deg) scale(1.8); }
    75% { transform: translate(-65%, -60%) rotate(270deg) scale(1.5); }
    99% { transform: translate(-65%, -50%) rotate(270deg) scale(1.1); }
}


/* Result Page Styles */
#mp-result-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem;
    animation: fadeInUp 0.8s ease-out forwards;
    width: 100%;
}

#mp-result-container #mp-result-description-image {
    animation: fadeInDown 1.2s ease-out forwards;
}

#mp-result-container .mp-result-description {
    display: grid;
    gap: 0.5rem;
}

#mp-result-container .mp-result-services-container, .mp-result-contact-container{
    width: -webkit-fill-available;
}


#mp-result-container .mp-result-description h1,
#mp-result-container .mp-result-services-container h3,
#mp-result-container .mp-result-description #mp-result-description-text,
#mp-result-container hr {
    text-align: center;
    width: 100%;
}

#mp-result-container .mp-result-services-container h3,
#mp-result-container .mp-result-services-container .mp-result-service h4 {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 900;
}

#mp-result-container .mp-result-services-container .mp-result-service h4 span {
    font-weight: 300;
    text-transform: lowercase;
}

#mp-result-container .mp-result-services-container .mp-result-service .mp-result-service-label {
    font-weight: 300;
    font-size: 0.6875rem;
    line-height: 0.8125rem;
    padding: 0.5rem;
    margin: 1rem auto 0;
    width: calc(100% - 6.25rem);
    border: 0.0625rem solid #5C5959;
    border-radius: var(--quizz-border-radius);
}

#mp-result-container .mp-result-contact-description {
    font-weight: 300;
    font-size: 0.6875rem;
    line-height: 0.8125rem;
    text-align: center;
}

#mp-result-container .mp-result-contact-container .mp-result-contact-btn-container {
    position: relative;
    width: 100%;
    transform: translateX(-50%);
    left: 50%;
    background-image: linear-gradient(to right, var(--quizz-primary-color), var(--quizz-secondary-color));
    padding: 1.25rem;
    margin-top: 2rem;
    text-align: center;
    box-sizing: content-box;
    border-radius: 0 0 0.875rem 0.875rem;
}

#mp-result-container .mp-result-contact-container .mp-result-contact-btn-container .mp-contact-btn {
    color: rgba(255, 255, 255);
    padding: 1rem 2rem;
    border: 0.0625rem solid rgba(255, 255, 255);
    border-radius: 4rem;
    cursor: pointer;
    margin-top: 0.625rem;
    background-color: transparent;
    min-width: 10.125rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    line-height: 0.875rem;
    font-weight: 400;
}

#mp-result-container .mp-result-contact-container .mp-result-contact-btn-container .mp-contact-btn:hover {
    color: #000;
    background-color: #FFF;
}

#mp-result-container .mp-result-contact-container .mp-result-contact-btn-container p {
    font-size: 0.6875rem;
    font-style: italic;
}

/* Carousel Styles */
.mp-carousel-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.mp-result-services-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.mp-result-service {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1.25rem 1.25rem 0;
    text-align: center;
    align-content: center;
}

button.mp-carousel-arrow {
    position: absolute;
    top: calc(50% + 1rem);
    transform: translateY(-50%);
    background: transparent;
    color: var(--quizz-text-color);
    border: none;
    padding: 0.3125rem;
    cursor: pointer;
    z-index: 10;
}

button.mp-carousel-arrow:hover, button.mp-carousel-arrow:focus {
    background: transparent;
}

.mp-prev {
    left: -0.3125rem;
}

.mp-next {
    right: -0.3125rem;
}

.mp-carousel-dots {
    text-align: center;
    padding: 0;
    justify-self: center;
}

.mp-dot {
    cursor: pointer;
    height: 0.3125rem;
    width: 0.3125rem;
    margin: 0 0.3125rem;
    background-color: #595959;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.mp-dot-active, .mp-dot:hover, .mp-dot:focus {
    background-color: var(--quizz-text-color);
}

/* #######   LOADER   #######  */
.loader-btn {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
  padding: 0.938rem 1rem !important;
}
.loader-btn::after {
  content: "";
  position: absolute;
  right: calc(50% - 8px);
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid white;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pixel-loader {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    position: absolute;
    background-color: #222225;
    width: 100%;
    height: 100%;
    z-index: 999;
    margin-top: -40px;
}

.pixel-loader h4 {
    font-size: 11px;
    text-transform: uppercase;
}

.character {
  display: grid;
  grid-template-columns: repeat(5, 13px);
  grid-auto-rows: 13px;
  gap: 4px;
}

/* Couleurs */
.pixel {
  width: 16px;
  height: 16px;
  background: transparent;
  opacity: 0;
  transform: scale(0.5);
  animation: appear 2s forwards;
  border-radius: 1px;
}

.pixel-white  { background-color: #fff; }
.pixel-color  { background-color: #0c0c0c }

.pixel:nth-child(1)  { animation-delay: 2s; }
.pixel:nth-child(2)  { animation-delay: 1.9545s; }
.pixel:nth-child(3)  { animation-delay: 1.9091s; }
.pixel:nth-child(4)  { animation-delay: 1.8636s; }
.pixel:nth-child(5)  { animation-delay: 1.8182s; }
.pixel:nth-child(6)  { animation-delay: 1.7727s; }
.pixel:nth-child(7)  { animation-delay: 1.7273s; }
.pixel:nth-child(8)  { animation-delay: 1.6818s; }
.pixel:nth-child(9)  { animation-delay: 1.6364s; }
.pixel:nth-child(10) { animation-delay: 1.5909s; }
.pixel:nth-child(11) { animation-delay: 1.5455s; }
.pixel:nth-child(12) { animation-delay: 1.5s; }
.pixel:nth-child(13) { animation-delay: 1.4545s; }
.pixel:nth-child(14) { animation-delay: 1.4091s; }
.pixel:nth-child(15) { animation-delay: 1.3636s; }
.pixel:nth-child(16) { animation-delay: 1.3182s; }
.pixel:nth-child(17) { animation-delay: 1.2727s; }
.pixel:nth-child(18) { animation-delay: 1.2273s; }
.pixel:nth-child(19) { animation-delay: 1.1818s; }
.pixel:nth-child(20) { animation-delay: 1.1364s; }
.pixel:nth-child(21) { animation-delay: 1.0909s; }
.pixel:nth-child(22) { animation-delay: 1.0455s; }
.pixel:nth-child(23) { animation-delay: 1s; }
.pixel:nth-child(24) { animation-delay: 0.9545s; }
.pixel:nth-child(25) { animation-delay: 0.9091s; }
.pixel:nth-child(26) { animation-delay: 0.8636s; }
.pixel:nth-child(27) { animation-delay: 0.8182s; }
.pixel:nth-child(28) { animation-delay: 0.7727s; }
.pixel:nth-child(29) { animation-delay: 0.7273s; }
.pixel:nth-child(30) { animation-delay: 0.6818s; }
.pixel:nth-child(31) { animation-delay: 0.6364s; }
.pixel:nth-child(32) { animation-delay: 0.5909s; }
.pixel:nth-child(33) { animation-delay: 0.5455s; }
.pixel:nth-child(34) { animation-delay: 0.5s; }
.pixel:nth-child(35) { animation-delay: 0.4545s; }
.pixel:nth-child(36) { animation-delay: 0.4091s; }
.pixel:nth-child(37) { animation-delay: 0.3636s; }
.pixel:nth-child(38) { animation-delay: 0.3182s; }
.pixel:nth-child(39) { animation-delay: 0.2727s; }
.pixel:nth-child(40) { animation-delay: 0.2273s; }
.pixel:nth-child(41) { animation-delay: 0.1818s; }
.pixel:nth-child(42) { animation-delay: 0.1364s; }
.pixel:nth-child(43) { animation-delay: 0.0909s; }
.pixel:nth-child(44) { animation-delay: 0.0455s; }
.pixel:nth-child(45) { animation-delay: 0s; }

@keyframes appear {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* #######   /LOADER   #######  */

.scale-up {
  transform: scale(1.3) translateY(100px);
  transition: transform 3s ease;
}

@media (min-width: 1024px) {
    #mp-form-wrapper {
        width: fit-content;
        min-width: 700px;
    }
    .mp-primary-halo {
        width: 20rem;
        height: 20rem;
        filter: blur(5rem);
    }
    .mp-start-quiz-container {
        flex-direction: row;
        padding-right: 60px;
        padding-left: 40px;
    }
}
@media (max-width: 1024px) {
.mp-start-quiz-container {
        gap: 80px;
    }
}
@media (max-width: 500px) {
    #mp-form-wrapper {
        width: calc(100vw - 10px);
        margin: 5px auto;
        border-radius: 10px;
    }

}
