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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header Section */
.page-header {
    background-color: #0066cc;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.header-container {
    display: flex;
    align-items: center;
}

.header-photo {
    width: 180px;
    height: 240px;
    border-radius: 10px;
    margin-right: 20px;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-text h1 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.header-text h2 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.header-text h3 {
    font-size: 1rem;
    color: #e6f7ff;
    margin-bottom: 8px;
}

.header-text p {
    color: #e6f7ff;
    margin-bottom: 5px;
    font-size: 1rem;
}

.header-text a {
    color: #ff00ff;
    text-decoration: none;
}

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

.header-links {
    text-align: right;
}

.header-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header-links a:hover {
    color: #ffcc00;
}

.language-switcher a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.language-switcher a:hover {
    color: #ffcc00;
}

/* Main Content Section */
main {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
	padding-bottom: 80px;
}

main h2 {
		font-size: 2rem;
		margin-bottom: 20px;
		text-align: center;
}

main p {
      margin-bottom: 20px;
    font-size: 1rem;
    color: #333333;
    line-height: 1.6;
}

/* Footer Section */
footer {
    text-align: center;
    background-color: #0066cc;
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.9rem;
    position: relative; 
}

footer p {
    font-size: 0.9rem;
}
.main-navigation {
    background-color: #0066cc; /* Цвет фона навигации */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Основные стили для навигации */
.main-navigation {
    background-color: #0066cc; /* Цвет фона навигации */
    text-align: center; /* Центрирование всех ссылок */
    padding: 10px 0; /* Отступы сверху и снизу */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Небольшая тень для навигации */
}

.main-navigation a {
    color: #ffffff; /* Цвет текста ссылок */
    text-decoration: none; /* Убираем подчеркивание */
    font-size: 1rem; /* Размер шрифта */
    font-weight: bold; /* Жирный текст */
    margin: 0 15px; /* Отступы между ссылками */
    padding: 10px 20px; /* Внутренние отступы для удобной области нажатия */
    display: inline-block; /* Делаем ссылки блочными для удобного нажатия */
    transition: background-color 0.3s ease, color 0.3s ease; /* Эффект наведения */
    border-radius: 5px; /* Закругление углов */
}

.main-navigation a:hover {
    background-color: #14ffec; /* Фон при наведении */
    color: #000000; /* Цвет текста при наведении */
}

/* Стили для таблицы резюме */
.resume-table {
    width: 80%;
    margin: 20px auto; /* Центрирование таблицы */
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #0066cc; /* Рамка вокруг таблицы */
}

.resume-table th, 
.resume-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}

.resume-table th {
    background-color: #0066cc;
    color: #ffffff;
    font-weight: bold;
    font-size: 1rem;
}

.resume-table td {
    font-size: 0.9rem;
    color: #333;
}

.resume-table tr:last-child td {
    border-bottom: none;
}

.resume-table ul {
    padding-left: 20px;
}

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

.resume-table a {
    color: #14ffec;
    text-decoration: none;
}

.resume-table a:hover {
    text-decoration: underline;
}
/* Стили для всплывающего окна с увеличенной фотографией */
.photo-popup {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Темный фон с прозрачностью */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Поверх всего контента */
}

.photo-popup-content {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.popup-photo {
    width: 360px;
    height: 480px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff4d4d; /* Красная кнопка закрытия */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.close-button:hover {
    background-color: #cc0000; /* Темно-красный при наведении */
}
/* Стили для блока публикаций */
.pub {
    background-color: #f9f9f9; /* Светлый фон */
    border-radius: 10px; /* Скругленные углы */
    padding: 20px; /* Внутренние отступы */
    margin: 20px 0; /* Отступы сверху и снизу */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
    color: #333; /* Основной цвет текста */
    line-height: 1.6; /* Межстрочный интервал */
}

/* Стили для заголовка публикации */
.pub h3 {
    font-size: 1.2rem; /* Размер заголовка */
    color: #0066cc; /* Цвет заголовка */
    margin-bottom: 10px; /* Отступ под заголовком */
}

/* Стили для параграфов */
.pub p {
    margin-bottom: 10px; /* Отступ между абзацами */
}

/* Стили для ссылок */
.pub a {
    color: #0066cc; /* Синий цвет ссылок */
    text-decoration: none; /* Убираем подчеркивание */
    transition: color 0.3s ease; /* Плавный переход цвета */
}

.pub a:hover {
    color: #ff6600; /* Оранжевый цвет при наведении */
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* Стили для выделенного текста */
.pub strong {
    font-weight: bold; /* Жирный текст */
    color: #000; /* Черный цвет для акцентов */
}
