:root {
    --marian-blue: #2b4677ff;
    --buff: #c9a390ff;
    --kobicha: #5b3e21ff;
    --desert-sand: #e2ba98ff;
    --dark-moss-green: #595921ff;
  }
  
  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('../images/MainPage/1.jpg'); 
    background-size: cover;
    background-position: center;
    height: 100vh; 
    overflow: auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start; 
  }
  
  /* Overlay */
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1; 
  }
  
  .pdf-container {
    width: 100%;
    max-width: 920px; 
    height: auto; 
    margin: auto; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2; 
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  canvas {
    border: 1px solid black;
    max-width: 100%; 
    height: auto; 
    margin-bottom: 10px; 
  }
  
  /* Button styles */
  .button {
    display: inline-block;
    padding: 12px 40px;
    margin-right: 25px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    position: relative;
    background-size: 200% 200%; 
    transition: background-position 0.5s ease, transform 0.3s ease;
    cursor: pointer;
  }
  
  /* Specific styles for each button */
  .back-button {
    display: inline-block;
  padding: 12px 30px;
  margin-right: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  position: relative;
  background-size: 200% 200%; 
  transition: background-position 0.5s ease, transform 0.3s ease;
  cursor: pointer;
  background: linear-gradient(45deg, #007bff, #00c6ff, #1be1ff, #007bff);
  animation: gradientShift 3s ease infinite;
  }
  
  .contact-button {
    display: inline-block;
  padding: 12px 30px;
  margin-right: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  position: relative;
  background-size: 200% 200%; 
  transition: background-position 0.5s ease, transform 0.3s ease;
  cursor: pointer; 
  background: linear-gradient(45deg, #007bff, #00c6ff, #1be1ff, #007bff);
  animation: gradientShift 3s ease infinite;
  }
  
  .button:hover {
    background-color: rgba(255, 255, 255, 0.7); 
    color: #2b4677; 
    box-shadow: 0 0 40px rgba(255, 255, 255, 1); 
  }
  
  /* Navigation menu styles */
  .nav-menu {
    display: flex; 
    justify-content: space-between;
    text-align: center; 
    padding: 20px; 
    z-index: 3; 
    flex-wrap: wrap; 
  }
  
  /* Mobile responsiveness */
  @media (max-width: 768px) {
    .pdf-container {
      height: auto; 
      margin-top: 20px; 
    }
  
    .button {
      font-size: 0.8rem; 
      padding: 8px 12px; 
    }
  
    body::before {
      background-color: rgba(0, 0, 0, 0.7); 
    }
  }
  
  @media (max-width: 480px) {
    .nav-menu {
      flex-direction: column; 
      padding: 10px;
    }
  
    .pdf-container {
      margin: 5px;
      width: 100%;
      max-width: 90%; 
      height: auto; 
      margin-top: 10px; 
    }
  
    canvas {
      transform: scale(1); 
    }
  }
  