:root{
    --accent: #6b5c45; 
    --background: #fffbf4;
    --subtext: #5a5a5a;
    --border: #d6cbbd;
}
body.project-rpg{
    --accent: #4a6880;
}
body.project-review{
    --accent: #5a7a62;
}
body.project-fantasy{
    --accent: #7a5c6e;
}
body{
    background-color: var(--background);
    font-family: sans-serif;
    color: #222;
}
body{
    line-height: 1.6;
}
.sidebar li{
    list-style: none;
}
.sidebar a{
    text-decoration: none;
    color: black;
    transition: color 0.2s ease;
}
.sidebar a:hover{
    color: var(--accent);
}
.info{
    color: var(--accent);
    font-size: 0.9rem;
}
.name{
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.1;
}
.title{
    color: var(--subtext);
}
section h2{
    color: var(--accent);
    font-size: 2rem;
}
#top-of-page h1{
    color: var(--accent);
    line-height: 1.1;
    font-size: 2.75rem;
}
#top-of-page p{
    color: #444;
    font-size: 1.1rem;
}
.project-card{
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #fffdfa;
    text-decoration: none;
    color: black;
}
.project-card:hover{
    box-shadow: 0 8px 18px rgba(0,0,0,0.10);
    border-color: var(--accent);
}
.project-card img{
    border-radius: 8px;
}
.project-card h3{
    color: var(--accent);
}
.project-card p{
    color:#444;
    line-height: 1.5;
}
.view-project{
    font-weight: bold;
    color: var(--accent);
}
.in-progress{
    color: var(--subtext);
    font-style: italic;
}
.resume-download{
    border-radius: 10px;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent);
}
.resume-download:hover{
    background-color: white;
    color: var(--accent);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}
.skill-group ul, .edu-list ul, .cert-list ul{
    list-style: none;
}
#about p{
    color: #444;
}
#contact ul{
    list-style: none;
}
#contact li{
    color: #333;
}
#contact a{
    color: #666;
    text-decoration: none;
}
.contact-link:hover{
    color: var(--accent);
}
.mobile-footer{
    color: #666;
}
#top-of-page ul{
    list-style: none;
    color: #444;
    font-size: 1.1rem;
}
figcaption{
    color: var(--subtext);
    font-style: italic;
}
@media (min-width: 768px) {
    .sidebar{
        border-right: 1px dotted var(--accent);
        color: var(--subtext);
    }
    .name{
        font-size: 1.5rem;        
    }
    .info{
        font-size: 0.8rem;
    }
    .sidebar a{
        color: var(--subtext);
    }
    .nav-link:hover{
        color: var(--accent);
    }
    section:target > .highlight-section{
        animation: Highlight 2s ease-out;
    }
    @keyframes Highlight {
        0% {
            background-color: rgba(255, 230, 120, 0);
        }
        20% {
            background-color: rgba(255, 230, 120, 0.9);
        }
        100% {
            background-color: rgba(255, 230, 120, 0);
        }
    }
}
