/* Основные стили */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Светло-голубой фон */
    color: #222;
}

/* Навигация */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background-color: #003366; /* Тёмно-синий фон */
    border-bottom: 3px solid #99ccff; /* Голубая линия */
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Заголовок */
.page-header {
    padding: 20px;
    background-color: #003366; /* Тёмно-синий фон */
    color: #ffffff;
    border-bottom: 3px solid #99ccff; /* Голубая линия */
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.header-photo {
    width: 180px;
    height: 240px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.header-text {
    max-width: 600px;
}

.header-text h1 {
    margin: 10px 0;
    font-size: 1.8em;
    color: #ffffff;
}

.header-text h2 {
    margin: 8px 0;
    font-size: 1.5em;
    color: #e6e6e6; /* Светло-серый */
}

.header-text h3 {
    margin: 5px 0;
    font-size: 1.2em;
    color: #cccccc; /* Светло-серый */
}

.header-links {
    margin-top: 10px;
}

.header-links a {
    margin: 0 10px;
    color: #99ccff; /* Голубой */
    text-decoration: none;
}

.header-links a:hover {
    text-decoration: underline;
	
}
.header-links {
    display: flex;
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    gap: 20px; /* Расстояние между ссылками */
    margin-top: 10px;
    padding: 10px 0;
    background-color: #003366; /* Цвет фона */
    border-top: 1px solid #99ccff; /* Линия сверху */
    border-bottom: 1px solid #99ccff; /* Линия снизу */
}
/* Переключение языков */
.language-switcher {
    margin-bottom: 10px;
    font-size: 0.9em;
    text-align: right;
    padding-right: 20px;
}

.language-switcher a {
    color: #ffffff;
    text-decoration: none;
}

.language-switcher 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;
}

.popup-content {
    position: relative;
    max-width: 360px;
    max-height: 480px;
}

.popup-photo {
    width: 100%;
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
}

.close:hover {
    color: #ff0000;
}

/* Общие стили ссылок */
a {
    color: #003366;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
        /* CSS для всплывающего окна */
        .photo-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            justify-content: center;
            align-items: center;
        }

        .photo-popup:target {
            display: flex;
        }

        .popup-content {
            position: relative;
        }

        .popup-photo {
            max-width: 90%;
            max-height: 90%;
        }

        .close {
            position: absolute;
            top: 10px;
            right: 10px;
            text-decoration: none;
            color: white;
            font-size: 24px;
            background: rgba(0, 0, 0, 0.5);
            padding: 5px 10px;
            border-radius: 5px;
        }

        .close:hover {
            background: red;
        }
		
		.resume-table {
    width: 100%; /* Таблица занимает всю ширину контейнера */
    max-width: 800px; /* Ограничение ширины таблицы */
    margin: 20px auto; /* Центрирование таблицы */
    border-collapse: collapse; /* Убирает двойные линии между ячейками */
    background-color: #f9f9f9; /* Цвет фона таблицы */
    border: 1px solid #ddd; /* Общая граница таблицы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень вокруг таблицы */
}

.resume-table th, .resume-table td {
    padding: 12px 15px; /* Внутренние отступы */
    text-align: left; /* Выравнивание текста по левому краю */
    border: 1px solid #ddd; /* Граница ячеек */
    font-size: 14px; /* Размер шрифта */
}

.resume-table th {
    background-color: #003366; /* Цвет фона для заголовков */
    color: #ffffff; /* Цвет текста в заголовках */
    font-weight: bold; /* Жирный текст для заголовков */
    text-transform: uppercase; /* Верхний регистр текста */
}

.resume-table tr:nth-child(even) {
    background-color: #f2f2f2; /* Цвет фона для чётных строк */
}

.resume-table tr:hover {
    background-color: #e6f7ff; /* Цвет фона при наведении на строку */
}
.content-container {
    max-width: 900px; /* Ограничивает ширину контейнера */
    margin: 0 auto; /* Центрирует контейнер по горизонтали */
    padding: 20px; /* Добавляет отступы внутри контейнера */
    background-color: #f9f9f9; /* Нежный фон для лучшей читаемости */
    border-radius: 10px; /* Скругленные углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
    font-family: "Arial", sans-serif; /* Устанавливает шрифт */
    line-height: 1.8; /* Увеличивает межстрочный интервал для удобства чтения */
    color: #333; /* Цвет текста */
}

.content-container h1 {
    text-align: center; /* Выравнивает заголовок по центру */
    color: #1a1a40; /* Темный цвет для заголовка */
    font-size: 28px; /* Размер шрифта заголовка */
    margin-bottom: 20px; /* Отступ снизу для заголовка */
}

.content-container p {
    margin-bottom: 15px; /* Отступ между абзацами */
    text-align: justify; /* Выровнять текст по ширине */
    font-size: 16px; /* Размер шрифта абзацев */
}
.image-container {
    display: flex; /* Aligns items flexibly, useful for centering or alignment */
    justify-content: center; /* Horizontally centers the image */
    align-items: center; /* Vertically centers the image */
    margin: 20px auto; /* Adds margin to separate it from other content */
    max-width: 600px; /* Limits the container width */
    border: 2px solid #ccc; /* Adds a border around the container */
    border-radius: 10px; /* Rounds the corners of the container */
    padding: 10px; /* Adds inner spacing inside the container */
    background-color: #f9f9f9; /* Sets a light background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for depth */
}

.image-container img {
    max-width: 100%; /* Ensures the image scales within the container */
    height: auto; /* Maintains the image's aspect ratio */
    border-radius: 8px; /* Optional: rounds the image corners slightly */
    display: block; /* Prevents inline spacing issues */
}

