body {
  background-color: #809481;

}

main  {
  margin: 2em 2em; /* Fügt oben und unten einen Abstand hinzu */
  padding: 0;
}
h1, h2 {
   text-align: center;
   margin: 0;
}

h1 {
  font-family: 'Jomhuria';
  font-size: 6vw;
  color: white;
}

h2 {
  font-family: 'League Script', cursive;
  font-size: 4vw;
  color: white;
}

h3 {
   font-family: 'Jomhuria';
   font-size: 3vw;
   color: #3E5642;
   text-align: center;
 }

 h4 {
  font-family: 'League Script', cursive;
  font-size: 2vw;
  color: #3E5642;
}

p {
  font-family: 'Jomhuria';
  font-size: 2vw;
  color: #3E5642;
}

.bottom{
  padding-top: 4em;
}

#snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Verhindert, dass die Schneepunkte Interaktionen blockieren */
  z-index: -1; /* Schneepunkte sollen über allen anderen Inhalten liegen */
}

.snowflake {
  position: absolute;
  top: -10px; /* Startet knapp außerhalb des Sichtbereichs */
  color: white; /* Farbe der Schneepunkte */
  font-size: 11px; /* Größe der Punkte */
  opacity: 0.8; /* Halbtransparent für einen realistischen Effekt */
  animation: fall linear infinite; /* Endlosschleifen-Animation */
}

@keyframes fall {
  0% {
    transform: translateY(-10px) translateX(0); /* Beginnt oben */
  }
  100% {
    transform: translateY(100vh) translateX(0); /* Fällt nach unten */
  }
}


.liegenderSchnee{
  width: 100%;
}

 .dach {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 60%;
  margin: 0 auto; /* Zentriert die gesamte Dach-Komponente */
  position: relative;
}

.dach img {
  width: 100%; /* Passt das Bild an die maximale Breite an */
  height: auto; /* Erhält die Seitenverhältnisse */
  display: block;
}

.text-overlay {
  position: absolute;
  text-align: center;
  top: 50%; /* Positioniert vertikal in der Mitte */
  left: 50%; /* Positioniert horizontal in der Mitte */
  transform: translate(-50%, -50%); /* Zentriert den Text genau */
}

.text-overlay h1 {
  font-size: 3em; /* Passe die Schriftgröße nach Bedarf an */
  color: white; /* Textfarbe - passe an dein Design an */
  margin-top: 2.5em;
}

.text-overlay h2 {
  font-size: 5em; /* Passe die Schriftgröße nach Bedarf an */
  color: white; /* Textfarbe - passe an dein Design an */
  margin: 0;
}


.house {
   display: grid; /* Use CSS Grid */
   grid-template-columns: repeat(4, 1fr); /* 4 columns */
   grid-template-rows: repeat(6, 1fr);   /* 6 rows */
   gap: 1vw; /* Add spacing between the doors */
   justify-content: center;
   align-items: center;
   margin: 1vw auto;
   max-width: 60%; /* Optional: to center content and keep it responsive */
}

.door {
  border: 10px solid #3E5642; /* Randfarbe */
  background-color: #809481; /* Tür Hintergrundfarbe */
  height: 11.5vw;
  width: 11.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Jomhuria', sans-serif;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0); /* Setze den Schatten auf undurchsichtige Farbe */
  opacity: 1; /* Vollständig sichtbar */
}



.door:hover {
  background-color: #A9BA9D;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}


