
/* Ensure consistent box sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #333;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    padding: 50px 200px;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

@media screen and (max-width: 600px) {
    body {
         padding: 50px 20px;
    }
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    margin: auto;
    overflow: hidden;
    flex: 1; 
}

header, footer {
    background: #222;
    color: #ddd;
    padding: 20px 0;
    text-align: center;
}

.about, .latest-posts {
    padding: 20px 0;
}

h1, h2, h3, h4 {
    color: #76ff03;
}

p {
    margin: 20px 0;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin: 10px 0;
}

ul li a {
    color: #ff0000; 
    text-decoration: underline; 
}

footer {
    font-size: 0.8em;
    margin-top: auto; /* Pushes the footer to the bottom */
}

.tabs {
    margin: 20px 0;
    border-bottom: 1px solid #0f500f;
    font-family: 'Courier New', Courier, monospace;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    margin-right: 10px;
    border-bottom: 2px solid transparent;
    font-family: 'Courier New', Courier, monospace !important; 
    color: #fff; 
}

.tab-button.active {
    border-bottom: 2px solid #007bff;
    color: #007bff;
    font-family: 'Courier New', Courier, monospace !important; 
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

/* Responsive code blocks */
pre, code {
    max-width: 100%;
    overflow-x: auto;
}

code {
    background-color: #1e1e1e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background-color: #1e1e1e;
    padding: 16px;
    padding-bottom: 32px;
    border-radius: 8px;
    line-height: 1.5;
    border-top: 3px solid #76ff03;
    box-shadow: 0 0 15px rgba(118, 255, 3, 0.1);
}

pre code {
    background-color: transparent;
    padding: 0;
    font-family: 'Fira Mono', 'Courier New', monospace;
}

pre code::selection {
    background-color: #76ff03;
    color: #1e1e1e;
}

.json-display {
    background: #1e1e1e;
    color: #d4d4d4;
}

.json-viewer {
    white-space: pre;
    margin: 0;
    line-height: 1.5;
}

.home-link {
    position: fixed;
    top: 10px;
    left: 10px;
    font-size: 25px;
    font-weight: bold;
    z-index: 100; 
    color: #76ff03;

}
