:root {
  --brown-main: #80634c;
  --pastel-bg: #fbf8f3;
  --btn-bg: #ae856c;
  --btn-text: #fff;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Nunito', sans-serif;
}

body, html {
  margin: 0; padding: 0;
  height: 100%;
  background: var(--pastel-bg);
  font-family: var(--font-primary);
  color: var(--brown-main);
  display: flex; flex-direction: column;
  text-align: center;
}

.main-header {
  background-color: var(--btn-bg);
  color: var(--btn-text);
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(128, 99, 76, 0.1);
  flex-shrink: 0;
}

.main-header nav ul {
  display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0;
}

.main-header nav a {
  color: var(--btn-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 6px;
  padding: 0.3em 0.8em;
  transition: background-color 0.3s ease;
}
.main-header nav a:hover,
.main-header nav a.active {
  background: #d7bfa5; color: var(--brown-main);
}

.about-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 550px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.about-main h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--brown-main);
  font-family: var(--font-secondary);
  user-select: none;
}

.cute-text {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 1em auto 0 auto;
  color: #a2714a;
  user-select: none;
}

/* Animations */

@keyframes fadeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

.animate-fadein {
  animation: fadeIn 1.5s ease forwards;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.bounce {
  display: inline-block;
  animation: bounce 2.5s ease-in-out infinite;
  color: #c77847;
}
  
footer {
  flex-shrink: 0;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.9rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 -3px 24px -5px rgba(128, 99, 76, 0.3);
  user-select: none;
}

.how-to-use {
  margin-top: 3rem;
  background: #fff6ea;
  padding: 1.8rem 2rem;
  border-radius: 22px;
  box-shadow: 0 5px 24px rgba(128, 99, 76, 0.1);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #8a5c2c;
  font-family: 'Nunito', sans-serif;
}

.how-to-use h2 {
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: #a47339;
  text-align: center;
  user-select: none;
}

.how-to-use ul {
  list-style-type: disc;
  padding-left: 1.4rem;
  font-size: 1.18rem;
  line-height: 1.6;
}

.how-to-use ul li {
  margin-bottom: 0.85rem;
  user-select: text;
}

/* Give the section a gentle fade-in and slight upward motion */
@keyframes fadeUpIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-to-use {
  animation: fadeUpIn 1.8s ease forwards;
}
