body {
    font-family: Georgia, "Times New Roman", Times, serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #111;
    color: #fff;
    text-rendering: optimizeLegibility;
    overflow: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: dither-breathe 30s ease-in-out infinite;
  }

  @keyframes dither-breathe {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.03); }
    100% { transform: scale(1); }
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 0;
  }

  #image-container {
    position: relative;
  }

  #main-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 0;
  }

  #text-container {
    width: 100%;
    text-align: left;
  }

  #img-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
  }

  #img-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
  }

  .no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }

  button#download-pdf {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
    padding: 5px 10px;
    border: none;
    border-radius: 0;
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  }

  button#download-pdf:hover {
    background-color: rgba(0,0,0,0.8);
  }

  .fr, .en {
    color: #fff;
  }

  .content-block {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    z-index: 100;
    overflow: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body {
    margin-bottom: 50px;
  }

  .folder-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }

  .folder-list li {
    display: inline;
  }

  .folder-list a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    text-transform: capitalize;
  }

  .folder-list a:hover {
    text-decoration: underline;
    color: #fff;
  }

  .page-title {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  }
