.projects {
    width: 100%;
    height: auto;
    background-color: black;
/*     padding-top: 35rem; */
    padding-bottom: 12rem;
    display: flex;
    flex-direction: column;
/*     row-gap: 15rem; */
    position: relative;
}

.project-bgs {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.projects-cards {
    display: flex;
    flex-direction: column;
    row-gap: 40rem;
    margin-top: -100vh;
}

/* .projects-bg-sticky-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url(../bg-work-1.gif);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(25%);
    filter: blur(.5rem);
} */

.projects-bg-sticky-img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transform: translateX(25%);
    filter: blur(.5rem);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
}

.projects-bg-sticky-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.projects-bg-sticky-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.8);
}

.project-links-sticky {
    position: sticky;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 3;
}

.project-link-container {
    width: 100%;
}

.project-link {
    font-size: 9rem;
    color: transparent;
    font-weight: 400;
    display: inline-block;
    transition: all .35s ease-in-out;
    text-decoration: none;
}

/* Container hover: turn links grey */
.project-link-container:hover .project-link {
    color: rgba(93, 92, 92, 0.5);
}

/* Link hover: override container hover with white */
.project-link-container:hover .project-link:hover {
    color: #ffffff;
}

.project-card {
    width: 51rem;
    min-height: 59rem;
    height: auto;
    border-radius: 2rem;
    padding: 3.3rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
	border: 1px solid white;
}

.project-card-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 80%;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.project-card-cta {
    width: max-content;
    color: white;
    background-color: transparent;
    border: 1px solid white;
    position: absolute;
    bottom: 7.5%;
    left: 5%;
    z-index: 3;
    opacity: 0;
    transition: all .3s ease-in-out forwards;
}

.project-card:hover .project-card-cta {
    opacity: 1;
}



.project-card-tag {
    font-size: 1.6rem;
    font-weight: 400;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: 0.1rem solid white;
}

.project-card-image {
    width: 100%;
    height: 40rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.project-card:hover .project-card-image {
    transform: translateY(-2rem);
}

.project-card-container {
    width: 100%;
    display: flex;
    position: relative;
    z-index: 3;
}

.bold {
    font-weight: 700;
}

.project-card-container:nth-of-type(odd) {
    justify-content: flex-start;
}

.project-card-container:nth-of-type(even) {
    justify-content: flex-end;
}

/* .project-card-container:nth-of-type(odd) .project-card {
    background-color: #36454F;
}

.project-card-container:nth-of-type(even) .project-card {
    background-color: #FF6F61;
} */

/* view our work */

.view-our-work {
    /* padding-top: 10rem; */
    padding-bottom: 12rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
    z-index: 4;
	width:50%;
	align-self:flex-end;
}

.view-our-work-title {
    font-size: 3.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.view-our-work-description {
    font-size: 2rem;
    color: #919191;
    margin-bottom: 3rem;
}



/* project cards overlay home */
.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);   
  z-index: 1; 
}


/* Mobile (below 768px) */
@media (max-width: 768px) {
    .projects {
/*         padding-top: 5rem; */
        padding-bottom: 5rem;
        row-gap: 10rem;
    }

    .projects-bg-sticky-img {
        background-position: right;
        transform: translateX(0%);
    }

    .projects-bg-sticky-overlay {
        background-color: rgba(0, 0, 0, 0.6);
    }

    .project-card {
        width: 40rem;
        max-width: 90%;
        height: auto;
        padding: 2rem;

    }

    .project-card-title {
        font-size: 2.5rem;
    }

    .project-card-cta {
        opacity: 1;
    }


    .project-card-tag {
        font-size: 1.4rem;
    }


    .project-card-container:nth-of-type(odd) {
        justify-content: center;
    }

    .project-card-container {
        /* position: sticky; */
        /* top: 15vh; */
        /* height: 70vh; */
    }


    .project-card-container:nth-of-type(even) {
        justify-content: center;
    }

    .projects-cards {
        row-gap: 75vh;
    }

    /* view our work */

    .view-our-work {
        padding-top: 6rem;
        padding-bottom: 6rem;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: relative;
        z-index: 4;
		width:100%;
    }

    .view-our-work-title {
        font-size: 2.5rem;
        font-weight: 400;
        margin-bottom: 1rem;
    }

    .view-our-work-description {
        font-size: 1.8rem;
        color: #919191;
        margin-bottom: 3rem;
    }
}

@media (max-width:767px){
	.project-link{
		color:#ffffff30 !important;
	}
}


