.cards-container{
    width: 80%;
    display: grid;
    margin: auto;
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 20px;
    margin-top: 50px;
}
.a_cards{
    overflow: hidden;
}
.a_card_head{
    color: white;
    background: #1b895d;
    justify-content: center;
    display: flex;
    align-items: center;
    border-radius: 5px;
    height: -webkit-fill-available;
    height: 120px;
    transition: height 0.5s ease;
}
.a_card_head span{
    padding: 10px 10px;
    border: 1px solid white;
    border-radius: 3px;
    font-weight: 600;
}
.a_card_bottom{
    display: flex;
    transform: translateY(100%);
    overflow: hidden;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}
.a_card_bottom a{
    color: #0f6d48;
    text-decoration: none;

}
.a_cards:hover .a_card_head{
    height: 80px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.a_cards:hover .a_card_bottom{
    display: flex;
    transform: translateY(0%);
    border: 1px solid #00be75;
    border-top: 0px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
@media only screen and (max-width: 850px){
    .cards-container{
    width: 90%;
    display: grid;
    margin: auto;
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 20px;
    margin-top: 30px;
}

}
@media only screen and (max-width: 730px){
    .cards-container{
    width: 90%;
    display: grid;
    margin: auto;
    grid-template-columns: auto auto auto;
    grid-column-gap: 20px;
}
}
@media only screen and (max-width: 500px){
    .cards-container{
    width: 95%;
    display: grid;
    margin: auto;
    grid-template-columns: auto auto;
    grid-column-gap: 20px;
    margin-top: 20px;
}
}