.form-test {
    width: 100%;
    height: 100vh;
    min-height: 100%;
    background-color: var(--color-primary);

    display: flex;
}

.form-test .left {
    width: 50%;
    height: 100%;
    mask-image: url('../assets/mask_path.svg');
    mask-position: right center;
    mask-repeat: no-repeat;
    mask-size: cover;

    position: relative;
    z-index: 2;
}

.form-test .left .bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.form-test .left .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-test .right {
    width: 50%;
    height: 100%;
    padding: 0 4rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-test .right .bg {
    width: 100%;
    height: 100%;
    overflow: hidden;

    position:absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.form-test .right .bg.bg-category {
    display: none;
}

.form-test .right .bg.bg-question {
   background-color: #e6e6e6;
}

.form-test .right .bg img {
    display: none;
}

.form-test .right .steps-bar-container {
    width: 100%;
}

.form-test .right .steps-bar-container.hidden {
    display: none;
}

.form-test .right .steps-bar-container .steps-bar {
    height: 10px;
    border-radius: 10px;
    background-color: var(--color-light);
    border: 1px solid var(--color-primary-dark);
    border-left: 0;
    border-right: 0;


    position: relative;
    width: 100%;
    margin: 5px 0;
    margin-bottom: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.form-test .right .steps-bar-container .steps-bar .progress-fill {
    height: 100%;
    background-color: var(--color-primary);
    width: 0%;
    transition: width 0.5s ease-in-out;
    border-radius: 10px;

    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.form-test .right .steps-bar-container .steps-bar .progress-percentage {
    position: absolute;
    top: -25px;
    transform: translateX(25%);
    color: var(--color-primary-dark);
    font-size: .8rem;
    font-family: var(--font-headline);
    font-weight: 300;
    white-space: nowrap;
    pointer-events: none;
    transition: left 0.5s ease-in-out;
    z-index: 3;
}

.form-test .right .steps-bar-container .steps-bar .category-steps-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0;
}

.form-test .right .steps-bar-container .steps-bar .category-steps-line .step {
    width: 20px;
    height: 20px;
    background-color: var(--color-light);
    border-radius: 50%;
    transition: background-color 0.3s ease, border 0.3s ease;
    border: 1px solid var(--color-primary-dark);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.form-test .right .steps-bar-container .steps-bar .category-steps-line .step.active {
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary-dark);
}

.form-test .right .question {
    width: 100%;

    position: relative;
    z-index: 1;
}

.form-test .right .question .intro-image {
   width: 150px;
   margin: 0 auto;
   margin-bottom: 4rem;
}

.form-test .right .question .intro-screen {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 3rem;
 }

.form-test .right .question .intro-screen .intro-number {
    font-size: 15rem;
    line-height: 13rem;
    font-weight: 900;
    font-family: var(--font-headline);
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-light);
}

.form-test .right .question .intro-screen .intro-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-test .right .question .intro-screen .intro-content .intro-category {
    width: max-content;
    font-size: 5rem;
    font-weight: bold;
    font-family: var(--font-headline);
    text-transform: uppercase;
    color: var(--color-light);
    border-bottom: 1px solid var(--color-light);
}

.form-test .right .question .intro-screen .intro-content .intro-headline {
    width: 35ch;
    font-size: 1.5rem;
    font-weight: 300;
    font-family: var(--font-headline);
    text-transform: uppercase;
    color: var(--color-light);
}

.form-test .right .question .badget {
    display: block;
    width: max-content;
    font-size: 1rem;
    font-family: var(--font-headline);
    font-weight: 300;
    background-color: var(--color-primary-dark);
    color: var(--color-light);
    padding: .3rem 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.form-test .right .question .badget.badget-final-form {
    font-size: 2rem;
    font-weight: bold;
    border-radius: 3rem;
    background-color: var(--color-primary);
}

.form-test .right .question .headline {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--font-headline);
    text-transform: uppercase;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.form-test .right .question .input-with-button .input-text {
    width: 100%;
    max-width: 300px;
    font-family: var(--font-headline);
    border: 1px solid var(--color-primary-dark);
    margin-bottom: .5rem;
    padding: .5rem;
    border-radius: 2rem;
    color: var(--color-primary);
    text-transform: uppercase;
}

.form-test .right .question .input-with-button .input-text::placeholder {
    color: var(--color-primary-light);
}

.form-test .right .question .options {
    width: 100%;
    max-width: calc(300px + 1rem);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-test .right .question .options .btn {
    width: 100%;
    max-width: 150px;
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 2rem;
    font-family: var(--font-headline);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-dark);

    background-color: transparent;
}

.form-test .right .question .options .btn.selected {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
}

.form-test .right .navigation {
    margin-top: 4rem;

    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 1rem;

    position: relative;
    z-index: 1;
}

.form-test .right .navigation .btn {
    width: 100%;
    max-width: 150px;
    padding: .5rem 1rem;
    text-align: center;
    border-radius: 2rem;
    font-family: var(--font-headline);
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--color-primary);

    background-color: var(--color-light);
}

.form-test .right .navigation .btn.hidden {
   display: none;
}

@media only screen and (max-width: 1024px) {
    .form-test {
        flex-direction: column-reverse;
    }

    .form-test .left {
        width: 100%;
        height: 40vh;
        mask-image: url('../assets/mask_path2.svg');
        mask-position: top center;
    }

    .form-test .right {
        width: 100%;
        height: 60vh;
        padding: 0 2rem;
    }

    .form-test .right .question .badget {
        margin: 0 auto;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .form-test .right .question .badget.badget-final-form {
        font-size: 1.5rem;
    }
    
    .form-test .right .question .headline {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .form-test .right .question .input-with-button {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .form-test .right .question .input-with-button .input-text {
       max-width: 300px;
       margin: 0 auto;
       text-align: left;
    }
    
    .form-test .right .question .options {
        width: 100%;
        justify-content: center;
        margin: 0 auto;
        gap: .5rem;
    }

    .form-test .right .question .options .btn {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width: 480px) {
    .form-test .right .steps-bar-container .steps-bar {
        height: 5px;
        margin: 15px 0;
        margin-bottom: 2rem;
    }

    .form-test .right .steps-bar-container .steps-bar .category-steps-line .step {
        width: 10px;
        height: 10px;
    }

    .form-test .right .question .intro-image {
        width: 120px;
        margin-bottom: 4rem;
     }
     
     .form-test .right .question .intro-screen {
         gap: 2rem;
      }
     
     .form-test .right .question .intro-screen .intro-number {
         font-size: 10rem;
         line-height: 8rem;
     }
     
     .form-test .right .question .intro-screen .intro-content .intro-category {
         font-size: 2rem;
     }
     
     .form-test .right .question .intro-screen .intro-content .intro-headline {
         width: 35ch;
         font-size: 1.2rem;
     }

     .form-test .right .question .input-with-button .input-text {
        max-width: none;
     }

    .form-test .right .navigation {
        margin-top: 0;

        position: absolute;
        bottom: 2rem;
        left: auto;
        z-index: 2;
    }

    .form-test .right .navigation .btn {
        padding: .5rem 1rem;
        font-size: 1.2rem;
    }
}