@media (max-width: 479px) {
    .project-poster-projects {
        display: grid;
        grid-template-columns: 100%;
        gap: 10px;
        padding: 10px;
    }
}

@media (max-width: 980px) and (min-width: 480px) {
    .project-poster-projects {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 10px;
        padding: 10px;
    }
}

@media (min-width: 981px) {
    .project-poster-projects {
        display: grid;
        grid-template-columns: 33% 33% 33%;
        gap: 20px;
        padding: 10px;
    }
}

.project-poster-project {
    position: relative;
    height: 300px; /* Adjust height as needed */
    margin: 0;
    background-size: cover;
    background-position: top;
    overflow: hidden; /* Hide overflow content */
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust overlay color and opacity */
    color: #fff; /* Adjust text color */
    opacity: 0; /* Initially hide overlay */
    transition: opacity 0.3s ease; /* Add transition effect */
}

.project-poster-project:hover .project-overlay {
    opacity: 1; /* Show overlay on hover */
}

.project-content {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
}

.project-title {
    margin: 0;
    font-size: 18px; /* Adjust title font size */
}
.project-title a {
    margin: 0;
    font-size: 24px;
    color: #fff;
}
.live-link, .read-more {
    color: #fff; /* Adjust link color */
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 10px;
    padding: 10px;
}

.live-link:hover, .read-more:hover {
    text-decoration: underline;
}
