/* =======================
   Lokale Fonts einbinden
   ======================= */

/* Great Vibes Regular */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/great-vibes-v21-latin-regular.woff2') format('woff2');
  font-display: block;
}

/* Italianno Regular */
@font-face {
  font-family: 'Italianno';
  src: url('/fonts/italianno-v18-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}


/* Playfair Display Bold */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/playfair-display-v40-latin-700.woff2') format('woff2');
  font-display: block;
}

/* =======================
   Basis Layout
   ======================= */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;

    background-image: url('images/Trenkfestspiele-Waldmünchen.PNG');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    opacity: 0.85;
    filter: alpha(opacity=30);
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

img {
    max-width: 50%;
    height: auto;
}

.container,
.container2 {
    width: 80%;
    margin: 0 auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4 {
    color: #333;
}

/* Haupttitel → Italianno */
h1.main-title {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    font-family: 'Italianno', cursive;
    font-size: 4em;
}

/* Untertitel → Playfair Display Bold */
h2 {
    margin-top: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h3 {
    margin-top: 15px;
    font-size: 1.8em;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
}

h4 {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 1.1em;
    font-family: 'Playfair Display', serif;
}

.contact {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.contact a, a {
    color: #333;
    text-decoration: none;
}

.deliver {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.8em;
}

.contact a:hover {
    text-decoration: underline;
}

.menu-item {
    margin-bottom: 20px;
}

.dish-description {
    margin-left: 20px;
    color: #666;
    font-size: 0.9em;
}

.dish-numbers {
    margin-left: 16px;
    color: #999;
    font-size: 0.8em;
}

.section {
    margin-bottom: 30px;
}

.category-divider {
    border-top: 1px solid #ddd;
    margin-top: 20px;
    margin-bottom: 20px;
}

.inhaltsstoffe {
    margin-top: 40px;
    font-size: 0.7em;
    color: #666;
}

.footer {
    text-align: center;
    margin-top: 20px;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.popup:target {
    display: flex;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    font-size: 24px;
    color: black;
}

.more-button {
    display: inline-block;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 1em;
    color: white;
    background-color: #999999;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.more-button:hover {
    background-color: #0056b3;
}

span {
    color: #333;
    font-size: 1em;
    display: block;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
