/* Base styles */
body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 2rem 1rem; /* Reduced left padding */
  background-color: #f7fafc;
  color: #2d3748;
}

/* Header styling */
h1 {
  color: #2b6cb0;
  border-bottom: 2px solid #bee3f8;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  text-align: center;
}

/* Introduction text */
div:nth-of-type(2) {
  font-style: italic;
  color: #4a5568;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.1rem;
}

/* Link container styling */
p {
  margin: 1.5rem 0;
  padding: 0.75rem 0.75rem 0.75rem 0.25rem; /* Reduced left padding */
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

p:hover {
  background-color: #ebf8ff;
}

/* Link styling */
a {
  color: #3182ce;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0.5rem 0.5rem 0.25rem; /* Reduced left padding */
  font-size: 1.1rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

a:hover {
  color: #2c5282;
  border-left: 3px solid #4299e1;
  padding-left: 0.5rem; /* Reduced hover padding */
}

/* Empty paragraph fix */
p:empty {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding: 1rem 1rem 1rem 0.5rem; /* Reduced left padding for mobile */
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  div:nth-of-type(2) {
    font-size: 1rem;
  }
}

/* Add a subtle arrow effect with reduced space */
a:before {
  content: "→ ";
  color: #4299e1;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-right: 0.1rem; /* Reduced spacing */
}

a:hover:before {
  opacity: 1;
}