:root {
    --vertical-offset: -20px;
}

body {
    background-color: #000;
    color: #e7e7e7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 40px;
    overflow: hidden;
    margin: auto;
	font-family: Serif, monospace;
}

.centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.centered-container u,
.centered-container ul {
    text-align: left;
    align-self: flex-start;
}

h1, h2, h3, h4, footer {
    text-align: center;
}

.centered-content {
    text-align: center;
}

.no-space {
    margin: 0;
}

.about-text {
    white-space: pre-line;
    margin: 0;
}

a:visited {
    color: #002fff;
}

nav {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tab-link {
    color: #fff;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    display: block;
    margin: 0;
    padding: 0;
    transition: color 0.2s;
}

.tab-link:hover {
    color: #aaa;
}

.hidden-text {
	color: #000000;
}

.main-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}



body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    color: #e7e7e7;
    min-height: 100vh;
}

main {
    text-align: left;
}

footer {
    text-align: center;
    margin-top: var(--vertical-offset);
}

main#blog-post {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

ul {
    list-style-type: square;
    padding-left: 20px;
}

.nav-links {
    text-align: center;
    margin-top: 10px;
}


@media (max-width: 600px) {
    h1, h2, h3 {
        font-size: 1.5em;
    }

    .tab-link {
        font-size: 1.5em;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .main-content, main {
        max-width: 90%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    body {
      padding-top: 20px;
    }
}