*{
    font-family: 'vazir';
}
/* Flip card container */
.flip-card-container {
    perspective: 1500px;
}

/* Flip card styling */
.flip-card {
    width: 220px;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.7s ease-in-out;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

/* Flip on hover */
.flip-card-container:hover .flip-card {
    transform: rotateY(180deg);
    margin-right: 20px;
    
}

/* Card front and back */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
}

.flip-card-back a{
    text-decoration: none;
}

/* Front card design */
.flip-card-front {
    background: linear-gradient(135deg, #1e90ff, #ff6347);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flip-card-front h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.flip-card-front p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Back card design */
.flip-card-back {
    background: lightsteelblue;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: rotateY(180deg);
}

.like{
    width: 2rem;
    height: 2rem;
    border-radius: 45px;
    position: fixed;
    left: 20px;
    top: 20px;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: red;
    transition: 0.5s;
}
.like svg{
    display: flex;
}
.like:hover{
    background-color: white;
    cursor: pointer;

}

svg:hover{
    fill: red;
    cursor: pointer;
}

.flip-card-back h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.flip-card-back p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}

/* Button styling */
.flip-card-back .button {
    background: #1e90ff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.flip-card-back .button:hover {
    background-color: white;
    color: #1e90ff;
    transition: 0.7s;
}