
@import "./common.css";

/* @import '/css/about_me.css'
@import '/css/hero.css'
@import '/css/services.css' */

/*project section*/

#projects .projects{
    flex-direction: column;
    max-width: 1300px;
    margin: 0 auto;
    /* padding: 50px 0; */
}

#projects .project-header h1{
    margin-bottom: 50px;
    /* padding: 10px; */
}

#projects .all-projects{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#projects .project-item{
    display: flex;
    /* background: red; */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    /* position: relative; */
}

#projects .project-info{
    padding: 30px;
    flex-basis: 50%;
    height: 100%;
    /* background-color: rgb(157, 207, 255); */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column; 
    background-image: linear-gradient(60deg,#29323c 0%, #485563 100%);
    color: white;
}
#projects .project-info h1{
    font-size: 4rem;
    font-weight: 500;
}
#projects .project-info h2{
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 10px;
}

#projects .project-img{
    flex-basis: 50%;
    height: 300px;
    overflow: hidden;
    position: relative;
    /* z-index: 1; */
}

#projects .project-img:after{
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(60deg,#29323c 0%, #485563 100%);
    height: 100%;
    width: 100%;
    opacity: 0.7;
    /* z-index:-1; */

}
#projects .project-item .project-img:hover img {
    transform: scale(1.2);
    transition:  0.5s ease-in-out transform;
}


/* project section ends */
