.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}


:root {
    --bg-body: #fefefe;
    --bg-nav: #2c3e2f;
    --accent: brown;
    --accent-light: #a87b45;
    --text-dark: #2e2e2e;
    --text-light: #f0f0f0;
    --border: #ddd;
    --gray-bg: #f7f7f7;
}

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

body {
    background: var(--bg-body);
    color: var(--text-dark);
    font-family: 'Inter', 'Ubuntu', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* +-+-+ Header / Navbar +-+-+ */
header {
    background: var(--bg-nav);
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    border-bottom: 3px solid var(--accent);
    border-radius: 15px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Логотип вместо текста */
.logo-img {
    height: 128px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    border-radius: 15px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

nav a:hover, nav a.active {
    border-bottom-color: var(--accent-light);
    color: #fff;
}

/* +-+-+ Typography +-+-+ */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #2c3e2f;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem;
}

p, li {
    margin-bottom: 0.75rem;
}

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

a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* +-+-+ Buttons +-+-+ */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.btn:hover {
    background: var(--accent-light);
    text-decoration: none;
    text-color: white;
}

/* +-+-+ Code +-+-+ */
code {
    background: #eae7e0;
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    font-family: 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: #4a3b2c;
}

pre {
    background: #f5f2e6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
    border-left: 3px solid var(--accent);
}

/* +-+-+ Notification Blocks +-+-+ */
.warning {
    background: #fff1e0;
    border-left: 5px solid #e67e22;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}

.note {
    background: #f0f4fc;
    border-left: 5px solid #3498db;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}

.tip {
    background: #eaf7ea;
    border-left: 5px solid var(--accent);
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: #6b6b6b;
}

/* Adaptive */
@media (max-width: 700px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    h1 {
        font-size: 2rem;
    }
    nav {
        justify-content: center;
    }
}

/* +-+-+ Icons +-+-+ */
.librewaffle {
    height: 28px;
    width: auto;
    display: block;
}

.linux {
    height: 28px;
    width: auto;
    display: block;
}

.puffy {
    height: 28px;
    width: auto;
    display: block;
}

.xbps {
    height: 28px;
    width: auto;
    display: block;
}

.xue {
    height: 28px;
    width: auto;
    display: block;
}
