body {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: rgb(20, 20, 20);
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 17px;
    line-height: 1.5;

    padding-bottom: 40px;
    background-attachment: fixed;
}

.back-button {
    padding: 20px;
    text-align: center;
    border: none;
    background-color: rgb(20, 20, 20);
}

.back-button a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #333333;
    color: white;
    text-decoration: none;
    border: 2px solid #666666;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.back-button a:hover {
    color: white;
    background-color: #444444;
    border: 2px solid #666666;
}

.container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 25px;
    color: white;
    background-color: rgb(15, 15, 15);
    border: 1px solid #333333;
}

/* Header Styles */
.main-header {
    text-align: center;
}

.main-header h1 {
    font-size: 2.2em;
    margin: 0;
    color: white;
    font-weight: bold;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-align: center;
}

.main-header h2 {
    font-size: 1.2em;
    margin: 10px 0 20px 0;
    color: rgb(200, 200, 200);
    font-weight: normal;
    font-style: normal;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.date {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: rgb(150, 150, 150);
    margin: 10px 0;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background-color: #222222;
    color: white;
    padding: 4px 12px;
    border: 1px solid #666666;
    border-radius: 0;
    font-size: 0.9em;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

/* Content Styles */
.content {
    margin-left: 30px;
    margin-right: 30px;
}

.main-image {
    margin-bottom: 40px;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

/* Table of Contents */
.table-of-contents {
    background-color: #1a1a1a;
    padding: 20px 20px 5px 20px;
    border: 2px inset #444444;
    border-radius: 0;
    margin-top: 30px;
    text-decoration: none;
}

.table-of-contents h3 {
    margin-top: 0;
    color: white;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin: 8px 0;
}

.table-of-contents a {
    color: rgb(200, 200, 200);
    text-decoration: none;
    border-bottom: none;
    transition: none;
    font-family: 'Arial', sans-serif;
}

.table-of-contents a:hover {
    color: white;
    text-decoration: none;
}

/* Section Styles */
section {
    margin: 40px 0;
}

h2 {
    color: white;
    font-size: 1.7em;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid #666666;
    padding-bottom: 8px;
    font-weight: bold;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

h3 {
    color: rgb(220, 220, 220);
    font-size: 1.3em;
    margin: 30px 0 15px 0;
    font-weight: bold;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

h4 {
    color: rgb(200, 200, 200);
    font-size: 1.1em;
    margin: 25px 0 10px 0;
    font-weight: bold;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

p {
    margin: 15px 0;
    color: rgb(200, 200, 200);
    text-align: justify;
}

/* Math Equations */
.equation {
    text-align: center;
    margin: 25px 0;
    font-size: 1.1em;
    overflow-x: auto;
}

/* Code Blocks */
.code-block {
    background-color: #000000;
    border: 2px inset #333333;
    border-radius: 0;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    padding: 15px;
    color: white;
    font-family: 'Courier New', 'Courier', monospace;
    font-size: 0.9em;
    line-height: 1.3;
    font-weight: normal;
}

.code-block code {
    font-family: inherit;
}

/* Lists */
ul, ol {
    color: rgb(200, 200, 200);
    padding-left: 30px;
}

li {
    margin: 8px 0;
}

/* Images and Comparisons */
.image-comparison {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: nowrap;
}

.caption {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: calc(100% - 32px);
        padding: 15px;
    }
    
    .main-header h1 {
        font-size: 2em;
    }
    
    .main-header h2 {
        font-size: 1.1em;
    }
    
    .tags {
        flex-wrap: wrap;
    }
    
    .image-comparison {
        flex-direction: column;
    }
    
    .comparison-item {
        min-width: 100%;
    }
    
    .performance-table {
        font-size: 0.9em;
    }
    
    .performance-table th,
    .performance-table td {
        padding: 8px 10px;
    }
}

/* Utility Classes */
.centered-container {
    width: 100%;
    text-align: center;
    align-items: center;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

strong {
    color: white;
    font-weight: bold;
}

em {
    color: rgb(200, 200, 200);
    font-style: italic;
}

a {
    color: rgb(200, 200, 200);
    text-decoration: underline;
    border-bottom: none;
    transition: none;
    font-family: 'Arial', sans-serif;
}

a:hover {
    color: white;
    text-decoration: none;
}

table {
    background-color: #1a1a1a;
    border: 2px outset #444444;
    border-radius: 0;
    overflow: hidden;
}

table th {
    background-color: #333333;
    color: white;
    font-weight: bold;
    text-align: left;
    font-family: 'Arial', sans-serif;
}

table td, table th {
    border: 1px solid #555555;
    padding: 6px 10px;
}

table tr:nth-child(even) {
    background-color: #222222;
}

table tr:hover {
    background-color: #2a2a2a;
}