@keyframes snow {
    0% { transform: translateY(0) translateY(-10px); }
    100% { transform: translateY(100vh) translateY(10px); }
  }
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    overflow: auto; 
  }
  
  .snowflake {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: snow 10s linear infinite;
    left: calc(100% * var(--random-x-position));
    z-index: -1;
  }
  
  
  .snowflake:nth-child(odd) {
    animation-duration: 15s;
    opacity: 0.5;
  }
  
  .snowflake:nth-child(even) {
    animation-duration: 20s;
    opacity: 0.3;
  }
  
  /* Container Styling */
  .container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: none; /* Remove background for the main container */
  }
  
  /* Card Styling */
  .card {
    background: var(--card-background);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, border-color 0.3s;
  }
  
  /* Header Styling */
  h2 {
    text-align: center;
    margin: 20px 0 10px;
    font-size: 1.8em;
    color: var(--header-color);
  }
  
  /* Paragraph Styling */
  .card p {
    text-align: left;
    margin: 0 auto;
    font-size: large;
  }
  
  /* Image Container Styling */
  .image-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
  }
  
  .image-container a img {
    width: 300px;  /* Explicit width for all images */
    height: 300px; /* Explicit height for all images */
    object-fit: contain; /* Ensures images fit the container without distortion */
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Card-like shadow for images */
    background-color: white;
  }
  
  /* Button Container */
  .button-container {
    display: flex;
    justify-content: flex-end; /* Keep buttons aligned to the right */
    gap: 10px;
    padding-bottom: 20px; /* Add spacing between buttons and content */
  }
  
  .button-container button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--header-color);
    transition: transform 0.3s ease, color 0.3s;
  }
  
  .button-container button:hover {
    transform: scale(1.2); /* Slight zoom effect */
    color: var(--accent-color); /* Change color on hover */
  }
  
  /* Light Mode Variables */
  :root {
    --background-color: #f4f4f9;
    --text-color: #333;
    --card-background: #ffffff;
    --card-border: #ddd;
    --header-color: #2c3e50;
    --accent-color: #3498db;
  }
  
  /* Dark Mode Variables */
  body.dark-mode {
    --background-color: #1e1e2f;
    --text-color: #e4e4e7;
    --card-background: #2c2c3e;
    --card-border: #444;
    --header-color: #ffffff;
    --accent-color: #4cafef;
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    h2 {
      font-size: 1.6em;
    }
  
    .card p {
      font-size: medium;
    }
  
    .image-container {
      gap: 20px;
    }
  
    .button-container {
      flex-direction: column; /* Stack buttons vertically */
      align-items: flex-end;
    }
  }