.cards{
    position: relative;
    width:100vh;
    margin:100px auto 0;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 20rem;
    grid-gap: 40px;
}
.cards .card{
    position: relative;
    /* background: #000; */
    overflow: hidden;
    border-radius: 10px;
    transition: .5s;
}
.cards .card:hover{
    transform: translateY(-10px);
    box-shadow: 0 20px 20px rgba(0,0,0,0.2);
}
.cards .card .img-box{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
}
.cards .card:hover .img-box{
    opacity: 0.5;
}

.cards .card .img-box img{
    width:100%;
}
.cards .card .content{
    position: absolute;
    width:100%;
    height: 60%;
    /* bottom: 0; */
    bottom: -100%;
    padding:20px;
    padding-top: 60px;
    box-sizing: border-box;
    text-align: center;
    transition: .5s;
}
.cards .card:nth-child(1) .content{
    background: linear-gradient(0deg, #c21833, transparent);
}
.cards .card:nth-child(2) .content{
    background: linear-gradient(0deg, #8012a5, transparent);
}
.cards .card:nth-child(3) .content{
    background: linear-gradient(0deg, #3a414c, transparent);
}

.cards .card:hover .content{
    bottom:0;
}

.cards .card .content h2{
    margin: 0 0 10px;
    padding:0;
    color:#fff;
    font-size: 20px;
}
.cards .card .content h2 span{
    color:#ffeb3b;
    font-size: 16px;
}
.cards .card .content p{
    margin: 0;
    padding:0;
    color:#fff;
    font-size: 16px;
}
.cards .card .content ul{
    display: flex;
    margin: 20px 0 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.cards .card .content ul li{
    list-style-type: none;
}
.cards .card .content ul li a{
    color:#fff;
    padding: 0 10px;
    font-size: 18px;
    transition: .5s;
}









