.container {
    width: 60%;
    margin: 0 auto;
    text-align: center;
}

.code-container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

.section {
    width: 80%;
    padding: 10px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: white;
    font-size: 1.2em;
}

.title {
    display: flex;
    justify-content: space-between;
}

#arrow {
    padding-left: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

p.small {
    font-size: 0.75em;
    font-style: italic;
}

p.center {
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
}

h2 {
    text-align: center;
    font-size: 1.5em;
}

.subtitle {
    font-size: 1.5em;
    text-align: center;
}

.code-subtitle {
    font-size: 1em;
    text-align: center;
}

p {
    font-size: 1em;
    text-align: left;
    line-height: 200%;
}

li {
    font-size: 1em;
    text-align: left;
    line-height: 1.5;
}

.caption {
    font-size: 1.25em;
    text-align: center;
}

h1 {
    font-size: 2.25em;
}

.title {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
}

span {
    font-size: 1.2em;
}

.bold {
    font-weight: bold;
}

#blogs {
    border-left: 1.75px solid gray;
}

footer > p {
    text-align: center;
}

.filtered-image {
    max-width: 100%;
    border: 1px solid black;
}

.side-by-side-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.side-by-side {
    text-align: center;
    margin: 0 10px; /* Adjust margin as needed */
    flex: 1;
    max-width: 300px; /* Adjust max-width as needed */
}

.code-box {
    border: 1px solid black;
    text-align: left;
    background: gray;
}

.code-title{
    text-align: center;
}

code {
    text-align: left;
}

h2, h3, h4, h5, h6 {
    text-align: left;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #ffffff;
}

thead {
    background-color: lightblue;
}

thead th {
    text-align: left;
    padding: 16px 16px;
    font-weight: 600;
    color: black;
    border-bottom: 2px solid #e1e4e8;
    background-color: blue;
}

tbody td {
    padding: 16px 16px;
    border-bottom: 1px solid #e1e4e8;
    color: #000000;
}

tbody tr:nth-child(even) {
    background-color: #fafafa;
}

tbody tr:hover {
    background-color: #f1f5f9;
}

th {
    background-color: lightblue;
    padding: 8px 8px;
}

th, td {
    border: none;
}

.left {
    text-align: left;
}

.highlight {
    background-color: yellow;
}

code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.95em;
    background-color: #f4f6f8;
    color: maroon; /* subtle accent color */
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e1e4e8;
}

pre {
    background-color: #1e1e1e;   /* dark editor background */
    color: #dcdcdc;              /* default text color */
    text-align: left;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #2d2d2d;
}

.keyword { color: #569cd6; }   /* def, return */
.func    { color: #dcdcaa; }   /* function name */
.string  { color: #ce9178; }   /* strings */
.comment { color: #6a9955; font-style: italic; }
.var     { color: #9cdcfe; }   /* variables */


.red {
    background-color: #D00000;
}

.green {
    background-color: #00D000;
}
