body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F3E2D0;
    font-family: 'Amiri', serif;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f5e8d0;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 360px;
    height: 90%;
    max-height: 740px;
    overflow: hidden;
    position: relative;
}

.speech-bubble {
    margin-bottom: 20px;
}

.animated-text {
    display: inline-block;
    padding: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #000;
    text-decoration: none;
}

.word {
    opacity: 0;
    display: inline-block;
    animation: fadeInText 0.5s ease forwards;
    color: #000;
}

.word:nth-child(1) { animation-delay: 0s; }
.word:nth-child(2) { animation-delay: 0.3s; }
.word:nth-child(3) { animation-delay: 0.6s; }
.word:nth-child(4) { animation-delay: 0.9s; }
.word:nth-child(5) { animation-delay: 1.2s; }
.word:nth-child(6) { animation-delay: 1.5s; }
.word:nth-child(7) { animation-delay: 1.8s; }
.word:nth-child(8) { animation-delay: 2.1s; }
.word:nth-child(9) { animation-delay: 2.4s; }

@keyframes fadeInText {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.character-image {
    width: 150px;
}

.question-link {
    font-size: 1.5em;
    color: #000;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.question-link:hover {
    color: #000;
    transform: scale(1.05);
}

.bottom-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 0 20px;
    align-items: center;
}

.arrow-button img {
    width: 50px;
    height: 50px;
}

.home-button img {
    width: 40px;
height: 40px;
margin-right: 25px;
}

.arrow-button, .home-button {
    text-decoration: none;
    transition: transform 0.3s;
}

.arrow-button:hover, .home-button:hover {
    transform: translateY(-2px);
}
