video {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 100%;
  }
  .video-wrapper {
    /* border: 2px solid #000; */
    margin-top:23px;
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-ttl{
    position: relative;
    color: rgb(10, 10, 10)!important;
  }
  
/* Reset default margin and padding for the body */
body {
    margin: 0;
    padding: 0;
}

/* Define media query for mobile screens */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        grid-gap: 10px; /* Reduce the gap for mobile */
        max-width: 100%; /* Full width for mobile */
    }

    .grid-item {
        width: 100%; /* Full width for mobile */
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for larger screens */
    grid-gap: 20px; /* Adjust the gap as needed */
    max-width: 800px; /* Adjust the maximum width as needed */
    margin: 0 auto; /* Center the grid horizontally */
}

.grid-item {
    position: relative;
}

.container-photo {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensure the images don't overflow */
}

.medium-image {
    max-width: 100%;
    max-height: 100%;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #6084a4;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.container-photo:hover .overlay {
    height: 100%;
}

.text {
    white-space: nowrap;
    color: white;
    font-size: 20px;
    position: absolute;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
