/* Basis-Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

#countdown {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.timeline p {
  background: rgba(255,255,255,0.8);
  padding: 10px;
  margin: 10px auto;
  border-radius: 10px;
  max-width: 500px;
}

/* Body alt
body { 
  background: url('hochzeit_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  background: #f7f3f0;
  text-align: center;
  color: #000; 
} 
*/

/* Body mit Hintergrundbild 
body {
  background: url("images/Blumen.jpeg") no-repeat center center;
  background-size: cover;
  text-align: center;
  color: #000;
  min-height: 100vh;
}
*/

/* Body mit festem Hintergrundbild */
body {
  background-image: url("images/Blumen.jpeg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;     /* füllt den Bildschirm aus, ohne das Seitenverhältnis zu verzerren */
  background-attachment: fixed; /* Hintergrund bleibt beim Scrollen fixiert */
  color: #000;
  text-align: center;
  min-height: 100vh;          /* stellt sicher, dass der Body mindestens die Höhe des Bildschirms hat */
  margin: 0;
}




/* Container */
.container {
  background: rgba(255, 255, 255, 0.9);
  max-width: 1200px;   
  width: 90%;         
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
}



/* Überschrift */
h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333; /* Überschrift schwarz */
  line-height: 1.2; /* damit die Zeilen nicht zu weit auseinander stehen */
}

/* Buttons */
button, a.button {
  background-color: #f7c59f; 
  color: #000000;
  border: none;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

button:hover, a.button:hover {
  background-color: #f4a261;
}

/* Input */
input[type="password"] {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  width: 80%;
  max-width: 300px;
}

/* Status Text */
#passwordStatus {
  margin-top: 10px;
  color: red;
}

/* Galerie */
.gallery {
  display: grid;
  gap: 10px;
  margin-top: 20px;

  /*  so viele Spalten wie passen aber mindestens ...px */
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.gallery > div {
  width: 100%;
}

.gallery img,
.gallery video {
  width: 100%;           
  aspect-ratio: 1 / 1;   
  object-fit: cover;     
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Download-Button unter jedem Bild */
.gallery a {
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: #4a90e2; /* Download-Button Farbe */
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: 4px;
  font-size: 0.9rem;
}

