@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;700&display=swap');

/* Root variables */
:root {
    --accent-color: #9D00FF;  /* Default purple */
    --bitcoin-orange: #F7931A; /* Bitcoin orange */
}

/* Base styles */
html {
    overflow-y: scroll;
}

body {
    font-family: "Source Code Pro", monospace;
    line-height: 1.6;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #000000;
}

h1, h2 {
    color: #ffffff;
}

/* Links and Navigation */
a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    margin: 20px 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-color);
}

nav a {
    margin-right: 20px;
}

.active {
    text-decoration: underline;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Project styles */
.project {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
}

.project h2 {
    color: var(--accent-color);
    margin-top: 0;
}

/* Blog styles */
.blog-post {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.blog-date {
    color: var(--accent-color);
    font-size: 0.9em;
}

/* Footer */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-color);
    font-size: 0.9em;
}

/* Color switcher */
.color-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    z-index: 1000;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent; /* Hide the ₿ symbol by default */
    font-size: 14px;
    font-weight: bold;
}

.color-option:hover {
    transform: scale(1.2);
}

.color-option.active {
    border-color: #fff;
}

/* Bitcoin specific styles */
.bitcoin-option {
    font-family: sans-serif;
}

.bitcoin-option.active {
    color: white; /* Show the ₿ symbol when active */
    background: #F7931A;
    transform: rotate(15deg);
}

.bitcoin-option:hover {
    transform: scale(1.2) rotate(15deg);
}


/* Mobile responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    nav a {
        margin-right: 10px;
        font-size: 0.9em;
    }

    .color-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }

    .color-option {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
}


.bio-list p {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 1em;
}

.bio-list p::before {
    content: ">"; /* "•"  */
    position: absolute;
    left: 0;
    color: var(--accent-color); /* This will make the arrow match your theme color */
}


/* Decrypt effect styles */
.decrypt-effect {
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.decrypt-effect:hover {
    text-decoration: none;
}