main {
    margin: 2em;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    position: relative;

}

article {
    width: 30%;
    height: 100%;
    /* margin: 3%; */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    border-radius: 15%;
    overflow: hidden;
    cursor: pointer;

}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* max-height: 400px; */
    transition: filter 0.5s ease;
    z-index: -1;
}

.content {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.199);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    transition: transform 1s;
    justify-content: center;
    justify-items: center;
    width: 100%;
    z-index: 1;
    align-items: center;
    object-fit: cover;
    padding-bottom: 20px;
}


.content:hover {
    transform: translateY(-100%);
    transition: transform 1s;
}


.content h4 {

    margin: 5%;
    text-transform: uppercase;
    font-size: large;
    font-weight: bold;
    color: #b75a48;

}

.content p {
    display: none;
    margin: 5%;
    line-height: 1.5;
    font-size: smaller;
}

.content:hover p {
    display: flex;
    height: max-content;
}

.button {

    text-decoration: none;
    color: #f6f0e0;
    background-color: #D09064;
    padding: 10px 20px;
    text-transform: capitalize;
    font-size: large;
    font-weight: bold;

    border-radius: 50px;
    border: none;
}

/* button a {
    text-decoration: none;
    color: #f6f0e0;
    padding: 20px;
    text-transform: capitalize;
    font-size: large;
}

button {
    background-color: #D09064;
    margin: 20px;
    border-radius: 50px;
    border: none;
    padding: 10px;
} */

button:hover {
    background-color: #f6f0e0;

}

button:hover a {
    color: #D09064;
}

@media only screen and (max-width: 700px) {

    main {
        display: block;
        height: 100%;
    }

    article {

        width: 100%;
    }



}

/* @media screen and (hover: hover) and (pointer: fine) {
    .content:hover {
        transform: translateY(-100%);
        transition: transform 1s;
    }

    .content:hover p {
        display: flex;
        height: max-content;
    }
} */