/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
main > ul > li {
    /* background-color: transparent; */
    /* perspective: 1000px; for the 3d effect */
}

main div > ul > li > a {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s ease 0.6s;
    /* transform-style: preserve-3d; */
    border-radius: 10px;
}
main > ul > li > a img {
    /* width: 100%;
    height: 100%;
    position: absolute; */
}
main > ul > li > a p {
    /* z-index: 2; */
}
main > ul > li:hover > a{
    /* transform: rotateY(180deg); */
}

/* .flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden;
} */

/* .flip-card-front {
    background-color: white;
    color: black;
    border-radius: 10px;
    z-index: -20;
}

.flip-card-back {
    background-color: rgb(255, 255, 255);
    color: black;
    transform: rotateY(180deg);
    border-radius: 10px;
} */

/* https://www.w3schools.com/howto/howto_css_flip_card.asp */