/* MSDOS-style Infosec Schizoposting Theme */

body {
    font-family: "Courier New", monospace;
    background-color: black;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    height: 97vh;
    overflow-x: hidden;
}

html {
    display: flex;
    justify-content: center;
    overflow-y: auto;
}

a {
    color: #AAAAAA;
    text-decoration: none;
}

a:hover {
    color: white;
    background: #555;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    border-bottom: 1px solid #888;
    padding-bottom: 5px;
}

blockquote {
    border-left: 2px solid #888;
    padding-left: 10px;
    color: #AAA;
    font-style: italic;
}

code, pre {
    background: black;
    color: white;
    border: 1px solid #777;
    padding: 5px;
    display: block;
    font-family: "Courier New", monospace;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    border: 1px solid #777;
    padding: 5px;
}

thead {
    background: #777;
    color: black;
}

.site-header {
    border-bottom: 2px solid #777;
    padding: 10px;
    text-align: center;
    background: black;
}

.post-content{
    max-height: 50vh;
    overflow-y: scroll;
}

.site-footer {
    border-top: 2px solid #777;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #AAA;
}

.page-content {
    flex: 1;
}

.wrapper {
    max-width: 800px;
    margin: auto;
}

ul, ol {
    padding-left: 20px;
}

li::before {
    content: "█ ";
    color: #777;
}

button {
    background: black;
    color: white;
    border: 1px solid #777;
    padding: 5px 10px;
    cursor: pointer;
    font-family: "Courier New", monospace;
}

button:hover {
    background: #777;
    color: black;
}

/* Small Aesthetic Touch */
::selection {
    background: #777;
    color: black;
}

/* Cursor Flickering Effect */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.cursor {
    display: inline-block;
    width: 10px;
    height: 16px;
    background: white;
    animation: blink 1s infinite;
}

/* Navbar styles */
.navbar {
    width: 70vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-links {
    display: flex; /* Flexbox for horizontal layout */
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

.navbar-links li {
    margin: 0 15px; /* Space between links */
}

.navbar-links a {
    color: white; /* Link color */
    text-decoration: none; /* Remove underline */
    font-size: 16px; /* Default font size */
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px; /* Thin scrollbar */
    height: 8px; /* Thin horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: black; /* Matches background */
    border-radius: 10px; /* Rounded corners */
}

::-webkit-scrollbar-thumb {
    background-color: #555; /* Subtle gray */
    border-radius: 10px; /* Rounded corners */
    border: 2px solid #222; /* Slight border for definition */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #888; /* Lighter gray on hover */
    border: 2px solid #444; /* Darker border for contrast */
}

::-webkit-scrollbar-corner {
    background-color: black; /* Matches background */
}

.project-description,
.project-content {
    font-size: 14px; /* Adjust font size */
    color: #666; /* Text color */
    margin: 5px 0; /* Margin for spacing */
}