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

:root {
    --font-family: "Roboto", sans-serif;
}

/* Colors for light theme (default) */
:root {
    --color-primary: #3dbcee;
    /*#ff4c60;*/
    --color-secondary: #333333;
    --color-accent: #3dbcee;
    --gist-filter: none;
    /* Default (light theme) */
}

/* ====================================================================================================================================
    Primary (#3dbcee): A bright, vibrant blue that contrasts well with the dark background.
    Secondary (#FFE082): A warm, light amber that stands out against dark backgrounds, making it ideal for highlights, buttons, or text.
    Accent (#ff4c60): A strong, eye-catching red-pink that adds vibrancy and draws attention effectively.
====================================================================================================================================*/
/* Colors for dark (#4a4f54) theme */
:root[data-theme="dark"] {
    --color-primary: #3dbcee;
    --color-secondary: #FFE082;
    --color-accent: #ff4c60;

    --gist-filter: invert(1) hue-rotate(180deg);
    /* Dark theme */
}


/* System Dark Mode (system preference) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --color-primary: #3dbcee;
        --color-secondary: #FFE082;
        --color-accent: #ff4c60;
        --gist-filter: invert(1) hue-rotate(180deg);
        /* Dark theme */
    }
}

.brand svg {
    height: 2.2rem;
}

.cls-1,
.cls-2 {
    fill: var(--color-primary);
}

a {
    color: inherit;
}


/* ====================================================
   HEADER & NAVIGATION
==================================================== */
.nav-links {
    flex: 1;
    margin: 0 1.5rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 1.5rem;
    text-decoration: none;
    color: #161616;
}

.nav-links a:hover {
    color: #3eaf30;
}

@media only screen and (max-width: 999px) {
    nav {
        justify-content: space-between;
    }

    .nav-links {
        display: none;
    }
}

/* ====================================================
   ASIDE MENU (LEFT & RIGHT)
==================================================== */


/* common for both left and right aside menu */
.aside-menu {
    position: fixed;
    top: 0;
    width: 250px;
    /* width: 100%; */
    height: 100%;
    background: #222;
    color: white;
    padding: 1rem;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    max-height: 100vh;
}

.aside-menu ul {
    list-style: none;
    margin-top: 31px;
    margin-left: 10px;
    color: #f5f5fa;
}

.aside-menu ul li a {
    color: #47cf38;
    text-decoration: none;
    padding: 10px 0px;
    display: inline-block;
}

/* only for left side */
.aside-menu.left {
    left: 0;
    transform: translateX(-100%);
}

/* only for right side */
.aside-menu.right {
    right: 0;
    transform: translateX(100%);
}

/* both left and right */
.aside-menu.show {
    transform: translateX(0);
}

aside>.close-btn {
    background: #5e89db;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
}

/* ====================================================
   FOOTER
==================================================== */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: var(--border);
    flex-direction: row;
    gap: 1.2rem;
    font-size: 1rem;
    padding: 1rem 0rem;
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-secondary {
    background: var(--color-secondary);
    color: #3b3737;
}