body {
  font-family: sans-serif;
  margin: 0;
  background-size: cover;
  background-color: #172d8d; /* Fallback für alte Browser */
  background-image: linear-gradient(to bottom, #78a0ec, #100a20);
  min-height: 100vh;
  color: white;
  overflow-y: hidden;
}

h2 {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  font-size: 25px;
  font-weight: 550;
}

.header {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  z-index: 1;
  padding: 20px;
}

.header img {
  max-width: 200px; /* Passe die Größe nach Bedarf an */
  height: auto;
}

.mainTitle {
  font-size: 40px;
  color: rgb(231, 181, 181);
  font-weight: bolder;
}

.mainContainer {
  height: calc(100vh - 140px);
  width: 90%;
  background-color: rgba(255, 255, 255, 0.9);
  margin: 0 20px; /* Kombiniert margin-right und left */
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  box-sizing: border-box;
  z-index: 2;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55); /* Neuer Schatten */
}

.mainContainer nav {
  display: flex;
  flex-direction: column; /* Stackt Elemente untereinander */
  gap: 30px; /* Abstand zwischen Buttons */
  margin-bottom: 15px; /* Optional: Abstand zum nächsten Element */
  margin-top: 15%; /* Optional: Abstand zum nächsten Element */
  margin-left: 15px;
  margin-right: 15px;
}

.content-btn {
  width: 100%; /* Volle Breite des nav-Containers */
  padding: 20px;
  border-radius: 25px;
  background-color: #5b71d3; /* Fallback für alte Browser */
  color: white;
  font-size: 25px;
  font-weight: 550;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55); /* Neuer Schatten */
  margin-top: 5px;
  margin-bottom: 20px;
}

.ionContent {
  --padding-top: 20px;
  --padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-link {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 5px;
}

.content-link:hover {
  background: #0056b3;
}

.content-box {
  font-size: 18px;
  font-weight: 550;
  color: #222;
  background-color: none;
  padding: 5px;
  line-height: 1.6;
  text-align: center;
}

.prayer-btn {
  display: block;
  width: 80%;
  margin: 10px auto;
  padding: 15px;
  background-color: #5b71d3; /* Fallback für alte Browser */
  color: white;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35); /* Neuer Schatten */
  font-size: 1.1em;
  margin-bottom: 30px;
  margin-top: 30px;
}

.prayer-btn:hover {
  background: #45a049;
}

.back-btn {
  position: fixed;
  left: 40px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #5b71d3; /* Fallback für alte Browser */
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.next-btn {
  position: fixed;
  right: 40px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #5b71d3; /* Fallback für alte Browser */
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.calendar-img {
  max-width: 300px;
  margin: 0;
}

ion-app {
  position: relative;
}

.hidden {
  display: none !important;
}

.prayer-title {
  font-size: 24px;
  color: #1e3a8a; /* z.B. dunkles Blau */
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: center;
}

.prayer-title-red {
  font-size: 24px;
  color: red;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 5px;
  text-align: center;
}

.prayer-text {
  font-size: 18px;
  font-weight: 550;
  color: black;
  background-color: none;
  padding: 5px;
  border-radius: 10px;
  line-height: 1.6;
  margin: 5px;
  text-align: center;
}

.fatiha,
.tashahhud {
  font-size: 18px;
  font-weight: 550;
  color: rgb(141, 6, 6);
  background-color: none;
  padding: 5px;
  border-radius: 10px;
  line-height: 1.6;
  margin: 5px;
  text-align: center;
}

.history-back-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #5b71d3;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.pictures {
  width: 35%;
  height: 35%;
}

.pictures2 {
  width: 50%;
  height: 50%;
}

.pictures3 {
  margin-top: 50px;
  width: 80%;
  height: 80%;
}

.pictures4 {
  margin-top: 30px;
  width: 85%;
  height: 85%;
}

.pictures6 {
  margin-top: 40px;
  width: 100%;
  height: 100%;
}

.picture-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
