
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c2b28;
    background-color: #faf7f0;

    background-image: url('images/parchment-bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
  }
  

  header {
    background-image: url('images/header-animal-rights.jpg'); 
    background-size: cover;
    background-position: center 30%;
    height: 240px;
    position: relative;
    border-bottom: 5px solid #8b5e3c;
  }
  
  .header-overlay {
    background-color: rgba(30, 20, 10, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  header h1 {
    font-size: 3.5rem;
    color: #f5e6d3;
    text-shadow: 3px 3px 6px #1f1a16;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .tagline {
    font-size: 1.4rem;
    color: #efe0cd;
    font-style: italic;
    text-shadow: 2px 2px 4px #1f1a16;
    background: rgba(0,0,0,0.3);
    padding: 5px 20px;
    border-radius: 30px;
  }
  

  nav {
    background-color: #4a3729;
    padding: 12px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  nav li a {
    color: #f0e0ce;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 1.1rem;
    background-color: rgba(255,255,240,0.1);
  }
  
  nav li a:hover {
    background-color: #c19a6b;
    color: #1e1a16;
    text-decoration: underline;
  }
  

  .container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  main {
    flex: 2;
    min-width: 280px;
    background-color: rgba(255, 251, 240, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
  }
  
  aside {
    flex: 1;
    min-width: 220px;
    background-color: rgba(239, 228, 210, 0.9);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
  }
  

  h1, h2, h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans', sans-serif;
    color: #3b2a1c;
    margin-bottom: 15px;
  }
  
  h2 {
    border-bottom: 3px solid #b99e7c;
    padding-bottom: 8px;
    font-size: 2rem;
  }
  
  h3 {
    margin-top: 25px;
    font-size: 1.5rem;
    color: #5a3f2b;
  }
  
  p {
    margin-bottom: 18px;
    text-align: left;
  }
  
  .dropcap {
    font-size: 3.5em;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    color: #8b5e3c;
    font-weight: bold;
  }
  

  .text-center {
    text-align: center;
  }
  .text-right {
    text-align: right;
  }
  

  .custom-list {
    list-style-type: square;
    margin-left: 30px;
    margin-bottom: 20px;
  }
  .custom-list li {
    margin-bottom: 8px;
  }
  
  .numbered-list {
    margin-left: 30px;
    margin-bottom: 20px;
    list-style-type: decimal;
  }
  .numbered-list li {
    margin-bottom: 8px;
  }
  

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: #fef9f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  caption {
    caption-side: top;
    font-weight: bold;
    margin-bottom: 8px;
    color: #3b2a1c;
  }
  th, td {
    border: 1px solid #b59a7a;
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
  }
  th {
    background-color: #b99e7c;
    color: #1f1a16;
  }
  tr:nth-child(even) {
    background-color: #efe0cd;
  }
  

  figure {
    margin: 20px 0;
  }
  .aside-img, .thumbnail {
    border: 3px solid #8b5e3c;
    border-radius: 8px;
    margin: 10px 0;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  .thumbnail {
    width: 180px;
    height: auto;
    transition: transform 0.2s;
  }
  .thumbnail:hover {
    transform: scale(1.02);
  }
  .bordered-image {
    border: 5px solid #6f4e2e;
    padding: 5px;
    background-color: #fff2e0;
  }
  figcaption {
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 5px;
    color: #4d3826;
  }
  

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
  }
  .gallery-grid figure {
    margin: 0;
    background-color: rgba(250, 245, 235, 0.7);
    padding: 12px;
    border-radius: 10px;
  }
  .gallery-grid img {
    width: 100%;
    height: auto;
    border: 2px solid #b59a7a;
    border-radius: 6px;
  }
  

  a {
    color: #7b4a2c;
    text-decoration: none;
    font-weight: 500;
  }
  a:hover {
    text-decoration: underline;
    color: #2b1a0e;
  }
  .email-link {
    margin-top: 30px;
    font-size: 1.1rem;
    background: #dac5ad;
    padding: 8px 15px;
    border-radius: 30px;
    display: inline-block;
  }
  
  .back-to-top {
    margin-top: 30px;
    text-align: right;
    font-size: 0.95rem;
    border-top: 1px dashed #b99e7c;
    padding-top: 15px;
  }
  .back-to-top a {
    background: #b99e7c;
    color: #1f1a16;
    padding: 5px 15px;
    border-radius: 20px;
  }
  
 
  .highlight-box {
    background-color: #e6d7c2;
    padding: 20px;
    border-left: 8px solid #8b5e3c;
    margin: 25px 0;
    border-radius: 0 15px 15px 0;
  }
  
  /* Reference list */
  .reference-list {
    margin-left: 25px;
  }
  .reference-list li {
    margin-bottom: 15px;
  }
  

  footer {
    background-color: #2f241b;
    color: #ddd0c0;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    border-top: 4px solid #8b5e3c;
  }
  footer p {
    margin-bottom: 5px;
    text-align: center;
  }
  

  @media screen and (max-width: 768px) {
    .container {
      flex-direction: column;
    }
    header h1 {
      font-size: 2.2rem;
    }
    nav ul {
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
  }