@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", serif;
}

:root {
    --primary-color: #0ea5e9;
    --black: #0f0f0f;
    --black-light: #121212;
    --white: #ffffff;
    --white-light: #c6c8c9;
}

.btn {
    height: 50px;
    width: 100px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: .6s;
    overflow: hidden;
    border: none;
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    z-index: 1;
    transition: .6s;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0%;
    left: -50px;
    width: 0;
    height: 100%;
    background-color: var(--white);
    transform: skewX(45deg);
    z-index: 0;
    transition: width 1000ms;
}

.btn:hover::before {
    width: 250%;
}

.btn:hover a {
    color: var(--primary-color);
}

.section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 12%;
    gap: 50%;
}

.section_title {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--white);
    z-index: 1;
}

.section_title #span {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.section_title h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.section_title p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--white-light);
    line-height: 30px;
}

.section_image {
    width: 50%;
    display: flex;
    justify-content: center;
}

.section_image img {
    height: 100%;
    width: 100%;
}

body {
    background: var(--black);
    overflow-x: hidden;
}

.navbar {
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 12%;
    position: fixed;
    top: 0%;
    left: 0%;
    z-index: 9999;
    background-color: var(--black);
}

.logo {
    width: 130px;
}

.logo a {
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 300;
}

.menu {
    display: flex;
    align-items: center;
}

.menu li {
    padding: 0px 16px;
}

.menu li a {
    font-size: 0.9rem;
    padding: 8px;
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .6s;
}

.menu li a:hover {
    color: var(--primary-color);
}

.menu li a.active {
    color: var(--primary-color);
    position: relative;
}

#toggle {
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 8px;
    border-radius: 8px;
    display: none;
    cursor: pointer;
}

.nav_btn {
    width: 150px;
    height: 50px;
}

.nav_btn a {
    font-size: 1rem;
}

.hero {
    width: 100%;
    min-height: 88vh;
    position: relative;
    background-image: url(img/bg.png);
    background-size: cover;
    background-position: top center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -30%;
    height: 100%;
    width: 80%;
    border-radius: 100%;
    filter: blur(30px);
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 66%);
    opacity: .3;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: #0f0f0f;
    opacity: 0.2;
}

#span {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.2rem;
    margin: 0px 0px 20px;
}

.hero_title {
    width: 60%;
    gap: 0;
}

.hero_title h1 {
    font-size: 4.5rem;
    letter-spacing: 1px;
    color: var(--white);
    margin: 0px 0px 10px;
}

.hero_title h3 {
    font-size: 2.8rem;
    margin: 0px 0px 20px;
}

.hero_title h1 span {
    color: var(--primary-color);
}

.hero_title p {
    width: 70%;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero_btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}

.hero_btn .btn {
    width: 150px;
}

.hero_btn img {
    height: 70px;
    width: 70px;
}
/* About */

.about-section {
    color: var(--white);
    padding-top: 65px;
    max-width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.about-title1 {
    font-size: 25px;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    max-width: 750px;
    width: 100%;
    margin-bottom: 30px;
}

.about-title1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-section2 {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 25px 0px;
}

.about-section2 img {
    width: 300px;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.about-section2 img:hover {
    filter: grayscale(0%);
}

.about-text {
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.about-text h1 {
    margin: 0;
    font-size: 38px;
    color: var(--primary-color);
}

.about-text p {
    margin-top: 10px;
    font-size: 18px;
    color: var(--white-light);
    line-height: 1.5;
    text-align: justify;
}

/* Skill container */
.skill-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.skill-box {
    width: 100%;
    margin: 30px 0;
}

.title {
    display: block;
    font-size: 13px;
    color: var(--white-light);
}

.skill-bar {
    height: 10px;
    width: 100%;
    border-radius: 6px;
    margin-top: 8px;
    background-color: rgba(255, 255, 255, 0.119);
}

.skill-per {
    position: relative;
    display: block;
    height: 100%;
    width: 80%;
    border-radius: 6px;
    background: linear-gradient(to right, #2196f3, #21cbf3);
    animation: progress 1.2s ease-in-out forwards;
    opacity: 0;
}

@keyframes progress {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.tooltip {
    position: absolute;
    right: -14px;
    top: -30px;
    font-size: 10px;
    font-weight: 600px;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #1565c0;
    z-index: 1;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    height: 9px;
    width: 9px;
    background-color: #1565c0;
}

/* Timeline section */
.timeline-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-icon::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(100% + 28px);
    background-color: var(--primary-color);
    z-index: -1;
}

.timeline-item:last-child .timeline-icon::before {
    display: none;
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    background-color: #2D2C33;
    color: #A5A5A5;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    margin: 0 0 4px;
}

.timeline-company {
    font-weight: 600;
    color: #B0B0B0;
    margin: 0 0 4px;
    font-weight: 800;
}

.timeline-description {
    color: #B0B0B0;
    font-size: 14px;
    margin: 0;
}


/* CARD */
.container-card1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 800px;
    padding-top: 30px;
}

.card__container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card__article {
    position: relative;
    overflow: hidden;
    width: 300px;
}

.card__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card__data {
    width: 280px;
    background-color: var(--black-light);
    border: 1px solid var(--primary-color);
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 1s 1s;
}

.card__description {
    display: block;
    font-size: 0.875rem;
    color: var(--white);
    margin-bottom: .25rem;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: .75rem;
}

.card__button {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.card__button:hover {
    text-decoration: underline;
}


/* Naming animations in hover */
.card__article:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
}

.card__article:hover {
    animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
    animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
    animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }
    100% {
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to {
        overflow: initial;
    }
}

@keyframes remove-data {
    0% {
        transform: translateY(-7rem);
    }
    50% {
        transform: translateY(-10rem);
    }
    100% {
        transform: translateY(.5rem);
    }
}

@keyframes show-overflow {
    0% {
        overflow: initial;
        pointer-events: none;
    }
    50% {
        overflow: hidden;
    }
}


/* Panah naik turun */
.bounce-arrow {
    animation: bounce 1.5s infinite;
    transition: transform 0.3s ease;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}


/* CURSOR */
.circle {
    position: fixed;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999999;
    background-color: rgba(14, 165, 233, 0.1);
    filter: blur(8px);
}


/* Footer */
footer {
    background-color: var(--black-light);
    color: var(--white-light);
    padding: 30px 0;
    text-align: center;
}

.socialIcons a {
    margin: 35px;
    color: white;
    font-size: 25px;
    transition: 0.3s ease;
}

.socialIcons a:hover {
    color: var(--primary-color);
}

.footerBottom {
    padding-top: 30px;
}

.designer {
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsiv */
@media screen and (max-width: 1200px) {
    .menu li {
        padding: 0px 10px;
    }
    .menu li a {
        font-size: 0.8rem;
    }
    .hero_title {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 5%;
        background-color: rgba(15, 15, 15, 0.5); /* Semi-transparan */
        backdrop-filter: blur(10px); /* Efek blur */
    }

    #toggle {
        display: block;
    }

    .menu {
        height: 0;
        position: absolute;
        flex-direction: column;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: rgba(29, 29, 29, 0.59);
        backdrop-filter: blur(10px);
        overflow: hidden;
        opacity: 0;
        transition: .6s;
    }

    .menu li {
        width: 100%;
        padding: 20px 12%;
        text-align: center;
    }

    .menu.active {
        height: 450px;
        opacity: 1;
    }

    .nav_btn {
        display: none;
    }

    .hero.section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 100px 5% 50px;
    }

    .hero_title {
        width: 100%;
    }

    .hero_title h1 {
        font-size: 2.5rem;
    }

    .hero_title h3 {
        font-size: 1.5rem;
    }

    .hero_title p {
        width: 100%;
        font-size: 0.9rem;
    }

    .hero_btn {
        justify-content: center;
    }

    .about-section2 {
        flex-direction: column;
        text-align: center;
    }

    .about-text h1 {
        font-size: 2.5rem;
    }

    .about-section2 img {
        width: 200px;
    }

    .container-card1 {
        padding: 10px;
    }

    .card__container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .socialIcons a {
        margin: 15px;
    }
}