/* style.css */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2f7, #d1c4e9);
}

.header-info-div {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  flex-direction: column;
}

.header-right {
  text-align: right;
}


.prayertime {
  width: 90%;
  background-color: white; /* Changed to white */
  padding: 10px;
  margin-top: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex; /* Add flexbox */
  flex-direction: column; /* Stack children vertically */
  align-items: center; /* Center horizontally */
  justify-content: center; /* Center vertically */
}
.carousel-container {
  /* Remove existing flex rules */
  width: 100%; /* Adjust width if needed */
  overflow: hidden;
  perspective: 1000px;
  display: flex; /* Add flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center Vertically */
}

.carousel {
  /* ... (other carousel styles) ... */
}
.prayertime-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
}
#prayerTable, #weekPrayerTable {
  width: 100%;
  border-collapse: collapse;
}

#prayerTable td, #weekPrayerTable td, #prayerTable th, #weekPrayerTable th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

@font-face {
    font-family: 'Thuluth';
    src: url('fonts/UthmanicHafs1Ver18.woff2') format('woff2'); /* Adjust the path and format */
    font-weight: normal;
    font-style: normal;

}

/* For Hadith Arabic Text */
#hadithContent div:first-child {
    font-size: 2.0em; /* Adjust this value to your desired size */
    /* other Thuluth styles if needed */
}

/* For Verse Arabic Text */
#verseContent div:first-child {
    font-size: 2.0em; /* Adjust this value to your desired size */
    /* other Thuluth styles if needed */
}


.verse-of-day, .hadith-of-day {
    /* ... (other verse styles) ... */
    font-family: 'Thuluth', serif; /* Apply the Thuluth font */
    direction: rtl; /* For right-to-left text */
}

#weekPrayerTable th {
    background-color: #f2f2f2;
}

.verse-of-day, .hadith-of-day {
  width: 90%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  margin-top: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;

}

.verse-title, .hadith-title {
  font-weight: bold;
  font-size: 1.6em;
  margin-bottom: 10px;
}

.week-prayer {
  width: 90%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  margin-top: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.week-prayer-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.carousel-container {
  flex: 1;
  width: 80%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.prayer-item {
  padding: 30px;
  font-size: 1.6em;
  text-align: center;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  margin: 15px 0;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  width: 180%;
  box-sizing: border-box;
  color: #333;
}

.prayer-item.faded {
  opacity: 0.6;
  transform: scale(0.9) translateZ(-80px) rotateY(10deg);
  color: #777;
}

.prayer-item.current {
  font-size: 2.2em;
  font-weight: 600;
  color: #2196f3;
  transform: scale(1.1) translateZ(100px);
  background: linear-gradient(135deg, #bbdefb, #e3f2fd);
}

.time-remaining {
  font-size: 0.8em;
  color: #666;
  margin-top: 5px;
}