
:root {
  --primary: #0D47A1;
  --secondary: #1976D2;
  --accent: #FF9800;
  --bg-light: #F5F5F5;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --text-secondary: #757575;
}

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

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

.header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

.note {
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent);
}

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

article {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
}

h2 {
  color: var(--primary);
  font-size: 2rem;
  margin: 2rem 0 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
}

h3 {
  color: var(--secondary);
  font-size: 1.5rem;
  margin: 1.5rem 0 1rem;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

color {
  color: var(--accent);
  font-weight: bold;
}

pre {
  background: #2d2d2d;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

code {
  font-family: 'Courier New', monospace;
  color: #f8f8f2;
  font-size: 0.9rem;
}

.language-css .token.selector {
  color: #a6e22e;
}
.language-css .token.property {
  color: #f92672;
}
.language-css .token.value {
  color: #e6db74;
}

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

.image-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.image-caption {
  padding: 1rem;
  text-align: center;
  color: var(--text-secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

th, td {
  padding: 1rem;
  text-align: left;
}

th {
  background-color: var(--primary);
  color: var(--text-light);
}

tr:nth-child(even) {
  background-color: rgba(13, 71, 161, 0.05);
}

tr:hover {
  background-color: rgba(13, 71, 161, 0.1);
}

.footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-light);
  padding: 2rem 0;
  text-align: center;
  margin-top: 3rem;
}

.footer p {
  color: var(--text-light);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  article {
    padding: 2rem;
  }
  
  .image-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .header p {
    font-size: 1rem;
  }
  
  article {
    padding: 1.5rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
}

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

.animated {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

