@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --bg-dark: #0e0f12;
    --bg-panel: #10131a;
    --text-primary: #d9d9d9;
    --text-secondary: #9a9a9a;
    --accent: #4aa3ff;
}

/* ===== СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: linear-gradient(to bottom right, #0b0d12, #151926);
    color: var(--text-primary);
    font-family: 'Roboto Mono', monospace;
    font-size: 15px;
    line-height: 1.7;
}

/* ===== ОБЩИЙ КОНТЕЙНЕР ===== */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===== БОКОВАЯ ПАНЕЛЬ ===== */
.sidebar {
    width: 220px;
    background: var(--bg-panel);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar h1 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.sidebar .tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

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

.sidebar a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar a:hover {
    text-decoration: underline;
}

.bottom-link {
    margin-top: auto;
    font-size: 0.9rem;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.content {
    flex: 1;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* чтобы элементы были компактно сверху */
}

.content h2 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.content li {
    margin: 4px 0; /* компактное расстояние между проектами */
}

.content a {
    color: var(--accent);
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* ===== ФУТЕР ===== */
footer {
    margin-top: auto; /* футер всегда внизу, но не растягивает контент */
    text-align: left;
    border-top: 1px solid #222;
    padding-top: 15px;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .small {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 6px;
}
