
  

  #lightg-gly-main h2 {

  

      padding-top: 20px;

      text-align: center;

  }

  .image-section, .video-section {
    padding: 20px 0;
}






 

  #lightg-gly-main .lightbox {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.9);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 1000;

  }

  

  /* #lightg-gly-main .filter {

    position: absolute;

    width: 100%;

    height: 100%;

    background-size: cover;

    background-position: center;

    filter: blur(20px);

    opacity: 0.5;

    z-index: 1;

  } */

  

  #lightg-gly-main .lightbox-img {

    max-width: 90%;

    max-height: 90%;

    z-index: 2;

    border-radius: 8px;

  }

  

 

  #lightg-gly-main .arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 30px;

    height: 30px;

    background-size: contain;

    background-repeat: no-repeat;

    cursor: pointer;

    z-index: 3;

  }

  

  #lightg-gly-main .arrowr {

    right: 20px;

    background-image: url(../images/rgt-arrow.png);

  }

  

  #lightg-gly-main .arrowl {

    left: 20px;

    background-image: url(../images/lft-arrow.png);

  }

  

 

  #lightg-gly-main .close {

    position: absolute;

    top: 20px;

    right: 20px;

    cursor: pointer;

    z-index: 4;

    width: 20px;

    height: 20px;

    background-size: cover;

    background-repeat: no-repeat;

    background-image: url(../images/close-icon.png);

  }

 .popup-message {

    position: fixed;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    padding: 15px 30px;

    background-color: #4caf50; /* Green for success */

    color: #fff;

    border-radius: 8px;

    z-index: 1000;

    font-size: 16px;

    text-align: center;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);

    animation: fadein 0.3s, fadeout 0.3s 2.7s;

}



.popup-message.error {

    background-color: #f44336; /* Red for error */

}



/* Make the upload button round */

.upload-btn {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100px; /* Adjust size */

    height: 100px; /* Adjust size */

    background-color: #4CAF50; /* Green background */

    border-radius: 50%; /* Round shape */

    border: none;

    cursor: pointer;

    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);

    transition: background-color 0.3s ease;

    color: white; /* Icon color */

    font-size: 20px; /* Icon size */

}

.lightbox-video {

    display: none; /* Hide video by default */

}



.lightbox-img {

    display: block; /* Ensure the image is displayed by default */

}



/* Change background color on hover */

.upload-btn:hover {

    background-color: #45a049;

}



/* Optional: Add a scale effect on click */

.upload-btn:active {

    transform: scale(0.95);

}



/* FontAwesome icon size and alignment */

.upload-btn i {

    font-size: 40px;

}



/* Individual image container */

.preview-item {

    position: relative;

}



/* Delete icon styles */

.delete-icon {

    position: absolute;

    top: 5px;

    right: 5px;

    color: #ff0000;

    border-radius: 50%;

    padding: 5px;

    cursor: pointer;

    display: none;

    font-size: 25px;

}



/* Show delete icon when hovering over the image */

.preview-item:hover .delete-icon {

    display: block;

}



div#custom-gallery {

    display: flex;

    justify-content: center;

    padding-bottom: 15px;

}

@keyframes fadein {

    from { opacity: 0; }

    to { opacity: 1; }

}



@keyframes fadeout {

    from { opacity: 1; }

    to { opacity: 0; }

}





@keyframes fadein {

    from { opacity: 0; }

    to { opacity: 1; }

}



@keyframes fadeout {

    from { opacity: 1; }

    to { opacity: 0; }

}

.video_title {
    display: none;
}
.card-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 10px; /* Adjust space between columns */
}

/* For smaller screens */
@media (max-width: 992px) {
    .card-columns {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
    }
}

/* For mobile screens */
@media (max-width: 768px) {
    .card-columns {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
    }
}

/* For very small screens */
@media (max-width: 576px) {
    .card-columns {
        grid-template-columns: 1fr; /* 1 column */
    }
}