
:root {
  --primary: #2e8b57;
  --secondary: #1e90ff;
  --accent: #ff7f50;
  --bg-light: #f5f5dc;
  --text-dark: #333;
  --text-light: #fff;
}

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

body {
  font-family: 'ModernSans', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  position: relative;
  height: 80vh;
  max-height: 800px;
  background: linear-gradient(135deg, var(--bg-light), var(--primary), var(--secondary));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  margin-bottom: 5rem;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--bg-light);
  clip-path: polygon(0 85%, 100% 0, 100% 100%, 0% 100%);
}

.header h1 {
  font-family: 'RetroSerif', serif;
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeIn 1.5s ease-out;
}

.header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.notice {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.9);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  font-size: 0.9rem;
  color: var(--primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

article {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  padding: 3rem;
  margin-bottom: 4rem;
}

article h2 {
  font-family: 'RetroSerif', serif;
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

article h3 {
  font-family: 'RetroSerif', serif;
  color: var(--primary);
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
}

article p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.img-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.img-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

pre {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  position: relative;
  border-left: 4px solid var(--accent);
}

code {
  font-family: 'Courier New', monospace;
  background: rgba(255,127,80,0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 100;
  padding: 1rem 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(255,127,80,0.1);
}

.footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
}

.footer p {
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
  
  .nav-list {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  article {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .header {
    height: auto;
    padding: 4rem 1rem;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  article {
    padding: 1.5rem;
  }
}

