@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
:root{
    --primary-color:#fff;
    --secondary-color:rgb(20, 203, 108);
    --tertiary-color:#175a3a;
}
*{
   text-decoration: none;
   list-style-type:none ;
   font-family: 'Poppins', sans-serif;
   text-decoration: none;
}

.works{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    width: 100%;
    margin: auto;
}
.work img{
    width: 100%;
    height: 80%;

}
.work{
    text-align: center;
    background-color: rgb(248, 248, 248);
    background: linear-gradient(to right, #fbfbfb , rgb(241, 255, 241));
    margin: 1rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 4px 4px 4px 4px #f5f4f4;
}
.work i{
    color: var(--secondary-color);
    font-size: 2rem;
}
.heading{
    font-weight: bolder;
    color: #444;
    text-decoration: none;
}
.heading:hover{
    text-decoration: none;
}
.work p{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    color: #444;
    margin-top: 10%;
}

.work:hover{
    background: linear-gradient(to right, #97f385 , rgb(115, 170, 225));
    transition: ease-in-out .4s;
    text-decoration: none;
    transform: translateY(8px);
    color: var(--primary-color) !important;
}
.work i:hover{
    color: var(--primary-color);
}
a:hover{
  text-decoration: none;
}
@media only screen and (max-width: 800px) {
    .works{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        width: 100%;
        margin: auto;
    }
    .work img{
        width: 100%;
        height: 80%;
    
    }
    .work{
        text-align: center;
        background-color: rgb(248, 248, 248);
        background: linear-gradient(to right, #fbfbfb , rgb(241, 255, 241));
        margin: 1rem;
        padding: 2rem;
        border-radius: 8px;
        box-shadow: 4px 4px 4px 4px #f5f4f4;
    }
    .work i{
        color: var(--secondary-color);
    }
    .heading{
        font-weight: bolder;
    }
    .work p{
        display: flex;
        justify-content: space-between;
        width: 80%;
        margin: auto;
        color: #444;
        margin-top: 10%;
    }
    
}