/* 🌎 Basis-Reset */
html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  height: 100%;
  overflow: hidden;
}

/* Haupt-App Container */
#app {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* 🌍 Globales Styling für Seiten-Inhalt */
.page-content {
  padding-top: 100px; /* Platz für Navbar */
  padding-bottom: 120px; /* Platz für Toolbar */
}

/* 📌 Cards für Kurse */
.card {
  margin: 3%;
  border-radius: 2%;
  background-color: #f7f7f7;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.card img {
  display: block;
  width: 100%;
  height: auto;
}
.choose-event-title {
  font-size: 120%;
  font-weight: bold;
  color: #333;
  margin: 2%;
}

/* Styles for the language selection popup */
#language-popup {
  display: none; /* Initially hidden */
}

#language-popup .view {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#language-popup .page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#language-popup .block-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

#language-popup .list {
  width: 100%;
}

#language-popup .list-button {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: #c8a165;
  color: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

#language-popup .list-button:hover {
  background-color: #b89454;
}



/* Popup positioning fix for tablet and desktop views only */
/* Tablet view (768px and above) */
@media (min-width: 768px) {
  .popup:not(.popup-tablet-fullscreen) {
    left: 50% !important;
    top: 50% !important;
    max-width: 650px !important;
    width: 80% !important;
    max-height: 90vh !important;
  }
}

/* Desktop view (1200px and above) */
@media (min-width: 1200px) {
  .popup:not(.popup-tablet-fullscreen) {
    left: 40% !important;
    top: 50% !important;
    max-width: 850px !important;
    width: 80% !important;
    max-height: 90vh !important;
  }
}

