/* Resetando margens e preenchimentos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo geral da página */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Estilo para os flashcards */
.flashcard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flashcard {
    width: 200px;
    height: 300px;
    perspective: 1000px; /* Para adicionar profundidade ao efeito de flip */
}

.flashcard-face {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flashcard-front {
    background-color: #3498db;
    color: white;
    font-weight: bold;
}

.flashcard-back {
    background-color: #2ecc71;
    color: white;
    transform: rotateY(180deg);
}

/* Efeito de flip */
.flashcard.flipped .flashcard-front {
    transform: rotateY(180deg);
}

.flashcard.flipped .flashcard-back {
    transform: rotateY(0);
}

/* Estilo do rodapé */
footer {
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}
