* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", sans-serif;
  background: #5a6a7a;
  margin: 0;
  padding: 0;
  color: #ffffff;
  overflow: hidden;
  /** it should be a 1920x1080 fullscreen app */
  width: 1920px;
  height: 1080px;
}

.main {
  display: flex;
  flex-direction: row;
  align-items: start;
  flex: 1;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #5a6a7a;
  overflow: hidden;
}

.header {
  background: #5a6a7a;
  color: white;
  padding: 40px 80px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 150px;
  height: auto;
}

.header-title {
  padding-bottom: 10px;
}

.header-title h1 {
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 4px;
  margin: 0;
}

.menu-container {
  flex: 1;
  padding: 62px 62px;
  overflow-y: auto;
  background: #5a6a7a;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

/* Single category layout - stack categories vertically */
.menu-container.single-category {
  flex-direction: column;
}

.category-section {
  flex: 1;
  min-width: 400px;
}

/* Single category layout - category sections take full width */
.menu-container.single-category .category-section {
  flex: none;
  width: 100%;
  min-width: 100%;
}

.category-title {
  font-size: 68px;
  font-weight: 600;
  padding-bottom: 8px;
  color: white;
  letter-spacing: 2px;
  display: flex;
  align-items: baseline;
}

.category-title.single-category {
  font-size: 100px;
  padding: 0;
  border: none;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

/* Special layout for long descriptions in multi-category view */
.menu-item.long-description {
  flex-direction: column;
  align-items: stretch;
}

.item-row-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

.item-description-full {
  font-size: 32px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  width: 100%;
}

.item-info {
  flex: 1;
  padding-right: 30px;
  align-items: baseline;
}

/* Only use flex layout when there's a single category */
.menu-container.single-category .item-info {
  display: flex;
}

/* Column flex layout for long dish names */
.column-flex {
  display: flex;
  flex-direction: column;
}

.price-label {
  margin-right: 16px;
}

.item-name {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 4px;
  color: white;
  padding-right: 8px;
}

.item-description {
  font-size: 32px;
  align-items: baseline;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.item-note {
  font-size: 32px;
  font-weight: 300;
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.item-prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  width: 200px;
}

/* Wenn price-label mit Inhalt vorhanden ist - kurze Labels (≤7 Zeichen) */
.item-prices.short-label {
  min-width: 230px;
  width: 230px;
}

/* Wenn price-label mit Inhalt vorhanden ist - lange Labels (>7 Zeichen) */
.item-prices.long-label {
  min-width: 320px;
  width: 320px;
}

.price {
  font-size: 38px;
  font-weight: 400;
  color: white;
  white-space: nowrap;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.price-label {
  font-size: 24px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-right: auto;
}

.price-value {
  margin-left: auto;
}

/* Scrollbar styling */
.menu-container::-webkit-scrollbar {
  width: 10px;
}

.menu-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.menu-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

.menu-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .header {
    padding: 20px 30px;
    gap: 20px;
  }

  .logo-mountain {
    width: 50px;
    height: 40px;
  }

  .logo-text {
    font-size: 32px;
  }

  .logo-subtext {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .header-title h1 {
    font-size: 36px;
  }

  .menu-container {
    padding: 20px 30px;
  }

  .item-name {
    font-size: 20px;
  }

  .item-description {
    font-size: 16px;
  }

  .price {
    font-size: 20px;
  }

  .price-label {
    font-size: 14px;
  }
}

/* Chrome 56 specific fixes */
.container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.menu-container {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.lauftext {
  color: white;
  padding: 8px 0;
  font-weight: 500;
  font-size: 48px;
  letter-spacing: 1px;
  overflow: hidden;
  white-space: nowrap;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: 0;
  width: 100%;
}

.lauftext-content {
  display: inline-block;
  animation: scrollText 20s linear infinite;
  padding-left: 100%;
}

@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 1024px) {
  .lauftext {
    font-size: 16px;
    padding: 15px 0;
  }
}
