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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #ff7f50, #8b4513, #2e8b57);
  color: #fff;
  overflow-x: hidden;
  animation: crtEffect 1s ease-in-out;
}

@keyframes crtEffect {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

header {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

header h1 {
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #ff7f50;
}

.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #8b4513;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.retro-btn {
  background: linear-gradient(to right, #ff7f50, #8b4513);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.retro-btn:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

code {
  display: block;
  background: rgba(0, 0, 0, 0.8);
  color: #ff7f50;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
}

pre {
  margin: 10px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table, th, td {
  border: 1px solid #8b4513;
}

th, td {
  padding: 10px;
  text-align: left;
}

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

  header h1 {
    font-size: 1.5rem;
  }
}

