/*==================================*\
    #style.css
\*==================================*/

/**
 * copyright 2024 @denisetiawanpratama
 */

/*==================================*\
    #CUSTOM PROPERTY
\*==================================*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

:root {
    --c-body-: #fafafa;
    --c-border-1: #ececec;
    --c-border-2: #ececec;
    --c-bg-blue-btn: #017bfe;
    --c-bg-orange-btn: #f45c23;
    --c-line: #ececec;
    --c-gray: #abaaaa;
    --c-black: #090908;
    --c-view-all: #7a7a7b;
    --c-latest: #212121;
    --c-available: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* scroll-padding: 2rem; */
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img,
remix-icon,
a,
button,
time,
span {
    display: block;
}

img {
    max-width: 100%;
    object-fit: cover;
}

button {
    font: inherit;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

input,
textarea {
    display: block;
    width: 100%;
    background: none;
    font: inherit;
}

::selection {
    background: #222;
    color: #f7f7f7;
}

:focus {
    outline-color: var(--orange-yellow-crayola);
}

html {
    font-family: var(--ff-poppins);
}

body {
    background: var(--c-body-);
}


/*==================================*\
    #REUSED STYLE HTML
\*==================================*/


/* GLOBAL CSS */

.px-6 {
    padding-left: 7.5em;
    padding-right: 7.5em;
}

.fs-6 {
    font-size: 12px !important;
}

.fs-7 {
    font-size: 13px;
}

.rounded {
    border-radius: 15px !important;
}

.border-secondary {
    border-color: var(--c-border-1) !important;
}

.text-secondary {
    color: var(--c-gray) !important;
}

.btn-secondary {
    background: var(--c-gray) !important;
}


/* ANIMATE */

@keyframes wave-animation {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(10deg) scale(1);
    }

    35% {
        transform: rotate(15deg) scale(1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(-5deg) scale(1);
    }

    85% {
        transform: rotate(5deg) scale(1);
    }

    95% {
        transform: rotate(-5deg) scale(1);
    }

    100% {
        transform: rotate(0deg) scale(1.05);
    }
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes zoom-out {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

@keyframes fade-out {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}


/* NAVBAR */

header {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    border: 1px solid #eeeeef;
    background: #fefffe;
    box-shadow: 0px 8px 10px 3px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    padding: 10px 6px;
    z-index: 999;
}

nav .nav-links {
    /* animation: fade-up 0.5s 0.4s backwards; */
    display: flex;
    gap: 8px;
}

nav .nav-links a {
    font-size: 25px;
    color: #afafae;
    transition: all 0.3s ease;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    padding: 3px 11px;
    z-index: 9999;
}

nav .nav-links a:hover {
    color: #000;
    border-color: #535353;
}

nav .nav-links a.active {
    background: var(--c-bg-blue-btn);
    color: #fff;
    border-color: var(--c-bg-blue-btn);
}


/* ALL TOOLTIP CSS */

.tooltip-stack,
.tooltip-store,
.tooltip-projects,
.tooltip-about,
.tooltip-contact,
.tooltip-stack {
    --bs-tooltip-bg: #000;
    --bs-tooltip-color: #fff;
}


/* ALL ABOUT */

#about {
    padding-top: 50px;
    padding-bottom: 80px;
}

#about .border {
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 30px 40px;
}


/* ALL PROFILE */

.profile {
    border: 1px solid var(--c-border-2);
    border-radius: 60px;
    padding: 8px 8px;
}

.profile .front {
    font-size: 12px;
    color: var(--c-gray);
}

.profile .text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile .text i {
    font-size: 10px !important;
    color: #00b33c;
    animation: blink 1.3s infinite;
}

.profile .text h6 {
    font-size: 14px;
    color: var(--c-available);
    margin-right: 20px;
    font-weight: 600;
    letter-spacing: 0;
}

.profile h5 {
    font-size: 18px;
    color: var(--c-black);
}

.profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: transform .3s ease-out;
}

.profile img:hover {
    transform: scale(1.1);
}


/* ALL LINE */

.line {
    border: 1px solid var(--c-line);
}


/* ALL ABOUT */

.container-text-profile .text-profile1 strong {
    color: var(--c-black);
    font-weight: 600;
}

.container-text-profile .text-profile1,
.container-text-profile .text-profile2 {
    color: var(--c-gray);
    font-size: 18px; 
    font-weight: 600;
}

.image-profile img {
    animation: zoom-out 0.5s 0.3s backwards;
}


/* ALL STACK */

#stack {
    padding-top: 27px;
    padding-bottom: 30px;
}

#stack .border-stack-luar i {
    color: var(--c-bg-orange-btn);
}

#stack .border-stack-luar .logo-stack-border {
    font-size: 36px !important;
}

#stack .border-stack-luar .text-stack-border {
    font-weight: 700;
    background: linear-gradient(to right, #000, #bdbdbd);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

#stack .border-card-link {
    background: var(--c-body-);
    transition: all 0.3s ease;
}

#stack .border-card-link:hover {
    background: #f0f0f0;
    border-color: #d4d4d4 !important;
}

#stack .border-stack-luar .link-full-stack .arrow-long {
    margin-top: 2px;
    margin-left: 0.3em;
    position: relative;
    transition: all 0.3s ease;
}

#stack .border-stack-luar .link-full-stack:hover .arrow-long {
    translate: 30%;
}

#stack .border-stack-luar {
    border: 1px solid var(--c-border-2);
}

/* ALL GEAR */
.logo-gear {
    color: var(--c-bg-orange-btn) !important;
    font-size: 36px !important;
}

.text-gear {
    font-weight: 700;
    background: linear-gradient(to right, #000, #bdbdbd);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.box .img-gear {
    width: 100%; 
    height: 180px; 
    margin-top: 25px; 
    border-radius: 10px; 
    border: 1px solid #ececec;
    transition: border .3s ease-out;
}

.box .img-gear:hover {
    border: 1px solid #000;
}

.box .img-gear:hover:active {
    border: 1px solid #000;
}


/* ALL SOCIAL-MEDIA */

.social-media a {
    color: var(--c-gray) !important;
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--c-latest) !important;
    transform: scale(1.1);
}

.social-media-footer {
    display: none !important;
}

.social-media-footer a {
    color: var(--c-gray) !important;
    transition: all 0.3s ease;
}

.social-media-footer a:hover {
    color: var(--c-latest) !important;
    transform: scale(1.1);
}


/* ALL FOOTER */

#footer .admin-footer {
    color: var(--c-bg-orange-btn) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: underline !important;
}

#footer .admin-footer:hover {
    text-decoration: underline;
    color: var(--c-latest) !important;
}


/*==================================*\
    #RESPONSIVE
\*==================================*/

@media (max-width: 1200px) {
    #stack .border-stack-luar .link-full-stack {
        width: 20% !important;
    }
}

@media (max-width: 992px) {
    #about {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 75px;
    }
    
    .container-text-profile .text-profile1,
    .container-text-profile .text-profile2 {
        font-size: 17px;
    }

    .px-6 {
        padding-left: 2em;
        padding-right: 2em;
    }

    .profile .text i,
    .profile .text h6 {
        display: none;
    }

    .profile h5 {
        font-size: 14px;
    }

    .profile .front {
        font-size: 12px;
    }

    .image-profile img {
        width: 70px !important;
        height: 70px !important;
    }

    #stack .border-stack-luar .link-full-stack {
        width: 25% !important;
    }
}

@media (max-width: 768px) {
    #about {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 75px;
    }

    #about .border {
        padding: 16px 16px;
    }

    .px-6 {
        padding: 0px 0px;
    }

    .image .image-setup {
        height: 300px;
        object-fit: cover !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-attachment: fixed;
    }

    .image-profile img {
        width: 60px !important;
        height: 60px !important;
    }

    .image-profile .name {
        font-size: 18px;
    }

    .container-text-profile .text-profile1,
    .container-text-profile .text-profile2 {
        font-size: 16px;
    }

    #stack .border-stack-luar .link-full-stack {
        width: 40% !important;
    }

    #stack .border-stack-luar {
        border: none !important;
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    #gear {
        margin-top: 0px !important;
    }

    #footer .posisi-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    nav .nav-links a {
        font-size: 20px;
        padding: 4px 10px;
    }

    #about {
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 65px;
    }

    .px-6 {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    .border {
        padding: 20px 20px;
    }

    .image-profile .name {
        font-size: 13px;
    }

    .container-text-profile .text-profile1,
    .container-text-profile .text-profile2 {
        font-size: 13px;        
    }

    #stack .border-stack-luar .link-full-stack {
        width: auto !important;
    }

    .logo-gear {
        font-size: 40px !important;
    }

}

@media (max-width: 450px) {
    #about {
        padding-bottom: 65px;
    }

    .social-media {
        display: none !important;
        margin: 0;
        padding: 0;
    }

    .social-media-footer {
        display: flex !important;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 360px) {
    .my-name {
        font-size: 12px !important;
    }

    .front {
        font-size: 10px !important;
    }

    .profile img {
        width: 35px !important;
        height: 35px !important;
    }
}