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


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--bg-color, #ffffff);
    color: var(--text-color, #111111);
}


.container {
    display: flex;
    min-height: 100vh;
}


.sidebar {
    width: 250px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 6px rgba(0,0,0,0.05);
    background-color: var(--sidebar-bg, #f5f5f5);
    color: var(--sidebar-text, #111111);
}

.sidebar h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sidebar h3 {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    overflow: hidden;
    border-right: .15em solid #111;
    white-space: nowrap;
    width: fit-content;
    animation: typing 3s steps(30, end), blink 0.7s step-end infinite;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
}

.sidebar nav a {
    text-decoration: none;
    color: var(--link-color, #111111);
    margin: 0.5rem 0;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sidebar nav a:hover {
    color: #0077cc;
    transform: translateX(3px);
}


.marquee {
    margin-top: 1rem;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    font-size: 0.9rem;
    color: #111;
}


.content {
    flex-grow: 1;
    padding: 2rem;
    border-radius: 8px 0 0 8px;
}

.content h2 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

.content p, .content ul {
    font-size: 1rem;
    color: #222;
    margin-bottom: 1rem;
}

.content ul {
    list-style-type: square;
    padding-left: 1.5rem;
}


button {
    padding: 8px 16px;
    margin: 6px 0;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--button-bg, #e0e0e0);
    color: var(--button-text, #111111);
    border: 1px solid var(--button-border, #bbb);
}

button:hover {
    filter: brightness(0.9);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }


@media (max-width: 768px) {
    .container { flex-direction: column; }
    .sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; padding: 1rem; justify-content: space-between; border-radius: 0; box-shadow: none; }
    .sidebar h3 { animation: none; border: none; white-space: normal; width: auto; }
    .sidebar nav { flex-direction: row; flex-wrap: wrap; }
    .sidebar nav a { margin: 0.25rem 0.5rem; }
    .content { border-radius: 0; }
}
