*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family:"Poppins", sans-serif;
}
.container{
    width: 80%;
    margin-inline: auto;
}
@media(max-width:992px){
    .container {width: 90%;}
}

/* navbar */
.navbar {
    padding: 30px 0;
}

.navbar-box{
    display: flex;
    justify-content: center;
}

.navbar-box .menu{
    display: flex;
    align-items: center;
    gap: 45px;
}

.navbar-box .menu li {
    list-style-type: none;
}

.navbar-box .menu li a {
    text-decoration: none;
    color: #4A4A4A;
    font-weight: 600;
}

.navbar-box .menu li a:hover {
    color: #00cba9;
    transform: translateY(-2px);
}

/* Download Cv */
.container-cv {
    display: flex;
    justify-content: center; 
    align-items: center;  
}

.container-cv .btn-download {
    padding: 10px 20px;
    background-color: #00cba9;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: 0.3s;
}

.container-cv .btn-download:hover {
    background-color: #0056b3;
}
/* Download Cv */

@media (max-width: 768px) {
.navbar-box .menu {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
  }

.navbar-box .navbar-box {
    display: flex;
    justify-content: center;
  }
}
/* navbar */

/* haro */
.hero{
    margin-block: 70px;
}

.hero-box {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 50px;
}

.hero-box img {
    width: 260px;
}

.hero-box h1{
    text-align: center;
    font-weight: 500;
    font-size: 60px;
    line-height: 1.3;
}

.hero-box h1  span{
    font-weight: bold;
    color: #00cba9;
}

@media (max-width: 768px) {
    .hero-box h1 {
        font-size: 45px;
    }
}

@media (max-width: 475px) {
    .hero-box h1 {
        font-size: 40px;
    }
}

/* hero */


header svg {
    margin-bottom: -10px;
}

/* About */
.about {
    background-color: #00cba9;
    padding-block: 50px;
    color: white;
}

.about .container > h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.about-box .box:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    align-items: center; 
    margin-bottom: 150px;
    gap: 50px;
}


.about-box .box:nth-child(1) img {    
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-inline: auto;
}


.about-box .box:nth-child(1) p {
    line-height: 2;
    text-align: justify;
    margin-bottom: 30px;   
}

.about-box .box:nth-child(1) p span {
   font-weight: bold;
}

.about-box .box:nth-child(1) a {
  background-color: #1E293B;
  border: 1px solid white;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.about-box .box:nth-child(1) a:hover {
  background-color: white;
  color: black;
  font-weight: bold;
}

.about-box .tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
    margin-top: 10px;
}

.about-box .tools .tools-box {
    background-color: #1E293B;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid white;
    padding: 10px;
    border-radius: 5px;
}
.about-box .tools .tools-box:hover {
    background-color: white;
    color: black;
}

.about-box .tools .tools-box img{
    width: 50px;
    border-radius: 5px;
}

@media (max-width: 992px) {
    .about-box .box:nth-child(1) {
        grid-template-columns: 1fr;
        gap: 30px; /* Perkecil jarak antara gambar dan teks */
        text-align: center; /* Agar teks otomatis rata tengah di HP */
    }

    .about-box .box:nth-child(1) img {
        max-width: 250px; /* Perkecil sedikit lagi fotonya untuk layar HP */
        margin-inline: auto;
    }
}
    
/* About */


/* Project */
.project {
    padding-block: 50px;
}

.project .container h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 40px;
}
.project-box {    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 50px;
}

.project-box .box {
    padding: 20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;  
}

.project-box .box img{
    width: 100%;
    border-radius: 10px;
}

.project-box .project-desc {
    margin-top: 20px;
}


.project-box .project-desc p {
    line-height: 2;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 2;
    text-align: justify;   
}

.project-box .project-desc .project-bnt {
    display: flex;
    align-items: center;
    justify-content: space-between;      
}

.project-box .project-desc .project-bnt a{
    background-color: #00cba9;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.project-box .project-desc .project-bnt a:hover{
    background-color: #1E293B;
}

@media (max-width:768px) {
.project-box {
  grid-template-columns: 1fr;
}
}
/* Project */

/* Certificates */
.certificates {
    background-color: #00cba9;
    padding-block: 10px;
    color: white;
    margin-top: -10px;
    padding: 50px;
}
.certificates h2 {
    text-align: center;
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.certificates p {
    text-align: justify;
    margin-left: 50px;
    margin-right: 50px;    
}

.certificates-container {    
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 0px;
    padding: 80px; 
}

.certificates-container .certificates-card {
    padding: 20px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;  
    background-color: #fff;
}

.certificates-container .certificates-card img{
    width: 100%;
    border-radius: 10px;
}


.certificates-card h3 {
    text-align: center;  
    color: black;
    font-size: medium;
}

.certificates-card p {
    color: rgba(0, 0, 0, 0.6);    
    text-align: center;
    font-size: small;    
}


@media (max-width: 768px) {
  .certificates-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .certificates-container {
    grid-template-columns: 1fr;
  }
}

/* Certificates */


/* contact */
footer {
    background-color: #00cba9;
    margin-top: -10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;    
    flex-direction: column-reverse;
    gap: 10px;
}

footer span {
    font-weight: bold;
}

 footer .social {
    display: flex;
    gap: 20px;
}

footer .social a{
    color: white;
    text-decoration: none;
    font-size: 40px;
}

.fa-facebook {
    color: #3b5998;
}

.fa-square-instagram {
    color: #e4405f;
}
.fa-square-linkedin {
    color: #0077b5;
}


.fa-facebook:hover {
    color: white;
}

.fa-square-instagram:hover {
    color: white
}

.fa-square-linkedin:hover {
    color: white;
}

/* contact */

/* Scroll To Top */
.scroll-up {
    position: fixed;
    bottom: -50px;
    right: 40px;
    background-color: #00cba9;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}

.scroll-up.scroll-active {
    bottom: 40px;
    opacity: 1;
}

.scroll-up:hover{
    background-color: #06fed5;
}

.scroll-up a {
    color: white;
}

@media (max-width:475px) {
    .scroll-up {
        right: 20px;
    }

     .scroll-up.scroll-active {
        bottom: 20px;
     }
    }
/* Scroll To Top */
