
.gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
    grid-column-gap: 2em;
    padding: 1em;
    max-width: 85%;
    margin: 15em auto 2em auto;
}

.gallery-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.gallery-item:hover{
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s ease;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ProdTitle {
    position: absolute;
    top: 16%;
    left: 44%;
}

.ProdTxt{
    font-size: 40px;
}

.ProdTxt::after {
    content: '';
    border-radius: 2px;
    display: block;
    width: 100%;
    height: 3px; /* Adjust height as needed */
    background-color: red; /* Adjust color as needed */
    position: absolute;
    bottom: 10;
    left: 0;
}
@media (max-width: 1280px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .ProdTitle {
        top: 45%;
        left: 30%;
    }
}

@media (max-width: 1100px) {
    .ProdTitle{
        left: 40%;
    }
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 900px){
    .ProdTitle{
        left: 38%;
    }
}

@media (max-width: 768px) {
    .ProdTitle{
        left: 25.5%;
        top: 25%;
    }
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
        margin-top:7em;
    }
}