/* =========================
   GLOBAL
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background: #080808;
  overflow-x: hidden;
}

/* =========================
           ANIMATED MESH BACKGROUND
        ========================== */

.mesh-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #f2d77a;
}

.mesh-background::before,
.mesh-background::after {
  content: "";
  position: absolute;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.8;
  animation: meshMove 13s ease-in-out infinite alternate;
}

.mesh-background::before {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9),
    transparent 70%
  );
  top: -30%;
  left: -20%;
}

.mesh-background::after {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5),
    transparent 70%
  );
  bottom: -35%;
  right: -20%;
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}

@keyframes meshMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(15%, 20%) scale(1.2);
  }
  100% {
    transform: translate(-10%, 10%) scale(0.9);
  }
}

@keyframes darkMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-20%, 15%);
  }
}

.ibadah-title {
  position: relative;

  width: min(565px, 90%);

  min-height: 57px;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 15px 20px;

  margin-bottom: 30px;

  border: 1px solid rgba(255, 255, 255, 0.65);

  border-radius: 22px;

  background: rgba(46, 46, 46, 0.15);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  overflow: hidden;
}

.ibadah-title h1 {
  position: relative;

  z-index: 1;

  font-family: "DM Sans", sans-serif;

  font-size: 17px;

  font-weight: 800;

  text-align: center;

  color: white;
}

/* =========================
   CATEGORY TITLE
========================= */

.category-title {
  text-align: center;

  font-family: Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;

  color: white;
}

.ibadah-container {
  position: relative;

  z-index: 6;

  width: min(1200px, 88%);

  margin: 0 auto;

  gap: 20px;

  min-height: 100vh;

  padding: 113px 20px 60px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

/* =========================
   TABLE CONTAINER
========================= */

.table-container {
  width: 100%;

  justify-content: center;

  overflow-x: auto;

  margin-bottom: 60px;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;

  background: rgba(46, 46, 46, 0.15);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================
   TABLE
========================= */

.ibadah-table {
  width: 100%;

  border-collapse: separate;
  border-spacing: 0;

  color: white;

  font-family: Georgia, serif;
  font-size: 15px;

  text-align: center;
}

/* HEADER */

.ibadah-table th {
  height: 53px;

  padding: 12px 10px;

  font-weight: bold;

  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
}

/* DATA */

.ibadah-table td {
  height: 45px;

  padding: 12px 10px;

  font-weight: bold;

  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.8);
}

/* COLUMN WIDTH */

.ibadah-table th:nth-child(1),
.ibadah-table td:nth-child(1) {
  width: 19%;
}

.ibadah-table th:nth-child(2),
.ibadah-table td:nth-child(2) {
  width: 28%;
}

.ibadah-table th:nth-child(3),
.ibadah-table td:nth-child(3) {
  width: 25%;
}

.ibadah-table th:nth-child(4),
.ibadah-table td:nth-child(4) {
  width: 28%;
}

/* REMOVE RIGHT BORDER */

.ibadah-table th:last-child,
.ibadah-table td:last-child {
  border-right: none;
}

/* REMOVE LAST BOTTOM BORDER */

.ibadah-table tbody tr:last-child td {
  border-bottom: none;
}

/* HOVER EFFECT */

.ibadah-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.12);
  transition: 0.3s ease;
}

footer {
  padding: 40px 10%;
  text-align: center;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 2px;
}

footer {
  padding: 40px 10%;
  text-align: center;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 2px;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 768px) {
  .navbar {
    gap: 15px;
    flex-wrap: wrap;
  }

  .navbar a {
    font-size: 16px;
  }

  .ibadah-container {
    margin-top: 25px;
  }

  .ibadah-title {
    width: 95%;
  }

  .ibadah-title h1 {
    font-size: 16px;
  }

  .ibadah-table {
    min-width: 650px;
  }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 480px) {
  .navbar {
    gap: 12px;
    padding: 20px 10px;
  }

  .navbar a {
    font-size: 14px;
  }

  .ibadah-container {
    margin-top: 20px;
    padding: 0 12px;
  }

  .ibadah-title {
    width: 100%;
    min-height: 55px;

    margin-bottom: 30px;

    border-radius: 18px;
  }

  .ibadah-title h1 {
    font-size: 13px;
  }

  .category-title {
    font-size: 17px;
  }

  .ibadah-table {
    min-width: 600px;
    font-size: 13px;
  }
}
