/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

/* Verspieltes & responsives Design */
body {
    margin: 0;
    padding: 2rem 0;
    font-family: 'Comic Neue', cursive, sans-serif;
    background: linear-gradient(to bottom right, #ffe0ec, #f7f0ff);
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .container {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
  }
  
  h1 {
    color: #ff4e7a;
    margin-bottom: 1rem;
  }
  
  h2 {
    margin-top: 2rem;
    color: #7d5fff;
  }
  
  .countdown {
    font-size: 1.5rem;
    margin: 1rem 0;
    background: #fff1f7;
    padding: 1rem;
    border-radius: 12px;
    border: 2px dashed #ffa0c2;
  }
  
  .calendar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
  }
  
  .calendar button {
    padding: 10px 16px;
    background-color: #ffd9ec;
    border: none;
    border-radius: 12px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .calendar button:hover {
    background-color: #ffc4e0;
  }

  /* Pre-Calendar Button (Vor der Reis) */
  .pre-calendar {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }

  .pre-calendar button {
    padding: 10px 16px;
    background-color: #ffd9ec;
    border: none;
    border-radius: 12px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 600px;
  }

  .pre-calendar button:hover {
    background-color: #ffc4e0;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 600px) {
    .container {
      padding: 1rem;
    }
    .calendar button {
      flex: 1 1 40%;
    }
  }
  
  @media screen and (min-width: 601px) {
    .calendar button {
      flex: 1 1 20%;
    }
  }

  .image-frame {
  width: 100%;
  max-width: 400px;       /* maximale Breite */
  height: 300px;          /* feste Höhe */
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* skaliert und schneidet passend */
  display: block;
}
.brief-image-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.brief-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Video Wrapper */
.video-wrapper {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-wrapper h2 {
  margin: 0 0 10px 0;
  padding: 0 20px;
  color: #7d5fff;
  text-align: center;
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Info Container */
.info-container {
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
  padding: 0;
  background: #fff8e1;
  border-radius: 20px;
  border: 2px dashed #ffa726;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  overflow: hidden;
}

.info-container h2 {
  margin: 0 0 15px 0;
  padding: 20px 20px 0 20px;
  color: #f57c00;
  font-size: 1.2rem;
}

.info-container p {
  margin: 0;
  padding: 0 20px 20px 20px;
  color: #5d4037;
  line-height: 1.5;
  font-weight: 500;
}

/* Popup */
.brief-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.brief-popup-content {
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: white;
  padding: 10px;
}

.popup-brief-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Button Styles */
.buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff4e7a, #7d5fff);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 200px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ff3d6b, #6b4cff);
}

/* Footer */
.footer {
  margin-top: 2rem;
  padding: 1rem;
  color: #ff4e7a;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
}

@media screen and (min-width: 600px) {
  .buttons {
    flex-direction: row;
    justify-content: center;
  }
}
