/*CSS bestimmt WIE etwas angezeigt wird*/

body {
    font-family: sans-serif;
    background-image: url("himmel.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
  }
  
  h1 {
    margin-top: 50px;
    text-shadow: 2px 2px 4px #000000;
  }
  
  .countdown-container {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
  }
  
  .time-block {
    text-align: center;
    min-width: 80px;
  }
  
  .label {
    font-size: 1.2em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px #000000;
  }
  
  /* Flip-Card Design */
  .flip-card {
    position: relative;
    width: 80px;
    height: 100px;
    perspective: 1000px; /* nötig für 3D Flip */
  }
  
  .flip-card .top,
  .flip-card .bottom {
    position: absolute;
    width: 100%;
    height: 100%;
    font-size: 3em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 2px 2px 6px #00000066;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden; /* Rückseite verstecken */
    transition: transform 0.5s ease;
  }
  
  /* Wenn sich die Zahl ändert, klappen wir nach vorne */
  .flip-card .top.flip {
    transform: rotateX(-180deg);
  }
  
  .flip-card .bottom.flip {
    transform: rotateX(0deg);
  }

  @media (max-width: 768px) {
    .countdown-container {
      flex-direction: column; /* Statt nebeneinander jetzt untereinander */
      align-items: center;
      gap: 20px;
    }
  
    .flip-card {
      width: 60px;
      height: 80px;
    }
  
    .flip-card .top,
    .flip-card .bottom {
      font-size: 2em; /* Weniger riesig auf Handy */
    }
  }