body {
    background-color: #222222;
    color: #66cc66;
    font-family: monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
/* Adjust body layout for sidebar */
body.sidebar-open {
    margin-left: 250px;
}

body.sidebar-closed {
    margin-left: 0;
}


.back-button {
    color: #66cc66;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}

h1 {
    margin-bottom: 2rem;
}

.generate-btn {
    background-color: #66cc66;
    color: #222222;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-bottom: 2rem;
    width: auto;
    height: auto;
}

.generate-btn:hover {
    background-color: #88e888;
}

.section {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #444;
    padding-bottom: 1.5rem;
    text-align: left;
}

.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

h2 {
    margin: 0;
    text-align: left;
}

.item-container {
    display: flex;
    justify-content: flex-start;
    min-height: 2em;
    padding-left: 10px;
}

#activity-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#activity-name {
    font-weight: bold;
    font-size: 1.1em;
}

#activity-description {
    font-size: 0.9em;
    color: #88e888;
    font-style: italic;
}

.reroll-btn {
    background: none;
    color: #66cc66;
    border: 1px solid #66cc66;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.reroll-btn:hover {
    background-color: #444;
    border-color: #888;
}

a {
    color: #66cc66;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #88e888;
    text-decoration: underline;
}

.coffee-link {
    text-align: center;
    margin-top: 2rem;
}

.about-content {
    text-align: center;
    padding: 1rem;
}

.about-section {
    margin-top: 3rem;
}

.about-section h2 {
    text-align: center;
}

.options-link {
    display: inline-block;
    background-color: #444;
    color: #66cc66;
    border: 1px solid #66cc66;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.options-link:hover {
    background-color: #555;
    color: #88e888;
    text-decoration: none;
}

.footer {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.main-container {
    background-color: #333333;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    max-width: 800px;
    margin: 2rem auto;
}

.category-title {
    text-align: center;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {

    body.sidebar-open,
    body.sidebar-closed {
        margin-left: 0;
    }
    

    .about-content {
        padding: 0.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}
