html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

header.navbar-container {
  width: 100%;
  height: 80px;

  list-style: none;
  display: flex;
  padding: 10px;

  justify-content: space-between;

  background-color: #727272;

  /* position: sticky;
    top: 0; */
}

header.navbar-container .logo {
  color: white;
  font-weight: bold;
  align-self: center;
  font-size: 2rem;
  margin-left: 50px;
}

header.navbar-container nav {
  align-self: center;
  margin-right: 100px;
}

header.navbar-container nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-self: center;
}

header.navbar-container nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 400;
  padding: 10px;
}

header.navbar-container nav ul li a:hover {
  background-color: #d9bab3;
  transition: 0.5s;
  border-radius: 15px;
  color: black;
}

main .content {
  display: flex;
  background-color: #727272;
  padding: 20px;

  justify-content: space-evenly;
}

main aside img {
  width: 300px;
  margin-bottom: 100px;
}

main .content .description {
  color: white;

  width: 50%;

  align-self: center;
}

main .content .description .button {
  background-color: #d9bab3;
  margin-top: 10px;
  width: fit-content;
  padding: 10px;
  border-radius: 8px;
}

main .content .description button {
  text-decoration: none;
  color: black;
  font-weight: 500;
  padding: 8px;
  margin-top: 10px;
  font-size: 1rem;
  background-color: #d9bab3;
  border: none;
  border-radius: 10px;
  width: 200px;
  border: 3px solid #d9bab3;

  cursor: pointer;
  transition: all 0.15s ease-in;
}

main .content .description button a {
  text-decoration: none;
  color: black;
}
main .content .description button:hover {
  background-color: transparent;
  color: white;
}

article#about-me {
  padding: 40px;
}


article#about-me .container {
  color: black;
  /* background-color: #727272; */
  padding: 20px; 
  border-radius: 30px;
}
article#about-me .container h2 {
  text-align: center;
  font-size: 35px;
}
article#about-me .container .story {
  margin-top: 40px;
}

article#about-me .gambar img {
  width: 400px;
  border-radius: 30px;
}

article#skill {
  background-color: #e7e7e7;
  padding: 50px;
  text-align: center;
}
article#skill h2{
  font-size: 35px;
}

article#skill .container {
  background-color: #e7e7e7;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 40px;
  gap: 10px;
  border-radius: 30px;
}

#skill .container .cards {
  padding: 5px;
  background-color: #727272;
  padding: 20px;
  border-radius: 30px;
  color: white;
  width: 20%;
  margin-block: 10px;
}

#skill .container .cards p {
  font-size: 18px;
  text-align: center;
  font-weight: 500;
}
#skill .container .cards img {
  width: 60px;
}

article#project {
  padding: 50px;
  text-align: center;
}

article#project h2 {
  font-size: 35px;
  
}

article#project .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  margin-top: 20px;
}

article#project .container .item img{
  width: 30rem;
  border-radius: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

article#project .container .item p{
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
}

article#certificate {
  padding: 50px;
  text-align: center;
}

article#certificate #carouselExampleCaptions {
  width: 70%;
  margin: auto;
}


article#contact {
  /* display: flex; */
  padding: 60px;
  justify-content: center;
  text-align: center;
}

article#contact .title {
  color: black;
}

article#contact .social-media ul {
  /* background-color: #2d3e50; */
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
  gap: 1.5rem;
  justify-content: center;
}

article#contact .social-media ul li a {
  text-decoration: none;
  font-size: 2rem;
  color: black;
  transition: all 0.1s ease-in-out;
}

article#contact .social-media ul li a:hover {
  font-size: 3rem;
}

footer {
  background-color: #727272;
  text-align: center;
  padding: 20px;
  color: white;
}

@media screen and (max-width: 768px) {
  header.navbar-container {
    flex-direction: column;
  }

  header.navbar-container nav ul {
    flex-wrap: wrap;
    column-gap: 0.5rem;
  }

  main .content {
    flex-direction: column-reverse;
    /* gap: 20px; */
    align-items: center;
  }

  main .content aside img{
    width: 200px;
    margin-top: 40px;
  }

  article#about-me .container .story {
    flex-direction: column;
    align-items: center;
  }

  article#skill .container .cards {
    width: 70%;
  }

  article#project .container{
    flex-direction: column;
    display: flex;
    justify-content: center;
  }

  article#project .container .item img{
    width: 20rem;
  }

  /* #contact .social-media ul li a i{
    width: 60px;
  } */
}
