html {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* .layar-dalam {
  width: 1000px;
  margin: auto;
} */

.laya-dalam {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px; /* Jarak antar elemen */
}

.laya-dalam img {
  width: 40rem; /* Pastikan gambar responsif */
  height: auto;
}

.ringkasan {
  font-size: 18px; /* Ukuran teks */
}

.layar-penuh {
  width: 100%;
}

nav {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: fixed;
  border-bottom: 1px solid #f3cb47;
  line-height: 60px;
  padding: 0 20px;
  width: 100%;
}

/* nav .anyelir {
  background-color: #ffffff;
} */

nav .logo {
  float: left;
  position: relative;
  line-height: 55px;
  text-align: center;
}

nav .logo img {
  vertical-align: middle;
  width: 68px;
}

nav .menu {
  float: right;
  height: 60px;
  max-width: 600px;
}

nav .menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav .menu ul li {
  list-style-type: none;
  float: left;
  line-height: 60px;
}

nav ul li a {
  color: #f3cb47;
  text-align: center;
  padding: 0px 16px 0px 16px;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
  color: #f3cb47;
}

/* Pngaturan header */
header {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}

header img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: -2;
}

header .intro {
  z-index: 100;
  color: #fff;
  text-align: center;
  position: relative;
  top: 35%;
}

header .intro h3 {
  font-size: 50px;
  margin: 0;
  padding: 0;
}

header .intro h4 {
  color: #f3cb47;
  font-size: 30px;
  margin: 0;
  padding: 0;
}

header .intro p {
  font-size: 24px;
  margin: 0;
  padding: 0;
}

.tombol {
  background-color: #f3cb47;
  height: 40px;
  line-height: 42px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  padding: 0px 20px 0px 20px;
  font-size: 18px;
  border-radius: 4px;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000000;
  opacity: 40%;
  z-index: -1;
}

.tombol-menu {
  position: absolute;
  top: 1.7rem;
  right: 1rem;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.tombol-menu .garis {
  height: 3px;
  background-color: #f3cb47;
}

section {
  padding: 50px 0px 50px 0px;
}

section h3 {
  font-size: 34px;
  padding: 0px 50px;
}

section h3::after {
  content: "";
  border-bottom: 3px solid #f3cb47;
  width: 50%;
  display: block;
  margin: 20px 0;
}

section h2::after {
  content: "";
  border-bottom: 3px solid #f3cb47;
  width: 20%;
  display: block;
  margin: 12px auto;
}

section h4::after {
  content: "";
  border-bottom: 3px solid #f3cb47;
  width: 30%;
  display: block;
  margin: 20px 0;
}

/* #aboutus {
  text-align: center;
} */

section p.ringkasan {
  font-style: italic;
  font-size: 20px;
  color: #3b3b3b;
  padding: 0px 50px;
}

nav.putih {
  background-color: #fff;
}

section.abuabu {
  background-color: #f5f5f5;
}

.support {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.support h6 {
  margin: 0px;
  margin-top: 20;
  padding: 1.2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.support p {
  color: #3b3b3b;
  padding: 0 1.5rem;
}

.support img {
  width: 35%;
}

section h2 {
  text-align: center;
  font-size: 1.6rem;
  padding: 0 6rem;
}

section h4 {
  font-size: 1.5rem;
  padding: 0;
}

@media screen and (max-width: 340px) {
  html {
    font-size: 10%;
  }

  .layar-dalam {
    width: 90%;
  }

  nav .menu ul {
    display: none;
    margin-top: 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  nav .menu ul li {
    width: 100%;
    border-bottom: 1px solid #f6e095;
    background-color: #606060;
    line-height: 40px;
  }

  nav .menu ul li a {
    color: #f3cb47;
  }

  .tombol-menu {
    display: flex;
  }

  .content-head {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 991.98px) {
  .layar-dalam {
    width: 90%;
  }

  nav .menu ul {
    display: none;
    margin-top: 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  nav .menu ul li {
    width: 100%;
    border-bottom: 1px solid #f6e095;
    background-color: #606060;
    line-height: 40px;
  }

  nav .menu ul li a {
    color: #f3cb47;
  }

  .tombol-menu {
    display: flex;
  }

  .content-head {
    width: 100%;
    height: 100%;
  }

  section h3 {
    font-size: 208px;
  }

  .laya-dalam {
    flex-direction: column; /* Ubah menjadi vertikal */
    text-align: center; /* Teks di tengah */
  }

  .laya-dalam img {
    width: 330px;
    margin-top: 20px; /* Jarak atas gambar */
  }

  .ringkasan {
    font-size: 14px; /* Ukuran teks lebih kecil */
  }

  section h3::after {
    content: "";
    border-bottom: 3px solid #f3cb47;
    width: 100px;
    display: block;
    margin: 12px auto;
  }

  section h4::after {
    content: "";
    border-bottom: 3px solid #f3cb47;
    width: 18%;
    display: block;
    margin: 12px auto;
  }

  section h3 {
    font-size: 8px;
    padding: 0 40px;
  }

  section h4 {
    text-align: center;
  }
  section p.ringkasan {
    font-size: 5px;
    padding: 0 40px;
  }

  .support img {
    width: 10rem;
  }

  .support h6 {
    font-size: 1.5rem;
    padding: 0px 2rem;
    margin: 10px;
  }

  .support p {
    font-size: 1.4rem;
    padding: 0px 5rem;
  }
}

@media screen and (max-width: 1366px) {
  .layar-dalam {
    width: 90%;
  }

  nav .menu ul {
    display: none;
    margin-top: 60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  nav .menu ul li {
    width: 100%;
    border-bottom: 1px solid #f6e095;
    background-color: #606060;
    line-height: 40px;
  }

  nav .menu ul li a {
    color: #f3cb47;
  }

  .tombol-menu {
    display: flex;
  }

  .content-head {
    width: 100%;
    height: 100%;
  }

  section h3 {
    font-size: 2.2rem;
    padding: 0 2rem;
  }

  section p.ringkasan {
    font-size: 1.4rem;
    padding: 0 3.8rem;
  }
}

.costum-svg {
  display: flex;
  align-items: center;
  gap: 5px;
}

.costum-svg p {
  margin: 0;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.info-more {
  position: relative;
  top: 0;
  left: 0;
  width: 100%; /* Sesuaikan lebar gambar */
  height: 100%; /* Sesuaikan tinggi gambar */
  object-fit: cover; /* Mengatur gambar agar memenuhi area */
  z-index: -1; /* Membuat gambar di belakang konten */
}

.top-list {
  position: relative;
  display: inline-block;
}

.top-list::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #f6e095;
  position: relative;
  margin: auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content-wrapper {
  position: relative;
  margin: auto;
  padding: 20px;
  width: 100%;
  max-width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-content {
  width: 100%;
  max-width: 100%;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  font-size: 18px;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.close {
  position: absolute;
  top: -10px; /* Jarak dari atas */
  right: 20px; /* Jarak dari kanan */
  color: #ffffff; /* Warna putih */
  font-size: 24px; /* Ukuran font */
  font-weight: bold; /* Tebal font */
  cursor: pointer; /* Kursor menjadi pointer saat hover */
  z-index: 1001;
}

.close:hover {
  color: (var(--primary)); /* Warna saat hover */
}

.info2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 85%; /* Mengatur posisi di atas gambar */
  padding: 2px;
  left: 50%;
  transform: translate(-50%, -50%); /* Agar berada tepat di tengah gambar */
  z-index: 2; /* Elemen ini berada di atas gambar */
  font-family: "Times New Roman", Times, serif;
}

.info-more {
  background-color: #fff;
  border-radius: 50px;
  padding: 0.5rem 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-get-wa,
.btn-get-brosur {
  background-color: #f6e095;
  color: var(--black);
  border-radius: 100px;
  text-decoration: none;
  padding: 20px 100px;
  font-weight: bold;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 18px;
}

.text-list {
  position: relative;
  display: inline-block;
  padding: 1rem 0;
}

.text-list::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000000;
  position: absolute;
  bottom: 0;
}

.respon-background {
  background-color: #f6e095;
  padding: 2rem 2rem;
}

#imageModal {
  display: none; /* Sembunyikan modal secara default */
  position: fixed; /* Modal menutupi seluruh layar */
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Latar belakang gelap */
}

.modal-content-wrapper {
  position: relative;
  margin: auto;
  max-width: 100%; /* Maksimal lebar modal */
  max-height: 90%; /* Maksimal tinggi modal */
}

#modalImage {
  width: 100%; /* Buat gambar responsif */
  height: auto; /* Jaga rasio aspek */
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
}

@media (max-width: 1366px) {
  html {
    font-size: 95%;
  }

  .navbar-brand img {
    width: 100%;
    height: 100%;
  }

  .content-event {
    justify-content: center;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 70%;
  }

  .content-head .head {
    width: 100%;
    height: 46vh;
  }
  .navbar-brand img {
    width: 100%;
    height: 100%;
  }

  .content-event {
    justify-content: center;
    align-items: center;
  }

  .top-list {
    display: block;
    text-align: center;
    width: 100%;
  }

  .text-content {
    text-align: center;
    display: block;
    padding: 1rem 4rem;
  }

  .top-list::after {
    width: 20%; /*Atur ulang lebar garis bawah untuk ponsel */
  }

  .info-more {
    gap: 1vw;
    background-size: auto;
  }

  .btn-get-wa,
  .btn-get-brosur {
    padding: 2vw 11vw;
    font-size: 2vw;
  }

  #mainNav .navbar-collapse {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;

    background-color: #f6e095;
  }

  .respon-background {
    /* background-image: url("../img/bgrtype.png"); */
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    padding: 4rem;
  }
}

@media (max-width: 450) {
  html {
    font-size: 65%;
  }
  .head {
    height: 65vh;
    width: 100%;
  }

  .navbar-brand img {
    width: 100%;
    height: 100%;
  }

  .content-event {
    justify-content: center;
    text-align: center;
    align-items: center;
  }
}
