/* Import Chakra Petch font dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
    background: linear-gradient(270deg, #989595, #5b3030, #edb845, #353434);
    background-size: 600% 600%;
    animation: moveGradient 10s ease infinite;
    font-family: "Chakra Petch", serif;
    margin: 0;
    overflow-x: hidden;
    /* Prevents horizontal scroll */
    height: 100vh;
    color: #ffffff;
}

h1 {
    font-family: "Chakra Petch", serif;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

p {
    font-family: "Chakra Petch", serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-primary {
    font-family: "Chakra Petch", serif;
    background-color: #353434 !important;
    border-color: #000000 !important;
    font-family: "Chakra Petch", serif;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    transform: scale(1.1);
}

.fab {
    color: #fff;
    font-family: "Chakra Petch", serif;
    transition: color 0.3s, transform 0.2s;
}

.fab:hover {
    color: #007bff;
    transform: scale(1.2);
}

/* Styling untuk About Section */
.about-container {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
}

.about-title {
    font-family: "Chakra Petch", serif;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text {
    font-family: "Chakra Petch", serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Styling untuk Projects Section */
.projects-container {
    position: relative;
    z-index: 1;
    padding: 50px 20px;
}

.project-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.navbar,
.navbar-brand,
.nav-link {
    font-family: 'Chakra Petch', serif !important;
}


/* Animasi */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.8s ease-in-out;
}

.animate-slide-up {
    animation: slideUp 1.5s ease-in-out;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

.delay-3 {
    animation-delay: 1.5s;
}

/* Background Animation */
@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}