/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    background-color: #000;
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }
  header .logo {
    font-size: 1.5rem;
    text-transform: uppercase;
    font-family: "cofo-peshka-variable", sans-serif;
  font-variation-settings: "slnt" -23, 
  }
  header .logo span {
    color: #888;
  }
  header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s;
  }
  header nav ul li a:hover {
    color: #aaa;
  }
  /* Main Content */
main {
    margin-top: 80px; /* Prevent content overlap with fixed header */
  }
  
  .pdf-gallery {
    
  display: flex;
  flex-direction: column;  
  align-items: center;
  gap: 20px;
padding: 20px;
  }
  
  .gallery-thumbnail {
    width: 800px; /* Adjust thumbnail width */
  height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .gallery-thumbnail:hover { 
  transform: scale(1.05); 
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Small screens (mobile) */
@media (max-width: 768px) {
  header {
    padding: 1rem 2rem;
  }
  
  header .logo {
    font-size: 1.2rem;
  }
  
  header nav ul {
    flex-direction: column;
    gap: 10px;
  }
  
  header nav ul li a {
    font-size: 1.5rem;
  }
  
  .pdf-gallery {
    padding: 10px;
    gap: 15px;
  }
  
  .gallery-thumbnail {
    width: 90%; /* Adjust width for smaller screens */
  }
}

/* Medium screens (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 1.5rem 2.5rem;
  }
  
  header .logo {
    font-size: 1.3rem;
  }
  
  header nav ul li a {
    font-size: 1.8rem;
  }
  
  .pdf-gallery {
    padding: 15px;
    gap: 18px;
  }
  
  .gallery-thumbnail {
    width: 700px; /* Adjust width for tablet screens */
  }
}

/* Large screens (desktop) */
@media (min-width: 1025px) {
  .pdf-gallery {
    padding: 20px;
    gap: 20px;
  }
  
  .gallery-thumbnail {
    width: 800px; /* Keep original size for large screens */
  }
}