/* Общие стили */
body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    background-image: linear-gradient(135deg, #f9f9f9 25%, #ffffff 25%, #ffffff 50%, #f9f9f9 50%, #f9f9f9 75%, #ffffff 75%, #ffffff);
    background-size: 50px 50px;
    color: #333333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Стили для заголовка (header) */
.page-header {
    background-color: #ffffff;
    color: #333333;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-photo {
    width: 180px;
    height: 240px;
    border-radius: 10px;
    border: 3px solid #333333;
    margin: 0;
}

.header-text {
    flex-grow: 1;
    text-align: left;
    padding-left: 20px;
}

.header-text h1 {
    font-size: 2em;
    margin-bottom: 5px;
    color: #333333;
}

.header-text h2 {
    font-size: 1.5em;
    margin: 5px 0;
    color: #555555;
}

.header-text h3 {
    font-size: 1.2em;
    margin: 5px 0;
    font-style: italic;
    color: #777777;
}

.header-links {
    position: absolute;
    top: 15px;
    right: 20px;
}

.header-links a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #005bb5;
}

.language-switcher a {
    color: #0073e6;
    text-decoration: none;
    margin: 0 5px;
}

/* Навигационное меню */
.main-navigation {
    background-color: #f8f8f8;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.main-navigation a {
    color: #333333;
    text-decoration: none;
    font-size: 1em;
    margin: 0 15px;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #0073e6;
}

/* Стили для всплывающего окна фото */
.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;
}

.photo-popup-content {
    position: relative;
    border: 5px solid #ffffff;
    border-radius: 12px;
}

.photo-popup-content img {
    width: 360px;
    height: 480px;
    border-radius: 10px;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border: none;
    color: #ff0000; /* Красный цвет текста */
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
}


/* Стили для футера */
footer {
    background-color: #f8f8f8;
    color: #777777;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}

footer nav a {
    color: #0073e6;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
}

footer p {
    margin-top: 10px;
    font-size: 0.8em;
    color: #555555;
}

footer nav a:hover {
    color: #005bb5;
}

/* Полностью обновлённые стили таблицы резюме */
.resume-table {
    width: 90%;
    margin: 30px auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.resume-table th, .resume-table td {
    padding: 15px;
    text-align: left;
    font-size: 1em;
    border-bottom: 1px solid #e0e0e0;
}

.resume-table th {
    background-color: #f8f8f8;
    color: #333333;
    font-weight: bold;
    text-align: center;
}

.resume-table tr:last-child td {
    border-bottom: none;
}

.resume-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.resume-table tr:hover {
    background-color: #f1f1f1;
    transition: background-color 0.3s;
}

/* Стили для контейнера содержимого */
.content-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    color: #333333;
    font-family: 'Arial', sans-serif;
}
