        @font-face {
    font-family: "Rainy Hearts";
    src: url("https://axayacatl.neocities.org/fonts/rainyhearts/rainyhearts.eot"); 
    src: url("https://axayacatl.neocities.org/fonts/rainyhearts/rainyhearts.eot?#iefix") format("embedded-opentype"), 
         url("https://axayacatl.neocities.org/fonts/rainyhearts/rainyhearts.woff") format("woff"),
         url("https://axayacatl.neocities.org/fonts/rainyhearts/rainyhearts.ttf") format("truetype"), 
         url("https://axayacatl.neocities.org/fonts/rainyhearts/rainyhearts.otf") format("opentype"); 
    font-style: normal;
}
    body {
      margin: 0;
      padding: 0;
      background-image: url("https://axayacatl.neocities.org/images/bgs/flwrz.webp");
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      background-attachment: fixed;
      min-height: 100vh;
      font-family: "Rainy Hearts",Arial, sans-serif;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      font-size: 22px;
      overflow-x: hidden;
      cursor: url('https://axayacatl.neocities.org/images/kitty_cursor.png'), auto;
    }


     .return-text {
      position: fixed;
      bottom: 5%;
      left: 4%;
      background-color: black;
      color: red;
      padding: 5px;
      font-family: "Bark", sans-serif;
      font-size: 23px;
      cursor: pointer;
      text-decoration: none;
      z-index: 999;
    }

    .return-text:hover {
      text-decoration: none;
    }


    p {
      color: white;
    }

    a {
      color: pink;
    }

.projects-page {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto 5rem auto;
  padding: 1rem 1.5rem;
  box-sizing: border-box;
}

.page-header h1 {
  margin: 0 0 0.25rem 0;
  color: #fff;
  font-size: 3rem;
  letter-spacing: 0.02em;
}

.page-header .subtitle {
  margin: 0 0 1.5rem 0;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.project-card {
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

.project-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 1rem 1rem 1.25rem 1rem;
  color: #fff;
  text-align: left;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.project-desc {
  margin: 0 0 1rem 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.98rem;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.btn {
  background: #ff3b6b;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}

@media (min-width: 900px) {
  .project-media img { height: 220px; }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .projects-page {
    margin: 1rem auto 5rem auto;
    padding: 1rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .page-header h1 { font-size: 1.8rem; }
  body { font-size: 18px; }

  .projects-page {
    padding: 0.75rem;
  }
}