/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000000;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  
  h1 {
    text-align: center;
  
    color: #a1b2f1;
    margin-top: 50px;
    font-size: 2.5em;
  }
  
  p {
    text-align: center;
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fff7cf;
  }
  
  /* Form Styles */
  select, button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 10px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
  }
  
  select {
    width: 200px;
  }
  
  button {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    font-size:20px;
  }
  
  button:hover {
    background-color: #45a049;
  }
  
  select:hover {
    border-color: #45a049;
  }
  
  /* Result Styling */
  #captionResult {
    text-align: center;
    font-family: monospace;
    font-size: 1.3em;
    margin-top: 30px;
    font-weight: bold;
color: #fff7cf;
  }
  
  /* Centering the content */
  .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(160, 209, 14, 0.1);
    border-radius: 10px;
    text-align: center;
  }
  
  /* Media Queries for Responsiveness */
  @media (max-width: 768px) {
    h1 {
      font-size: 2em;
      margin-top: 30px;
    }
    p {
      font-size: 1em;
      margin-bottom: 10px;
    }
  
    /* Form adjustments */
    select, button {
      width: 90%;
      padding: 15px;
      margin-top: 10px;
    }
  
    select {
      margin-bottom: 15px;
    }
  
    /* Container */
    .container {
      padding: 20px;
      max-width: 90%;
      box-shadow: #ffffff; /* Remove shadow for smaller screens */
    }
  
    /* Caption Result */
    #captionResult {
      font-size: 3em;
      margin-top: 20px;
    }
  
    /* Navigation Menu */
    ul {
      padding-top: 80px; /* Adjust for fixed navigation */
    }
  
    ul li {
      display: block; /* Stack the menu items vertically */
    }
  
    ul li a {
      padding: 14px;
      font-size: 18px;
    }
  }
  
  /* Media Queries for small mobile devices */
  @media (max-width: 480px) {
    h1 {
      font-size: 2em;
    }
  
    p {
      font-size: 1.5em;
    }
  
    /* Form adjustments */
    select, button {
      padding: 12px 15px;
      font-size: 0.9em;
    }
  
    #captionResult {
      font-size: 1.5em;
    }
  
    /* Navigation Menu */
    ul li a {
      font-size: 16px;
    }
  }
  
  /* Style for navigation menu */
  ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  ul li {
    display: inline-block;
  }
  
  ul li a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  ul li a:hover {
    background-color: #575757;
  }
  