/* C0de by denoyey 
    Github: github.com/denoyey
*/


/* 
- ======================= -
    Import Google Fonts
- ======================= -
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');


/* 
- ====================== -
        Reset CSS
- ====================== -
*/
:root {
    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Montserrat', sans-serif;
    --bg-light: #F5F7F8;
    --bg-dark: #121212;
    --text-dark: #5d5f62;
    --text-light: #ffffff;
    --border-light: #ccc;
    --border-dark: #383838;
    --btn-dark: #000;
    --btn-hover-dark: #2b323f;
    --social-hover: #eeeeee;
    --footer-bg-dark: #303030;
    --social-link-color: #757575;
    --social-link-hover-color: #2b323f;
    --social-link-hover-color-dark-theme: #eeeeee;
}

* {
    font-family: var(--primary-font) !important;
}

@media (prefers-reduced-motion:no-preference) {
    :root {
        scroll-behavior: smooth
    }
}

[tabindex="-1"]:focus:not(:focus-visible) {
    outline: 0 !important
}


body,
nav {
    background: var(--bg-light) !important;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
}

blockquote {
    margin: 0;
    padding-left: 20px;
    border-left: 4px solid var(--border-light);
}

hr {
    margin: 1rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: .25
}

hr:not([size]) {
    height: .0625rem
}

ol, ul {
    list-style: none;
}
  
a {
    text-decoration: none;
    color: inherit;
}

button:focus {
    outline: none !important;
}

::selection {
    background-color: #B7B1F2;
    color: var(--btn-dark);
}



/* EDIT CLASS */
.bg-grey {
    background-color: #efefef !important;
}
.text-brown {
    color: var(--text-dark) !important;
}
.custom-tooltip {
    --bs-tooltip-bg: #6e5eff;
    --bs-tooltip-color: #fff;
}


/* Nav */
nav.navbar {
    z-index: 10;
    position: sticky;
    top: 0;
}
nav .navbar a:hover {
    filter: brightness(100%) !important;
}
nav .more {
    transition: color .3s ease-out !important;
}
nav .getintouch {
    transition: .3s ease-out !important;
}
nav .more.active {
    font-weight: 600 !important;
}


/* Landing Page */
#landing-page {
    transition: .3s ease-out !important;
}


/* Tema malam */
body.dark-theme::selection {
    background-color: #B7B1F2;
    color: var(--bg-light);
}
body.dark-theme,
body.dark-theme nav,
body.dark-theme a {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
}
body.dark-theme .navbar img {
    border: 1px solid #ffffff !important;
}
body.dark-theme .getintouch {
    background-color: var(--text-light) !important;
    color: var(--bg-dark) !important;
}
body.dark-theme .getintouch:hover {
    background-color: var(--border-light) !important;
    color: var(--btn-dark) !important;
}
body.dark-theme .theme-toggle-btn {
    background-color: var(--btn-dark) !important;
    border: 1px solid var(--border-dark);
    color: var(--text-light) !important;
}
body.dark-theme .theme-toggle-btn:hover {
    background-color: var(--btn-hover-dark) !important;
}
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme h4,
body.dark-theme h5,
body.dark-theme h6,
body.dark-theme p {
    color: var(--text-light) !important;
}
body.dark-theme footer .social-links-laptop a {
    background-color: var(--footer-bg-dark) !important;
    color: var(--text-light) !important;
}
body.dark-theme footer .social-links-laptop a i {
    color: #bfbfbf !important;
}
body.dark-theme footer .social-links-hp a {
    color: var(--social-link-color) !important;
}
body.dark-theme footer .social-links-hp a:hover {
    color: var(--social-link-hover-color-dark-theme) !important;
}
body.dark-theme #whoami h1,
body.dark-theme #whoami p {
    color: var(--text-light) !important;
}
body.dark-theme #timeline .html-icons,
body.dark-theme #timeline .css-icons,
body.dark-theme #timeline .js-icons,
body.dark-theme #timeline .bootstrap-icons,
body.dark-theme #timeline .python-icons,
body.dark-theme #timeline .php-icons,
body.dark-theme #timeline .tailwind-icons,
body.dark-theme #timeline .burpsuite-icons,
body.dark-theme #timeline .nmap-icons,
body.dark-theme #timeline .sqlmap-icons,
body.dark-theme #timeline .wireshark-icons,
body.dark-theme #timeline .metasploit-icons,
body.dark-theme #timeline .git-icons,
body.dark-theme #timeline .vscode-icons,
body.dark-theme #timeline .xampp-icons,
body.dark-theme #timeline .laragon-icons,
body.dark-theme #timeline .linux-icons,
body.dark-theme #timeline .canva-icons {
    background-color: #262626 !important;
    transition: all .3s ease-out !important;
}
body.dark-theme #timeline .html-icons:hover,
body.dark-theme #timeline .css-icons:hover,
body.dark-theme #timeline .js-icons:hover,
body.dark-theme #timeline .bootstrap-icons:hover,
body.dark-theme #timeline .python-icons:hover,
body.dark-theme #timeline .php-icons:hover,
body.dark-theme #timeline .tailwind-icons:hover,
body.dark-theme #timeline .burpsuite-icons:hover,
body.dark-theme #timeline .nmap-icons:hover,
body.dark-theme #timeline .sqlmap-icons:hover,
body.dark-theme #timeline .wireshark-icons:hover,
body.dark-theme #timeline .metasploit-icons:hover,
body.dark-theme #timeline .git-icons:hover,
body.dark-theme #timeline .vscode-icons:hover,
body.dark-theme #timeline .xampp-icons:hover,
body.dark-theme #timeline .laragon-icons:hover,
body.dark-theme #timeline .linux-icons:hover,
body.dark-theme #timeline .canva-icons:hover  {
    background-color: var(--btn-hover-dark) !important;
}
body.dark-theme #education .isi-edu .card {
    background-color: #262626 !important;
    border-radius: 12px;
    border: 1px solid #616161 !important;
}
body.dark-theme #education .isi-edu .card .description .badge{
    transition: all .3s ease-out;
    background-color: #efefef !important;
    border-radius: 12px;
    color: #262626 !important;
    border: 1px solid #dedede !important;
}
body.dark-theme #project .isi-project .card {
    background-color: #262626 !important;
    border-radius: 12px;
    border: 1px solid #616161 !important;
}
body.dark-theme #project .isi-project .card-bottom .btn-dark {
    background-color: #ffffff !important;
    border-radius: 12px;
    color: #141414 !important;
    transition: all .3s ease-out !important;
    border: 1px solid #dedede !important;
}
body.dark-theme #project .isi-project .card-bottom .btn-dark:hover {
    background-color: #141414 !important;
    border-radius: 12px;
    color: #ffffff !important;
    border: 1px solid #616161 !important;
}
body.dark-theme #penutup {
    background-color: #efefef !important;
    border: 1px solid #dedede !important;
    transition: all .3s ease-out !important;
}
body.dark-theme #penutup h1,
body.dark-theme #penutup p {
    color: #141414 !important;
    transition: all .3s ease-out !important;
}

body.dark-theme #penutup .btn-outline-light {
    background-color: #141414 !important;
    border-radius: 12px;
    color: #ffffff !important;
    border: 1px solid #616161 !important;
    transition: all .3s ease-out !important;
}
body.dark-theme #penutup .btn-outline-light:hover {
    background-color: var(--social-link-hover-color) !important;
    border-radius: 12px;
    color: #ffffff !important;
    border: 1px solid #dedede !important;
}
body.dark-theme #faqs .custom-accordion .accordion-button {
    background-color: #262626 !important;
    color: #ffffff !important;
    border: 1px solid #616161 !important;
}
body.dark-theme #faqs .custom-accordion .accordion-button::after {
    filter: brightness(0) invert(1) !important;
}
body.dark-theme #faqs .custom-accordion .accordion-body {
    background-color: #262626 !important;
    color: #fff !important;
}


/* Footer */
footer {
    margin-top: 30px !important;
    bottom: 0 !important;
    position: sticky !important;
}
/* Social-Links Laptop */
footer .social-links-laptop {
    position: relative;
    gap: 10px;
    bottom: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--btn-dark);
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-out !important;
}
footer .social-links-laptop a {
    color: var(--social-link-color);
}
footer .social-links-laptop a:hover {
    color: var(--social-link-hover-color);
    transform: scale(1.3);
}
/* Social-links-hp */
footer .social-links-hp {
    gap: 10px;
    transition: .3s ease-out !important;
}
footer .social-links-hp a:hover {
    color: var(--social-link-color);
}

/* Tombol Tema */
.theme-toggle-btn {
    background-color: var(--bg-light);
    padding: 10px;
    right: 0;
    border-radius: 8px;
    transition: transform .3s ease-out;
    border: 1px solid var(--social-link-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle-btn:hover {
    background-color: var(--btn-hover-dark);
    color: var(--text-light);
}
.theme-toggle-btn i {
    font-size: 14px;
}


/* More */
#more {
    padding-top: 3rem !important;
}

#more {
    transition: .3s ease-out !important;
}
#more h1 {
    font-size: 40px !important;
    font-weight: 800 !important;
    font-family: 'Roboto Mono', sans-serif !important;
}
#more p {
    font-size: 14px !important;
    line-height: 1.5em;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif !important;
}


/* Timeline */
#timeline .timeline {
    position: relative;
    margin: 2rem 0;
}
#timeline .timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #B7B1F2;
}
#timeline .timeline-item {
    position: relative;
    margin-bottom: 2rem;
    margin-left: 40px;
}
#timeline .timeline-item h5{
    position: relative;
}
#timeline .timeline-item::before {
    content: ' ';
    position: absolute;
    left: -33px;
    width: 18px;
    height: 18px;
    background: #B7B1F2;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
#timeline h5 {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Roboto Mono', sans-serif !important;
    text-transform: uppercase;
}
#timeline h6 {
    font-weight: 600;
    font-size: 18px;
    font-family: 'Roboto Mono', sans-serif !important;
}
#timeline .place {
    font-size: 16px;
    font-family: 'Poppins', sans-serif !important;
}
#timeline .skills-heading {
    font-size: 14px;
    font-family: 'Poppins', sans-serif !important;
}
#timeline .description {
    font-size: 16px;
    text-align: start;
}
#timeline .html-icons,
#timeline .css-icons,
#timeline .js-icons,
#timeline .bootstrap-icons,
#timeline .python-icons,
#timeline .tailwind-icons,
#timeline .php-icons,
#timeline .burpsuite-icons,
#timeline .nmap-icons,
#timeline .sqlmap-icons,
#timeline .wireshark-icons,
#timeline .metasploit-icons,
#timeline .git-icons,
#timeline .vscode-icons,
#timeline .xampp-icons,
#timeline .laragon-icons,
#timeline .linux-icons,
#timeline .canva-icons {
    font-size: 24px;
    background-color: #f1f1f1;
    border: 1px solid var(--social-link-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2px 8px;
    transition: background-color .3s ease-out;
}
#timeline .html-icons:hover,
#timeline .css-icons:hover,
#timeline .js-icons:hover,
#timeline .bootstrap-icons:hover,
#timeline .python-icons:hover,
#timeline .tailwind-icons:hover,
#timeline .php-icons:hover,
#timeline .burpsuite-icons:hover,
#timeline .nmap-icons:hover,
#timeline .sqlmap-icons:hover,
#timeline .wireshark-icons:hover,
#timeline .metasploit-icons:hover,
#timeline .git-icons:hover,
#timeline .vscode-icons:hover,
#timeline .xampp-icons:hover,
#timeline .laragon-icons:hover,
#timeline .linux-icons:hover,
#timeline .canva-icons:hover  {
    background-color: #d1d1d1;
}
#timeline .html-icons i {
    color: #ff0000 !important;
}
#timeline .css-icons i {
    color: #0091ff !important;
}
#timeline .js-icons i {
    color: #ffb700 !important;
}
#timeline .bootstrap-icons i {
    color: #9d00ff !important;
}
#timeline .tailwind-icons i {
    color: #38BDF8 !important;
}
#timeline .php-icons i {
    color: #8892BF !important;
}
#timeline .burpsuite-icons i {
    color: #f26822 !important;
}
#timeline .nmap-icons i {
    color: #2962ff !important;
}
#timeline .sqlmap-icons i {
    color: #c71585 !important;
}
#timeline .wireshark-icons i {
    color: #00bcd4 !important;
}
#timeline .metasploit-icons i {
    color: #6a1b9a !important;
}
#timeline .git-icons i {
    color: #f1502f !important;
}
#timeline .vscode-icons i {
    color: #007ACC !important;
}
#timeline .xampp-icons i {
    color: #fb7a24 !important;
}
#timeline .laragon-icons i {
    color: #0db5b3 !important;
}
#timeline .linux-icons i {
    color: #333333 !important;
}
#timeline .canva-icons i {
    color: #00c4cc !important;
}

#timeline .html-icons i:hover,
#timeline .css-icons i:hover,
#timeline .js-icons i:hover,
#timeline .bootstrap-icons i:hover,
#timeline .python-icons img:hover,
#timeline .tailwind-icons i:hover,
#timeline .php-icons i:hover,
#timeline .burpsuite-icons i:hover,
#timeline .nmap-icons i:hover,
#timeline .sqlmap-icons i:hover,
#timeline .wireshark-icons i:hover,
#timeline .metasploit-icons i:hover,
#timeline .git-icons i:hover,
#timeline .vscode-icons i:hover,
#timeline .xampp-icons i:hover,
#timeline .laragon-icons i:hover,
#timeline .linux-icons i:hover,
#timeline .canva-icons i:hover {
    transform: scale(1.15);
    transition: transform .3s ease-out;
}


/* Education */
#education .isi-edu .card {
    transition: all .3s ease-out;
    background-color: #f7f7f7 !important;
    border-radius: 12px;
    border: 1px solid #dedede;
}
#education .isi-edu .card:hover {
    transform: translateY(-3px) scale(1);
}
#education .isi-edu .description h6 {
    font-size: 16px !important;
}


#project .isi-project .project-card {
    border-radius: 12px;
    border: 1px solid #dedede !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease-out;
    background-color: #f7f7f7 !important;
    backdrop-filter: blur(5px);
    height: 100%;
}
#project .isi-project .project-card:hover {
    transform: translateY(-3px) scale(1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
#project .isi-project .card-img-top {
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
#project .isi-project .card-body .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    line-height: 1.5;
}
#project .isi-project .card-body .card-text.text-expanded {
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
}
#project .isi-project #projectScroll::-webkit-scrollbar {
    display: none;
}
#project .isi-project #projectScroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#project .isi-project .card .text-purple {
    color: #7952b3;
}
@media (max-width: 768px) {
    #project .isi-project #scrollLeft,
    #project .isi-project #scrollRight {
        width: 36px;
        height: 36px;
        font-size: 18px;
        padding: 0;
    }
}



/* Certificates */
#certificates .scroll-wrapper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}

#certificates .isi-certificates #certificatesScroll::-webkit-scrollbar {
    display: none;
}
#certificates .isi-certificates #certificatesScroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#certificates .certificate-card {
  scroll-snap-align: start;
  background-color: #f7f7f7;
  border-radius: 12px;
  border: 1px solid #dedede;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 280px;
}

#certificates .certificate-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

#certificates .certificate-card img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px !important;
  transition: all 0.3s ease-out;
}

#certificates .certificate-card h6 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #111;
}

#certificates .certificate-card p {
  font-size: 13px;
  color: #666;
}

#certificates .certificate-card .btn-dark {
  font-size: 13px;
  font-family: 'Roboto Mono', monospace;
}

#certificates .scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

#certificates .scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 10px;
}

#certificates .scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}




/* Penutup */




/* FAQs*/
#faqs .custom-accordion .accordion-item {
    border-radius: 12px;
    transition: all .3s ease-out;
    overflow: hidden;
    background-color: #f7f7f7;
    border: 1px solid #dedede !important;
}
#faqs .custom-accordion .accordion-button {
    background-color: #f7f7f7;
    color: #333;
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    padding: 1rem 1.25rem;
    font-size: 15px;
    transition: background-color .3s ease-out, color .3s ease-out, box-shadow .3s ease-out;
}
#faqs .custom-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}
#faqs .custom-accordion .accordion-button:not(.collapsed) {
    background-color: #6e5eff;
    color: #fff;
    box-shadow: 0 0 12px #f7f7f7;
}
#faqs .custom-accordion .accordion-body {
    background-color: #6e5eff;
    padding: 1rem 1.25rem;
    font-size: 14px;
    color: #fff;
    border: 1px solid #dedede !important;
}
@media (max-width: 768px) {
    #faqs .accordion-button {
        font-size: 13px !important;
        padding: 0.75rem 1rem !important;
    }
    #faqs .accordion-body {
        font-size: 13px !important;
    }
}



/* Responsive Design */
@media (max-width: 992px) {
    #more {
        padding-top: 1rem !important;
    }
    #landing-page .nama {
        font-size: 25px !important;
    }
    #landing-page .job {
        font-size: 14px !important;
    }
    .social-links-hp {
        font-size: 12px !important;
    }
    #more .container {
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
    .social-links-hp a {
        font-size: 10px !important;
    }
    nav.navbar .getintouch {
        font-size: 11px !important;
    }
    nav.navbar .more {
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    #landing-page .code,
    #landing-page .pentesting {
        width: 100px;
        height: 100px;
    }
    #landing-page .pemisah {
        font-size: 20px !important;
    }
    #landing-page .nama {
        font-size: 20px !important;
    }
    #more .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    #more h1,
    #more #timeline h5 {
        font-size: 18px !important;
    }
    #more #whoami p {
        font-size: 12px !important;
    }
    #more #timeline h6{
        font-size: 13px !important;
    }
    #more #timeline .place {
        font-size: 12px !important;
    }
    #more #timeline .description {
        font-size: 12px !important;
    }
    #timeline .timeline-item::before {
        left: -31px;
        width: 15px !important;
        height: 15px !important;
    }
    #timeline .html-icons,
    #timeline .css-icons,
    #timeline .js-icons,
    #timeline .bootstrap-icons,
    #timeline .tailwind-icons,
    #timeline .php-icons,
    #timeline .burpsuite-icons,
    #timeline .nmap-icons,
    #timeline .sqlmap-icons,
    #timeline .wireshark-icons,
    #timeline .metasploit-icons,
    #timeline .git-icons,
    #timeline .vscode-icons,
    #timeline .xampp-icons,
    #timeline .laragon-icons,
    #timeline .linux-icons,
    #timeline .canva-icons {
        font-size: 16px;
    }
    #timeline .python-icons img {
        width: 18px;
        height: 18px;
    }
    #education p {
        font-size: 12px !important;
    }
    #education .isi-edu .card .jarak {
        flex-direction: column !important;
        width: 100% !important;
    }
    #education .isi-edu .description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #education .isi-edu .description h6 {
        font-size: 14px !important;
    }

    #project p {
        font-size: 12px !important;
    }

    #certificates p {
        font-size: 12px !important;
    }
    #certificates .certificate-card .btn-dark {
        font-size: 10px !important;
    }

    #penutup h1 {
        font-size: 24px !important;
    }
    #penutup p {
        font-size: 13px !important;
    }
    #penutup .btn {
        font-size: 12px !important;
    }

    #faqs p {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    #landing-page .code,
    #landing-page .pentesting {
        width: 80px;
        height: 80px;
    }
    #landing-page .pemisah {
        font-size: 16px !important;
    }
    #landing-page .nama {
        font-size: 16px !important;
    }
    #education .isi-edu .description .jurusan,
    #education .isi-edu .description .periode {
        flex-direction: column !important;
        gap: 0 !important;
    }
}

