.galleryPageContainer .filters {
    text-align: center;
}

.galleryPageContainer .filters button {
    padding: 0px 2rem;
    font-size: 1.3rem;
    border-inline-end: 0.5px solid #cecece;
    font-family: 'Cairo', sans-serif;
    color: #666;
}

.galleryPageContainer .filters button.active {
    color: var(--secondary-color);
    font-weight: 700;
}

.galleryPageContainer .filters button:last-of-type {
    border-inline-end: none;
}

.galleryPageContainer .projectsContainer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 3rem 10vw;
}

.galleryPageContainer .projectsContainer .project {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galleryPageContainer .projectsContainer .project img {
    transition: 0.6s all ease-in-out;
    height: 100%;
    object-fit: cover;
}

.galleryPageContainer .projectsContainer .project:hover img {
    /*width: 120%;*/
}

.galleryPageContainer .projectsContainer .information {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(0deg, #000000e7, 70%, #00000000);
    padding: 5rem 20px 1rem;
    color: #fff;
}

.galleryPageContainer .projectsContainer .information .name {
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.2rem;
}

.galleryPageContainer .projectsContainer .information .type {
    font-weight: 200;
    font-size: 0.9rem;
    color: var(--theme-light-color);
}

.galleryPageContainer .projectsContainer .controlls {
    position: absolute;
    inset-inline-end: 15px;
    bottom: 0.2rem;
    opacity: 0;
    color: #fff;
    transition: 0.3s all ease-in-out;
}

.galleryPageContainer .projectsContainer .project:hover .controlls {
    bottom: 0.8rem;
    opacity: 1;
}

.galleryPageContainer .projectsContainer .controlls a {
    color: #fff;
}

.galleryPageContainer .projectsContainer .controlls ion-icon {
    position: relative;
    top: 2px;
    margin-inline: 5px;
}

.galleryPageContainer .more {
    text-align: center;
}

.galleryPageContainer .more button {
    position: relative;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    padding: 10px 30px;
    font-size: 1.2rem;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    overflow: hidden;
}

.galleryPageContainer .more button::before {
    content: " ";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--theme-color);
    position: absolute;
    transform: translateX(100%);
    transition: 0.3s all ease-in-out;
}

.galleryPageContainer .more button * {
    position: relative;
    z-index: 4;
}

.galleryPageContainer .more button:hover::before {
    transform: translateX(0%);
}

.galleryPageContainer .more button ion-icon {
    margin-inline-start: 10px;
}

@media (width >1440px) {

    .galleryPageContainer .projectsContainer {
        grid-template-columns: repeat(3, 1fr);
        padding: 3rem 0;
    }
}

@media (width <=780px) {
    .galleryPageContainer .filters button {
        padding: 0px 10px;
    }

    .galleryPageContainer .projectsContainer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 0;
    }

    .galleryPageContainer .projectsContainer .project .controlls {
        bottom: 0.8rem;
        opacity: 1;
    }
}

@media (width <=500px) {
    .galleryPageContainer .projectsContainer {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem 0;
    }
}
