/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Courier', monospace;
    background: #fff;
    color: #000;
    line-height: 1.8;
    padding: 20px;
    text-align: center;
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

header {
    margin: 60px 0;
}

h1 {
    color: #000;
    font-size: 1.2em;
    margin-bottom: 40px;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 2px;
}

.tagline {
    color: #000;
    font-style: normal;
    font-size: 0.9em;
    text-transform: lowercase;
    margin-top: 20px;
}

.ascii-divider {
    font-size: 0.8em;
    margin: 40px 0;
    letter-spacing: 3px;
    opacity: 0.6;
}

nav {
    background: transparent;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px 0;
}

nav a {
    color: #000;
    text-decoration: underline;
    padding: 0;
    border: none;
    font-weight: normal;
    text-transform: lowercase;
    display: inline;
    font-size: 1.1em;
}

nav a:hover {
    background: #000;
    color: #fff;
    text-decoration: none;
}

.section {
    margin: 80px 0;
    padding: 0;
    border: none;
}

h2 {
    color: #000;
    font-size: 1em;
    margin-bottom: 40px;
    font-weight: normal;
    text-transform: lowercase;
    letter-spacing: 4px;
}

h2::before {
    content: "◆ ";
}

h2::after {
    content: " ◆";
}

.journal-index {
    list-style: none;
    border: none;
    text-align: center;
}

.journal-index li {
    border: none;
    padding: 15px 0;
    font-size: 1em;
    border-bottom: 1px solid #ccc;
}

.journal-index li:last-child {
    border-bottom: none;
}

.journal-index li:hover {
    background: transparent;
}

.journal-index a {
    color: #000;
    text-decoration: none;
    font-weight: normal;
    text-transform: lowercase;
    border-bottom: 1px solid #000;
}

.journal-index a:hover {
    background: #000;
    color: #fff;
    border-bottom: 1px solid #000;
}

.entry-date {
    display: block;
    float: none;
    color: #666;
    font-size: 0.8em;
    font-weight: normal;
    margin-top: 5px;
}

.experiments-grid {
    display: block;
    gap: 0;
    text-align: center;
}

.experiment-card {
    background: transparent;
    border: none;
    padding: 30px 0;
    cursor: pointer;
    min-height: auto;
    border-bottom: 1px solid #ccc;
}

.experiment-card:last-child {
    border-bottom: none;
}

.experiment-card:hover {
    background: transparent;
    color: #000;
}

.experiment-card:hover .experiment-title {
    background: #000;
    color: #fff;
}

.experiment-title {
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: normal;
    text-transform: lowercase;
    border-bottom: 1px solid #000;
    display: inline-block;
    padding: 0 5px;
}

.experiment-desc {
    font-size: 0.85em;
    line-height: 1.6;
    color: #666;
    margin-top: 10px;
}

.experiment-tag {
    display: inline-block;
    background: transparent;
    color: #000;
    padding: 0;
    margin-top: 10px;
    font-size: 0.75em;
    font-weight: normal;
    text-transform: lowercase;
    border: none;
}

.experiment-tag::before {
    content: "[";
}

.experiment-tag::after {
    content: "]";
}

footer {
    background: transparent;
    color: #666;
    padding: 80px 20px 40px 20px;
    margin: 0;
    text-align: center;
    font-size: 0.75em;
    border-top: 1px solid #ccc;
    margin-top: 80px;
}

footer p {
    margin-bottom: 8px;
}

.back-button {
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 8px 20px;
    cursor: pointer;
    margin: 40px auto 30px auto;
    display: none;
    font-weight: normal;
    text-transform: lowercase;
    font-size: 0.9em;
    font-family: 'Courier New', 'Courier', monospace;
    letter-spacing: 1px;
}

.back-button::before {
    content: "← ";
}

.back-button.active {
    display: inline-block;
}

.back-button:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 600px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 1em;
    }
    
    h2 {
        font-size: 0.9em;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
}