:root {
  --text-farbe: #171515;
  --hintergrund-farbe: #c4ae78;

  --knopf-text-farbe: #fcf6e6;
  --knopf-hintergrund-farbe: #6f5b3e;
  --knopf-ueberschwebt-hintergrund-farbe: #996c2a;
  --knopf-deaktiviert-hintergrund-farbe: #6f5b3e90;

  --ecken-abrundung: 15px;
  --innenabstand: 1rem;
  --aussenabstand: 1.4em;

  --option-hintergrund-farbe: #f9f6f0;
  --option-ausgewaehlt-hintergrund-farbe: #fffccd;
  --option-rand-farbe: #dfc8a5;
  --option-preis-farbe: #008000;

  --rechnung-hintergrund-farbe: #f9f6f0;
  --rechnung-rand-farbe: #ccc;

  --uebergangs-dauer: 0.3s;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  flex: 1;
  color: var(--text-farbe);
  background-color: var(--hintergrund-farbe);
  font-size: 1.2rem;
  font-family: Arial, Helvetica, sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

button {
  margin: 0 0.8rem;
  padding: 0.8rem 1.4rem;
  color: var(--knopf-text-farbe);
  font-size: 1.2rem;
  font-weight: 475;
  background-color: var(--knopf-hintergrund-farbe);
  border: none;
  border-radius: var(--ecken-abrundung);
  cursor: pointer;
  transition: all var(--uebergangs-dauer) ease;
}

button:disabled {
  outline-style: none !important;
  background-color: var(--knopf-deaktiviert-hintergrund-farbe) !important;
}

button:hover {
  background-color: var(--knopf-ueberschwebt-hintergrund-farbe);
  outline-style: dashed;
  outline-color: black;
  outline-offset: 2px;
  outline-width: 3px;
}

.versteckt {
  display: none !important;
}

@keyframes einblendenVonOben {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-ueberschrift {
  margin-top: 0;
  margin-bottom: 4rem;
  text-align: center;
  font-size: 4rem;
  animation: einblendenVonOben 1s ease-out 0.2s both;
}

.tab-beschreibung {
  margin: 0 10vw 2rem 10vw;
  text-align: center;
  animation: einblendenVonOben 1s ease-out 0.4s both;
}

#wilkommenTab {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: einblendenVonOben 1s ease-out both;
}

@keyframes einblenden {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#rechnungContent {
  position: relative;
  background-color: var(--rechnung-hintergrund-farbe);
  padding: 2rem;
  border: 1px solid var(--rechnung-rand-farbe);
  border-radius: var(--ecken-abrundung);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 23rem;
  width: 100%;
  animation: einblenden 1s ease-out 1s both;
}

.rechnung-kategorie {
  padding: 0.75rem 0;
}

.rechnung-option {
  padding: 0.2rem 0;
}

.rechnung-seperator {
  border-bottom: 1px solid var(--rechnung-rand-farbe);
}

.rechnung-option {
  margin-left: 1rem;
}

.rechnung-kategorie-titel {
  font-size: 1.2rem;
  font-weight: 600;
}

@keyframes einblendenVonLinks {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rechnung-kategorie-titel, .rechnung-titel {
  margin: 0;
  animation: einblendenVonLinks 0.6s ease-out both;
}

.rechnung-gesamtpreis {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

@keyframes auftauschen {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(0.8);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}

#spinner {
  max-width: 17rem;
  height: auto;
  animation: auftauschen 1s ease-out forwards, spin 2s linear 1s infinite;
}

.option-behaelter {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.option-container {
  background-color: var(--option-hintergrund-farbe);
  border: 1px solid var(--option-rand-farbe);
  border-radius: var(--ecken-abrundung);
  padding: var(--innenabstand);
  margin: var(--aussenabstand);
  text-align: center;
  transition: all var(--uebergangs-dauer) ease;
  flex: 1;
  max-width: 11rem;
  opacity: 1;
  z-index: 999;
  animation: einblendenVonOben 1s ease-out backwards;
}

.option-container:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.option-container.ausgewaehlt {
  background-color: var(--option-ausgewaehlt-hintergrund-farbe);
  outline-style: dashed;
  outline-color: black;
  outline-offset: 3px;
  outline-width: 4px;
}

.option-bild {
  max-width: 100%;
  height: 8rem;
  object-fit: cover;
  border-radius: var(--ecken-abrundung);
}

.option-titel {
  font-size: 1.4rem;
  font-weight: bold;
}

.option-preis {
  color: var(--option-preis-farbe);
  font-size: 1.5rem;
  font-weight: bolder;
}

#positionsKnopfHalter {
  text-align: center;
}

.positions-knopf {
  animation: einblendenVonOben 1s ease-out 3s both;
}
