body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #080d33, #1f3b73);
    color: #f0f8ff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.title {
    color: #f0f8ff;
    font-size: 24px;
    font-family: 'Cambria', Georgia, Times, 'Times New Roman', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: center;
}

.card-container {
    perspective: 1000px;
    margin-bottom: 30px;
}

.card {
    width: 350px;
    height: 250px;
    position: relative;
    display: flex;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.front {
    background-color: #76ae75;
    color: #000000;
}

.back {
    background-color: #725ae9;
    color: #fff;
    transform: rotateY(180deg);
}

.question-image {
    max-width: 90%;
    max-height: 50%;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.controls {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

#nextCardBtn {
    background-color: #ae49c2;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#nextCardBtn:hover {
    background-color: #904eb9;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Estilos para tablets (largura máxima de 768px) */
@media (max-width: 768px) {
    .card,
    .card-container {
        width: 90%;
        height: auto;
    }

    #nextCardBtn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Estilos para celulares (largura máxima de 480px) */
@media (max-width: 480px) {
    .card {
        width: 100%;
        height: 200px;
    }

    #nextCardBtn {
        width: 100%;
        padding: 10px 15px;
        font-size: 14px;
    }

    .question-image {
        max-height: 40%;
    }
}

/* Estilos para dispositivos maiores (largura máxima de 1024px) */
/* @media (max-width: 1024px) {
    .card,
    .card-container {
        width: 80%;
        height: auto;
        margin-bottom: 30px;
    }

    .question-image {
        max-height: 50%;
    } */

