body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
#modalCaption {
    font-size: 1.2em; /* Adjust the font size to your preference */
    margin-top: 5px; /* Add some top margin for spacing */
    line-height: 2; /* Adjust the line height to add spacing between lines */
    background-image: linear-gradient(45deg, #3ed55f, #00b3ff);
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s ease-in-out; /* Adjusted transition time */
    background-color: rgba(219, 188, 188, 0.9), 0.9); /* Added a background color */
    padding: 20px; /* Added padding for content */
    border-radius: 10px; /* Added border radius */
    max-width: 80%; /* Adjusted max width */
    text-align: center; /* Center text */
    color: white; /* Text color */
}
.modal img {
    margin-top: 50px;
    width: 800px;
    max-height: 80%;
    display: block;
    margin: 0 auto;
    border: 4px solid rgb(211, 178, 178);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
   
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px;
    border: 2px solid #ddd; /* Add border to the gallery */
    border-radius: 10px; /* Add border radius to the gallery */
    margin: 50px;
    
    
}


.thumbnail-block {
    position: relative;
    display: inline-block;
    text-align: justify;
    border: 1px solid #e6b8f4;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
    padding: 15px;
}





.thumbnail-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    background-image: linear-gradient(45deg, #3ed55f, #00b3ff);
}

.caption {
    text-align: justify;
    margin-top: 5px;
    font-family: 'Nikosh', sans-serif;
    color: rgb(10, 10, 10);
    font-weight: bold;
    font-size: 17px;
    line-height: .8cm;
    padding: 8px 12px;
    border-radius: 5px;
  
}

