html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: rgb(0, 0, 0);
  color: white;
  font-family: 'Poppins';font-size: 22px;
  height: 100vh;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  background: #0f1724;
}




/* header */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgb(237, 186, 0);
  padding: 18px 0;
  z-index: 40;
  border-radius: 0 0 15px 15px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-size: 24px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.site-title:hover {
  color: #333;
}

.heade-actions {  
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.navbar a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    padding: 20px;
    display: inline-block;  
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.navbar a:hover {
    background-color: rgb(255, 255, 255);
    color: black;
    border-radius: 10px;
}



/* header */


/* hero */
.main {
    color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;  
  gap: 230px;
  padding: 50px;
  text-align: center;
  font-family: 'Poppins';
  
}

.foto-danang {
  width: 300px;
  height: auto;
  border-radius: 20px;

}

.foto-danang:hover {
  transform: translateY(-8px);
  transition: 0.3s;
  box-shadow: rgb(237, 186, 0) 0px 0px 30px;
} 
.right-main {
    font-size: 20px;
  text-align: center;
  padding: 10px 10px;
    margin-left: 100px;
    margin-right: 10px;
}   

.main-button {
    background-color: rgb(237, 186, 0);
    color: black;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.left-main {
  text-align: justify;
  padding: 100px 20px;
  margin-left: 200px;
  margin-right: 150px;
}

#nama {
    font-family: 'Anton';
    font-size: 50px;
    margin-bottom: 20px;
    color: white;
    letter-spacing: 2px;
}

.typing {
  color:rgb(237, 186, 0);
  font-size: 30px;
  border-right: 2px solid #27a7ff;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.7s infinite;
  text-shadow: rgb(237, 186, 0) 0px 0px 10px;;
}

@keyframes blinkCursor {
  0% { border-color:rgb(237, 186, 0); }
  50% { border-color: transparent; }
  100% { border-color: rgb(237, 186, 0); }
}
/* hero */  

/* about me */
.about-me {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}
/* about me */

/* apps */
/* Skill Section */
#skills {
  margin: 50px auto;
  text-align: center;
  padding: 20px;
  padding-bottom: 150px;
}

#skills .title {
  font-size: 36px;
  margin-bottom: 30px;
  color: #ffffff;
}

.skills-container {
 display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.skill-card {
  background: #1e293b; 
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: rgb(237, 186, 0) 0px 0px 30px;
}

.skill-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.skill-card p {
  margin: 0;
  color: white;
  font-size: 16px;
  font-weight: 500;
}




/* porto */
.title {
    color: #ffffff;
  text-align: center;
  font-size: 36px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: auto;
}
.galeri {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  margin-bottom: 100px;
}

.galeri-card {
  background: #1e293b; 
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  
  transition: transform 0.3s ease;
}

.galeri-card:hover {
  transform: translateY(-8px);
  box-shadow: rgb(237, 186, 0) 0px 0px 30px;
}

.galeri img {
  width: 100%;
  height: auto;
}
.galeri figcaption {
  text-align: center;
  padding-top: 5px;
}
.galeri h3 {
  margin: 5px 0;
  font-size: 1.1rem;
}
.galeri p {
  font-size: 0.9rem;
  color: #c2c2c2;
}



/* portofolio */

/* contact */
.Contact {
    color: white;
    height: 225px;
    text-align: center;
    padding: 0px;
    background-color: rgb(237, 186, 0);
    margin-top: 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 15px;
  
}
.Contact h2 {
    color: white;
    margin-bottom: 10px;
}
.Contact p {
    color: white;
    margin: 5px 0;
}

.info-contact {
    color: white;
}

.link-color {
    color: white;
    text-decoration: none;
}

/* contact */



/* resposive mobile */
@media (max-width: 768px) {
  .main {
    flex-direction: column;
    gap: 20 px;
    padding: 20px;
  }
  
.site-title {
  font-size: 24px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.site-title:hover {
  color: #333;
}

  .foto-danang {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  .right-main, .left-main {
    margin: 0;
    padding: 10px;
    font-size: 18px;
  }
  
  .galeri {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin: 0 20px 50px 20px;
  }
  
  .site-header {
    padding: 10px 0;
  }
  
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }

  .navbar a {
    padding: 1px;
    font-size: 16px;;
  }

  .navbar a:hover {
    background-color: rgb(255, 255, 255);
    color: black;
    border-radius: 5px;
}
  
  .navbar ul {
    flex-direction: column;
    gap: 0px;
  }
  
  .heade-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* resposive mobile */


