/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Alegreya", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  background: rgb(176, 170, 100);
  background: linear-gradient(
    128deg,
    rgba(176, 170, 100, 1) 23%,
    rgba(255, 252, 213, 1) 100%
  );
  color: #2d3748;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
  font-weight: 800;
}

/* Nav Styles */

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.nav-card {
  background: #fbef81;
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}

.nav-card .icon {
  font-size: 4rem;
  color: #e09b19;
}

.nav-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.5rem 0;
}

.nav-card p {
  color: #484e55;
  font-size: 1rem;
  line-height: 1.5;
}

/* Card Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-card {
  animation: fadeIn 0.6s ease-out forwards;
}

.nav-card:nth-child(2) {
  animation-delay: 0.2s;
}

/* Responsive Design */
@media (max-width: 640px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  .nav-grid {
    grid-template-columns: 1fr;
  }
}
