:root {
  --bg-dark: oklch(0.1 0.025 264);
  --bg: oklch(0.15 0.025 264);
  --bg-light: oklch(0.2 0.025 264);
  --text: oklch(0.96 0.05 264);
  --text-muted: oklch(0.76 0.05 264);
  --highlight: oklch(0.5 0.05 264);
  --border: oklch(0.4 0.05 264);
  --border-muted: oklch(0.3 0.05 264);
  --primary: oklch(0.76 0.1 264);
  --secondary: oklch(0.7603 0.1006 55.07);
  --danger: oklch(0.7 0.05 30);
  --warning: oklch(0.7 0.05 100);
  --success: oklch(0.7 0.05 160);
  --info: oklch(0.7 0.05 260);
  --text-fea: oklch(0.7623 0.0491 231.84);
}
.uppage {
  width: 100dvw;
  /* height: 90dvh; */
  aspect-ratio: 8/2;
  /* border: 1px solid white; */
  display: flex;
  flex-direction: column;
}
.photo-text {
  aspect-ratio: 9/2;
  /* border: 1px solid wheat; */
  background: url(./photo/photomain.jpg);
  background-size: cover;
  position: relative;
}
.photo-text .text-photo-container {
  position: absolute;
  background: linear-gradient(
    to right,
    rgba(20, 20, 20, 0.6) 10%,
    rgba(20, 20, 20, 0.3) 60%,
    rgba(20, 20, 20, 0) 1000%
  );
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 2.25rem;
  justify-content: center;
}
.photo-text .text-photo-container p {
  max-width: 50%;
}
.sisa {
  /* background-color: aquamarine; */
  flex-grow: 1;
  position: relative;
  box-shadow: 0px -5px 20px rgba(0, 0, 0, 1);
  /* border: 1px solid wheat; */
}
/* ends photoshadow */
/* starts photosay */
.wts-container {
  width: 97%;
  /* justify-self: center; */
  display: flex;
  flex-direction: column;
}
.wts {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 10rem;
}
.photosay {
  width: 20dvw;
  aspect-ratio: 16/9;
  background-color: aliceblue;
  border-radius: 10px;
  position: relative;
}
.chat-container {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 10%;
  top: 87%;
}
/* .photosay-container {
  display: flex;
  flex-direction: column;
} */
#photosay-adhar {
  background: url(./photo/adhar/adhar-thumb.jpg);
  background-size: contain;
}
#photosay-alifa {
  background: url(./photo/alifa/alifa-thumb.jpg);
  background-size: contain;
}
#photosay-vivih {
  background: url(./photo/vivih/vivih-thumb.jpeg);
  background-size: contain;
}
#photosay-supri {
  background: url(./photo/supri/supri-thumb.jpg);
  background-size: contain;
}
#photosay-ridwan {
  background: url(./photo/ridwan/ridwan-thumb.jpg);
  background-size: contain;
}
#photosay-6,
#photosay-7,
#photosay-8 {
  background: url(./photo/phototest.jpg);
  background-size: contain;
}
.chat {
  padding: 1rem;
  background-color: var(--border);
  border-radius: 10px 10px 0 10px;
  position: relative;
  opacity: 0.85;
  cursor: pointer;
  transition: 0.2s ease;
}
.chat:hover {
  opacity: 1;
  transform: translateY(-5px) scale(1.02);
}
.chat .kotak-kecil::before,
.chat .kotak-kecil::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc(0% - 1.5rem);
  height: 1.5rem;
  width: 1.5rem;
  background-color: var(--border);
}
.chat .kotak-kecil::after {
  border-radius: 0 25px 0 0;
  background-color: var(--bg-dark);
}
.teach-name {
  position: absolute;
  left: 0;
  bottom: calc(0% - 2.25rem);
  font-size: 0.8rem;
  max-width: 90%;
  color: var(--text-fea);
}
/* starts modal */
.overlay-modal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 101;
}
.modal {
  position: fixed;
  display: flex;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 102;
  width: 80dvw;
  height: 90dvh;
  background-color: var(--border-muted);
  /* background-color: #2fffdc; */
}
.close-modal {
  position: absolute;
  top: -2rem;
  right: -5rem;
  font-size: 3rem;
  cursor: pointer;
  border: none;
  background: none;
  opacity: 1;
  transition: 0.2s ease-in-out;
}
.close-modal:hover {
  opacity: 0.7;
}
.photo-container {
  flex: 1;
  background-color: var(--bg);
}
.text-container {
  flex: 1;
  margin: 0 1rem;
  position: relative;
}
.photo-container img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.judul-modal {
  border-bottom: 2px solid #ffffff68;
  padding: 1rem 0 10px 0;
  display: flex;
  gap: 0.75rem;
  /* align-items: center; */
}
.judul-modal p {
  margin-left: 1rem;
}
.judul-modal p,
.teks-modal p {
  font-size: 0.9rem;
}
.teks-modal {
  margin-top: 1rem;
  margin-left: 0.75rem;
  margin-right: 1rem;
}
.modal-hidden {
  display: none !important;
}
.button-modal-container {
  position: absolute;
  bottom: calc(0% + 1rem);
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
}
.button-modal-container a {
  width: 18%;
  aspect-ratio: 6/2;
  text-decoration: none;
  text-align: center;
  align-content: center;
  font-size: 12px;
  padding: 6px;
  border-radius: 12px;
  background-color: var(--primary);
  transition: 0.3s ease-in-out;
}
.button-modal-container a:hover {
  background-color: var(--secondary);
  border: none;
}
.photo-navigations {
  position: absolute;
  width: 98%;
  top: 20%;
  left: 1%;
  display: flex;
  z-index: 3;
  transform: translateY(30dvh);
}
.next-photo {
  position: absolute;
  right: 1%;
}
.prev-photo {
  position: absolute;
  left: 1%;
}
.material-symbols-outlined {
  background-color: transparent;
  cursor: pointer;
}
.next-photo,
.prev-photo {
  background-color: var(--highlight);
  border-radius: 50%;
  border-color: transparent;
  display: flex;
  bottom: 0;
  transition: 0.2s ease-out;
  opacity: 0.7;
}
.next-photo:hover,
.prev-photo:hover {
  background-color: var(--border);
  opacity: 0.8;
}
.next-photo.swiper-button-disabled,
.prev-photo.swiper-button-disabled {
  display: none;
}
.photo-slide {
  position: relative;
  width: 99.86%;
  height: 100%;
  display: flex;
}
.photo-slide::before {
  position: absolute;
  width: 99.86%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.swiper-pagination-bullets {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.swiper-pagination-bullet {
  background-color: grey !important; /* Ganti dengan warna abu-abu atau yang Anda mau */
  opacity: 0.8 !important; /* Pastikan opacity 1 agar warnanya solid */
  width: 6px !important;
  height: 6px !important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--secondary) !important;
  opacity: 0.8 !important;
  width: 9px !important;
  height: 9px !important;
}

.adhar-slide:nth-child(1)::before {
  background-image: url("./photo/adhar/adhar-1.jpg");
}
.adhar-slide:nth-child(2)::before {
  background-image: url("./photo/adhar/adhar-2.jpg");
}

.alifa-slide:nth-child(1)::before {
  background-image: url("./photo/alifa/alifa-1.jpg");
}
.alifa-slide:nth-child(2)::before {
  background-image: url("./photo/alifa/alifa-2.jpg");
}

.vivih-slide:nth-child(1)::before {
  background-image: url("./photo/vivih/vivih-1.jpg");
}
.vivih-slide:nth-child(2)::before {
  background-image: url("./photo/vivih/vivih-2.jpg");
}

.supri-slide:nth-child(1)::before {
  background-image: url("./photo/supri/supri-1.jpg");
}
.supri-slide:nth-child(2)::before {
  background-image: url("./photo/supri/supri-2.jpg");
}

.ridwan-slide:nth-child(1)::before {
  background-image: url("./photo/ridwan/ridwan-1.jpeg");
}
.ridwan-slide:nth-child(2)::before {
  background-image: url("./photo/ridwan/ridwan-2.jpeg");
}
