body {
    font-family: Arial;
    margin: 0;
    background: linear-gradient(to right,#cecae8, #b9cfde) top;
    border-collapse: collapse;
    
  }

.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;
    
    
}
/* Add this to your existing styles.css or create a new style.css file */

/* Add this to your existing styles.css or create a new style.css file */

.thumbnail-block {
    position: relative;
    display: inline-block;
    text-align: justify;
    border: 1px solid #e6b8f4;
    border-radius: 10px;
    padding: 15px;
  
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */text-align: justify;
    border: 1px solid #e6b8f4;
    border-radius: 10px;
    padding: 15px;
  
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
}




.video {
    cursor: pointer;
    text-align: left;
}



.thumbnail-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    background-image: linear-gradient(45deg, #3ed55f, #00b3ff);
}

.caption {
    text-align: justify;
    margin-top: 8px;
    font-family: 'Nikosh', sans-serif;
font-weight: bold;
    color: black;
    padding: 8px 12px;
    border-radius: 5px;
  
}

#video-player-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

#video-player {
    margin-top: 50px;
    position: center;
    width: 980px;
    height: 600px;
    margin: 0 auto;
}

#youtube-player {
    margin-top: 50px;
    width: 100%;
    height: 100%;
}
.close,
.prev,
.next {
    position: absolute;
    top: 50%;
    font-size: 24px;
    color: rgb(20, 19, 19);
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 50%;
}

.close:hover,
.prev:hover,
.next:hover {
    color: #ff6961; /* Light red color */
    background-color: rgba(255, 255, 255, 0.9);
}

.close {
    top: 10px;
    right: 10px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}
