:root {
  --primary-color: #aa076b;
  --secondary-color: #61045f;
}

body,h2,h3,h4,h5,h6 {font-family: "Montserrat", sans-serif;}
h1 {font-family: 'Lobster', cursive; text-shadow: 2px 2px var(--secondary-color);}
h2 {background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
    /* Nach oben rücken */
    margin-top: -20px;
    /* Textfarbe */
    color: #ffffff; /* weiße Textfarbe, damit der Text lesbar ist */
    -webkit-background-clip: text; /* Hinzufügen des Farbverlaufs nur auf den Text */
    -webkit-text-fill-color: transparent; /* Transparente Textfarbe, um den Farbverlauf durchzulassen */
}


body, html {
  height: 100%;
  color: #0c0c0c;
  line-height: 1.8;
  font-size: 16px;
}

#myNavbar{
  font-size: 12px;
  color: white;
  background: linear-gradient(to left, var(--secondary-color), var(--primary-color));
  z-index: 2000;
}
#buchen{
  font-family: "Lobster", cursive;
  color: white;
}
#map {
  width: 100%;
  height: 400px;
        }

hr {
  height: 2px;
  border: none;
  background: linear-gradient(to right, white, var(--secondary-color), var(--primary-color), white);
}
  
#footer {
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
}
#navDemo {
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
  color: white;
}
     

/* Create a Parallax Effect */
.bgimg-1 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
  background-image: url('../fotos-webseite/zwickau-ferienwohnung-unterkunft.jpg');
  min-height: 100%;
}

.w3-wide {letter-spacing: 10px;}
.w3-hover-opacity {cursor: pointer;}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1600px) {
  .bgimg-1 {
    background-attachment: scroll;
    min-height: 100%;
  }
}

/* BOOKING FORM  */


#booking-form {
  font-family: "Montserrat", sans-serif;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
  background-color: rgba(249, 249, 249, 0.5);
  border-radius: 5px;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
  padding: 20px;
}

#booking-form label {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0px;
}

#booking-form input[type="text"] {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  box-shadow: none;
  width: 100%;
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
  display: block;
}

#booking-form input[type="text"]:focus {
  outline: none;
  border-color: var(--primary-color);
}

#check-in {
  color: var(--secondary-color);
  width: 45%;
  margin-right: 10%;
  background-image: url("https://img.icons8.com/material-outlined/24/333333/calendar-plus.png");
  background-position: 15px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

#check-out {
  color: var(--secondary-color);
  width: 45%;
  background-image: url("https://img.icons8.com/material-outlined/24/333333/calendar-plus.png");
  background-position: 15px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

#submit {
  display: block;
  margin: 20px auto 0px auto;
  background-color: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

#submit:hover {
  background-color: #222;
}


/* Stil für den Rahmen */
#booking-form input[type="text"]:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid #ccc;
  border-radius: 5px;
}

/* Neue Positionierung des Labels */
#booking-form label[for="check-in"] {
  float: left;
  clear: both;
  width: 45%;
}

#booking-form label[for="check-out"] {
  float: left;
  clear: both;
  width: 45%;
}

/* Stil für das Personen-Dropdown */
#booking-form select {
  width: 45%;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  box-shadow: none;
  font-size: 16px;
  text-align: center;
  margin-bottom: 20px;
  display: -ms-inline-grid;
}

#booking-form label[for="persons"] {
  float: left;
  clear: both;
  width: 100%;
}


.TextBoxBelegt {
  background-color: white;
  border-radius: 10px;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  white-space: pre-wrap;
  max-width: 100%;
  letter-spacing: normal; /* Setzt den Abstand zwischen den Buchstaben auf normal /
  zoom: 1.2; / Fügt einen Zoom-Effekt hinzu */
  }





/* Stil für die Ferienwohnungen */
/* CSS für die Ferienwohnungsauswahl */
/* Auswahl der Ferienwohnung */

.wohnungen-container a {
  text-decoration: none;
  text-align: left;
}

#ferienwohnung-auswahl .wohnungen-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#ferienwohnung-auswahl .wohnungen-container a {
  display: block;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 5px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease-in-out;
}

#ferienwohnung-auswahl .wohnungen-container a:hover {
  border-color: #ccc;
  cursor: pointer;
}

#ferienwohnung-auswahl .wohnungen-container a.selected {
  border-color: var(--primary-color);
  color: var(--primary-color);
}



/* BILDER */

/* Setze die Höhe des großen Bildes auf die Höhe des kleinen Bildes */
#wohnungsbilder-container {
  display: grid;
  grid-template-columns: 7fr 6fr 6fr;
  grid-template-rows: auto auto;
  grid-gap: 10px;
  height: 60vh; /* set the container height to 80% of the viewport height */
}

.wohnungsbild {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.spalte1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  height: 100%;
}

.spalte2 {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.spalte3 {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.oberes-bild {
  grid-row: 1 / 2;
}

.unteres-bild {
  grid-row: 2 / 3;
  margin-bottom: 0;
}

/* Buchungsbestaetigung */
.fertig-button {
  background-color: var(--primary-color);
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.fertig-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.fertig-button:active {
  transform: translateY(1px);
}


/* Die Modalbox soll im Zentrum des Bildschirms angezeigt werden */
.modalapprove {
  display: none; /* Die Modalbox ist standardmäßig ausgeblendet */
  position: fixed; /* Positionierung festlegen */
  z-index: 9999; /* Die Modalbox sollte über anderen Inhalten angezeigt werden */
  left: 0;
  top: 0;
  width: 100%; /* Breite auf 100% setzen */
  height: 100%; /* Höhe auf 100% setzen */
  overflow: auto; /* Scrollbar hinzufügen, falls der Inhalt größer als das Fenster ist */
  background-color: rgba(0, 0, 0, 0.4); /* Hintergrundfarbe hinzufügen, um den Rest der Seite zu verdunkeln */
}

/* Stil der Modalbox-Inhalte */
.modalapprove-content {
  background-color: #fff;
  margin: 10% auto; /* 10% von der Oberseite und horizontal zentrieren */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  width: 90%; /* Breite auf 90% setzen */
  text-align: center;
  position: relative;
  font-size: 16px; /* Schriftgröße auf 16px setzen */
}


/* Stil für den Schließen-Button */
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Stil für den Textinhalt */
#modal-text {
  font-size: 18px; /* Schriftgröße auf 18px setzen */
  margin-bottom: 20px;
  line-height: 1.5;
}

#modal-text h2 {
  font-size: 24px; /* Schriftgröße auf 24px setzen */
  margin-bottom: 10
}

/* Konfettiregen */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #f06;
  animation: fall 2s linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}