*, html {
    padding: 0;
    margin: 0;
}

body {
    background-color: #fef;
}

.container {
    display: flex;
    width: 100%;
    min-height: 10px;
    justify-content: center;
}

.info {
    display: flex;
    width: 100%;
    height: 30px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    align-items: center;
    justify-content: center;
    background-color: #ff6d18;
    color: #112;
    margin-bottom: 0px;
}

.navbar {
    display: flex;
    position: sticky;
    z-index: 10;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-bottom: 2px solid rgba(238, 221, 238, 0.8);
    top: 0;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 100%;
    background-color: #023;
}

.nav-logo {
  text-decoration: none;
  color: #112;
}

.navbar ul {
    display: flex;
    margin-right: 15px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.navbar li {
    color: #ede;
    margin-right: 15px;
    text-decoration: none;
    list-style-type: none;
}

.navbar li a {
    text-decoration: none;
    color: #ede;
}

.navbar li a:hover {
    color: tomato;
}

.navimg {
    display: flex;
    height: 40px;
    width: 135px;
    font-family: 'Courier New', Courier, monospace;
    background-color: #eee;
    margin-left: 30px; /* Menambahkan jarak di sebelah kiri agar seimbang */
    justify-content: center;
    align-items: center;
    border-radius: 3px; /* Opsional: membuat sudut background logo sedikit melingkar */
}

.navbar img {
    max-height: 85%;  /* Menggunakan persentase agar gambar tidak mentok ke tepi */
    max-width: 85%;   /* Mencegah gambar pecah/melewati batas kotak pembungkus */
    object-fit: contain; /* Menjaga rasio asli gambar agar tidak penyet/distorsi */
    margin-right: 5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 30px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: 0.3s;
}

@media screen and (max-width: 720px) {
  .hamburger {
    display: flex;
  }

  .navbar ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #023;
    position: absolute;
    top: 100%; 
    left: 0;
    text-align: center;
    z-index: 999;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease, padding 0.4s ease;
  }

  .navbar ul li {
    margin: 15px 0;
  }

  .navbar.active ul {
    max-height: 300px;
    opacity: 1;
    padding: 20px 0;
  }

  .navbar.active {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .navbar.active .hamburger span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  
  .navbar.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }
  
  .navbar.active .hamburger span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* Tambahan: Responsivitas Font di HP */
  .profile-title {
    font-size: 28px;
  }
  .profile-desc {
    font-size: 16px;
  }
  .profile-card {
    max-width: 85%; /* Lebih lebar di HP agar tidak terlalu sempit */
    padding: 20px;
  }
}

/* Profile Card (Pindahkan ke luar Media Query jika ini untuk tampilan desktop) */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ede;
    max-width: 70%;
    height: auto;
    padding: 0 40px;
    padding-top: 40px;
    padding-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin: 40px 0;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 50px rgba(0, 0, 0, 0.2);

}

.profile-card img {
    width: 100px;
    height: 100px;
}

.profile-title {
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 40px;
    margin: 15px 10px;
}

.profile-desc {
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 24.7px;
    margin: 0px 10px;
    color: #333;
}

.profile-footer {
  margin-top: 20px;
  font-size: 15.2px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #023;
}

.profile-footer strong {
  color: rgb(37, 177, 100);
}
