
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Merriweather&display=swap');

:root {
  --primary-color: #0A1F3D;
  --secondary-color: #F5F7FA;
  --accent-color: #64FFDA;
  --silver-color: #C0C0C0;
  --gradient-bg: radial-gradient(circle at top left, rgba(10,31,61,0.8), rgba(245,247,250,0.8));
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Merriweather', serif;
}

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

body {
  background: linear-gradient(135deg, #0A1F3D, #64FFDA);
  color: var(--primary-color);
  font-family: var(--font-body);
  line-height: 1.6;
  padding: 20px;
}

header {
  text-align: center;
  padding: 40px 0;
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

header h1 {
  font-family: var(--font-title);
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  color: var(--silver-color);
}

section {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(245, 247, 250, 0.9);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  animation: fadeIn 1.5s ease-in-out;
}

section h2, section h3, section h4 {
  font-family: var(--font-title);
  color: var(--primary-color);
  margin-bottom: 15px;
}

section h2 {
  font-size: 2em;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
}

section h3 {
  font-size: 1.8em;
  margin-top: 20px;
}

section h4 {
  font-size: 1.5em;
  margin-top: 15px;
}

p {
  font-size: 1em;
  margin-bottom: 15px;
  color: #333;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

li {
  margin-bottom: 10px;
}

pre {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 15px;
  border-radius: 5px;
  overflow: auto;
  font-family: 'Merriweather', serif;
  font-size: 0.9em;
  margin-bottom: 15px;
}

code {
  font-family: 'Courier New', Courier, monospace;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.item {
  flex: 1 1 calc(33.333% - 20px);
  background: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.item:hover {
  transform: translateY(-10px);
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.item h4 {
  font-family: var(--font-title);
  font-size: 1.2em;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.item p {
  font-size: 0.95em;
  color: #555;
}

.footer {
  text-align: center;
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer p {
  font-size: 1em;
  color: var(--primary-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

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

@media (max-width: 1440px) {
  .item {
    flex: 1 1 calc(33.333% - 20px);
  }
}

@media (max-width: 1200px) {
  .item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 1024px) {
  .item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }
  .item {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  header h1 {
    font-size: 1.5em;
  }
  section h2 {
    font-size: 1.5em;
  }
}

@media (max-width: 320px) {
  header h1 {
    font-size: 1.2em;
  }
  section h2 {
    font-size: 1.2em;
  }
  .item {
    flex: 1 1 100%;
  }
}

