/* lightobx.css */

html {
    background-color: #2d2d2d;
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    color: white;
  }

  body {
    height: 100vh;
    width: 100%;
    margin: 0!important; 
    padding: 0!important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  #gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%!important;
    max-width: 100%!important;
    height: 85vh; /* for a single page page, with no need for pagnation - set the height to 90vh to relaim the paces for the pagination controls */
    gap: 1rem 1rem;
    margin: 0!important; 
    padding: 0!important;
    box-sizing: border-box;
  }
  
  .image-wrapper {
  position: relative;
  width: calc(25% - 4.35rem); /* Adjust the width as necessary */
  box-sizing: border-box;
  /* overflow: hidden; */
  outline: 1px solid transparent;
  background-color: transparent;
  display: flex;
  flex-direction: column; /* Organize children in a column layout */
  /* justify-content: center; */
  align-items: center; /* Center children horizontally */
  transition: background-color 0.3s;
  margin: 0!important; 
  padding: 0!important;
}

  .image-container {
    background: #2d2d2d;
    box-sizing: border-box;
    margin: 0!important; 
    padding: 0!important;
    width: 100%!important;
    max-width: 100%!important;
}
  
  .image-container img {
    width: 100%!important;
    max-width: 100%!important;
    border-radius: 4px!important;
    box-shadow: transparent 0 0 4px 4px!important;
    border: 1px solid black;
    box-sizing: border-box;
  }
  
  .image-container img:hover {
    box-shadow: #B9DCD2 0 0 4px 4px!important;
  }

  .caption-container {
  width: 100%!important;
  max-width: 100%!important;
  text-align: center;
  background-color: transparent;
  color: white;
  font-size: .85rem;
  font-weight: 400;
  box-sizing: border-box;
  display: flex;
  justify-content: left;
  align-items: center;
  margin: 0rem 0 .25rem 0;
  padding: .5rem 1rem;
}
  .pagination {
    position: absolute;
    top: 2%;
    left: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    margin: 0rem 0 0 0;
    gap: .25rem 0;
  }
  
  @media screen and (max-width: 900px) {
    .pagination {
      justify-content: center;
    }
  
  #colorOptions {
    position: absolute;
    left: 1rem;
    top: 10%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background: #336699;
    padding: 1rem;
    border-radius: 10px;
    width: fit-content;
  }
  
  .colorBox {
    width: 15px;  
    height: 15px; 
    border-radius: 5px; 
    }
  
    #gallery {
      justify-content: center;
    }
  }
  
  .page-link {
    margin: 0 5px;
    padding: 5px;
    color: white;
    background-color: #2d2c2c;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration-color: transparent ;
  }
  
  a.page-link:link,
  a.page-link:visited,
  a.page-link:hover,
  a.page-link:active {
    text-decoration-color: transparent ;
  }
  
  button.page-link:hover {
    background-color: #B9DCD2 ;
    color: black ;
  }
  
  button.page-link.active {
    background-color: #336699;
    text-decoration-color: transparent ;
    color: white;
  }
  
  .spacer {
    width: 28px;
    height: 28px;
  }
  
  #prevPage,
  #nextPage {
    background-color: #fff;
    color: #000;
    font-size: 1.25rem;
    border: 0;
    border-radius: 4px;
    padding: .1rem .45rem;
    border: 1px solid #000;
  }
  
  #prevPage:active,
  #nextPage:active {
    background-color: #C0392B ;
    color: #ffa500 ;
  }
  
  #prevPage:hover,
  #nextPage:hover {
    background-color: #B9DCD2;
    color: black;
  }
  
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
   /* background-color: rgba(0,0,0,0.9); Black w/ opacity */
  }

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1500px;
  max-height: 90vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y:hidden; /* Enable scroll if needed */
}
  
    .close {
      color: #E74C3C;
      background: #ffa500;
      position: absolute;
      top: 50px;
      right: 57px;
      transform: translate(50%, -50%);
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
      height: 50px;
      width: 50px;
      line-height: 50px; /* Center the text vertically */
      text-align: center;
      border-radius: 10px;
    }
   
    
    .close:hover,
    .close:focus {
      color: #ffa500;
      background:#E74C3C;
      text-decoration: none;
      cursor: pointer;
      border-radius: 10px;
    }
  
    #colorOptions {
      position: absolute;
      right: 26px;
      top: 25%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      background: #336699;
      padding: 1rem;
      border-radius: 10px;
  
    }
    
    .colorBox {
      width: 30px;  /* Adjust size as needed */
      height: 30px; /* Adjust size as needed */
      border-radius: 5px; /* Optional for rounded corners */
      }
    
    html {
      --box-bg1: black;
      --box-bg2: white;
      --box-bg3: #7F8C8D;
      --box-bg4: red;
      
    }
  
    #Box_1 { background-color: var(--box-bg1); }
    #Box_2 { background-color: var(--box-bg2); }
    #Box_3 { background-color: var(--box-bg3); }
    #Box_4 { background-color: var(--box-bg4); }
    