body {
  background-image: url("../img/tiled-background1.jpg"), linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
  background-blend-mode: overlay;
  font-family: "Montserrat", sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #333;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 20px auto;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

header {
  background-color: #f8f9fa;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

h1 {
  font-size: 2.8em;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

h2 {
  color: #2c3e50;
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
}

h3 {
  color: #34495e;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

strong {
  color: #2c3e50;
  font-weight: 600;
}

.highlight {
  color: #3498db;
  font-weight: 600;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

a:hover {
  color: #2980b9;
  border-bottom: 1px solid #2980b9;
}

.article-meta {
  font-style: italic;
  color: #7f8c8d;
  margin-bottom: 25px;
  font-size: 0.95em;
}

.back-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-button:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#quantum-thought-container {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.quantum-message {
  font-family: 'Courier New', monospace;
  font-size: 1.1em;
  color: #2c3e50;
  text-align: center;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-height: 400px;
  object-fit: cover;
}

.image-container {
  margin: 30px 0;
  text-align: center;
}

.image-caption {
  font-size: 0.9em;
  color: #666;
  margin-top: 12px;
  text-align: center;
}

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.95em;
  color: #666;
  margin-top: auto;
  background-color: #f8f9fa;
}

@media (max-width: 768px) {
  .page-wrapper {
    padding: 0 15px;
  }

  .container {
    padding: 25px;
  }

  h1 {
    font-size: 2.2em;
  }

  h2 {
    font-size: 1.7em;
  }

  h3 {
    font-size: 1.4em;
  }

  img {
    max-height: 300px;
  }
}