
:root {
  --primary-color: #543B1E;
  --secondary-color: #FF6347;
  --accent-color: #DAA520;
  --background-start: #F5F5DC;
  --background-end: #E8E8D1;
  --text-color: #3E3E3E;
  --code-bg: #FDF6E3;
  --code-border: #D3D3D3;
  --hover-color: #FFA07A;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, var(--background-start), var(--background-end));
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  box-sizing: border-box;
}

header {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
  animation: headerGlow 5s infinite linear;
}

@keyframes headerGlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.image-box {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent-color);
  border-radius: 10px;
}

.image-box img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-box:hover img {
  transform: scale(1.1);
}

.content-box {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

h2 {
  font-family: 'Times New Roman', serif;
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

p {
  font-size: 1rem;
  line-height: 1.8;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 5px;
  padding: 15px;
  overflow-x: auto;
}

code {
  display: block;
  font-family: Consolas, monospace;
  font-size: 0.9rem;
  color: #333;
}

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

th, td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

th {
  background: var(--accent-color);
  color: white;
}

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

  pre {
    font-size: 0.8rem;
  }
}

