/* Animation inspired by  https://prismic.io/blog/css-hover-effects#9-rotating-cube CSS Hover Effects: */
/* Hologram effect */
.holographic-card {
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(0, 174, 255, 0.5)
    );
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.holographic-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 174, 255, 0.5);
}

.holographic-card:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translateY(100%);
}
/* End of the hologram effect */


/* Flip card animation */
.card {
    background-color: transparent;
    border: transparent;
    margin: 100px auto;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 10px; */
}

.card-back {
    background-color: #3a2a81;
    height: 100%;
    transform: rotateY(180deg);
}
/* End of flip card animation */