* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    font-size: 16px;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
}



/* Main Layout */
.main-content {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    min-height: calc(100vh - 200px);
}

/* Wikipedia Sidebar */
.sidebar {
    width: 270px;
    flex-shrink: 0;
    background-color: #ffffff;
    border-right: 1px solid #000000;
    padding: 8px 0;
}

.sidebar-box {
    margin-bottom: 16px;
    border: 1px solid #000000;
    background-color: #ffffff;
    margin-right: 10px;
}

.sidebar-box h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 8px 12px;
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    color: #000000;
    font-family: 'Courier New', Courier, monospace;
}

.sidebar-box ul {
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.sidebar-box li {
    margin: 0;
    padding: 2px 12px;
    line-height: 1.6;
}

.sidebar-box a {
    color: #0000ff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
}

.sidebar-box a:hover {
    text-decoration: underline;
}

.content {
    flex: 1;
    background-color: white;
    padding: 8px 12px;
    max-width: none;
}

/* Wikipedia Infobox */
.infobox {
    float: right;
    margin: 0 0 16px 16px;
    border: 1px solid #000000;
    background-color: #ffffff;
    padding: 0;
    width: 300px;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Courier New', Courier, monospace;
}

.infobox-image {
    text-align: center;
    margin: 8px 0;
    padding: 0 8px;
}

.infobox-image img {
    max-width: 220px;
    height: auto;
    border: 1px solid #000000;
    margin-top: 20px;
}

.infobox-content {
    padding: 0;
}

.infobox-row {
    display: table-row;
    vertical-align: top;
}

.infobox-label {
    display: table-cell;
    padding: 6px 12px;
    font-weight: bold;
    vertical-align: top;
    background-color: #ffffff;
    border-bottom: 1px solid #000000;
    width: 35%;
    font-family: 'Courier New', Courier, monospace;
}

.infobox-value {
    display: table-cell;
    padding: 6px 12px;
    vertical-align: top;
    border-bottom: 1px solid #000000;
    font-family: 'Courier New', Courier, monospace;
}

/* Wikipedia Typography */
h1 {
    font-size: 32px;
    font-weight: normal;
    color: #000000;
    margin: 0 0 6px 0;
    padding: 0;
    border-bottom: 3px solid #000000;
    padding-bottom: 2px;
    font-family: 'Courier New', Courier, monospace;
}

h2 {
    font-size: 24px;
    font-weight: normal;
    color: #000000;
    margin: 24px 0 6px 0;
    padding: 0;
    border-bottom: 1px solid #000000;
    font-family: 'Courier New', Courier, monospace;
}

h3 {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 16px 0 6px 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

h4 {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin: 12px 0 6px 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

p {
    margin: 0 0 12px 0;
    line-height: 1.6;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
}

/* Wikipedia-style Timeline and Lists */
.timeline-item {
    margin-bottom: 16px;
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.timeline-item:hover {
    transform: none;
    box-shadow: none;
}

.timeline-date {
    font-weight: bold;
    color: #000000;
    font-size: 15px;
    margin-bottom: 4px;
    font-family: 'Courier New', Courier, monospace;
}

.timeline-title {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 6px;
    font-family: 'Courier New', Courier, monospace;
}

.timeline-item ul {
    margin: 6px 0 0 20px;
    padding: 0;
}

.timeline-item li {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.5;
    font-family: 'Courier New', Courier, monospace;
}

/* Wikipedia-style Projects and Skills */
.projects-grid {
    display: block;
    margin-top: 12px;
}

.project-card {
    border: 1px solid #000000;
    background-color: #ffffff;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 0;
    transition: none;
    cursor: default;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #000000;
}

.project-title {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 6px;
    font-family: 'Courier New', Courier, monospace;
}

.project-description {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 6px;
    font-family: 'Courier New', Courier, monospace;
}

.project-tech {
    font-size: 14px;
    color: #0000ff;
    font-style: italic;
    font-family: 'Courier New', Courier, monospace;
}

.project-links {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #cccccc;
}

.project-link {
    display: inline-block;
    color: #0000ff;
    text-decoration: underline;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    margin-right: 12px;
}

.project-link:hover {
    text-decoration: none;
}

.project-link:visited {
    color: #800080;
}

.skills-grid {
    display: block;
    margin-top: 12px;
}

.skill-category {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 16px;
}

.skill-category h4 {
    color: #000000;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    margin-bottom: 6px;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
}

.skill-category ul {
    list-style: disc;
    margin-left: 20px;
    padding: 0;
}

.skill-category li {
    padding: 1px 0;
    font-size: 15px;
    line-height: 1.4;
    font-family: 'Courier New', Courier, monospace;
}

.skill-category li::before {
    display: none;
}

/* Wikipedia-style Achievements */
.achievement-item {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 12px;
}

.achievement-title {
    font-weight: bold;
    color: #000000;
    margin-bottom: 4px;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
}

.achievement-item p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    font-family: 'Courier New', Courier, monospace;
}

/* Wikipedia Footer */
footer {
    border-top: 1px solid #000000;
    padding: 12px 0;
    margin-top: 24px;
    background-color: #ffffff;
    color: #000000;
    font-size: 14px;
    line-height: 1.4;
    font-family: 'Courier New', Courier, monospace;
}

footer p {
    margin: 2px 0;
}

/* Remove fancy animations */

/* Wikipedia Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
        border-right: none;
        border-top: 1px solid #a2a9b1;
        margin-top: 16px;
    }
    
    .content {
        order: 1;
    }
    
    .infobox {
        float: none;
        margin: 0 0 16px 0;
        width: 100%;
        max-width: 400px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .content {
        padding: 8px 12px;
    }
    
    .infobox {
        padding: 0;
        width: 100%;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Simple section visibility */
.section {
    opacity: 1;
    transform: none;
    transition: none;
}

.section.visible {
    opacity: 1;
    transform: none;
}