

@font-face {
    font-family: 'PF Tempesta Five', sans-serif;                                              
    src: url('https://fonts.cdnfonts.com/css/public-pixel');
}


.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
    
  }
  
  .gallery img {
    width: 15%;
    margin: 5px;
    border: 5px double rgb(255, 208, 0);
    box-sizing: border-box;
    cursor: pointer;
    
  }
  

  .modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    margin-top: 70px;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    z-index: 100;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    border: 3px double rgb(238, 214, 0);
  }

  

  .modal-content.show {
    display: block;
    opacity: 1;
    }

  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    padding-right: 4px;
    padding-left: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    cursor: pointer;
    z-index: 100;
  }

  

  .prev, .next {
    position: absolute;
    top: 50%;
    font-size: 50px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 100;
    margin: 30px;
    background-color: rgba(0, 0, 0, 0.3);
  }
  
  .prev {
    left: 10px;
    
  }
  
  .next {
    right: 10px;
  
  }
  
  /* hover effect for arrows */
  .prev:hover, .next:hover {
    opacity: 0.8;
  }

  @media screen and (max-width: 480px) {
    .gallery img {
      width: 30%;
    }
  }



  .text-box {
    text-align: center; /* center text */
    padding: 10px;
    display: inline-block;
    max-width: 80%; /* adjust as needed */
    margin: 0 auto; /* center horizontally */
  }
  
  .text-box h1 {
    padding: 10px 10px;
    font-family: 'Public Pixel', sans-serif;
    font-size: 15px; /* adjust as needed */
    line-height: 1.5; /* adjust as needed */
    color: white;
    border: 3px double yellow
    
    
  }
  

  @media screen and (max-width: 768px) {
    .text-box {
      padding: 5px;
      max-width: 80%;
      display: block; /* reset display property for mobile */
    }

  }
  
  @media screen and (max-width: 480px) {
    .text-box h1 {
      font-size: 9px; /* update font size for smaller mobile screens */
    }
  }


  
  
 
  
