.projectsSection {
    margin-top: 4rem;
    margin-left: 6rem;
    margin-right: 6rem;
}

.projectsHeading {
    text-align: center;
    background-color: transparent;
    font-weight: bolder;
    text-shadow: 
        0px 0px 10px cyan,
        0px 0px 10px cyan,
        0px 0px 10px cyan; 
}

.project-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
}
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(10px); 
    z-index: -1; 
    border-radius: inherit; 
}

.project-card:nth-child(1)::before {
    background-image: url('../images/projectCard2.jpg');
}

.project-card:nth-child(2)::before {
    background-image: url('../images/projectCard1.jpg');
}

.project-card:nth-child(3)::before {
    background-image: url('../images/projectCard4.jpg');
}

.project-card:nth-child(4)::before {
    background-image: url('../images/projectCard5.jpg');
}

.project-card:nth-child(5)::before {
    background-image: url('../images/projectCard3.jpg');
}

.project-card:nth-child(6)::before {
    background-image: url('../images/projectCard6.jpg');
}
.projectCardHeading{
    padding-left: 2rem;
    padding-right: 2rem;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 1rem;
}




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

.project-card:hover .projectCardHeading {
    display: none;
    backdrop-filter: blur(10px);
}


.github-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 1rem;
    background-color: transparent;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0.5rem;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px); 
    transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease;
    margin-top: 1rem;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    border-width: 2px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 
                 0 0 10px rgba(0, 204, 255, 0.7), 
                 0 0 15px rgba(0, 204, 255, 0.5);
}

.github-button .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.github-button .arrow i{
   color: white;
   font-size: small;
   margin-left: 0.2rem;
}


.project-card:hover .github-button {
    opacity: 1;
    transform: translateY(0); 
}



.project-card:hover .github-button {
    opacity: 1; 
}

.project-card:hover .github-button:hover{
    background-color: rgba(0, 204, 255);
    border-color: rgba(0, 204, 255, 0.7); 
    color: #0e0c18;
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.5); 
    transform: translate3d(0, 2px, 0);
    font-weight: normal;
}

.project-card:hover .github-button:hover i{
    color: black;
}

@media (max-width: 600px) {
    .projectsSection {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .projectsHeading {
        -webkit-text-stroke: 0.5px  rgb(2, 80, 80); 
    }
    .project-card {
        height: 200px; 
        width: 100%; 
        margin-bottom: 0rem; 
    }
    .github-button {
        font-size: 0.8rem; 
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .projectsSection {
        margin-left: 2rem;
        margin-right: 2rem;
    }
    .project-card {
        height: 250px; 
        width: 100%; 
        margin-bottom: 2rem; 
    }
    .github-button {
        font-size: 0.9rem; 
    }
}


