@keyframes slide {
  from{
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.portfolio-grid {
  overflow-x: auto;
  display: flex;
  overflow-y: hidden;
  gap: 10px;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  border-radius: 20px;
  width: 100%;

}
.container > p {
  font-size: 14px;
}
.portfolio-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  margin-top: 30px;
  margin: 0 10px;
  
}

.certificate-grid {
  width: 100%;
  overflow-x: auto;
  display: flex;
  overflow-y: hidden;
  gap: 15px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
  padding-bottom: 15px;
}
.certificate-item {
  flex: 0 0 200px;
  max-width: 200px;
}
.certificate-item > img {
  width: 80%;
  height: 100px;

}
.certificate-item > p {
  font-size: small;
}

.container{width: calc(100% - 32px); padding: 24px 0;}
  .hero{padding: 40px 0 20px; min-height: auto;}
  .section{padding: 32px 0;}
  .hero-left .name{font-size:1.8rem; white-space: normal; word-wrap: break-word;}
  .hero-left .desc{max-width:100%}
  .profile-photo img{width:250px;height:250px}
  .round-photo{width:140px;height:140px}
  .section-grid .side{
    flex: 0 0 140px;
    width: 80%;
  }
  .stats{flex-direction:column; gap:12px;}
  .stat{min-width: auto; width:100%;}
  .contact-form{padding:20px;}
  .contact-info p{font-size:1rem;}
  .portfolio-item img{height:120px;}
  .certificate-grid{
  display: flex;
  flex-direction: row;
}
#showCertificates {
  position: fixed;
  z-index: 99;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showImages {
  position: relative;
  max-width: 480px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.showImages > img {
  width: 95%;
  height: 250px;
}
#showCertificates::before {
  content: '';
  position: absolute;
  background-color: black;
  opacity: 50%;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
}
.aktifitas {
  overflow-x: hidden;
  display: flex;
}
.photo {
  display: flex;
  gap: 20px;
  padding-left: 20px;
  animation: slide linear 20s infinite;
  
}
.photo > img {
  height: 250px;
  object-fit: cover;
}


  /* FOOTER RESPONSIVE */
  .site-footer {
    padding: 40px 0 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-links, .footer-social {
    text-align: center;
  }
  
  .footer-links h4::after, .footer-social h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .social-link:hover {
    transform: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-top: 20px;
  }

