html,
body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #ede9e3;
    color: #242424;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.bot-alert::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px red solid;
    pointer-events: none;
}

.content {
    flex: 1;
}

.bg-light-grey {
    background-color: #e3efec;
}

.hero {
    padding-bottom: 7rem;
}

@media (min-width: 768px) {
    .hero .lead {
        line-height: 1.2;
        font-size: calc(1rem + 1.5vw);
    }
}

@media (min-width: 2000px) {
    .hero .lead {
        font-size: 32px;
    }
}


.logo {
    max-width: 10rem;
}

.cta-wrapper {
    margin-top: -6rem
}

.error-message {
    color: red;
    margin-top: 20px;
    text-align: center;
}

.form-check {
    display: flex;
    min-height: 1.5rem;
    padding-left: 0;
    margin-bottom: .55rem;
    border: 1px solid #242424;
    align-items: center;
    border-radius: 5px;
}

.form-check-input[type=radio],
.form-check-input[type=checkbox] {
    margin: 0 1rem;
    flex-shrink: 0;
}

.form-check:hover {
    color: white;
    background-color: #222;
}

.form-check label {
    padding: 0.7rem 0.7rem 0.7rem 0;
    width: 100%;
    display: flex;
    align-items: center;
}

input.form-control {
    background-color: transparent;
    border-color: #242424;
}

input.form-control:focus {
    background-color: rgba(255, 255, 255, 0.3);
}

.question label {
    font-size: calc(1rem + .3vw);
}

.question legend {
    margin-bottom: 1rem;
}

.lead.lead-special {
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0;
    font-size: 1rem;
}

.bio {
    font-size: 1.1rem;
}

#quizNavigation {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

#ctaBottom {
    display: flex;
    position: fixed;
    bottom: 0;
    transform: translateY(100px);
    left: 0;
    right: 0;
    width: 300px;
    justify-content: center;
    /* backdrop-filter: blur(10px); */
}

#ctaBottom .btn {
    border: 2px solid white;
}

.btn {
    font-size: 1.3rem;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 2vw;
    padding-right: 2.5vw;
    line-height: 1.1;
}

.btn-grad {
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px rgba(240, 103, 255, 0.5);
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.btn-main {
    background-image: linear-gradient(to right, #780206 0%, #061161 51%, #780206 100%);
    border-color: #331749;
}

.btn-minor {
    background-image: linear-gradient(to right, #a0060b 0%, #061861 51%, #740278 100%);
    border-color: #331749;
}


.btn-cta {
    background-image: linear-gradient(to right, #48bc54 0%, #0373ab 51%, #67B26F 100%);
    color: white;
}

@media (max-width: 560px) {
    .btn-cta {
        width: 100%;
    }
}


#hiddenForm {
    display: none;
}

.loader {
    height: 50vh;
    width: 100%;
    display: flex;
}

.spinner {
    background-image: url(../images/loader-Infinity.svg);
    width: 120px;
    height: 120px;
    align-self: center;
    margin: auto;
}

mark {
    -webkit-animation: 1.5s highlight 1.5s 1 normal forwards;
    animation: 1.5s highlight 1.5s 1 normal forwards;
    background-color: none;
    background: linear-gradient(90deg, rgb(255 252 126 / 50%) 50%, rgba(255, 255, 255, 0) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
}

@-webkit-keyframes highlight {
    to {
        background-position: 0 0;
    }
}

@keyframes highlight {
    to {
        background-position: 0 0;
    }
}

.mw-50 {
    max-width: 50%;
    min-width: 280px;
}

.avatar {
    align-self: center;
    max-width: 250px;
    width: 100%;
}

.privacy-message {
    text-align: center;
    font-size: 90%;
    color: #777;
}

.hp-website {
    position: fixed;
    left: -5000px;
}

.progress-container {
    width: 100%;
    background-color: #eee;
    border: 1px solid #fff;
    height: 20px;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(240, 103, 255, 0.3);
}

.progress-bar {
    width: 0%;
    height: 16px;
    background-image: linear-gradient(to right, #48bc54, #8ad392);
    border-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    transition: width 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-left: 1px;
    margin-right: 1px;
}

/* Adding a class for the percentage text for better control */
.progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 1;
    font-size: 12px;
    font-weight: 600;
}

#turnstile-container {
    display: none;
    display: flex;
    justify-content: center;
    /* margin: 25px 0 10px; */
}

#turnstile-container iframe {
    border-radius: 20px;
}