* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}

.container {
  width: 650px;
  margin: 80px auto;
  margin-top: 80px;
}

/* navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 5px 8%;

  background: #fff;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
  font-size: 24px;
  font-weight: 600;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%; /* Hapus jika logomu bukan berbentuk lingkaran */
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.hamburger {
  display: none;
  font-size: 25px;
  cursor: pointer;
}

.nav-links a {
  text-decoration: none;
  color: #444;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #3b82f6;
}

/* PROFILE */

.profile {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 50px;
}

.profile img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: -10% 70%;
  border: 3px solid #e5e5e5;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease;
}

.profile img:hover {
  transform: scale(1.05);
}

.profile h1 {
  font-size: 30px;
  font-weight: 600;
}

.job {
  color: #666;
  margin-top: 4px;
}

.website {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 12px;
  background: #f3f3f3;
  border-radius: 20px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
}

/* SECTION */

section {
  margin-bottom: 70px;
  scroll-margin-top: 80px;
}

section h3 {
  font-size: 17px;
  margin-bottom: 18px;
  font-weight: 600;
}

#about p {
  color: #555;
  font-size: 15px;
  /* filter: blur(3px); */
}

/* EXPERIENCE */

.item {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin-bottom: 28px;
}

.year {
  color: #888;
  font-size: 14px;
}

.detail h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}

.detail span {
  color: #777;
  font-size: 14px;
  font-style: italic;
}

.detail ul {
  color: #777;
  margin-top: 8px;
  padding-left: 18px;
}

.detail li {
  margin-bottom: 5px;
}

/* kemampuan */

#skills ul {
  margin-top: 10px;
  padding-left: 20px;
  color: #333;
  font-size: 15px;
}

/* Gallery */

.gallery {
  margin-left: 0px;

  display: grid;
  grid-template-columns: 150px 1fr;
  margin-bottom: 13px;
}

.gallery img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery h4 {
  padding-bottom: 5px;
  font-size: 16px;
}

.gallery p {
  color: #777;
  font-size: 13px;
}

/* Responsive */
/* laptop */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .item {
    grid-template-columns: 1fr;
  }

  .gallery {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

/* hp */
@media (max-width: 480px) {
  .container {
    width: 85%;
  }

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .item {
    grid-template-columns: 1fr;
  }

  .gallery {
    margin-left: 0;
    flex-wrap: wrap;
    margin-bottom: 50px;
  }

  .gallery div {
    margin-top: -5px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;

    top: 0;
    right: -100%;

    width: 250px;
    height: 100vh;

    background: #fff;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    gap: 30px;

    transition: 0.3s;

    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
  }

  .nav-links.active {
    right: 0;
  }
}

/* project */

/* Education */
.education {
  margin-bottom: 55px;
  scroll-margin-top: 80px;
}

.education ul {
  padding-left: 20px;
}

.education ul p {
  color: #777;
}

/* contact */

.contact-list {
  display: flex;

  justify-content: center;

  gap: 30px;

  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000000;
  padding: 12px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: 0.2s;
}

.contact-item:hover {
  background: #111;

  color: white;

  transform: translateY(-4px);
}

.contact-item img {
  width: 30px;
}

/* footer */

.footer {
  display: flex;
  justify-content: center;
  color: #666;
  background-color: #f3f3f3;
  padding: 15px;
}
.footer p {
  font-weight: bold;
}
