:root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --footer-bg-color: #1f1f1f;
}

body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav .social-icons {
    display: inline-block;
}

nav .social-icons a {
    margin-right: 15px;
}

nav .social-icons img {
    width: 29px;
    height: 29px;
}

/* New navigation buttons styles */
.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.resume-btn, .dropdown-btn, .theme-toggle {
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.resume-btn:hover, .dropdown-btn:hover, .theme-toggle:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.resume-btn img, .dropdown-btn img, .theme-toggle img {
    margin-left: 5px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    background-color: var(--bg-color);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border: 1px solid var(--text-color);
    right: 0;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-content a:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.dropdown-content img {
    width: 24px;
    height: 24px;
}

.resume-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.resume-content {
    position: relative;
    width: 70%;
    height: 90%;
    margin: 2% auto;
    background-color: var(--bg-color);
    padding: 10px;
    border: 1px solid var(--text-color);
}

.close-resume {
    position: absolute;
    right: 9px;
    top: 5px;
    font-size: 40px;
    cursor: pointer;
    color: var(--text-color);
}

/* Original theme styles */
.name-section {
    text-align: center;
    padding: 0px 2px;
    background: var(--bg-color);
    color: var(--text-color);
    border-bottom: 2px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    flex-direction: column;
}

.name-section h1 {
    font-size: 3rem;
    margin: 0;
}

section {
    display: none;
}

section#about, section#education, section#experience, section#project, section#skills, section#cert {
    display: block;
    margin-top: 30px;
    text-align: justify;
}

.project-item .date,
.education-item .date,
.experience-item .date,
.cert-item .date {
    font-size: 1rem;
    text-align: right;
}

.education-item p, .experience-item p, .project-item p, .cert-item p {
    font-size: 1rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: justify;
}

.project-item,
.education-item,
.experience-item,
.cert-item {
    margin-top: 20px;
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

section h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    font-size: 1.5rem;
    margin-bottom: 0px;
}

.skills-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-category {
    margin-bottom: 15px;
}

.skills-category h3 {
    text-align: center;
    font-size: 1.5rem;
    display: grid;
    grid-template-columns: repeat(1, 2fr);
    gap: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.skill-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 10px;
    padding: 10px;
    border: 1px solid var(--text-color);
    border-radius: 5px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.skill-box img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.skill-box p {
    margin: 0;
}

footer {
    background: var(--footer-bg-color);
    text-align: center;
    padding: 20px;
    border-top: 2px solid #333;
    color: var(--text-color);
}

footer p {
    margin: 0;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .skills-row {
        grid-template-columns: 1fr;
    }
}

@keyframes typing {
    0% { width: 0; }
    100% { width: 15ch; }
}

@keyframes backspace {
    0% { width: 15ch; }
    100% { width: 0; }
}