/* Pagination */

.pf-test__pagination {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.pf-test__pagination:before {
    content: '';
    position: absolute;
    width: 99%;
    left: 0;
    height: 4px;
    background-color: #0D8281;
}

.pf-test__page, .pf-test__page:hover {
    height: 42px;
    width: 38px;
    font-size: 16px;
    border-radius: 100px;
    background-color: white;
    border: 2px solid #0D8281;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    transition: 200ms;
}

.pf-test__page--current, .pf-test__page--current:hover {
    color: #0D8281;
}

.pf-test__page--passed, .pf-test__page--passed:hover {
    background-color: #0D8281;
    border: 2px solid #0D8281;
}

.pf-test__page--active, .pf-test__page--active:hover {
    background-color: #46004D;
    border: 2px solid #46004D;
    color: white;
}

/* Slide */

.pf-test__slide {
    display: none;
    flex-direction: column;
    gap: 30px;
}

.pf-test__slide--active{
    display: flex;
}

.pf-test__slide-title {
    color: #000000;
    font-size: 28px;
    font-weight: 600;
    font-family: "Luciole";
}

.pf-test__slide-question {
    font-family: "Luciole";
    font-size: 20px;
    font-weight: 400;
    color: #000000;
}

.pf-test__slide-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.pf-test-previous, .pf-test-next, .pf-test-end {
    font-family: 'Luciole';
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #0D8281;
    background-color: white;
    text-transform: initial;
    padding: 10px 16px;
    border-radius: 15px;
}

.pf-test-previous {
    color: #0D8281;
}

.pf-test-previous:hover {
    color: white;
    background-color: #0D8281;
}

.pf-test-next, .pf-test-end {
    background-color: #0D8281;
}

.pf-test-next:hover , .pf-test-end:hover {
    color: #0D8281;
    background-color: white;
}

/* Answers */

.pf-test__slide-answers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 50px;
}

.pf-test__slide-answer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 4px solid #0D8281;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    user-select: none;
}

.pf-test__slide-answer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Luciole";
    font-size: 18px;
    font-weight: 600;
    color: #0D8281;
}

.pf-test__slide-answer-content {
    font-family: "Luciole";
    font-size: 18px;
    color: #0D8281;
}

.pf-test-answer-radio {
    display: none;
}

.pf-test-answer-radiovisual {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: white;
    width: 20px;
    height: 20px;
    border: 1px solid #0D8281;
    border-radius: 5px;
    transition: 200ms;
}

.pf-test-answer-radio:checked + .pf-test-answer-radiovisual {
    background-color: #0D8281;
}

@media screen and (max-width: 767px) {
    .pf-test__pagination {
        justify-content: flex-start;
    }

    .pf-test__pagination:before {
        display: none;
    }

    .pf-test__slide-answers {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }


}

#rs-share {
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.pf-test-final {
    display: none;
}

#pf-test-tabs {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#pf-test-tabs-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#pf-test-tabs button {
    font-family: 'Luciole';
    font-size: 16px;
    background-color: #0D8281;
    border: 2px solid #0D8281;
    border-radius: 15px;
    padding: 8px 15px;
    gap: 20px;
    text-transform: none;
    font-weight: 400;
    line-height: 1.2em;
    white-space: normal;
    max-width: 320px;
}

#pf-test-tabs button:hover {
    color: #0D8281;
    background-color: white;
}

.pf-luciole-text {
    font-family: 'Luciole';
    font-size: 16px;
}


@media screen and (max-width: 1024px) {
    #main > div > section {
        padding: 10px !important;
    }
}

@media screen and (max-width: 767px) {    
    #pf-test-tabs-actions {
        flex-direction: column;
    }
}