body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
    background-color: #000000;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    overflow-x: hidden;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
  }

  .header-nav {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .nav-button {
    padding: 10px 20px;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .nav-button:hover {
    background-color: #5942ff;
    border-color: #5942ff;
    color: white;
  }
  
  .container {
    width: 50%;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #5942ff;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .button-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .container > * {
    margin: 5px;
  }

  .container > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .button-group-top {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
  }

  .button-group-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
  }

  #imageName {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    font-size: 14px;
    color: #333;
  }
  
  .button {
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .button:hover {
    background-color: #5942ff;
  }

  .button:disabled {
    background-color: #555555;
    opacity: 1;
    cursor: not-allowed;
  }

  .button:disabled:hover {
    background-color: #555555;
  }

  label.button {
    cursor: pointer;
    user-select: none;
  }
  
  .progress-bar {
    flex-grow: 1;
    height: 20px;
    background-color: rgb(214, 214, 214);
    border-radius: 10px;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    background-color: black;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.5s ease-in-out;
  }
  
  .download-button {
    padding: 10px 20px;
    background-color: #5942ff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    opacity: 0.5;
    text-decoration: none;
  }
  
  .download-button:hover {
    background-color: #000000;
  }
  
  .container1 {
    text-align: center;
    color: #ced4da;
    font-size: 30px;
    line-height: 30px;
  }
  
  select, input[type="file"] {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: white;
    font-size: 16px;
  }

  #imageName {
    word-break: break-word;
    max-width: 100%;
    text-align: center;
  }
  
  #errorMessage {
    color: red;
    margin-top: 5px;
    display: none;
  }
  
  h4 {
    color: white;
  }
  
  a {
    text-decoration: none;
    color: #5942ff;
    display: inline-block;
  }
  
  a:hover {
    color: #5942ff;
    transition: 0.5s;
  }

  .content-section {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }

  .content-wrapper {
    background-color: rgba(248, 249, 250, 0.95);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0px 0px 20px rgba(89, 66, 255, 0.3);
  }

  .content-section h2 {
    color: #000000;
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
  }

  .content-section h3 {
    color: #5942ff;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .content-section h4 {
    color: #000000;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .content-section p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 16px;
  }

  .intro-section,
  .feature-section,
  .formats-section,
  .faq-section,
  .conclusion-section {
    margin-bottom: 30px;
  }

  .table-container {
    overflow-x: auto;
    margin: 20px 0;
  }

  .formats-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .formats-table thead {
    background-color: #5942ff;
    color: white;
  }

  .formats-table th,
  .formats-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
  }

  .formats-table th {
    font-weight: bold;
  }

  .formats-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
  }

  .formats-table tbody tr:hover {
    background-color: #e9ecef;
  }

  .faq-item {
    margin-bottom: 25px;
    padding: 15px;
    background-color: white;
    border-radius: 5px;
    border-left: 4px solid #5942ff;
  }

  .faq-item h4 {
    margin-top: 0;
    color: #5942ff;
  }

  .faq-item p {
    margin-bottom: 0;
  }

  .footer {
    width: 100%;
    background-color: #000000;
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
  }

  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-links {
    display: flex;
    gap: 20px;
  }

  .footer-links a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .footer-links a:hover {
    background-color: #5942ff;
    border-color: #5942ff;
    color: white;
  }

  @media screen and (max-width: 768px) {
    body {
      padding-top: 70px;
    }
    .header {
      padding: 12px 15px;
    }
    .logo {
      height: 40px;
      max-width: 150px;
    }
    .nav-button {
      padding: 8px 15px;
      font-size: 14px;
    }
    .header-nav {
      gap: 10px;
    }
    .container {
      width: 70%;
    }
    .container1 {
      font-size: 30px;
    }
    .content-wrapper {
      padding: 25px;
    }
    .content-section h2 {
      font-size: 26px;
    }
    .content-section h3 {
      font-size: 20px;
    }
    .content-section p {
      font-size: 15px;
    }
    .formats-table {
      font-size: 14px;
    }
    .formats-table th,
    .formats-table td {
      padding: 8px 10px;
    }
    .footer {
      padding: 20px 15px;
    }
    .footer-links {
      flex-direction: column;
      gap: 10px;
    }
  }
  
  @media screen and (max-width: 480px) {
    body {
      padding-top: 60px;
    }
    .header {
      padding: 10px 12px;
    }
    .logo {
      height: 35px;
      max-width: 120px;
    }
    .nav-button {
      padding: 6px 12px;
      font-size: 12px;
    }
    .header-nav {
      gap: 8px;
    }
    .container {
      width: 80%;
    }
    .button {
      font-size: 11px;
    }
    .container1 {
      font-size: 15px;
    }
    .content-section {
      padding: 0 10px;
    }
    .content-wrapper {
      padding: 20px;
    }
    .content-section h2 {
      font-size: 22px;
    }
    .content-section h3 {
      font-size: 18px;
    }
    .content-section h4 {
      font-size: 16px;
    }
    .content-section p {
      font-size: 14px;
    }
    .formats-table {
      font-size: 12px;
    }
    .formats-table th,
    .formats-table td {
      padding: 6px 8px;
    }
    .footer {
      padding: 15px 10px;
    }
    .footer p {
      font-size: 14px;
    }
  }
  