
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #000428, #004e92);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

header h1 {
  font-size: 1.5em;
  margin: 0;
}

nav a {
  color: #00ffff;
  text-decoration: none;
  margin-left: 15px;
  font-size: 1em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00ffcc;
}

main {
  margin-top: 80px;
  padding: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #00ffff;
}

.card-description {
  font-size: 1em;
  color: #d4d4d4;
}

.card-link {
  display: inline-block;
  margin-top: 10px;
  color: #00ffcc;
  text-decoration: none;
  font-weight: bold;
}

.card-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 15px;
  }
}

.article-section {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.article-section h2,
.article-section h3,
.article-section h4 {
  color: #00ffff;
}

.article-section pre {
  background: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}

.article-section code {
  color: #00ffcc;
  font-family: 'Courier New', monospace;
}

.footer-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  color: #aaa;
}

