:root {
    --bg-dark: #282c34;
    --bg-light: #2c313a;
    --text-primary: #abb2bf;
    --text-secondary: #5c6370;
    --accent: #61afef;
    --green: #98c379;
    --purple: #c678dd;
    --yellow: #e5c07b;
    --red: #e06c75;
    --orange: #d19a66;
    --wht: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Typography */
h1, h2, h3 {
    font-weight: 500;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 2rem;
    color: var(--green);
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}
body {
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    background-attachment: fixed;
    display: grid;
    grid-template-columns: 20rem 1fr;
    grid-template-rows: 7.5rem 1fr 18rem;
    grid-template-areas: 
    "sbar nav "
    "sbar main "
    "sbar footer ";
}
/* Navigation */
nav {
    grid-area: nav;
    /* background-color: var(--bg-light); */
    padding: 1.5rem 0;
    position: sticky;
    margin-right: 1rem;
    top: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid var(--bg-light);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 2rem;
    padding-left: 2rem;
    
}

.logo a{
    font-weight: 700;
    color: var(--yellow);
    font-size: 2.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    
}

.nav-links a {
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    color: var(--accent);
}
.nav-links a:active {
    color: var(--purple);
}
/* main section */
main {
    grid-area: main;
    justify-items: center;
    padding-top: 2.5rem;
}
.wrapper {
    
    display: flex;
    gap: 20px;
    width: 300px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.card {
    scroll-snap-align: center;
    box-sizing: border-box;
    padding: 20px 30px;
    flex-shrink: 0;
    width: 300px;
    background-color: var(--bg-light);
    border-radius: 12px;
    /* text-align: center; */
}
/* Sidebar */
aside {
    grid-area: sbar;
    background-color: var(--bg-light);
    margin: 1rem;
    border-radius: 12px;
    top: 1rem;
    position: sticky;
    height: 57.5rem;
}
/* Footer */
footer {
    grid-area: footer;
    padding: 3rem 0 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
footer h1 {
    font-size: 2rem;
    color: var(--green);
    padding-left: 2rem;
    margin-bottom: 1rem;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-weight: 700;
    color: var(--yellow);
    font-size: 2.5rem;
    padding-left: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-right: 25rem;
}

.footer-links a {
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}
.footer-links a:active {
    color: var(--purple);
}
.footer-bottom {
    border-top: 1px solid var(--text-secondary);
    padding-top: 1.5rem;
    padding-left: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

