*{
    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: black;
}

/*navbar */

/*hero*/
.hero {
margin-block: 70px;
}

.hero-box {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 70px;
}

.hero-box img {
    width: 300px;
}

.hero-box h1 {
    text-align: center;
    font-weight: 500;
    font-size: 50px;
    line-height: 1.3;
}

.hero-box 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 Me*/
.aboutme {
    background-color: #00cba9;
    padding-block: 50px;
    color: white;
}

.aboutme .container > h1 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 40px;
}

.aboutme-box .box:nth-child(1){
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    margin-bottom: 100px;
    gap: 30px;
}

.aboutme-box .box:nth-child(1) p {
    max-width: 600px;
    width: 100%;
    line-height: 2;
    margin-bottom: 30px;
    text-align: justify;
}

.aboutme-box .box:nth-child(1) img {
    width: 400px;
    padding: 10px 10px 0 10px;
    border: 1px solid white;
    border-radius: 10px;
    margin-inline: auto;
}

.aboutme .tools .tools-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
}

.aboutme .tools .tools-box img {
    width: 50px;
    background-color: white;
    border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px){
    .aboutme-box .box:nth-child(1){
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aboutme-box .box:nth-child(1) img{
        width: 100%;
        max-width: 300px;
    }

    .aboutme-box .box:nth-child(1) p{
        max-width: 100%;
        text-align: justify;
    }
}

.aboutme-box .box:nth-child(1) a { 
    border: 1px solid white; 
    padding: 10px 20px; 
    color: white; 
    text-decoration: none; 
    border-radius: 5px; 
}

.aboutme-box .box:nth-child(1) a:hover { 
    background-color: white; 
    color: black; 
}

.aboutme-box .tools {
    display: grid;
    grid-template-columns: repeat(
        auto-fit, minmax(300px, 1fr)
    );
    gap: 10px;
    margin-top: 30px;
}
/*About Me*/

/*Education*/
.education {
    background-color: #00cba9;
    padding: 100px 0;
    color: white;
}

.education h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.edu-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.edu-item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.edu-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 10px;
}

.edu-text h3 {
    font-size: 22px;
    font-weight: 600;
}

.edu-text p {
    font-size: 18px;
    margin: 5px 0;
}

.edu-text span {
    font-size: 16px;
    opacity: 0.85;
}

/* responsive */
@media (max-width: 768px) {
    .edu-item {
        flex-direction: column;
        text-align: center;
    }

    .edu-item img {
        width: 60px;
        height: 60px;
    }
}
/*Education*/

/*Experience*/
/* Experience */
.experience {
    background-color: #00cba9;
    padding: 60px 0;
    color: white;
}

.experience h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 50px;
}

.exp-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.exp-item {
    display: flex;
    align-items: flex-start; /* INI KUNCINYA */
    gap: 25px;
}

.exp-item img {
    width: 70px;
    height: 70px;
    background: white;
    padding: 8px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 6px; /* sejajar judul */
}

.exp-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.exp-text .role {
    font-size: 18px;
    margin-bottom: 5px;
}

.exp-text span {
    font-size: 16px;
    opacity: 0.85;
    display: block;
    margin-bottom: 15px;
}

.exp-text .job {
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}

/* MOBILE */
@media (max-width: 768px) {
    .exp-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .exp-item img {
        margin-top: 0;
    }

    .exp-text .job {
        text-align: justify;
        gap: 5px;
    }
}

/*Experience*/

/*Project*/
.project {
    padding-block: 50px;
}

.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);
}

.project-box .box img {
    width: 100%;
    border-radius: 5px;
}

.project-box .project-desc {
    margin-top: 10px;
}

.project-box .project-desc p {
    line-height: 2;
    margin-top: 10px;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.6);
}

.project-box .project-desc .project-btn {
    display: flex;
    align-items: center;
}

.project-box .project-desc .project-btn a {
    background-color: #00cba9;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.project-box .project-desc .project-btn a:hover {
    background-color: #0da58c;
}

@media (max-width: 768px) {
    .project-box {
    grid-template-columns: 1fr;
}
}
/*Project*/

/*Contact*/
footer {
    background-color: #00cba9;
    margin-top: -10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

footer span {
    font-weight: bold;
}

footer .social {
    gap: 20px;
    display: flex;
}

footer .social a {
    color: white;
    text-decoration: none;
    font-size: 25px;
}
/*Contact*/



/*Scroll Up*/
.scroll-up {
    position: fixed;
    bottom: 50px;
    right: 40px;
    background-color: #057966;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}
.scroll-up a {
    color: white;
}
/*Scroll Up*/
