/* Allgemeine Stildefinitionen */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.dynamic-header {
  position: sticky; /* This is the key property for sticky behavior */
  top: 0; /* This ensures the header sticks to the top of the viewport */
  z-index: 1000; /* Ensures the header stays above other content */
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #111;
  color: #ddd;
  line-height: 1.6;
}

main {
    padding: 0 20px;
  }

.cs-intro {
    text-align: center;
    margin-bottom: 40px;
}

.cs-intro h1 {
    color: #fe6e00;
    margin-bottom: 15px;
}

p.absatz {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

/* CSS for the CS Content */
.cs-Container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust the gap between cards as needed */
  margin: 10px 0px;
}

.card {
  width: 300px;
  min-height: 500px; /* Set a minimum height */
  outline: 2px solid #fe6e00; /* Example: Black outline with 2px thickness */
  outline-offset: -2px; /* Adjust the offset if needed */
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation für den Hover-Effekt */
}

@media (max-width: 600px) {
  .card {
    width: 100%;    
    min-height: 600px; /* Set a minimum height */
  }
}

.card-inner {
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-front {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

.card-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

a.view-stats {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}
a.view-stats:hover {
  background-color: #0056b3;
}