/* From Uiverse.io by joe-watson-sbf */ 
.flip-card {
    background-color: transparent;
    width: 190px;
    height: 254px;
    perspective: 1000px;
    font-family: sans-serif;
  }
  
  .title {
    font-size: 1.5em;
    font-weight: 900;
    text-align: center;
    margin: 0;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    box-shadow: 0 8px 14px 0 rgba(0,0,0,0.2);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 1rem;
  }
  
  .flip-card-front {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.596) 60%, rgba(71, 166, 255, 0.411) 88%,
       rgb(255, 211, 195) 40%, rgba(71, 166, 255, 0.411) 48%);
    color: rgb(0, 0, 0);
  }
  
  .flip-card-back {
    background: linear-gradient(120deg, rgb(145, 211, 255) 30%, rgb(255, 255, 255) 88%,
       bisque 40%, rgb(255, 255, 255) 78%);
    color: white;
    transform: rotateY(180deg);
  }

  .circle-btn {
    width: 40px; /* Größe des Buttons */
    height: 40px;
    border-radius: 50%; /* Kreisrunde Form */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #ffffff; /* Farbe des Rands */
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.circle-btn img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

/* Hover-Effekt */
.circle-btn:hover {
    background-color: #94c8ff; /* Hintergrundfarbe ändern */
    border-color: #ffffff; /* Rand dunkler */
    transform: scale(1.1); /* Button vergrößern */
}

.circle-btn:hover img {
    transform: rotate(360deg) scale(1.1); /* Bild leicht drehen und vergrößern */
}

  .card-container {
    display: flex;
    flex-wrap: wrap; /* Erlaubt das Umbruch in die nächste Zeile */
    gap: 10px; /* Abstand zwischen den Karten */
    justify-content: flex-start; /* Karten von links anordnen */
}

.card {
    background: lightgray;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    min-width: 150px; /* Mindestens so breit */
    max-width: 200px; /* Maximal so breit */
    text-align: center;
}
