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

body {
    font-family: 'Arial', sans-serif;
    background-color: #fdfdfd;
    color: #111;
    line-height: 1.6;
    font-size: 16px;
}

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

.sidebar {
    width: 250px;
    background-color: #f5f5f5;
    border-right: 1px solid #ccc;
    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);
}

.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: #111;
    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;
}

footer {
    font-size: 0.9rem;
    color: #555;
    margin-top: 2rem;
}

#updates-list {
    display: grid;
    gap: 1rem;
    padding-left: 0;
    list-style: none;
}

#updates-list li {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#updates-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#updates-list li a {
    text-decoration: none;
    color: #007BFF;
    font-weight: 500;
}

#updates-list li a:hover {
    text-decoration: underline;
}

@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;
    }
}
