/*
Theme Name: roman_koryagin
Template: neve
Не обязательные параметры:
Theme URI: http://example.com/
Description: Дочерняя тема для темы twentytwentyone
Author: 
Author URI: http://example.com/about/
Version: 1.0
*/

/* Свои дополнительные стили */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.main {
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Стили для шапки */
.site-header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.site-header {
    margin-bottom: 20px;
}

.site-header {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: #ffcc00;
}

/* Стили для основного контента */
.site-main {
    padding: 40px 0;
}

.napravlenie,
.content,
.my-life {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.napravlenie h1,
.content h1,
.my-life h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

.text,
.achievements-list {
    color: #666;
    font-size: 16px;
    margin-bottom: 15px;
}

.achievements-list li {
    margin-bottom: 10px;
}

/* Основные стили футера */
/* Основные стили футера */
.site-footer {
    background-color: #333;
    color: #fff;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer ul li {
    font-size: 14px;
}

.site-footer a {
    color: #ffcc00;
    text-decoration: none;
}

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

@media (max-width: 768px) {
    .site-footer ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer p {
        margin-top: 15px;
        text-align: center;
    }
}



/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.achievements-list li,
.buisness-informatika,
.web-programm2 {
    animation: fadeIn 0.5s ease-in-out both;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
    }

    .main-nav ul li {
        margin: 10px 0;
    }

    .napravlenie h1,
    .content h1,
    .my-life h2 {
        font-size: 24px;
    }
}


/* Общий контейнер */
.main-content {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

/* Заголовок раздела */
.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Контейнер ссылок */
.link-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Ссылки-задания */
.task-link {
    display: inline-block;
    padding: 15px 30px;
    background-color: #d32f2f;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.task-link:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.task-link:active {
    background-color: #8e0000;
    transform: translateY(1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

/* Для мобильных устройств */
@media (max-width: 600px) {
    .task-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}



/* Заголовок статьи */
.blog-entry-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.blog-entry-title a {
    text-decoration: none;
    color: #d32f2f; /* Основной цвет заголовка */
}

.blog-entry-title a:hover {
    color: #b71c1c; /* Цвет при наведении */
    text-decoration: underline;
}

/* Метаданные статьи */
.nv-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.nv-meta-list li {
    display: inline-flex;
    align-items: center;
}

.nv-meta-list a {
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
}

.nv-meta-list a:hover {
    text-decoration: underline;
}

/* Обёртка для текста с отрывком */
.excerpt-wrap {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.excerpt-wrap p {
    margin: 0;
}

.excerpt-wrap a {
    color: #d32f2f;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.excerpt-wrap a:hover {
    color: #b71c1c;
    text-decoration: underline;
}

/* Для адаптивности */
@media (max-width: 768px) {
    .blog-entry-title {
        font-size: 20px;
    }

    .nv-meta-list {
        font-size: 13px;
    }

    .excerpt-wrap {
        font-size: 15px;
    }
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
}
    


.logo-text {
    font-size: 1.5rem;
    margin-left: 10px;
}

.logo-icon {
    font-size: 2rem;
}

