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;
}

.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.5s;
}
.word:nth-child(3) {
  animation-delay: 1s;
}
.word:nth-child(4) {
  animation-delay: 1.5s;
}
.word:nth-child(5) {
  animation-delay: 2s;
}
.word:nth-child(6) {
  animation-delay: 2.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chick-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 40px;
}

.chick-image {
  width: 170px;
}

.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%;
  margin-top: 20px;
}

.arrow-button img,
.home-button img {
  width: 50px;
  height: 50px;
}

.arrow-button,
.home-button {
  text-decoration: none;
  transition: transform 0.3s;
}

.arrow-button:hover,
.home-button:hover {
  transform: translateY(-2px);
}
