* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(193deg, rgba(97, 220, 251, 1) 0%, rgba(93, 255, 90, 1) 100%);
}

.card {
    position: relative;
    width: 350px;
    height: 190px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0, 0, .15);
    transition: .5s;

    & .content {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;

        & .details {
            padding: 40px;
            text-align: center;
            width: 100%;
            transition: .5s;
            transform: translateY(150px);
            
            & h2 {
                font-size: 1.25em;
                font-weight: 600;
                color: #555;
                line-height: 1.2em;

                & span {
                    font-size: .75em;
                    font-weight: 500;
                    opacity: .5;
                }
            }

            & .data {
                display: flex;
                justify-content: space-evenly;
                margin: 20px 0;

                & h3 {
                    font-size: 1em;
                    color: #555;
                    line-height: 1.2em;
                    font-weight: 600;

                    & span {
                        font-size: .85em;
                        font-weight: 400;
                        opacity: .5;
                    }
                }
            }

            & .btns {
                display: flex;
                justify-content: space-between;

                & a{
                    text-decoration: none;
                    color: #fff;
                }

                & button {
                    padding: 10px 30px;
                    border-radius: 5px;
                    border: none;
                    outline: none;
                    font-size: 1em;
                    font-weight: 500;
                    background: #FF865A;
                    cursor: pointer;
                }

                & button:nth-child(2) {
                    border: 1px solid #999;
                    color: #999;
                    background: #fff;

                    & a{
                        color: #999;
                    }
                }
            }
        }
    }
}

.card:hover {
    height: 450px;
}

.card:hover .content .details{
    transform: translateY(0px);
}

.imgBox {
    position: absolute;
    left: 50%;
    top: -50px;
    transform: translateX(-50%);
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .35);
    overflow: hidden;
    transition: .5s;

    & img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.card:hover .imgBox {
    height: 250px;
    width: 250px;
}