@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --primary-color: #ffb6c1;
  --accent-color: #ff69b4;
  --background-color: #fff0f5;
  --text-color: #222;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --nav-bg: #ffe4ec;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', cursive;
  background-color: var(--background-color);
  background-image: repeating-linear-gradient(
    45deg,
    #ffe6f0,
    #ffe6f0 10px,
    #fff0f5 10px,
    #fff0f5 20px
  );
  color: var(--text-color);
  padding: 10px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--background-color);
  box-shadow: 6px 6px var(--shadow-color);
  border: 3px solid var(--accent-color); /* Changed to solid border */
  animation: fadeIn 1s ease;
}

header {
  background-color: var(--nav-bg);
  max-width: 960px;
  padding: 15px;
  box-shadow: 6px 6px var(--shadow-color);
  border: 3px solid var(--accent-color); /* Changed to solid border */
  display: flex;
  margin-top: auto;
  margin-right: auto;
  margin-bottom: -15px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.6s ease-in-out;
}

header h1 {
  font-size: 1.2rem;
  color: var(--accent-color);
  text-transform: uppercase;
  text-shadow: 2px 2px var(--shadow-color);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  padding: 10px 20px;
  border: 3px solid var(--accent-color); /* Changed to solid border */
  background-color: var(--primary-color);
  box-shadow: 4px 4px var(--shadow-color);
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
  background-color: var(--accent-color);
  color: white;
}

.hero {
  background-color: var(--primary-color);
  padding: 20px;
  margin: 20px 0;
  border: 3px solid var(--accent-color); /* Changed to solid border */
  box-shadow: 6px 6px var(--shadow-color);
  text-align: center;
  animation: floatIn 1s ease;
}

.hero h2 {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.hero p {
  font-size: 0.8rem;
}

.list-section {
  background-color: var(--primary-color);
  padding: 20px;
  margin: 20px 0;
  border: 3px solid var(--accent-color); /* Changed to solid border */
  box-shadow: 6px 6px var(--shadow-color);
  animation: fadeIn 1s ease-in-out;
}

.list-section h2 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.list-section ul {
  list-style-type: none;
  padding-left: 20px;
}

.list-section ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.list-section ul li::before {
  content: "✿";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.project-item {
  background: #ffe6f0;
  padding: 15px;
  border: 3px solid var(--accent-color); /* Changed to solid border */
  box-shadow: 4px 4px var(--shadow-color);
  margin-bottom: 20px;
  animation: floatIn 1s ease;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.6rem;
  color: var(--text-color);
  border-top: 1px solid var(--accent-color);
  margin-top: 40px;
}

/* Pixel Floating Decorations */
.decor {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  font-size: 20px;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.star { color: #ff69b4; animation-delay: 0s; }
.heart { color: #ff1493; animation-delay: 1s; }
.flower { color: #ffa5c5; animation-delay: 2s; }
.bunny { color: #ffc0cb; animation-delay: 3s; }
.cherry { color: #ff4d6d; animation-delay: 4s; }

/* Extra decorations */
.decor:nth-child(odd) {
  animation-duration: 8s;
}
.decor:nth-child(even) {
  animation-duration: 10s;
}

/* Animations */
@keyframes slideDown {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  nav ul {
    gap: 10px;
  }

  header {
    align-items: flex-start;
  }

  nav ul li a {
    font-size: 0.6rem;
    padding: 8px 12px;
  }

  .hero h2, .list-section h2 {
    font-size: 0.8rem;
  }
}

