/* Project hero */
.project-hero {
    width: 100%;
    height: 50vh;
    background: url('/images/banner.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

.project-hero h2 {
    margin-left: 40%;
    font-size: 40px;
    margin-top: 150px;
    color: #fff;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 20px;
}

.project-page .intro {
  color: #fff;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

 
.project-page .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-page .overlay {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

.project-page .gallery:hover .overlay {
    opacity: 1;
}

.project-page .container .gallery {
    position: relative;
    height: 350px;
    /* background: url(/img/banner.jpg) no-repeat center/cover; */
    border-radius: 20px;
    overflow: hidden;
}

.project-page .container .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-page .container .gallery h2,
.project-page .container .gallery p {
    color: #fff;
}

.project-page .gallery:hover .content {
    bottom: 40px;
}


.project-page .content {
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding: 20px;
    transition: 0.5s;
}

.project-page .content span {
    margin-right: 20px;
    background: var(--accent-amber);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px){
    .project-hero h2 {
        margin-left: 15%;
    }
}