* {

    box-sizing: border-box;
   
  }
  
  body {
  font-family: 'Roboto', sans-serif;
  overflow: hidden; /* Verhindert Überlauf */
  touch-action: manipulation;
  height: 100vh;
  user-select: none; /* Für moderne Browser */
  -webkit-user-select: none; /* Für Safari */
  -moz-user-select: none; /* Für Firefox */
  -ms-user-select: none; /* Für Internet Explorer/Edge */
  }
  .no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  

  .desktop-only {
    display: none;
  }
  .show-on-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:white; /* Halbtransparentes schwarzes Overlay */
    color: #51cf66;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Stellt sicher, dass es oben angezeigt wird */
    text-align: center;

}

@media (orientation: landscape) {
    .show-on-mobile {
        display: flex; /* Wird im Querformat sichtbar */
    }
}
  /* Elemente ab einer bestimmten Breite (z.B. 768px) anzeigen */
  @media (min-width: 768px) {
    .desktop-only {
      display: block;
    }
  }
  .mobile-only {
    display: none;
  }

  /* Für kleinere Geräte (maximale Breite z.B. 767px) sichtbar machen */
  @media (max-width: 767px) {
    .mobile-only {
      display: block;
    }
  }
 /* Highlight für das Trinkgeld dieser Woche */
 .highlighted-tip {
  background-color: #51cf66; 
  padding: 20px;
  border-radius: 12px;
  color: white;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 }

/* Darstellung des wöchentlichen Trinkgelds */
.week-tip {
  font-size: 24px; /* Groß und auffällig */
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap; /* Verhindert Umbrüche */
}

.week-tip-label {
  font-size: 20px; /* Etwas kleinerer Text für die Beschriftung */
  margin-right: 10px; /* Abstand zum Betrag */
}

.week-tip-amount {
  font-size: 32px; /* Noch größerer Betrag */
  animation: tipAnimation 1.5s ease-in-out infinite; /* Animation für Motivation */
  white-space: nowrap; /* Verhindert Umbrüche innerhalb des Betrags */
}

/* Animation für das wöchentliche Trinkgeld */
@keyframes tipAnimation {
  0%, 100% {
    transform: scale(1);
    color: white;
  }
  50% {
    transform: scale(1.1);
    color: #ff6b6b;
  }
}

/* Highlight für das Gesamtergebnis */
.highlighted-total {

  color:  #2ecc71;
  text-align: center;
}

/* Darstellung des gesamten Trinkgelds */
.total-tip {
  font-size: 20px; /* Kleinere Schriftgröße */
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.total-tip-label {
  font-size: 18px; /* Etwas kleiner als wöchentliches Label */
  margin-right: 10px;
}

.total-tip-amount {
  font-size: 26px; /* Größere Schrift für den Betrag */
  color:  #2ecc71; /* Weiß bleibt für Kontrast */
}

/* Tabelle für das gesamte Trinkgeld */
.tip-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  table-layout: fixed;
}

.tip-table td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.tip-table td:first-child {
  font-weight: bold;
}

        @keyframes fadeOut {
            0% { opacity: 1; }
            100% { opacity: 0; visibility: hidden; }
        }

#card-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-preview-overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100vw;
    height: 100vh;

    align-items: center;
    z-index: 10000;
    text-align:center;
  }
  .card {
    position: absolute;
    width: 90%;
    height: 85%;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    justify-content: space-between; /* Verteilt die Buttons gleichmäßig */
    
  }
  
  .card img {
    width: 100%;
    height: auto;
    min-height: 55%;
    object-fit: contain;
    border-radius: 0; /* Kein Radius, da das Bild unter dem Button angezeigt wird */
   /* margin-top: 60px; /* Abstand zum oberen Button (optional) */
  }
  .container {
    -webkit-justify-content: center;
    justify-content: center;
    align-items: center; /* Optional, um die Elemente auch vertikal zu zentrieren */
   
  }
.card .schrift{
  width:100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  .card h4 {
    font-size: 1em;
    color: #5e5c5c;
  }
  .card h3 {
    font-size: 1.3em;
    color: #333;
    font-weight: bold;
  }
  .card .description {
      font-size: 1em;
      color: #555;
      height: 20%; 
  }


@keyframes swipeAnimation {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}
@keyframes waterfallFlicker {
  0% {
    opacity: 1;
    background: linear-gradient(to top, #28a745, rgba(40, 167, 69, 0.3));
  }
  25% {
    opacity: 0.9;
    background: linear-gradient(to top, #34d058, rgba(52, 208, 88, 0.5));
  }
  50% {
    opacity: 1;
    background: linear-gradient(to top, #28a745, rgba(40, 167, 69, 0.3));
  }
  75% {
    opacity: 0.8;
    background: linear-gradient(to top, #28b745, rgba(50, 175, 70, 0.4));
  }
  100% {
    opacity: 1;
    background: linear-gradient(to top, #28a745, rgba(40, 167, 69, 0.3));
  }
}

.card a.btn {
  position: absolute;
  bottom: 0; 
  left: 20%;
  right: 20%;
  width: 60%; /* Jeder Button nimmt 30% der Breite ein */
  padding: 20px 0;
  font-size: 1.2em;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.3) 0%, #28a745 50%, rgba(40, 167, 69, 0.3) 100%);
  background-size: 200% 100%; /* Verdoppelt die Größe für einen Wischeffekt */
  animation: swipeAnimation 2s infinite; /* Animation mit 2 Sekunden Dauer */
}
.card a.btn-right {
  position: absolute;
  bottom: 0; 
  right: 0;
  width: 20%; /* Jeder Button nimmt 30% der Breite ein */
  padding: 21px 0;
  font-size: 1.1em;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(to top, #2848a7, rgba(44, 40, 167, 0.3)); 
}
.card a.btn-left {
  position: absolute;
  left:0;
  bottom: 0; 
  width: 20%; /* Jeder Button nimmt 30% der Breite ein */
  padding: 20px 0;
  font-size: 1.2em;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  background: #ff6b6b;
}
.card a.btn,
.card a.btn-right,
.card a.btn-left {
    line-height: 1; /* Setze eine kompakte Zeilenhöhe */
    flex-shrink: 0;
    display: block;
    outline: none;
}
/*
.card a.btn {
  position: absolute;
  bottom: 0; 
  left: 20%;
  right: 20%;
  width: 60%;
  padding: 20px 0;
  font-size: 1.2em;
  color: white;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(90deg, rgba(40, 167, 69, 0.3) 0%, #28a745 50%, rgba(40, 167, 69, 0.3) 100%);
  background-size: 200% 100%; 
  animation: swipeAnimation 2s infinite; 

}
.card a.btn-right {
  position: absolute;
  bottom: 0; 
  right: 0;
  width: 20%;
  padding: 18px 0;
  background: linear-gradient(to top, #2848a7, rgba(44, 40, 167, 0.3)); 
  color: white;
  text-decoration: none;
}
.card a.btn-left {
  position: absolute;
  bottom: 0; 
  left: 0;
  width: 20%;
  padding: 18px 0;
  background: #ff6b6b; 
  color: white;
  text-decoration: none;
}
*/

.card a.btn-right-g {
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(50% - 1px); /* Breite reduzieren, um Platz für den Abstand zu schaffen */
  padding: 14px 0;
  font-size: 1em;
  background: #2c2c2d;
  color: white;
  text-decoration: none;
  margin-left: 1px; /* Weißer Abstand auf der linken Seite */
}

.card a.btn-left-g {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(50% - 1px); /* Breite reduzieren, um Platz für den Abstand zu schaffen */
  padding: 14px 0;
  font-size: 1em;
  color: white;
  background: #2c2c2d;
  text-decoration: none;
  margin-right: 1px; /* Weißer Abstand auf der rechten Seite */
}


.card a.btn-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  padding: 20px 0;
  background: linear-gradient(to bottom, #ff6b6b,#ffebeb);
  font-size: 1em;
  color: white;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 2; /* Stellt sicher, dass der Button über dem Bild liegt */
}



  .card.swipe-left {
    transform: translateX(-200vw) translateY(100vh) rotate(-45deg);
    transition: transform 1s ease-out;
  }
  
  .card.swipe-right {
    transform: translateX(200vw) translateY(100vh) rotate(45deg);
    transition: transform 1s ease-out;
  }

 
  @keyframes swipeHint {
    0% {
      transform: translateX(0) rotate(0);
      background-color: #ffffff;
    }
    25% {
      transform: translateX(100px) rotate(15deg);
      background-color: #51cf66; /* Grün */
    }
    50% {
      transform: translateX(-100px) rotate(-15deg);
      background-color: #ff6b6b; /* Rot */
    }
    100% {
      transform: translateX(0) rotate(0);
      background-color: #ffffff;
    }
  }
  
  .card.swipe-hint {
    animation: swipeHint 2.0s ease forwards;
  }

  @keyframes swipeUpHint {
  0% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-60px); /* Schiebt den Stapel kurz nach oben */
  }
  60% {
    transform: translateY(0); /* Zurück in die Ausgangsposition */
  }
  100% {
    transform: translateY(0);
  }
}
.swipe-up-hint {
  animation: swipeUpHint 1.5s ease forwards;
}
#account-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert das Overlay vertikal und horizontal */
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.5); /* Halbtransparenter, weißer Hintergrund */
  align-items: center; /* Vertikale Zentrierung */
  justify-content: center; /* Horizontale Zentrierung */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 100;
  box-sizing: border-box;
  padding: 20px;
  display:none;
}

.account-overlay-content {
  background-color: #fff;
  padding: 30px; /* Allgemeines Padding für den Inhalt */
  padding-bottom: 0; /* Entfernt das untere Padding */
  border-radius: 15px; /* Sanftere Ecken */
  width: 100%; /* Angepasste Breite */
  max-width: 600px; /* Begrenzung für größere Bildschirme */
  max-height: 90%; /* Maximale Höhe für den Inhalt */
  overflow-y: auto;
  overflow-x: hidden;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Moderner Schatten */
  border: 4px solid #51cf66; /* Grüner Rand */
  box-sizing: border-box; /* Padding in die Gesamtbreite und -höhe einrechnen */
  position: relative; /* Stellt sicher, dass der Container die Buttons im Inneren richtig positioniert */
}
.button-container {
  display: flex; /* Flexbox verwenden, um die Buttons nebeneinander zu platzieren */
  justify-content: space-between; /* Platz zwischen den Buttons verteilen */
  position: sticky;
  bottom: 0;
  width: calc(100% + 60px); /* Die Breite anpassen, um das Padding von 30px auszugleichen */
  margin-left: -30px; /* Das linke Padding aufheben */
  margin-right: -30px; /* Das rechte Padding aufheben */
  margin-bottom: -30px;
  padding: 0; /* Kein zusätzliches Padding für den Button-Container */
  z-index: 100;
  background-color: #fff; /* Hintergrundfarbe, um das Padding optisch zu verdecken */
}

.bottom-button-l {
  flex: 1; /* Jeder Button nimmt gleichmäßig Platz ein */
  padding: 10px;
  border: 4px solid #51cf66; /* Grüner Rand */
  text-align: center; /* Text im Button zentrieren */
  background-color: #51cf66; /* Hintergrundfarbe für die Buttons */
  color: white; /* Textfarbe */
  font-weight: bold; /* Fettschrift für den Text */
  font-size: 1em;
  border-right: 1px solid white; /* Weißer Strich als Trennung auf der rechten Seite */
}

.bottom-button-r {
  flex: 1; /* Jeder Button nimmt gleichmäßig Platz ein */
  padding: 10px;
  border: 4px solid #51cf66; /* Grüner Rand */
  text-align: center; /* Text im Button zentrieren */
  background-color: #51cf66; /* Hintergrundfarbe für die Buttons */
  color: white; /* Textfarbe */
  font-weight: bold; /* Fettschrift für den Text */
  font-size: 1em;
  border-left: px solid white; /* Weißer Strich als Trennung auf der linken Seite */
}

#account-overlay.active {
  opacity: 1;
  visibility: visible;
  display: flex;
  font-size: 1.2em;

}

.overlay-logo {
  display: block;
  margin: 0 auto 20px;
  width: 70%; /* Breite des Logos */
  max-width: 150px;
}

.account-info {
  margin-bottom: 15px;
  font-size: 0.8em;
}

.account-info p {
  margin: 5px 0;
  font-size: 1.1em;
  color: #444;
}

h2 {
  font-size: 1.6em; /* Moderne Überschriftengröße */
  margin-bottom: 20px;
  color: #ff6b6b; /* Primärfarbe */
  border-bottom: 2px solid #eaeaea; /* Unterstrich-Effekt */
  padding-bottom: 5px; /* Abstand zwischen Überschrift und Inhalt */
  text-align:center;
}

.preferences {
  display: flex; /* Flexbox für Layout */
  flex-wrap: wrap; /* Items dürfen umschlagen */
  align-items: center; /* Items vertikal zentrieren */
  text-align:center;
  justify-content: flex-start; /* Items am Anfang der Container ausrichten */
  margin-bottom: 20px; /* Abstand über dem Präferenzbereich */
}
.menu-button {
  display: flex;
  align-items: center;
  justify-content: center; /* Fügt horizontale Zentrierung hinzu */
  margin-right: 15px;
  margin-bottom: 15px;
  background-color: #ff6b6b;
  border: 2px solid #ff6b6b;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  font-size: 1.2em;
  color: white;
  text-align: center;
  width: 100%;
}
.account-button {
    display: flex;
    align-items: center;
    justify-content: center; /* Fügt horizontale Zentrierung hinzu */
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: white;
    border: 2px solid #ff6b6b;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2em;
    color: #ff6b6b;
    text-align: center;
    width: 100%;
  }

.checkbox-button {
  display: flex; /* Flexbox für Checkbox-Ausrichtung */
  align-items: center; /* Vertikale Zentrierung */
  margin-right: 15px; /* Abstand zwischen Checkboxen */
  margin-bottom: 5px; /* Abstand unter jeder Checkbox */
  background-color: white; /* Heller Hintergrund */
  border: 2px solid #51cf66; /* Grüner Rand */
  border-radius: 5px; /* Abgerundete Ecken */
  padding: 10px 15px; /* Padding für button-ähnliches Aussehen */
  cursor: pointer; /* Cursor beim Hover */
  transition: background-color 0.3s ease, color 0.3s ease; /* Sanfter Hintergrundwechsel */
  flex-shrink: 0; /* Verhindert das Schrumpfen der Buttons */
  color: #51cf66; /* Standardfarbe des Textes */
}
/* Stile für den ausgewählten Zustand */
.checkbox-button.selected {
  background-color: #51cf66; /* Hintergrundfarbe beim Ausgewähltsein */
  color: white; /* Textfarbe beim Ausgewähltsein */
  border: 2px solid #51cf66; /* Grüner Rand */
}

.checkbox-button span {
  font-size: 1.1em; /* Etwas größere Schrift */
  color: #51cf66; /* Standardfarbe des Textes */
  text-align:center;
}

/* Wenn die Checkbox ausgewählt ist, soll der Text weiß werden */
.checkbox-button.selected span {
  color: white; /* Textfarbe nur im ausgewählten Zustand */
}

.checkbox-button:last-child {
  margin-right: 0; /* Entfernen des rechten Abstands für die letzte Checkbox */
}
.checkbox-button input {
  display: none; /* Standard-Checkbox verstecken */
}
.product-popup {
  position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
    overflow: auto; /* Ermöglicht Scrollen */
  }

.product-content {
  background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%; /* Passt sich der Bildschirmgröße an */
    max-height: 83%; /* Verhindert, dass der Inhalt über den Bildschirm hinausragt */
    overflow-y: auto; /* Scrollbar für vertikalen Überlauf */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Styling für die Input-Felder und Buttons */
#product-popup label {
    font-size: 1rem;
    color: #333;
    display: block;
    text-align: center;
}

#product-popup input[type="text"],
#product-popup input[type="email"],
#product-popup input[type="number"],
#product-popup input[type="file"],
#product-popup textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #51cf66;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
#product-popup button[type="submit"]{
    padding: 12px;
    background-color: #51cf66;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%; /* Button in voller Breite */
    transition: background-color 0.3s;
    margin-top: 15px; /* Einheitlicher Abstand oben */
}
#product-popup button[type="Button"]{
    padding: 12px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%; /* Button in voller Breite */
    transition: background-color 0.3s;
    margin-top: 15px; /* Einheitlicher Abstand oben */
}







.modal {
    position: fixed; /* Halte das Modal im Viewport */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Overlay vertikal und horizontal */
    width: 100vw; /* Breite des Viewports */
    height: 100vh; /* Höhe des Viewports */
    background-color: rgba(0, 0, 0, 0.3); /* Halbtransparenter Hintergrund */
    display: flex; /* Flexbox aktivieren */
    justify-content: center; /* Zentriert den Inhalt horizontal */
    align-items: center; /* Zentriert den Inhalt vertikal */
    z-index: 300; /* Hoch genug, um über anderen Inhalten zu liegen */
    box-sizing: border-box;
}

.input-field {
    width: 100%; /* Volle Breite der Eingabefelder */
    padding: 10px; /* Innenabstand für das Feld */
    margin-bottom: 15px; /* Abstand zwischen den Feldern */
    border: 1px solid #51cf66; /* Grüner Rand */
    border-radius: 5px; /* Abgerundete Ecken */
    font-size: 1em; /* Schriftgröße */
    transition: border-color 0.3s; /* Sanfter Übergang für den Rand */
    cursor: pointer;
}

.input-field::placeholder {
    text-align: center; /* Zentriere den Platzhalter-Text */
    color: #aaa; /* Helle Farbe für den Platzhalter */
}

.input-field:focus {
    border-color: #28a745; /* Randfarbe beim Fokussieren ändern */
    outline: none; /* Entferne den Standard-Fokus-Rahmen */
}
.modal-content {
    background-color: #fff;
    padding: 20px 30px; /* Padding für den Inhalt */
    border-radius: 12px; /* Abgerundete Ecken */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 90%; /* Breite des Modals */
    max-width: 400px; /* Maximale Breite */
    text-align: center; /* Text zentrieren */
}
.file-upload-label {
    display: block; /* Blockelement für vollständige Breite */
    width: 100%; /* Setze die Breite auf 100% */
    padding: 10px; /* Innenabstand für das Label */
    border: 1px solid #51cf66; /* Grüner Rand */
    border-radius: 5px; /* Abgerundete Ecken */
    background-color: white; /* Hintergrundfarbe wie Eingabefeld */
    cursor: pointer; /* Zeiger-Cursor beim Hover */
    margin-bottom: 15px; /* Abstand nach unten */
    font-size: 1em; /* Schriftgröße */
    text-align: center; /* Text zentrieren */
    transition: border-color 0.3s, background-color 0.3s; /* Übergangseffekte */
    color: #aaa;
}

.file-upload-input {
    display: none; /* Versteckt das Standard-Datei-Input-Feld */
}

/* Optional: Styling für den Hover-Zustand des Labels */
.file-upload-label:hover {
    border-color: #28a745; /* Dunklerer Rand beim Hover */
    background-color: #f0f0f0; /* Hellere Hintergrundfarbe beim Hover */
}


.overlay-logo {
    width: 120px;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
    text-align:center;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #51cf66;
    border-radius: 8px;
    transition: border-color 0.3s;
    width: 80%;
}
button[type="submit"] {
    padding: 12px 12px;
    font-size: 1rem;
    color: #fff;
    background-color: #51cf66;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 80%;
}
.button-register {
    margin-top:20px;
    padding: 12px 12px;
    font-size: 1rem;
    color: #fff;
    background-color: #51cf66;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 80%;
    cursor: pointer;
}
.button-back {
    margin-top: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #ff6b6b;
    background-color: transparent;
    border: 2px solid #ff6b6b;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 80%;
}


.register-link {
    color: #51cf66;
    font-size: 1rem;
    background-color: transparent;
    text-decoration: underline;
    cursor: pointer;
}


button[type="submit"]:hover {
    background-color: #51cf66;
    cursor: pointer;
}
p {
    margin-top: 1rem;
    font-size: 1rem;
    color: #333;
}
p a {
    color: #51cf66;
    text-decoration: none;
    transition: color 0.3s;
}
p a:hover {
    color: #51cf66;
}

.hot-banner {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 205px;
  z-index: 1;
  text-transform: uppercase;
  animation: flackern 0.5s infinite alternate;
}
.geteilt-banner {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 205px;
  z-index: 1;
  text-transform: uppercase;
  animation: flackern 0.5s infinite alternate;
}

@keyframes flimmern {
    0% {
        border-color: rgba(255, 0, 0, 0.1);
    }
    50% {
        border-color: rgba(255, 0, 0, 0.5);
    }
    100% {
        border-color: rgba(255, 0, 0, 1);
    }
}
    .saved-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #51cf66;
    color: white;
    padding: 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1;
    text-transform: uppercase;
}
.button-wrapper {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 10000;
}

#profile-button, #saved-cards-button {
    width: 80px;
    height: 80px;
    border: 2px solid #51cf66;
    background-size: cover;
    background-position: center; /* Bild zentrieren */
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#profile-button {
    background-image: url('pic.png'); /* Standard-Profilbild */
    border-top-left-radius: 40px; /* Nur die obere linke Ecke rund */
    border-bottom-left-radius: 0; /* Unten gerade */
}

#saved-cards-button {
    background-image: url('card.png'); /* Gespeicherte Karten-Bild */
    border-top-left-radius: 0; /* Oben gerade */
    border-bottom-left-radius: 40px; /* Nur die untere linke Ecke rund */
}

/* Modal backdrop */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* Modal content, absolutely centered */
.info-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.info-modal-content h2 {
    margin-bottom: 10px;
}

.info-modal-content p {
  font-size: 1.1em;
  padding-top: 20px; /* Adds space between the border and text */
  border-top: 2px solid #eaeaea;
  margin-bottom: 20px; /* Space below the paragraph */
}

.info-modal-content button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #ffffff;
    background-color: #51cf66;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.preference-button {
    padding: 10px 20px;
    margin: 5px;
    background-color: #51cf66;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.preference-button:hover {
    background-color: #3d9f4d;
}

.loader {
    border: 8px solid #f3f3f3; /* Heller Hintergrund */
    border-top: 8px solid #3498db; /* Blauer Teil */
    border-radius: 50%; /* Runde Form */
    width: 50px; /* Größe des Ladebalkens */
    height: 50px; /* Größe des Ladebalkens */
    animation: spin 1s linear infinite; /* Drehen */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styling für den Slider-Container */
.range {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Slider anpassen */
#priceRange {
    -webkit-appearance: none; /* For Chrome, Safari, and newer versions of Edge */
    -moz-appearance: none; /* For Firefox */
    appearance: none; /* Standard property */
    width: 100%; /* Breite des Sliders */
    height: 8px; /* Höhe der Slider-Leiste */
    background: #51cf66;
    border-radius: 5px;
    outline: none;
    transition: background 0.3s;
    margin-bottom: 15px; /* Abstand zum Wert */
    cursor: pointer;
}

#priceRange::-webkit-slider-thumb {
    -webkit-appearance: none; /* For Chrome, Safari, and newer versions of Edge */
    -moz-appearance: none; /* For Firefox */
    appearance: none; /* Standard property */
    appearance: none;
    width: 20px; /* Breite des Schiebers */
    height: 20px; /* Höhe des Schiebers */
    background: #ff6b6b; /* Grüne Farbe passend zum restlichen Design */
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#priceRange::-webkit-slider-thumb:hover {
    transform: scale(1.2); /* Vergrößert den Schieber bei Hover */
}

#priceRange::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border-radius: 50%;
    cursor: pointer;
}

/* Slider-Wert anzeigen */
.range-value {
    font-size: 1.2em;
    color: #51cf66; /* Gleiche grüne Farbe wie der Slider */
    font-weight: bold;
}

.custom_modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
  }
  
  .custom_modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    text-align: center;
    z-index: 1000; 
    overflow-y: auto;
  }
  
  .modal-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #fff;
    width:50%;
    background-color: #51cf66;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .modal-button:hover {
    background-color: #45b659;
  }
  