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;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 360px;
    height: 90%;
    max-height: 740px;
    overflow: hidden;
    position: relative;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.animal-image {
    width: 200px;
}

.animated-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.word {
    opacity: 0;
    margin: 0 5px;
    animation: fadeIn 1s forwards;
}

.word:nth-child(1) { animation-delay: 0s; }
.word:nth-child(2) { animation-delay: 0.3s; }
.word:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.next-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    font-size: 1.2em;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
}

.next-button:hover {
    color: #000;
}

.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);
}
