


 .kachel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Kacheln */
  }

  .kachel {
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden; /* Verhindert, dass Bilder über die Kachelränder hinausragen */
    text-align: center;
    transition: transform 0.3s ease; /* Sanfte Animation beim Hovern */
  }

  .kachel:hover {
    transform: scale(1.05); /* Kachel vergrößert sich leicht beim Hovern */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatteneffekt beim Hovern */
  }

  .kachel img {
    width: 100%;
    height: 150px; /* Feste Höhe für die Bilder */
    object-fit: cover; /* Bild wird so skaliert, dass es die Kachel ausfüllt */
  }

  .kachel a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
  }

.kachel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.kachel-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kachel-icon {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 5px;
}


.titel {
  align-self: flex-end;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  color: green;
}


.kachel-year {
  align-self: centre;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  color: green;
}


/* für große Monitore */
@media only screen and ( min-width: 950px ) {
   .kachel {
   width: 400px;

   }

}

/* für Smartphone */
@media only screen and ( max-width: 440px ) {
    .kachel {
    width: 150px;

    }


}

/* für Tablet */
@media only screen and ( min-width: 440px ) and ( max-width: 950px ) {
    .kachel {
    width: 300px;


    }


}
