html, body, h1, h2, h3, p{
    margin: 0;
    padding: 0;
    user-select: none;
}
body{
    overflow: hidden;
    max-width: 730px;
    min-width: 480px;
    max-height: 600px;
    height: 100%;
    width: 100%;
}

html {
    overflow: hidden;
}

.wrapper {
    position: absolute;
    overflow: hidden;
    max-width: 730px;
    min-width: 480px;
    max-height: 600px;
    height: 100%;
    width: 100%;
    background-color: black;
    box-sizing: border-box;
    overflow: hidden;

    font-family: 'Inter', sans-serif;
}

.background {
    z-index: 0;
    position: absolute;
    width:100%;
    height:100%;
    display:flex;
}

.vtb_bg {
    /* position: absolute; */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.data_fusion {
    position: absolute;
    max-width: 180px;
    max-height: 90px;
    height: 100%;
    width: 100%;
    right: 20px;
    top: 20px;
}

.section {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    /* display: none; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(0%);
    transition: transform ease-in-out 0.6s;
}
.section.before {
    transform: translateX(100%);
}
.section.current{
    transform: translateX(0%);
}
.section.after{
    transform: translateX(-100%);
}

.section .section_number {
    position: absolute;
    top: calc(25%);
    width: 40px;
    height: 40px;
    background-color: #FF22FF;
    border-radius: 20px;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.section_number p{
    font-size: 1rem;
    text-align: center;
    color: white;
}

.section_content {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    transform: translateX(0%);
    transition: ease-in-out 0.6s;
}
.section_content.explanation_active {
    transform: translateX(-100%);
}

.question {
    z-index: 1;
    position: absolute;
    top: calc(35%);
    z-index: 1;
    height: auto;
    width: 100%;
    /* gap: 15px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.question_text {
    position: relative;
    top: 15px;
    width: 80%;
    max-width: 450px;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.question_text p{
    font-size: clamp(0.85rem, 10vh, 1.25rem);
    text-align: center;
    color: white;
    font-weight: 600;
}

.answer_options{
    width: 85%;
    max-width: 460px;
    height: auto;
    min-height: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.answer_btn {
    border-radius: 10px;
    border: 1px solid #FF22FF;
    z-index: 1;
    position:relative;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.1s ease;
    cursor: pointer;
}
.answer_btn p{
    position: relative;
    z-index: 2;
    width: 65%;
    width: 300px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-weight: 400;
}
.answer_btn::before {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 10px;
    background: transparent;
    z-index: -1;
    box-shadow: 0 0 15px 5px #ff22ff;
    pointer-events: none;
    opacity: 0; 
    transition: opacity 0.3s ease;
}
.answer_btn:hover::before {
    opacity: 1;
}
.answer_btn:active {
    background-color: rgba(255, 0, 191, 0.3);
}
.fake_border {
    border-radius: 10px;
    position:absolute;
    border: 1px solid white;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);

    -webkit-mask: linear-gradient(to left, black 0%, transparent 100%);
    mask: linear-gradient(to left, black 0%, transparent 100%);
}

.explanation {
    position: absolute;
    z-index: 0;
    transform: translateX(100%);
    height: 100%;
    width: 100%;
    gap: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* .answer_correctness {
    font-size: clamp(0.85rem, 3.5vh, 1.25rem);
    color: #FF22FF;
    font-weight: 600;
} */

.explanation_text {
    position: absolute;
    top: calc(35% + 15px);
    width: 80%;
    max-width: 450px;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
[section_id = "2"] .explanation_text{
    top: 35%;
}
[section_id = "6"] .explanation_text{
    top: 35%;
}

.explanation_text p{
    font-size: clamp(0.85rem, 5vh, 1.25rem);
    text-align: center;
    color: white;
    font-weight: 600;
}

.continue_btn {
    border-radius: 10px;
    border: 1px solid #FF22FF;
    z-index: 1;
    position:absolute;
    top: calc(35% + 122px);
    width: 85%;
    max-width: 460px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.1s ease;
    cursor: pointer;
}
.continue_btn p{
    position: relative;
    z-index: 2;
    width: 65%;
    width: 300px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-weight: 400;
}
.continue_btn:active{
    background-color: rgba(255, 0, 191, 0.3);
}
.continue_btn::before {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 10px;
    background: transparent;
    z-index: -1;
    box-shadow: 0 0 15px 5px #ff22ff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease; 
}
.continue_btn:hover::before {
    opacity: 1;
}

.result_section {
    /* top: calc(16% - 20px); */
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    /* display: none; */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5%;
    transform: translateX(0%);
    transition: transform ease-in-out 0.6s;
}
.result_section.before {
    transform: translateX(100%);
}
.result_section.current{
    transform: translateX(0%);
}

.result_screen{
    z-index: 1;
    position: absolute;
    /* top: 25%; */
    height: 100%;
    width: 100%;
    /* gap: 5%; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.total_score{
    position: absolute;
    top: 25%;
    background: #FF22FF;
    border-radius: 20px;
    width: 230px;
    height: 40px;
    font-size: 1rem;
    color: white;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}
.total_score p{
    position: relative;
    top: -1px;
}

.flavour_text{
    position: absolute;
    top: calc(35% + 15px);
    max-width: 90%;
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flavour_text p{
    font-size: clamp(0.85rem, 10vh, 1.25rem);
    text-align: center;
    color: white;
    font-weight: 600;
}
.link_btn{
    border-radius: 10px;
    border: 1px solid #FF22FF;
    z-index: 1;
    position:absolute;
    top: calc(35% + 122px);
    width: 85%;
    max-width: 460px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.1s ease;
}
.link_btn p{
    position: relative;
    z-index: 2;
    width: 65%;
    width: 300px;
    font-size: 1rem;
    text-align: center;
    color: white;
    font-weight: 400;
}
.link_btn::before {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 10px;
    background: transparent;
    z-index: -1;
    box-shadow: 0 0 15px 5px #ff22ff;
    pointer-events: none;
    opacity: 0; 
    transition: opacity 0.3s ease;
}
.link_btn:hover::before {
    opacity: 1;
}
.link_btn:active {
    background-color: rgba(255, 0, 191, 0.3);
}