/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
  }
  
  .container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
  
  p {
    font-size: 1rem;
    color: #666;
  }
  
  /* Drag and Drop Area */
  .drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    cursor: pointer;
    transition: border-color 0.3s ease;
  }
  
  .drop-area:hover {
    border-color: #007bff;
  }
  
  .drop-area p {
    margin: 0;
    font-size: 1.2rem;
  }
  
  .drop-area span {
    display: block;
    margin: 10px 0;
    font-size: 0.9rem;
    color: #999;
  }
  
  /* File Input */
  #fileInput {
    display: none;
  }
  
  /* Image Preview */
  .image-preview {
    margin: 20px 0;
    display: none;
  }
  
  #previewImage {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
  }
  
  /* Format Selection */
  .format-selection {
    margin: 20px 0;
  }
  
  .format-selection label {
    font-size: 1rem;
    margin-right: 10px;
  }
  
  .format-selection select {
    padding: 5px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  /* Convert Button */
  #convertBtn {
    padding: 10px 20px;
    font-size: 1rem;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  #convertBtn:hover {
    background: #0056b3;
  }
  
  /* Download Link */
  #downloadLink {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  #downloadLink:hover {
    background: #218838;
  }
  
  /* Advertisement Placeholders */
  .advertisement {
    margin: 20px 0;
    padding: 10px;
    background: #e9ecef;
    border-radius: 5px;
    text-align: center;
  }
  
  .advertisement p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Article Section */
  .article {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
  }
  
  .article h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .article p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
  }
  
  .article ul {
    margin: 10px 0;
    padding-left: 20px;
  }
  
  .article ul li {
    margin-bottom: 10px;
  }
  
  /* Responsive Design */
  @media (max-width: 600px) {
    .container {
      margin: 20px;
      padding: 15px;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .drop-area {
      padding: 20px;
    }
  
    .article {
      margin: 20px;
      padding: 15px;
    }
  }