.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  /* Remove this if you don't want the 3D effect */
}

ul {
  list-style-type: none;
  gap: 55px;
  display: flex;
  flex-direction: row;
  justify-self: center;
  padding-top: 10px;
}

/* 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 .flip-card-inner.flipped{
  transform: rotate3d(1, 1, 0, 525deg) scale(1.15);
}

.flip-card-inner:hover {
  transform: rotate3d(1, 1, 0, 15deg);
}

.flip-card-text{
  justify-content: top;
}

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

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #834dc4;
  color: black;
}

/* Style the back side */
.flip-card-back {
  color: white;
  transform: rotate3d(1, 1, 0, 540deg);
}

#ribir{
  background-color: #834dc4;
}

#oscar{
  background-color: #cc425e;
}

#victor{
  background-color: #5ba675;
}

#silva{
  background-color: #6d80fa;
}