body,
html {
  margin: 0;
  padding: 0;
  font-family: Poppins;
}
.judul {
  position: relative;
}
.judul h1 {
  font-size: 38px;
  color: whitesmoke;
  padding: 10px 0 10px 0;
  text-align: center;
  margin-top: 0;
}
.judul h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ff7300;
  border-radius: 2px;
}

.container-box {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  background-color: rgb(47, 47, 47);
}
.header {
  position: sticky;
  z-index: 1000;
  width: 80vw;
  top: 0;
  margin: 20px 0 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  height: 60px;
  background-color: rgb(90, 90, 90);
  backdrop-filter: blur(50px);
  box-shadow: 0px 0px 100px rgba(227, 228, 237, 0.37);
  border: 0.5px solid rgba(170, 170, 170, 0.18);
  border-radius: 5px;
}
.header > img {
  margin-left: 20px;
  width: 45px;
  height: 45px;
  filter: drop-shadow(0px 3px 3px black);
  transition: ease-out 0.5s;
}
/* Kelas yang akan diaktifkan oleh JavaScript saat di-scroll */
.header.scrolled > img {
  transform: scale(0.7);
}
/* ikon hamburger */
.hamburger-menu {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
/* Atur jarak antar bar */
.hamburger-menu .bar:nth-child(2) {
  margin: 5px 0;
}
/* Gaya saat menu aktif (diberi kelas 'active') */
.hamburger-menu.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg); /* Pindahkan dan putar bar atas */
  background-color: #ff7300; /* Ubah warna menjadi merah saat aktif */
}
.hamburger-menu.active .bar:nth-child(2) {
  background-color: #ff7300; /* Warna akan berubah di sini */
  scale: 0.1;
  opacity: 0;
  /* Atur transisi agar perubahan warna terjadi sebelum menghilang */
  transition: 0.2s background-color ease, 0.2s opacity ease 0.1s,
    0.2s scale ease 0.1s;
}
.hamburger-menu.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg); /* Pindahkan dan putar bar bawah */
  background-color: #ff7300; /* Ubah warna menjadi merah saat aktif */
}
.navigasi {
  margin-right: 20px;
  display: flex;
  font-size: 14px;
  list-style-type: none;
  gap: 20px;
}
.navigasi li {
  width: 80px;
}
.navigasi a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  color: white;
  text-decoration: none;
}
.navigasi a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffc300;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}
.navigasi a:hover::after,
.navigasi a.active::after {
  width: 100%;
}
.navigasi li a:hover {
  background-color: rgba(200, 200, 200, 0.2);
}

.container {
  box-sizing: border-box;
  width: 80vw;
  height: auto;
  background-color: rgb(47, 47, 47);
}

#beranda {
  position: relative;
  background: linear-gradient(90deg, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
  width: auto;
  height: auto;
}
.section-head {
  position: relative;
  text-align: left;
}
.section-head h1 {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 38px;
  color: whitesmoke;
  padding-bottom: 10px;
}
.section-head h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 70%;
  transform: translateX(-150%);
  width: 80px;
  height: 4px;
  background-color: #ff7300;
  border-radius: 2px;
}
.box1 {
  padding-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}
.left-content {
  margin: 0 20px;
}
.left-content > h2 {
  color: white;
  text-decoration: underline 1px solid white;
  text-align: left;
}
.left-content > p {
  max-width: 100%;
  text-align: justify;
  font-size: 12px;
  line-height: 1.7;
  color: rgb(200, 200, 200);
}
.btn {
  display: flex;
}
.btnCV {
  margin-top: 10px;
  width: 150px;
  height: 40px;
  background: linear-gradient(90deg, #ff7300, #ffc300); /* Gradien warna */
  clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color: white;
  transition: transform 0.3s ease;
}
.btnPanah {
  margin-top: 10px;
  margin-left: -19px;
  width: 50px;
  height: 40px;
  background: linear-gradient(90deg, #ffc300, #ffcf33); /* Gradien warna */
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 45% 100%);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.btnPanah > a {
  margin-left: 10px;
  transition: transform 0.5s ease;
  text-decoration: none;
  color: white;
  font-size: 22px;
  font-weight: bold;
}
.btnPanah:hover {
  transform: scale(1.2);
}
/* Efek hover untuk tombol */
.btnPanah:hover a {
  transform: scale(1.2) rotate(-45deg);
}
.sosmed {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin: 10px 20px;
}
.sosmed a {
  text-decoration: none;
  font-size: 20px;
}
.sosmed i {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  border-radius: 50%;
  background-color: rgb(150, 150, 150);
  filter: drop-shadow(0px 0px 1px rgb(165, 165, 165));
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.5s ease;
  text-decoration: none;
  color: black;
}
.sosmed a i:hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 1px #181717);
}
.sosmed a > img {
  display: flex;
  margin: 10px;
  border-radius: 50%;
  background-color: rgb(150, 150, 150);
  filter: drop-shadow(0px 0px 1px rgb(165, 165, 165));
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.sosmed a img:hover {
  transform: scale(1.3);
  filter: drop-shadow(0px 0px 1px #181717);
}
.starA {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(227, 228, 237, 0.37);
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  left: 50%;
  transform: translateX(-50%);
  top: -1.25em; /* Adjust to position between stars */
  z-index: 2; /* Make sure the star is above the shadow */
}
.starA::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.2); /* Dark color for shadow */
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  top: 4px; /* Shadow offset */
  left: 4px; /* Shadow offset */
  z-index: 1; /* Make sure shadow is behind the star */
  filter: blur(5px); /* Blur effect to make it more like shadow */
}
.starB {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(227, 228, 237, 0.37);
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  left: 50%;
  transform: translateX(-50%);
  bottom: -1.26em; /* Adjust to position between stars */
}
.starB::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.2); /* Dark color for shadow */
  clip-path: polygon(
    50% 0%,
    60% 40%,
    100% 50%,
    60% 60%,
    50% 100%,
    40% 60%,
    0% 50%,
    40% 40%
  );
  top: 4px; /* Shadow offset */
  left: 4px; /* Shadow offset */
  z-index: 1; /* Make sure shadow is behind the star */
  filter: blur(5px); /* Blur effect to make it more like shadow */
}
/* Garis Tengah */
.vertical-line {
  position: absolute;
  top: 1em; /* Adjust to position between stars */
  bottom: 1em; /* Adjust to ensure it reaches below */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background-color: rgba(227, 228, 237, 0.2);
  filter: blur(1px);
}
.right-content {
  padding-bottom: 10px;
  display: grid;
  align-items: flex-end;
  justify-content: center;
}
.right-content > img {
  width: 350px;
  background-image: linear-gradient(
    150deg,
    rgba(150, 150, 150, 0.6),
    rgba(0, 0, 0, 0.9)
  );
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
}

#skills {
  position: relative;
  margin-top: 50px;
  padding: 0 20px 20px 20px;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, #404040, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
}
.skill-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.skill-item {
  text-align: center;
  background-color: aliceblue;
  padding: 20px 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  position: relative;
  transition: transform 0.3s ease;
}
.skill-item:hover {
  transform: translateY(-7px) scale(1.02);
}
.skill-item i {
  font-size: 3.5em;
  color: #ff7300;
}
.skill-item:hover i {
  animation: shakeX 0.7s ease-in-out forwards;
}
.skill-item p {
  color: #181717;
  font-size: 12px;
}

@keyframes shakeX {
  0% {
    transform: scale(1.1) translateX(0);
  }
  20% {
    transform: scale(1.2) rotate(-5deg) translateX(-5px);
  }
  40% {
    transform: scale(1.2) rotate(5deg) translateX(5px);
  }
  60% {
    transform: scale(1.2) rotate(-5deg) translateX(-5px);
  }
  80% {
    transform: scale(1.2) rotate(5deg) translateX(5px);
  }
  100% {
    transform: scale(1.1) translateX(0);
  }
}

#proyek {
  position: relative;
  margin-top: 50px;
  padding: 0 20px 20px 20px;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
}
.proyek-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.proyek-item {
  text-align: center;
  background-color: aliceblue;
  height: 600px;
  /* padding: 20px 10px; */
  border-radius: 10px;
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  position: relative;
  transition: transform 0.3s ease;
}
.proyek-item:hover {
  transform: translateY(-7px) scale(1.02);
}
.proyek-item p {
  color: #181717;
  font-size: 12px;
}
/* Container untuk item proyek yang memiliki carousel */
.proyek-item.carousel-container {
  /* Atur agar posisi relatif untuk menempatkan slide dan tombol secara absolut */
  position: relative;
  /* Atur tinggi agar carousel tidak runtuh */
  height: 500px; /* Sesuaikan dengan tinggi yang Anda inginkan */
  overflow: hidden; /* Sembunyikan bagian gambar yang meluap */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
/* Wadah untuk semua slide gambar */
.image-carousel {
  position: relative;
  width: 100%;
  height: 80%;
}
/* Wadah untuk semua slide gambar */
.image-carousel img {
  width: 100%;
  height: auto;
}
/* Setiap gambar di dalam carousel */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Pastikan gambar mengisi wadah tanpa terdistorsi */
  opacity: 0; /* Sembunyikan semua slide secara default */
  transition: opacity 1s ease-in-out; /* Animasi transisi yang halus */
  z-index: 1;
}
/* Slide yang sedang aktif */
.carousel-slide.active-slide {
  opacity: 1; /* Tampilkan slide yang memiliki kelas 'active' */
  z-index: 2;
}

/* Gaya untuk tombol navigasi */
.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3; /* Pastikan tombol di atas gambar */
}
.prev-button {
  left: 10px;
  border-radius: 5px 0 0 5px;
}
.next-button {
  right: 10px;
  border-radius: 0 5px 5px 0;
}
.prev-button:hover,
.next-button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
/* Gaya untuk indikator titik */
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.indicator {
  width: 10px;
  height: 10px;
  background-color: rgb(215, 215, 215);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}
.indicator.active {
  background-color: grey;
}

#sertifikat {
  position: relative;
  margin-top: 50px;
  width: 100%;
  height: auto;
  background: linear-gradient(90deg, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
}
.box5 {
  display: flex; /* Ubah dari grid ke flexbox untuk tata letak yang lebih fleksibel */
  flex-wrap: wrap; /* Izinkan item untuk turun ke baris baru */
  justify-content: center;
}
.box5 h1 {
  margin-bottom: 0;
}
.sertifikat-item {
  margin-top: 10px;
  text-align: center;
}
/* Gaya dasar gambar sertifikat */
.sertifikat-item > img {
  margin: 5px;
  width: 300px;
  height: 200px;
  cursor: zoom-in; /* Beri petunjuk visual bahwa gambar bisa di-klik */
  transition: transform 0.3s ease; /* Transisi untuk hover (opsional) */
}
/* --- Gaya untuk Lightbox (Modal) --- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: scroll;
}
/* Aktifkan overlay */
.lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}
.lightbox-content {
  position: absolute;
  /* Tambahkan properti transisi untuk semua properti yang akan berubah */
  transition: transform 0.5s ease-in-out, top 0.5s ease-in-out,
    left 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;

  /* Atur ukuran maksimum agar tidak melebihi viewport */
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;

  /* Atur kursor saat gambar sudah di-zoom */
  cursor: zoom-out;
}
/* Sembunyikan gambar secara default untuk mencegah flash saat dimuat */
.lightbox-content.hidden {
  display: none;
}

#contact {
  position: relative;
  margin-top: 50px;
  padding: 0 20px 20px 20px;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
}
.contact-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.bingkai {
  position: relative;
  display: grid;
  justify-content: space-around;
  width: 100%;
  height: auto;
  border: 1px solid #555;
  border-radius: 8px;
  min-height: 25em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.bgFoto {
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: rgba(120, 120, 120, 0.2);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.bingkai h2 {
  margin-bottom: -50px;
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
  font-size: 2.5em;
  background: linear-gradient(160deg, #ff7300, #ffc300);
  -webkit-background-clip: text; /* Klip background agar hanya terlihat di area teks */
  background-clip: text; /* Standard property for compatibility */
  -webkit-text-fill-color: transparent; /* Jadikan warna teks transparan agar background terlihat */
}
.borderFoto {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: #ff7300 1px dashed;
  width: 22em;
  height: 22em;
}
.borderFoto img {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #ff7300, #ffc300);
  width: 20em;
  height: 20em;
  border-radius: 50%;
}
.contact-form {
  max-width: 100%;
  background-color: #444;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #555;
  text-align: left;
}
.contact-form h3 {
  margin-top: 0;
  color: #fff;
  font-weight: bold;
  font-size: larger;
}
.contact-form label {
  color: #fff;
  display: block;
  margin-bottom: 5px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: calc(100% - 20px);
  padding: 12px;
  margin-bottom: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  transition: border-color 0.3s ease-in-out;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffc300;
  outline: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form .btn {
  align-items: center;
  padding: 7px 10px;
  width: auto;
  font-size: 14px;
  font-weight: bold;
  border-radius: 3px;
  float: right;
  background: #ff7300;
  color: #fff;
  border: none;
  cursor: pointer;
}
.contact-form .btn:hover {
  background: #ffc300;
}

#footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  width: 100%;
  height: auto;
  background: linear-gradient(90deg, #202020, #404040);
  box-shadow: 0px 0px 5px rgba(227, 228, 237, 0.37);
  border-radius: 5px;
  scroll-margin-top: 80px;
}
.box6 {
  margin-top: 20px;
  width: 80vw;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  justify-content: space-between;
  color: #fff;
}
.kiri img {
  width: 150px;
}
.alamat-items {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.alamat-items span {
  margin-top: 3px;
}
.alamat-items p {
  margin: 0;
}
.footer-note p,
.alamat p {
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
}
/* Gaya untuk form kritik dan saran */
.feedback-form {
  background-color: #444;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.feedback-form h3 {
  color: #fff;
  margin: 0 0 10px 0;
}
.feedback-form label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  color: #fff;
}
.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #555;
  background-color: #333;
  color: #fff;
  box-sizing: border-box; /* Agar padding tidak menambah lebar */
}
.feedback-form textarea {
  resize: vertical;
  min-height: 100px;
}
.feedback-form input:focus,
.feedback-form textarea:focus {
  border-color: #ffc300;
  outline: none;
}
.feedback-form button {
  background-color: #ff7300;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 7px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.feedback-form button:hover {
  background-color: #ffc300;
}
/* Gaya CSS untuk daftar komentar */
.feedback-list {
  margin-top: 20px;
  border-top: 2px solid #555;
  max-height: 300px; /* Atur tinggi maksimum yang Anda inginkan */
  overflow-y: auto; /* Aktifkan scroll vertikal jika konten melebihi tinggi */
  padding-right: 15px; /* Tambahkan sedikit padding agar tidak menempel ke scrollbar */
}
.feedback-list h3 {
  text-align: center;
  margin: 10px;
}
.comment-item {
  background-color: #444;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 0 20px;
  margin-bottom: 10px;
}
.comment-item h4 {
  margin: 10px 0 0 0;
  color: #ffc300;
}
.comment-date {
  font-size: 0.5em;
  margin-bottom: 15px;
}
.comment-text {
  font-size: 12px;
  line-height: 1.5;
}

#back-to-top {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 100;
  background-color: #555;
  opacity: 0.2;
  color: white;
  cursor: pointer;
  /* width: 30px; */
  padding: 3px 6px;
  border-radius: 50%;
  transform: rotate(-90deg);
  text-decoration: none;
  font-size: 22px;
  font-weight: bolder;
  text-align: center;
  transition: 0.3s ease;
}
#back-to-top:hover {
  background-color: #000;
  opacity: 1;
}

footer {
  text-align: center;
  bottom: 0;
  width: 100%;
  background-color: rgb(90, 90, 90);
  font-size: 18px;
  color: white;
}

/* --- Media Queries untuk Responsivitas --- */
@media (max-width: 1080px) {
  .right-content {
    display: grid;
    align-items: center;
    justify-content: center;
  }
  .borderFoto {
    width: 21em;
    height: 21em;
  }
  .borderFoto img {
    width: 19em;
    height: 19em;
  }
}
@media (max-width: 920px) {
  .box1 {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }
  .vertical-line {
    display: none;
  }
  .bingkai h2 {
    font-size: 1.9em;
  }
  .borderFoto {
    width: 17em;
    height: 17em;
  }
  .borderFoto img {
    width: 16em;
    height: 16em;
  }
}
@media (max-width: 768px) {
  .box1 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  .vertical-line {
    display: none;
  }
  .header img {
    width: 30px;
    height: 30px;
  }
  .navigasi {
    margin-right: 10px;
    gap: 10px;
    font-size: 11px;
  }
  .navigasi li {
    width: 60px;
  }
  .bingkai h2 {
    font-size: 1.5em;
  }
  .borderFoto {
    width: 16em;
    height: 16em;
  }
  .borderFoto img {
    width: 15em;
    height: 15em;
  }
}
@media (max-width: 480px) {
  body,
  html {
    overflow-x: hidden;
  }
  .container {
    width: 99vw;
  }
  .box1 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .header {
    width: 99vw;
  }
  /* Tampilkan tombol hamburger */
  .hamburger-menu {
    display: block;
    position: absolute;
    right: 20px;
  }
  .navigasi {
    position: fixed;
    margin-top: 30px;
    right: 0;
    width: 100px;
    background-color: #181717;
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
    transform: translateX(150%); /* sembunyikan di luar layar */
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  .navigasi li a {
    justify-content: left;
  }
  /* Kalau aktif, tampil */
  .navigasi.active {
    /* display: flex; */
    transform: translateX(0); /* geser masuk */
    margin-right: -10px;
  }
  .section-head h1::after {
    left: 71%;
  }
  .vertical-line {
    display: none;
  }
  .bingkai h2 {
    font-size: 1.5em;
  }
  .borderFoto {
    width: 14em;
    height: 14em;
  }
  .borderFoto img {
    width: 13em;
    height: 13em;
  }
  .right-content img {
    width: 250px;
  }
  .btn {
    scale: 0.9;
  }
  .btnCV {
    font-size: 12px;
    scale: 0.9;
  }
  .btnPanah {
    scale: 0.9;
  }
  .btnPanah a {
    scale: 0.8;
  }
  .sosmed {
    gap: 12px;
  }
  .box6 {
    width: 90vw;
  }
  #back-to-top {
    display: block;
  }
}
