body {
    background-color: #c0c0c0; 
    color: #000000;
    font-family: "Times New Roman", Times, serif;
    margin: 20px;
    line-height: 1.4;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body.modern {
    background-color: #eef2f6;
    color: #475569;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-height: 100vh;
}

body.modern hr,
body.modern .icon-32,
body.modern .web-badges,
body.modern .best-viewed {
    display: none;
}

body.modern > div,
body.modern > section,
body.modern > footer {
    width: 100%;
    max-width: 1200px;
}

body.modern #projects-section, 
body.modern #work-education {
    display: flex;
    flex-direction: column;
    gap: 40px; 
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

body.modern #head-section,
body.modern #about-me,
body.modern .projects,
body.modern .technical-skills,
body.modern .work-experience,
body.modern .education,
body.modern #contact-me,
body.modern footer {
    background-color: #ffffff; 
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body.modern .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

body.modern .work-experience,
body.modern .education {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

body.modern .projects h2,
body.modern .work-experience h2,
body.modern .education h2 {
    grid-column: 1 / -1;
    margin-bottom: 5px;
}

body.modern .project-item,
body.modern .work-item,
body.modern .education-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.modern .project-item:hover,
body.modern .work-item:hover,
body.modern .education-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

body.modern .technical-skills h2 {
    font-weight: 600;
    font-size: 1.6rem;
    color: #3b82f6; 
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
}


body.modern .technical-skills ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
}

body.modern .technical-skills li {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    color: #475569;
}

body.modern .technical-skills li::before {
    display: none;
}

body.modern .technical-skills strong {
    color: #1e293b;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

body.modern #head-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.modern .profile-pic {
    border: none;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.modern #time-machine-btn {
    background-color: #ffffff;
    color: #3b82f6; 
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}

body.modern #time-machine-btn:hover {
    background-color: #eff6ff;
    border-color: #93c5fd;
    color: #2563eb;
}

body.modern h1, 
body.modern h2, 
body.modern h3 {
    color: #1e293b;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

body.modern h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 8px;
}

body.modern .header-titles h3 {
    font-weight: 400;
    font-size: 1.05rem;
    color: #64748b;
}

body.modern h2 {
    font-weight: 600;
    font-size: 1.6rem;
    color: #3b82f6; 
    margin-bottom: 25px;
}

body.modern h3 {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #1e293b;
}

body.modern p {
    font-weight: 400;
    line-height: 1.7;
    color: #475569;
    margin-top: 0;
    margin-bottom: 16px;
}

body.modern p:last-child {
    margin-bottom: 0;
}

body.modern a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

body.modern a:hover {
    color: #2563eb;
    text-decoration: underline;
    cursor: pointer;
}

body.modern ul {
    list-style: none; 
    padding-left: 0;
}

body.modern .project-item li,
body.modern .work-item li,
body.modern .education-item li {
    font-weight: 400;
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: #475569;
    line-height: 1.5;
}

body.modern .project-item li:last-child,
body.modern .work-item li:last-child,
body.modern .education-item li:last-child {
    margin-bottom: 0;
}

body.modern .project-item li::before,
body.modern .work-item li::before,
body.modern .education-item li::before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

a {
    color: #0000EE;
    text-decoration: underline;
}

a:visited {
    color: #551A8B;
}

hr {
    border: 0;
    border-top: 2px inset #ffffff; 
    margin: 20px 0;
}

h2 {
    background-color: #78a3ff;
    color: #000000;
    border: 3px outset #ffffff; 
    padding: 5px 10px;
    margin-top: 0; 
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#head-section {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background-color: #78a3ff; 
    border: 3px outset #ffffff; 
    padding: 10px 15px;
    margin-bottom: 20px;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.profile-pic {
    width: 144px;
    height: 144px;
    border: 2px solid #0000EE; 
    background-color: #000;
    image-rendering: pixelated;
}

.header-titles h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #000000;
}

.header-titles h3 {
    margin: 5px 0 0 0;
    font-size: 1rem;
    font-weight: normal;
    color: #000000;
}

#time-machine-btn {
    background-color: #c0c0c0;
    color: #000000;
    border: 3px outset #ffffff;
    padding: 10px 15px;
    font-family: "Times New Roman", Times, serif;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

#time-machine-btn:active {
    border: 3px inset #ffffff;
    background-color: #b0b0b0;
}

#projects-section, 
#work-education {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}

.projects, 
.technical-skills, 
.work-experience, 
.education {
    flex: 1;
    background-color: #c0c0c0;
    border: 3px outset #ffffff;
    padding: 15px;
}

.technical-skills {
    background-color: #000000;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    border: 3px inset #888;
}
.technical-skills strong {
    color: #ffffff;
}

.project-item, 
.work-item, 
.education-item {
    margin-bottom: 20px;
    border-bottom: 1px dashed #666; 
    padding-bottom: 10px;
}

.project-item:last-child, 
.work-item:last-child, 
.education-item:last-child {
    border-bottom: none;
}

h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

ul {
    margin-top: 5px;
    padding-left: 25px;
}

.blink-text {
    animation: blinker 1s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}

a:hover {
    cursor: crosshair;
}

.icon-32 {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-right: 10px;
    border: 2px inset #ffffff; 
    background-color: #000;
    image-rendering: pixelated; 
}

h2 {
    display: flex;
    align-items: center;
}

.web-badges {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed #666; 
}

.web-badges a {
    text-decoration: none;
}

.web-badges img {
    margin: 0 5px;
    border: 2px outset #ffffff;
    transition: filter 0.1s;
}

.web-badges img:active {
    border: 2px inset #ffffff; 
}

footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    border-top: 1px solid #666;
}

.copyright {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.5;
}

@media (max-width: 800px) {
    #projects-section, 
    #work-education {
        flex-direction: column;
    }
    #head-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-profile {
        flex-direction: column;
    }
    body.modern #projects-section, 
    body.modern #work-education {
        flex-direction: column;
        gap: 40px;
    }

    body.modern #head-section {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    body.modern .projects {
        grid-template-columns: 1fr;
    }
}