body {
    font-family: 'Poppins', sans-serif;
    background-color:#c77d7d;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
}

header {
    background-color: #62314e;
    color: #fff5d6;
    text-align: center;
    padding: 15px;
    font-size: 2rem;
    width: 100%;
    border-radius: 0 0 20px 20px;
}

main {
    background-color: #62314e;
    padding: 20px;
    border-radius: 20px;
    margin-top: 15px;
    max-width: 1000px;
    width: 100%;
    display: flex;
    gap: 20px;
    color: #fff5d6;
    font-size: 18px;
    flex-wrap: wrap;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

#mute-button {
    background: none;
    border: none;
    cursor: pointer;
}

#mute-button img {
    width: 30px;
    height: 30px;
}

.barra-progresso {
    flex: 1;
    height: 25px;
    background-color: #fff5d6;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.porcentagem {
    height: 100%;
    border-radius: 15px;
    background-color: rgb(86, 215, 81);
    transition: width 0.3s ease;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answers button {
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 15px;
    background-color: #62314e;
    color: #fff5d6;
    font-size: 18px;
    border: 2px solid #fff5d6;
    transition: background 0.2s;
}

.answers button:hover {
    background-color: #252542;
}

.imagem-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    position: relative; 
}

.i00 {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

#i01, #i02, #i03, #i04, #i05,
#i06, #i07, #i08, #i09, #i10,
#i11, #i12, #i13, #i14, #i15 {
    position: absolute;   
    top: 0;
    left: 0;
    width: 100%;         
    height: auto;
    image-rendering: pixelated;
    visibility: hidden;   
}

.finish {
    display: none;              
    position: fixed;             
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 90%;                
    max-width: 500px;             
    padding: 30px 20px;
    background-color: #62314e;
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    color: #fff5d6;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 9999;             
}

.finish button {
    padding: 12px 25px;
    border-radius: 15px;
    background-color: #62314e;
    color: #fff5d6;
    font-size: 18px;
    border: 2px solid #fff5d6;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.finish button:hover {
    background-color: #252542;
    transform: scale(1.05);
}

/* -------- Responsividade -------- */
@media (max-width: 720px) {
    main {
        flex-direction: column;
        align-items: center;
    }

    .imagem-container {
        max-width: 90%;
    }

    .barra-progresso {
        height: 20px;
    }

    .finish {
        font-size: 18px;
        padding: 20px 15px;
        gap: 15px;
    }

    .finish button {
        width: 80%;
        font-size: 16px;
    }
}
