.card-main {
    background-color: #333A4C;
    border-radius: 40px;
}


.welcome-message h1 {
    color: #fff;
    font-weight: bold;
    font-size: 50px;
    letter-spacing: 1px;
}


.welcome-message-dois h1 {
    color: #fff;
    font-weight: bold;
    font-size: 55px;
    letter-spacing: 1px;
}

.welcome-description h2 {
    color: #fff;
    font-weight: 200;
    font-size: 25px;
    margin: 20px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.3;
}

.button-start {
    padding: 17px 40px;
    border-radius: 50px;
    cursor: pointer;
    border: 0;
    background-color: #E0004D;
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
    letter-spacing: 1.5px;
    font-size: 20px;
    font-weight: 800;
    transition: all 0.2s ease;
    color: white;
    font-family: sans-serif;
}

.button-start:hover {
    letter-spacing: 2px;
    background-color: #E0004D;
    color: white;
    box-shadow: 0px 7px 15px rgba(227, 49, 90, 0.4),
        0px 3px 10px rgba(38, 53, 99, 0.6);
}

.explication-description h2 {
    color: #fff;
    font-weight: 400;
    font-size: 25px;
    margin: 20px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.3;
}

.button-next {
     padding: 10px 20px;
   border-radius: 50px;
     cursor: pointer;
    border: 0;
    background-color: #E0004D;
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
    letter-spacing: 1.5px;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.2s ease;
    color: white;
    font-family: sans-serif;
}

.button-back {
    padding: 10px 32px;
    border-radius: 50px;
    cursor: pointer;
    border: 0;
    background-color: #E0004D;
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
    letter-spacing: 1.5px;
    font-size: 18px;
    font-weight: 800;
    transition: all 0.1s ease;
    color: white;
    font-family: sans-serif;
}

.button-back:hover,
.button-next:hover {
    letter-spacing: 2px;
    background-color: #E0004D;
    color: white;
    box-shadow: 0px 7px 15px rgba(227, 49, 90, 0.4),
        0px 3px 10px rgba(38, 53, 99, 0.6);
}

.questions h1 {
    color: #fff;
    font-weight: 600;
    font-size:30px;
    margin: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.rating {
    gap: 40px;
}

.label-rating {
    font-size: 25px;
    color: #fff;
    font-weight: 200;
}

.circle-container {
    display: flex;
    gap: 40px;
}

.circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.circle:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.selected {
    border: 5px solid #ececec;
    box-shadow: 0 0 10px 5px #ececec;
    transform: scale(1.1);
}

.loading-message {
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loading-message h1 {
    color: #fff;
    font-weight: bold;
    font-size: 45px;
    letter-spacing: 1px;
}


.logo-loading {
    position: relative;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -10%;
}

.h-laranja,
.h-branco {
    position: absolute;
    width: 150px;
    height: 150px;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-timing-function: cubic-bezier(0.65, 0.145, 0.35, 1);
}

.h-laranja {
    width: 160px;
    height: 160px;
    animation-name: rotate-animation;
    transform-origin: 50% 50%;
}

.h-branco {
    animation-name: scale-animation;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes rotate-animation {
    from {
        transform: rotate(0);
    }

    80%,
    to {
        transform: rotate(180deg);
    }
}

@keyframes scale-animation {
    from {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    20% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    40% {
        transform: scale(1.2) translateY(-20px);
    }

    60% {
        transform: scale(1) translateY(0);
    }

    80%,
    to {
        o38city: 1;
        transform: scale(1) translateY(0);
    }
}

.result-message h1 {
    color: #fff;
    font-weight: bold;
    font-size: 40px;
    letter-spacing: 1px;
}

.result-value {
    width: 80%;
    max-width: 900px;
    /* background-color: #E0004D; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.result-value h2 {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    margin: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.result-progress {
    background-color: #ffffff;
    width: 50%;
    height: 40px;
    margin-top: -1.5%;
    border-radius: 100px;
    overflow: hidden;
    backface-visibility: hidden;
    position: relative;
    padding: 0;
}

.result-inner-otimo {
    background-color: #E0004D;
    width: 0%;
    height: 100%;
    /* margin-left: 5%; */
    border-radius: 100px;
    overflow: hidden;
    backface-visibility: hidden;
    animation: slideRightOtimo 2s forwards;
    position: relative;
}

.result-inner-razoavel {
    background-color: #E0004D;
    width: 0%;
    height: 100%;
    /* margin-left: 5%; */
    border-radius: 100px;
    overflow: hidden;
    backface-visibility: hidden;
    animation: slideRightRazoavel 2s forwards;
    position: relative;
}

.result-inner-baixo {
    background-color: #E0004D;
    width: 0%;
    height: 100%;
    /* margin-left: 5%; */
    border-radius: 100px;
    overflow: hidden;
    backface-visibility: hidden;
    animation: slideRightBaixo 2s forwards;
    position: relative;
}

.result-inner-pouco {
    background-color: #E0004D;
    width: 0%;
    height: 100%;
    /* margin-left: 5%; */
    border-radius: 100px;
    overflow: hidden;
    backface-visibility: hidden;
    animation: slideRightPouco 2s forwards;
    position: relative;
}

.result-inner-otimo h2 {
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    margin-top: 0;
    position: absolute;
    top: 47%;
    left: 82%;
    transform: translate(-50%, -50%);
    letter-spacing: 1px;
}

.result-inner-razoavel h2 {
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    margin-top: 0;
    position: absolute;
    top: 47%;
    left: 78%;
    transform: translate(-50%, -50%);
    letter-spacing: 1px;
}

.result-inner-baixo h2 {
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    margin-top: 0;
    position: absolute;
    top: 47%;
    left: 73%;
    transform: translate(-50%, -50%);
    letter-spacing: 1px;
}

.result-inner-pouco h2 {
    color: #fff;
    font-weight: 600;
    font-size: 35px;
    margin-top: 0;
    position: absolute;
    top: 47%;
    left: 53%;
    transform: translate(-50%, -50%);
    letter-spacing: 1px;
}

@keyframes slideRightOtimo {
    from {
        width: 0%;
    }

    to {
        width: 90%;
    }
}

@keyframes slideRightRazoavel {
    from {
        width: 0%;
    }

    to {
        width: 70%;
    }
}

@keyframes slideRightBaixo {
    from {
        width: 0%;
    }

    to {
        width: 55%;
    }
}

@keyframes slideRightPouco {
    from {
        width: 0%;
    }

    to {
        width: 30%;
    }
}
.result-description h2 {
    color: #fff;
    font-weight: 400;
    font-size: 25px;
    margin: 20px;
    text-align: center;
    letter-spacing: 2px;
    line-height: 1.3;
}

.confetti {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetto {
    position: absolute;
    background-color: #ffcc00;
    width: 12px;
    height: 12px;
    border-radius: 7px;
    animation: confettiFall 3s forwards, fall 3s linear, spin 1s linear;
}

@keyframes confettiFall {
    0% {
        top: -10px;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes fall {
    0% {
        top: -10px;
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.checkmark {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position: relative;
    top: 18px;
    right: 5px;
    margin: 0 auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    /* fill: #0e3e68; */
    fill: #E0004D;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;

}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}

.content-confetti {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background-color: #E88E3B;
    text-align: center;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.3s ease-in-out;
    position: relative;
} 

.progress-text {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
    position: absolute;
    width: 100%;
    text-align: center;
} 

#warningMessage {
    display: none; 
    position: fixed;
    top: 20px;
    left: 55%;
    transform: translateX(-50%);
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    z-index: 1000; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: shake 0.5s ease-in-out;
    z-index: 10000;
}

@keyframes shake {
    0% { transform: translateX(-50%) translateX(0); }
    25% { transform: translateX(-50%) translateX(-10px); }
    50% { transform: translateX(-50%) translateX(10px); }
    75% { transform: translateX(-50%) translateX(-10px); }
    100% { transform: translateX(-50%) translateX(10px); }
}   

