@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* ===================== RESET ===================== */

* {
    margin: 0;
    padding: 0;
    font-family: "Pixelify Sans", sans-serif;
}


/* ===================== TYPOGRAPHY ===================== */

span {
    font-size: 15px;
}

a {
    font-size: 1rem;
    color: rgb(185, 149, 29);
    text-decoration: none;
}


/* ===================== BODY ===================== */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 1rem;
    flex-direction: column;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.dark {
    background-color: black;
    color: white;
    position: relative;
    overflow: hidden;
}

body.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(255, 255, 255) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}


/* ===================== IMAGES ===================== */

img {
    height: 5rem;
}


/* ===================== LUCIDE ICONS ===================== */

.lucide-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    flex-shrink: 0;
    vertical-align: middle;
}

.lucide-icon-sm {
    display: inline-block;
    width: 14px;
    height: 14px;
    stroke-width: 1.8;
    vertical-align: middle;
    margin-right: 2px;
    flex-shrink: 0;
}

/* Ensure inline SVGs used as icons size correctly */
a svg.lucide-icon,
a svg.lucide-icon-sm,
div svg.lucide-icon-sm,
p svg.lucide-icon-sm {
    display: inline-block;
    flex-shrink: 0;
}

.lucide-creative-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.lucide-stuff-icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgb(185, 149, 29);
}

body.dark .lucide-stuff-icon {
    color: rgb(185, 149, 29);
}


/* ===================== NAV (top bar inside modals) ===================== */

nav {
    background-color: rgb(92, 92, 92);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    padding: 4px 10px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal_title {
    font-size: 12px;
    color: rgb(200, 200, 200);
    letter-spacing: 1px;
}


/* ===================== CLOSE BUTTONS ===================== */

#close_modal,
#close_modal2,
#close_modal3,
#close_modal4,
#close_modal5,
#close_modal6 {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: white;
    line-height: 1;
    cursor: pointer;
    padding: 0 2px;
}

#close_modal:active,
#close_modal2:active,
#close_modal3:active,
#close_modal4:active,
#close_modal5:active,
#close_modal6:active {
    transform: scale(0.95);
}


/* ===================== TOP NAV (music & dark switch) ===================== */

.nav {
    background-color: rgba(73, 122, 255, 0.596);
    width: 10rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid black;
    gap: 3rem;
    padding: 6px;
    margin-bottom: 2rem;
}

#music_switch,
#dark_switch {
    background: none;
    border: none;
    display: flex;
}

#dark_switch {
    margin-bottom: 8px;
}

#music_switch:active,
#dark_switch:active {
    transform: scale(0.95);
}


/* ===================== ICONS ===================== */

.icons_container {
    display: grid;
    grid-template-columns: repeat(3, 120px);
    gap: 20px;
}

.icon_one, .icon_two, .icon_three,
.icon_four, .icon_five, .icon_six {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3px;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    width: 5rem;
    background-color: rgb(135, 206, 247);
    border-radius: 5px;
    border: 1px solid rgb(1, 106, 177);
}

.icon:hover {
    background-color: rgb(154, 210, 243);
}

.icon:active {
    transform: scale(0.95);
}


/* ===================== MODALS ===================== */

.modal_one, .modal_two, .modal_three,
.modal_four, .modal_five, .modal_six {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    color: black;
}

.modal_one.active, .modal_two.active, .modal_three.active,
.modal_four.active, .modal_five.active, .modal_six.active {
    opacity: 1;
    pointer-events: auto;
}


/* ===================== CONTAINERS ===================== */

.one_container,
.two_container, .three_container,
.four_container, .five_container, .six_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    width: 55%;
    max-width: 480px;
    max-height: 65vh;
    background-color: white;
    border: 1px solid black;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}


/* ===================== MODAL INNER CONTENT WRAPPER ===================== */

.modal-inner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 0 4px 0;
}


/* ===================== DARK MODE — CONTAINERS ===================== */

body.dark .one_container,
body.dark .two_container,
body.dark .three_container,
body.dark .four_container,
body.dark .five_container,
body.dark .six_container {
    background-color: #111;
    color: white;
    border-color: white;
}

body.dark .divider {
    background-color: rgba(255, 255, 255, 0.2);
}

body.dark .chip {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

body.dark .project-card,
body.dark .stuff-item,
body.dark .contact-link,
body.dark .creative-card {
    background-color: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ccc;
}

body.dark .contact-link {
    color: rgb(185, 149, 29);
}

body.dark .modal-heading {
    color: white;
}

body.dark .project-title {
    color: white;
}

body.dark .lucide-creative-icon {
    color: #ccc;
}

body.dark .creative-card:hover .lucide-creative-icon {
    color: rgb(185, 149, 29);
}


/* ===================== DIVIDER ===================== */

.divider {
    height: 1px;
    background-color: rgb(0, 0, 0);
    margin: 10px 0;
    width: 100%;
}


/* ===================== MODAL INNER CONTENT ===================== */

.modal-heading {
    font-family: "Pixelify Sans", monospace;
    font-size: 1rem;
    letter-spacing: .08em;
    color: black;
    margin: 14px 16px 6px;
    align-self: flex-start;
}

.modal-sub {
    font-size: .78rem;
    color: rgb(100, 100, 100);
    line-height: 1.6;
    margin: 0 16px 12px;
    align-self: flex-start;
}


/* ── Contact ── */

.contact-label {
    font-size: .65rem;
    letter-spacing: .1em;
    color: rgb(120, 120, 120);
    margin: 0 16px 6px;
    text-transform: uppercase;
    align-self: flex-start;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgb(185, 149, 29);
    font-size: .82rem;
    padding: 10px 14px;
    border: 1px solid black;
    border-radius: 5px;
    background: #f9f9f9;
    margin: 0 16px 14px;
    align-self: flex-start;
    width: calc(100% - 32px);
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.contact-link:hover {
    border-color: rgb(185, 149, 29);
}


/* ── About Me ── */

.about-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid black;
    object-fit: cover;
    margin: 16px auto 10px;
    align-self: center;
}

.about-name {
    font-family: "Pixelify Sans", monospace;
    font-size: 1.3rem;
    text-align: center;
    color: gold;
    outline: 1px solid black;
    padding: 4px 14px;
    margin: 0 16px 8px;
    align-self: flex-start;
    width: calc(100% - 32px);
    box-sizing: border-box;
}

.about-role {
    font-size: .7rem;
    letter-spacing: .15em;
    color: rgb(90, 140, 238);
    text-align: center;
    font-family: "Pixelify Sans", monospace;
    text-transform: uppercase;
    margin: 0 16px 10px;
    align-self: flex-start;
}

.about-body {
    font-size: .8rem;
    line-height: 1.7;
    color: rgb(80, 80, 80);
    margin: 0 16px 10px;
    align-self: flex-start;
    outline: 1px solid black;
    padding: 10px 12px;
    width: calc(100% - 32px);
    box-sizing: border-box;
}

body.dark .about-body {
    color: #bbb;
    outline-color: rgba(255,255,255,0.2);
}

body.dark .about-name {
    outline-color: rgba(255,255,255,0.3);
}

.about-section-title {
    font-family: "Pixelify Sans", monospace;
    font-size: .9rem;
    color: rgb(185, 149, 29);
    letter-spacing: .08em;
    margin: 6px 16px 8px;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ── CV Download Button ── */

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Pixelify Sans", monospace;
    font-size: .78rem;
    letter-spacing: .05em;
    color: white;
    background-color: rgb(185, 149, 29);
    border: 1px solid rgb(150, 120, 20);
    border-radius: 5px;
    padding: 7px 14px;
    margin: 0 16px 12px;
    text-decoration: none;
    transition: background-color 0.15s, transform 0.1s;
    cursor: pointer;
}

.cv-download-btn:hover {
    background-color: rgb(160, 128, 20);
    color: white;
}

.cv-download-btn:active {
    transform: scale(0.97);
}

body.dark .cv-download-btn {
    background-color: rgb(185, 149, 29);
    border-color: rgb(150, 120, 20);
    color: white;
}



.project-card {
    border: 1px solid black;
    border-radius: 5px;
    padding: 12px 14px;
    margin: 0 16px 12px;
    background: #f9f9f9;
    width: calc(100% - 32px);
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.project-card:hover {
    border-color: rgb(185, 149, 29);
}

.project-title {
    font-family: "Pixelify Sans", monospace;
    font-size: .88rem;
    margin-bottom: 6px;
    color: black;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-desc {
    font-size: .75rem;
    color: rgb(100, 100, 100);
    line-height: 1.5;
    margin-bottom: 10px;
}

.project-links {
    margin-bottom: 8px;
}

.project-gh-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .7rem;
    font-family: "Pixelify Sans", monospace;
    color: rgb(90, 140, 238);
    border: 1px solid rgb(90, 140, 238);
    border-radius: 3px;
    padding: 3px 8px;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.project-gh-link:hover {
    background-color: rgb(90, 140, 238);
    color: white;
}

body.dark .project-gh-link {
    color: rgb(120, 170, 255);
    border-color: rgb(120, 170, 255);
}

body.dark .project-gh-link:hover {
    background-color: rgb(90, 140, 238);
    color: white;
}

.project-badge {
    font-size: .55rem;
    font-family: "Pixelify Sans", monospace;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: .08em;
    vertical-align: middle;
    margin-left: 4px;
}

.project-badge.wip {
    background-color: rgba(185, 149, 29, 0.15);
    border: 1px solid rgb(185, 149, 29);
    color: rgb(185, 149, 29);
}

.project-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tag {
    font-size: .62rem;
    font-family: "Pixelify Sans", monospace;
    padding: 2px 7px;
    border: 1px solid black;
    border-radius: 3px;
    color: rgb(80, 80, 80);
    letter-spacing: .05em;
}

.tag.accent { border-color: rgb(185, 149, 29); color: rgb(185, 149, 29); }
.tag.blue   { border-color: rgb(90, 140, 238); color: rgb(90, 140, 238); }


/* ── Skills ── */

.skill-group {
    margin: 0 16px 6px;
    width: calc(100% - 32px);
    align-self: flex-start;
    box-sizing: border-box;
}

.skill-group-title {
    font-family: "Pixelify Sans", monospace;
    font-size: .85rem;
    letter-spacing: .08em;
    color: rgb(185, 149, 29);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    font-size: .7rem;
    font-family: "Pixelify Sans", monospace;
    padding: 3px 9px;
    background: #f5f5f5;
    border: 1px solid black;
    border-radius: 3px;
    color: black;
}


/* ── Creatives ── */

.creative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0 16px 12px;
    width: calc(100% - 32px);
    box-sizing: border-box;
}

.creative-card {
    aspect-ratio: 1;
    background: #f9f9f9;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-family: "Pixelify Sans", monospace;
    font-size: .68rem;
    color: rgb(100, 100, 100);
    letter-spacing: .08em;
    transition: border-color .15s, color .15s;
    cursor: default;
}

.creative-card:hover {
    border-color: rgb(185, 149, 29);
    color: rgb(185, 149, 29);
}

.creative-card:hover .lucide-creative-icon {
    color: rgb(185, 149, 29);
}

.lucide-creative-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
    color: rgb(100, 100, 100);
    transition: color .15s;
}


/* ── Stuff ── */

.stuff-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid black;
    border-radius: 5px;
    margin: 0 16px 10px;
    background: #f9f9f9;
    font-size: .78rem;
    line-height: 1.6;
    color: rgb(80, 80, 80);
    width: calc(100% - 32px);
    box-sizing: border-box;
}


/* ===================== BOTTOM BAR ===================== */

.bottom-bar {
    color: gray;
    text-align: center;
    padding: 1rem;
    font-size: 10px;
    font-style: normal;
}


/* ===================== MEDIA QUERY ===================== */

@media (max-width: 600px) {

    .icons_container {
        grid-template-columns: repeat(2, 120px);
        gap: 5px;
    }

    .nav {
        width: 10rem;
    }

    .one_container,
    .two_container, .three_container,
    .four_container, .five_container, .six_container {
        width: 92%;
        max-height: 72vh;
    }
}