﻿

#resume-container {
    background-color: #000005;
    position: relative;
    z-index: 1;
}


body {
    position: relative;
}

.container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* базовая страница */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #030712;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.background-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* ВИНЬЕТКА: центр гасим, края прозрачные */
.video-vignette {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background-color: transparent !important;
    background-image: radial-gradient( circle at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.60) 35%, rgba(0,0,0,0.20) 65%, rgba(0,0,0,0.00) 100% ) !important;
}

.page-content {
    position: relative;
    z-index: 2;
}


/* весь контент поверх видео */
.page-content {
    position: relative;
    z-index: 1;
}



.container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
}

.lead {
    font-size: 1.2em;
}

/* Buttons */
.btn-outline-secondary {
    border-color: #FFF;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-disabled {
    background-color: rgba(51, 51, 51, 0.2);
    color: #888;
    border: 1px solid #888;
    cursor: default;
    pointer-events: none;
}

.btn-outline-secondary:hover {
    background-color: #FFF;
    color: #000;
}

.btn-highlighted {
    background-color: #740315;
    color: white;
    box-shadow: 0 0 5px #740315, 0 0 10px #740315, 0 0 15px #740315;
}

/* About layout */
.about-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
}

.about-text {
    width: 90%;
    max-width: 100ch;
    text-align: left;
}

.about-image1 {
    width: 30%;
    max-width: 300px;
}

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }

.skills-list {
    margin-top: 1rem;
}

    .skills-list span {
        display: inline-block;
        padding: 4px 10px;
        margin: 4px 6px 0 0;
        border-radius: 999px;
        background-color: rgba(255, 255, 255, 0.08);
        font-size: 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        white-space: nowrap;
    }

/* Medium screens */
@media (max-width: 1024px) {
    .about-text {
        width: 70%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .lead {
        font-size: 1em;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .about-text {
        text-align: left;
    }
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}


.container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-bottom: 20px;
}

.content-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.left-column {
    flex: 1;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.right-column {
    width: 520px;
    flex: none; /* Убираем автоматическое растяжение */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Общий стиль для .project */
.project {
    position: relative;
    padding: 20px; /* Добавляем внутренние отступы */
    margin-bottom: 20px; /* Отступ между блоками */
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
}

/* Десктопная версия */
@media screen and (min-width: 769px) {
    .project {
        padding: 10px; /* Внутренний отступ для десктопа */
        margin-bottom: 20px; /* Расстояние между блоками проектов */
    }
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    .project {
        padding: 10px; /* Уменьшенные внутренние отступы */
        margin-bottom: 10px; /* Отступ между блоками */
    }
}

@media screen and (max-width: 768px) {
    .right-column {
        display: none; /* Скрыть правую колонку на мобильных устройствах */
    }
}

/* Показываем сообщение только на мобильных устройствах */
@media screen and (max-width: 768px) {
    .mobile-message {
        display: block; /* Показываем на мобильных */
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 1.2em;
        text-align: center;
        padding: 10px;
        margin: 20px 0;
        border-radius: 10px;
    }
}
/* Общие стили для подписи */
.project-signature {
    word-wrap: break-word;
    font-size: 0.85rem;
    color: white;
    font-style: italic;
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    .project-signature {
        position: static; /* Сбрасываем абсолютное позиционирование */
        display: block; /* Делаем элемент блочным */
        margin-top: 10px; /* Отступ сверху */
        text-align: left; /* Выравнивание текста */
    }

    .project .btn {
        margin-top: 0; /* Убираем отступ сверху кнопки */
    }
}

/* Десктопная версия */
@media screen and (min-width: 769px) {

    .project-signature {
        position: relative; /*
            right: 0px; /* Расположение справа */
        font-size: 0.85rem;
        color: white;
        text-align: right;
    }
}

/* Скрываем сообщение на устройствах с шириной экрана больше 768px */
@media screen and (min-width: 769px) {
    .mobile-message {
        display: none; /* Скрываем на ПК */
    }
}

@media screen and (min-width: 769px) {
    .right-column {
        display: flex; /* Убедитесь, что колонка видна на больших экранах */
    }
}


.project {
    position: relative; /* Это нужно для позиционирования подписи */
    padding-bottom: 10px; /* Добавим отступ снизу для подписи */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.project-signature {
    position: absolute;
    bottom: 15px;
    right: 10px;
    word-wrap: break-word;
    padding: 10px;
    font-size: 0.85rem;
    color: white; /* Замените на желаемый цвет */
    text-align: right;
    font-style: italic; /* Для красоты */
}

@media screen and (max-width: 768px) {
    .project {
        margin-bottom: 20px;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        position: relative;
    }

    /* Для мобильной версии */
    @media screen and (max-width: 768px) {
        .project-signature {
            position: static; /* Сбрасываем абсолютное позиционирование */
            margin-bottom: 15px; /* Добавьте отступ снизу для кнопки */
            display: block; /* Делаем элемент блочным */
            margin-top: 10px; /* Отступ сверху */
            text-align: left; /* Выравнивание текста *
        }

        .project .btn {
            margin-top: 0; /* Убираем отступ сверху кнопки */
        }
    }

    /* Для десктопной версии */
    @media screen and (min-width: 769px) {
        .project-signature {
            position: absolute; /* Абсолютное позиционирование */
            bottom: 10px; /* Расположение внизу блока */
            right: 10px; /* Расположение справа */
            font-size: 0.85rem;
            color: white; /* Цвет текста */
            text-align: right; /* Выравнивание текста */
            padding-bottom: 50px; /* Увеличьте отступ снизу для кнопки и подписи */
        }

        .project {
            padding-bottom: 40px; /* Пространство для подписи */
        }
    }


    .btn {
        margin-top: 15px;
        width: 100%; /* Кнопка будет занимать всю ширину */
    }
}

li {
    color: #999; /* Это может сделать текст серым */
}

.project h4 {
    color: #FFF;
    margin-bottom: 10px;
}

.project ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #CCC;
}

    .project ul li {
        margin-bottom: 5px;
    }

.project .btn {
    margin-top: 10px;
    display: inline-block;
    text-align: center;
}

.section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFF;
    padding-bottom: 10px;
}

.btn-outline-secondary {
    border-color: #FFF;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-highlighted {
    background-color: #740315;
    color: white;
    box-shadow: 0 0 5px #740315, 0 0 10px #740315, 0 0 15px #740315;
}

.btn-outline-secondary:hover {
    background-color: #FFF;
    color: #000;
}

.btn-disabled {
    background-color: rgba(51, 51, 51, 0.2);
    color: #888;
    border: 1px solid #888;
    cursor: default;
    pointer-events: none;
}


.container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-bottom: 20px;
}

li {
    color: #999; /* Это может сделать текст серым */
}
/* Кнопки статей */
.article-button {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    margin-left: auto;
    padding: 15px; /* Уменьшение внутреннего отступа */
    border: 1px solid #FFF;
    border-radius: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #999999;
    max-width: 300px; /* Ограничение ширины кнопки */
    max-height: 80px; /* Уменьшили минимальную высоту */
}

    .article-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .article-button img {
        width: 110px;
        height: 50px;
        object-fit: contain; /* Сохраняет пропорции, добавляя пустое пространство */
        border-radius: 10px;
        margin-right: 15px;
    }

.article-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Выравнивание текста по центру */
    justify-content: center; /* Центрирование внутри контейнера */
}

.article-title {
    font-size: 1em;
    margin: 0;
    margin-bottom: 6px;
    text-align: center;
}

.article-description {
    font-size: 0.95em;
    color: #CCC;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничивает до 2 строк */
    -webkit-box-orient: vertical;
}

/* Стили секций */
.section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFF;
    padding-bottom: 10px;
}

/* Кнопки */
.btn-outline-secondary {
    border-color: #FFF;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-highlighted {
    background-color: #740315;
    color: white;
    box-shadow: 0 0 5px #740315, 0 0 10px #740315, 0 0 15px #740315;
}

.btn-outline-secondary:hover {
    background-color: #FFF;
    color: #000;
}

.btn-disabled {
    background-color: rgba(51, 51, 51, 0.2);
    color: #888;
    border: 1px solid #888;
    cursor: default;
    pointer-events: none;
}

.social-btn {
    color: #FFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #FFF;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 150px; /* Минимальная ширина кнопок */
}

    .social-btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .social-btn:hover {
        background-color: #999999;
        color: #000;
    }

.form-control, .btn-primary {
    margin-top: 10px;
    max-width: 500px;
}

.contact-info .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text, .about-image {
    flex: 1 1 300px;
    max-width: 500px;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
    }

/* хедер становится "контейнером" для абсолютной кнопки */
#resume-container .header {
    position: relative;
    padding-right: 340px; /* резерв под кнопку (подстрой) */
}

/* кнопка больше НЕ влияет на высоту блока */
#resume-container .resume-download {
    position: absolute;
    top: 0; /* на уровень h1 */
    right: 0; /* прижали к правому краю хедера */
    margin: 0 !important;
}

/* если нужно точнее по линии заголовка */
#resume-container .header h1 {
    margin-top: 0;
}
/* Рабочая зона с колонками */
.projects-layout {
    max-width: 1300px; /* ← ТА ЖЕ ширина, что Resume */
    margin: 0 auto; /* центр */
    display: flex;
    gap: 24px;
    align-items: flex-start;
}



.project {
    margin-bottom: 15px;
    background-color: rgba(255,255,255,0.10);
    border-radius: 14px;
    padding: 18px;
}

#tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 8px; /* Горизонтальный и вертикальный отступы между кнопками */
    margin-bottom: 14px;
}


.container {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    margin-bottom: 20px;
}

/* Buttons */
.btn-outline-secondary {
    border-color: #FFF;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-outline-secondary:hover {
        background-color: #FFF;
        color: #000;
    }

.btn-disabled {
    background-color: rgba(51, 51, 51, 0.2);
    color: #888;
    border: 1px solid #888;
    cursor: default;
    pointer-events: none;
}

.btn-highlighted {
    background-color: #740315;
    color: white;
    box-shadow: 0 0 5px #740315, 0 0 10px #740315, 0 0 15px #740315;
}

/* Social buttons */
.social-btn {
    color: #FFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #FFF;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 150px;
    margin-right: 10px;
    margin-bottom: 10px;
}

    .social-btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .social-btn:hover {
        background-color: #FFF;
        color: #000;
    }

.form-control, .btn-primary {
    margin-top: 10px;
    max-width: 500px;
}

.contact-info .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text, .about-image {
    flex: 1 1 300px;
    max-width: 500px;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    }
.project-tags {
    font-size: 0.95em;
    color: #bbb;
    margin-bottom: 5px;
}

.project-desc {
    margin: 5px 0 8px 0;
    font-size: 1.07em;
    color: #fff;
}

.icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.icon {
    width: 44px;
    height: 44px;
    object-fit: cover;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.social-btn {
    color: #FFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #FFF;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 150px; /* Минимальная ширина кнопок */
}

    .social-btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .social-btn:hover {
        background-color: #999999;
        color: #000;
    }

.form-control, .btn-primary {
    margin-top: 10px;
    max-width: 500px;
}

.contact-info .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text, .about-image {
    flex: 1 1 300px;
    max-width: 500px;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
    }
li {
    color: #999; /* Это может сделать текст серым */
}
/* Кнопки статей */
.article-button {
    display: flex;
    justify-content: center; /* Горизонтальное центрирование */
    padding: 15px; /* Уменьшение внутреннего отступа */
    border: 1px solid #FFF;
    border-radius: 15px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: #999999;
    max-width: 300px; /* Ограничение ширины кнопки */
    max-height: 80px; /* Уменьшили минимальную высоту */
}

    .article-button:hover {
        background-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .article-button img {
        width: 110px;
        height: 50px;
        object-fit: contain; /* Сохраняет пропорции, добавляя пустое пространство */
        border-radius: 10px;
        margin-right: 15px;
    }

.article-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Выравнивание текста по центру */
    justify-content: center; /* Центрирование внутри контейнера */
}

.article-title {
    font-size: 1em;
    margin: 0;
    margin-bottom: 6px;
    text-align: center;
}

.article-description {
    font-size: 0.95em;
    color: #CCC;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничивает до 2 строк */
    -webkit-box-orient: vertical;
}

/* Стили секций */
.section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFF;
    padding-bottom: 10px;
}

/* Кнопки */
.btn-outline-secondary {
    border-color: #FFF;
    color: #FFF;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-highlighted {
    background-color: #0f1a2e;
    color: #d6deeb;
    box-shadow: 0 0 5px #FFF, 0 0 10px #FFF, 0 0 15px #FFF;
}

.btn-outline-secondary:hover {
    background-color: #FFF;
    color: #000;
}

.btn-disabled {
    background-color: rgba(51, 51, 51, 0.2);
    color: #888;
    border: 1px solid #888;
    cursor: default;
    pointer-events: none;
}

.social-btn {
    color: #FFF;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid #FFF;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 150px; /* Минимальная ширина кнопок */
}

    .social-btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .social-btn:hover {
        background-color: #999999;
        color: #000;
    }

.form-control, .btn-primary {
    margin-top: 10px;
    max-width: 500px;
}

.contact-info .row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-text, .about-image {
    flex: 1 1 300px;
    max-width: 500px;
}

    .about-image img {
        width: 100%;
        border-radius: 15px;
    }
/* ===== Resume layout (old-style 2 columns), scoped ===== */
/* общий стиль блока (наследует твой .container фон, скругление и т.д.) */
#resume-container {
    color: #d9d9d9;
}

/* две колонки как в старом резюме */
#resume-container .resume-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

#resume-container .left-column {
    flex: 1 1 65%;
    min-width: 300px;
    padding: 20px 20px;
    color: rgba(255, 255, 255, 0.1);
}

#resume-container .right-column {
    flex: 0 0 30%;
    background-color: #0f1a2e;
    color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.18);
    max-width: 350px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* фото как раньше */
#resume-container .photo {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    background-color: #7F8C8D;
    margin-bottom: 14px;
    background-image: url('https://i.postimg.cc/t7dGkVYM/ava1.jpg');
    background-size: cover;
    background-position: center;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Заголовки/тексты */
#resume-container h1,
#resume-container h2,
#resume-container h3,
#resume-container h4 {
    margin: 0;
}

#resume-container .header h1 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 6px;
}

#resume-container .header .subtitle {
    font-size: 18px;
    color: #cccccc;
    font-weight: 500;
    margin-bottom: 8px;
}

#resume-container .contact-info {
    font-size: 14px;
    color: #bdbdbd;
    margin-bottom: 14px;
}

    #resume-container .contact-info a {
        color: #d7d7d7;
        text-decoration: none;
        font-weight: 500;
    }

        #resume-container .contact-info a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* Заголовки секций как у тебя на сайте */
#resume-container .section-title {
    font-size: 20px;
    margin-top: 22px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,255,255,0.8);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
}

/* правой колонке заголовки белые */
#resume-container .right-column .section-title {
    margin-top: 14px;
    width: 100%;
    text-align: left;
}

#resume-container p {
    margin: 8px 0;
    line-height: 1.6;
    color: #d0d0d0;
    font-size: 14.5px;
}

#resume-container .job {
    margin-bottom: 16px;
}

    #resume-container .job h4 {
        font-size: 15px;
        color: #ffffff;
        font-weight: 700;
        margin-top: 10px;
        margin-bottom: 4px;
    }

    #resume-container .job .meta {
        color: #bdbdbd;
        font-style: italic;
        margin-bottom: 6px;
        font-size: 13.5px;
    }

#resume-container ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

/* важно: у тебя глобально li { color:#999 } — перебиваем внутри резюме */
#resume-container li {
    color: #cfcfcf !important;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.55;
}

/* Тэги технологий */
#resume-container .project-tech {
    font-size: 12px;
    color: #d2d2d2;
    margin-left: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 2px 6px;
    border-radius: 8px;
    display: inline-block;
    transform: translateY(-1px);
}

/* списки скиллов справа — как раньше (через точки) */
#resume-container .skills {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: left;
    font-size: 14px;
    color: #cfcfcf;
}

    #resume-container .skills li {
        display: inline;
        margin-right: 6px;
        color: #cfcfcf !important;
    }

        #resume-container .skills li::after {
            content: " •";
            color: #cfcfcf;
        }

        #resume-container .skills li:last-child::after {
            content: "";
        }

    #resume-container .resume-wrap {
        width: 100%;
        max-width: 1300px; /* пример, подбери под себя */
        margin: 0 auto; /* центрируем */
    }

/* Mobile */
@media screen and (max-width: 768px) {
    #resume-container .resume-wrap {
        flex-direction: column;
    }

    #resume-container .left-column,
    #resume-container .right-column {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #resume-container .right-column {
        align-items: flex-start;
    }

    #resume-container .photo {
        width: 110px;
        height: 110px;
        margin: 0 auto 12px;
    }
}
html, body { height: 100%; }

.background-video{
  position: fixed;
  inset: 0;              /* top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.45) saturate(0.7) contrast(1.05);
}

/* чтобы контент точно был выше видео */
.container, #resume-container{
  position: relative;
  z-index: 1;
}
html, body {
    background-color: #030712;
}

/* ===== Resume: download button responsive fix ===== */

/* Desktop/tablet: кнопка справа, не влияет на поток */
#resume-container .header {
    position: relative;
    padding-right: 340px; /* резерв под кнопку */
}

#resume-container .resume-download {
    position: absolute;
    top: 0; /* на уровне заголовка */
    right: 0;
    margin: 0 !important;
}

/* Mobile: кнопка уходит под текст и больше не ломает верстку */
@media (max-width: 768px) {
    #resume-container .header {
        padding-right: 0; /* убираем резерв */
    }

    #resume-container .resume-download {
        position: static; /* возвращаем в поток */
        display: flex; /* сохраняем твой flex-внутренности кнопки */
        margin: 12px 0 0 0 !important;
        max-width: 100%; /* чтобы не вылезала за края */
        width: 100%;
    }

        /* чуть уменьшим превью, чтобы аккуратно смотрелось */
        #resume-container .resume-download img {
            width: 96px;
            height: 44px;
        }

    /* если на мобилке заголовки слишком большие — можно чуть ужать */
    #resume-container .header h1 {
        font-size: 26px;
        line-height: 1.1;
    }
}

/* Общие стили для ВСЕХ кнопок фильтров (базовые) */
.filter-btn {
    padding: 0 15px;
    border-radius: 18px;
    font-size: 1em;
    margin-bottom: 3px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

/* Стили для КАТЕГОРИЙ (Categories) - БОЛЬШИЕ как у разделов */
#category-filters .filter-btn {
    min-width: 150px; /* Как у разделов */
    height: 40px; /* БОЛЬШАЯ высота */
    padding: 10px 20px; /* Больше padding */
    border: 1px solid #FFF;
    color: #FFF;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    #category-filters .filter-btn:hover {
        background-color: #FFF;
        color: #000;
    }

    #category-filters .filter-btn.active {
        background-color: #740315;
        color: white;
        border-color: #740315;
        box-shadow: 0 0 5px #740315, 0 0 10px #740315, 0 0 15px #740315;
    }

/* Стили для ТЕГОВ (Stack) - МАЛЕНЬКИЕ как было */
#tag-filters .filter-btn {
    min-width: 110px;
    height: 25px; /* Низкие */
    background: rgba(255,255,255,0.11);
    border: 1.3px solid #bbb;
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
}

    #tag-filters .filter-btn:hover,
    #tag-filters .filter-btn.active {
        background: #781f31;
        color: #fff;
        border-color: #781f31;
        box-shadow: 0 0 10px #741a3040;
    }

