
/* flip card */
.flip-card {
    background-color: transparent;

    height: 5rem;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    cursor: pointer;
    padding: 1px;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    border-radius: 25px;
    /* padding: 1em; */
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    text-align:center;
    display: flex;                 /* Add this */
    justify-content: center;      /* Horizontally center */
    align-items: center;          /* Vertically center */
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: #fefdfd;
    color: rgb(93, 91, 91);
    border-style: dashed;
    border-color: gray;
    border-width:thin;
}

/* Style the back side */
.flip-card-back {
    display: flex;
    align-items: center;
    background-color: #bbb;
    color: black;
    transform: rotateY(180deg);
}
/*.flip-card-front:hover, .flip-card-back:hover{*/
/*    background-image: linear-gradient(135deg, #3374C2, purple);*/
/*}*/

.ico-modul{
    color: white;
    margin: 0.9rem;
}
.link-serviciu:hover{
    text-decoration: none;
}