        body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #1a1a40, #4c4c82);
            color: #ffffff;
            line-height: 1.6;
            overflow-x: hidden;
        }

      header {
    background: linear-gradient(45deg, #0d7377, #14ffec);
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease-out;
    color: #ffffff;
}

header h1 {
    margin: 10px 0;
    font-size: 2.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

header h2 {
    font-size: 1.8rem;
    margin: 15px 0;
    font-weight: 500;
    color: #e0f7fa;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

header h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: normal;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

header a {
    color: #00ffe0;
    text-decoration: none;
    transition: color 0.3s ease;
}

header a:hover {
    color: #ffffff;
    text-decoration: underline;
}

header .links {
    position: absolute;
    top: 15px;
    right: 20px;
}

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: #0d7377;
}

        nav {
            background: #0d7377;
            display: flex;
            justify-content: center;
            padding: 10px 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
            animation: slideIn 1.5s ease-out;
        }

        nav a {
            color: #ffffff;
            text-decoration: none;
            padding: 10px 20px;
            margin: 0 10px;
            border-radius: 5px;
            transition: background 0.3s ease;
            opacity: 0;
            animation: fadeInLink 1s ease-in forwards;
        }

        nav a:hover {
            background: #14ffec;
            color: #1a1a40;
			animation-delay: 0.5s;
        }


        main {
            padding: 20px;
        }

        section {
            margin-bottom: 20px;
            padding: 20px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            animation: fadeInSection 1.5s ease-out;
        }

        section h2 {
            margin-top: 0;
            color: #14ffec;
        }

        footer {
            text-align: center;
            padding: 10px 20px;
            background: #0d7377;
            color: #ffffff;
            font-size: 0.9rem;
            animation: fadeIn 2s ease-out;
        }

        /* Анимации */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes slideIn {
            from {
                transform: translateY(-100%);
            }
            to {
                transform: translateY(0);
            }
        }

        @keyframes fadeInLink {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInSection {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
		.page-header {
			background-color: #FFA500; 
			padding: 20px;
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			position: sticky;
			top: 0;
			z-index: 1000;
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		}

		.header-container {
			display: flex;
			align-items: center;
		}

		.header-photo {
			width: 180px;
			height: 240px;
			border-radius: 10px;
			margin-right: 20px;
			box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
			object-fit: cover; /* Убедитесь, что фото всегда заполняет рамку */
			transition: transform 0.3s ease, box-shadow 0.3s ease;
		}

		.header-text h1 {
			margin: 0;
			font-size: 1.8em;
			color: #333;
		}

		.header-text p {
			margin: 5px 0;
			font-size: 1em;
			color: #222;
		}

		.header-text a {
			color: #0044cc;
			text-decoration: none;
		}

		.header-text a:hover {
			text-decoration: underline;
		}

		.language-switcher {
		margin-top: 10px;
		display: flex;
		justify-content: flex-start;
		gap: 10px;
		}

		.language-switcher .flag {
		width: 30px;
		height: 20px;
		border: 1px solid #ccc;
		border-radius: 3px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
		}
		
		.language-switcher a:not(:has(img)) {
		display: none; /* Скрывает ссылки без вложенных изображений */
		}


        /* Стиль для фото */
        .profile-container {
		display: flex;
		flex-direction: column; /* Выравнивание сверху вниз */
		align-items: center; /* Центрирование содержимого */
		gap: 20px;
		animation: fadeIn 2s ease-out;
		text-align: center; /* Центрирование текста */
		}

		.profile-container img {
		width: 180px; /* Ширина изображения */
		height: 240px; /* Высота изображения */
		border-radius: 10px; /* Радиус углов, можно изменить */
		border: 4px solid #14ffec;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
		transition: transform 0.3s ease;
		}
		.profile-photo {
		width: 180px; /* Размер миниатюры */
		height: 240px;
		border: 2px solid #14ffec;
		border-radius: 8px;
		cursor: pointer; /* Указывает, что по фото можно кликнуть */
		}

		.profile-photo:hover {
		opacity: 0.8; /* Эффект наведения */
		}

		.profile-container img:hover {
		transform: scale(1.1);
		}

        .profile-details {
            max-width: 600px;
        }

        .profile-details p {
            margin: 5px 0;
        }
		table.profile-details {
			border-collapse: collapse;
			width: 100%;
			max-width: 600px;
			margin-top: 10px;
		}

		table.profile-details th,
		table.profile-details td {
			text-align: left;
			padding: 10px;
			border-bottom: 1px solid rgba(255, 255, 255, 0.3);
		}

		table.profile-details th {
			color: #14ffec;
			width: 30%;
		}

		table.profile-details td {
			color: #ffffff;
		}

		table.profile-details ul {
			margin: 0;
			padding-left: 20px;
		}

		table.profile-details a {
			color: #14ffec;
			text-decoration: none;
		}

		table.profile-details a:hover {
			text-decoration: underline;
		}		
		.popup {
			display: none;
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.8);
			z-index: 1000;
			justify-content: center;
			align-items: center;
			animation: fadeIn 0.3s ease-in-out;
		}

		.popup:target {
			display: flex;
		}

		.popup-content {
			position: relative;
			background: #ffffff;
			padding: 20px;
			border-radius: 10px;
			text-align: center;
			box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
		}

		.popup-content img {
			width: 360px;
			height: 480px;
			border-radius: 10px;
			box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
		}

		.close-button {
			position: absolute;
			top: 10px;
			left: 10px;
			color: #14ffec;
			font-size: 1.2rem;
			text-decoration: none;
			font-weight: bold;
		}

		.close-button:hover {
			color: #0d7377;
		}
		.profile-header {
			text-align: center;
			font-family: Arial, sans-serif;
			line-height: 1.5; /* Регулирует межстрочное расстояние */
			margin: 20px auto; /* Общий отступ сверху и снизу */
			max-width: 800px; /* Ограничивает ширину текста */
			padding: 0 15px; /* Небольшие отступы по бокам */
		}

		.profile-header h1 {
			font-size: 2rem; /* Уменьшает размер заголовка */
			margin-bottom: 10px; /* Отступ под заголовком */
		}

		.profile-header p {
			font-size: 1rem; /* Размер шрифта для параграфов */
			margin: 5px 0; /* Уменьшение отступов между параграфами */
			color: #333; /* Более приятный для глаз цвет текста */
		}

		.profile-header strong {
			font-weight: bold;
			color: #000;
		}


    footer {
        position: sticky;
        bottom: 0;
    }