/* static/css/style.css   */
/*html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: clamp(16px, 1.2vw, 20px);
}*/
h1 {
    font-family: 'Lora', serif;
    font-weight: 700; 
    text-align: center;
}
body {
    line-height: 1.7;
	background: azure;
}
em {
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: italic; /* Italic */
}
.article p, 
.text-block p, 
p {
  font-size: clamp(16px, 1.1rem + 1vw, 18px); /* ~17–20px на типичных экранах */
  line-height: 1.7;
  color: #333; /* темнее, контрастнее */
  /* text-indent: 34px; */
}
ul {
  font-size: clamp(16px, 1.1rem + 1vw, 20px); /* ~17–20px на типичных экранах */
}
/*-------------------------------------------------------*/
.head {
    height: 80px;
    /* background-color: #f8f9fa; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 20px;
    border-radius: 8px;
}
.logo {
    height: 100%; 
}
.responsive-logo {
    max-height: 100%;
    max-width: 100%;
    height: auto; 
    width: auto;  
}

.auth-links {
    /* margin-left: auto; */
    display: flex;
    align-items: center; /* Выравнивание по центру по вертикали */
    gap: 12px;
    justify-content: center;
	text-align: center;
}

.auth-links a {
    text-decoration: none;
    color: deepskyblue;
    margin: 0 10px;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;

    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;

    /* Нормализация button */
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}
.link:not(:last-child)::after {
    content: "|";
    margin: 0 10px;
}
.link {
    text-decoration: none;
}
nav a {
    color: #999999; /* Цвет текста ссылки */
    text-decoration: none; /* Убираем подчеркивание */
    margin: 0 5px; /* Отступы для создания пространства вокруг разделителя */
}

nav a + a::before {
    content: "|"; 
    color: #999999;
    margin-right: 10px;
}

/* ----------------------Общие стили для блока с фото, текстом и кнопкой ---------------------------- */
.content-wrapper {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px; 
    /*background-color: #f0f0f0;*/
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;

    box-shadow: 0px 4px 10px rgba(128, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Блок с изображением */
.image-block {
    flex: 1;
    margin-right: 20px;
    overflow: hidden;
    /*height: auto;*/
}

.img-responsive {
    max-width: 90%; /* Ограничиваем изображение до размера родителя */
    height: auto; /* Сохраняем пропорции изображения */
    display: block; /* Убираем лишние пробелы вокруг изображения */
}

/* Блок с текстом и кнопкой */
.info-block {
    flex: 1 0 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/*--------------------------------------------------------------------*/
.info-block-mission {
    flex: 1 0 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article h2, 
.article h3 {
    text-align: center;
}
.article h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1.5rem;
    color: #2c7a2c; /* зелёный оттенок */
}

.article h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 1rem;
}

/*.article p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.6rem 0;
}*/

/*---------------------------------------------------------------------*/
/* Описание фото */
.text-block {
    margin-bottom: 20px;
}

/* Стили для кнопки */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.button:hover {
    background-color: #0056b3;
}
/*----------------------------------- video----------------------------------*/
#bg_video { 
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -100;
	transform: translateX(-50%) translateY(-50%);
	transition: 1s opacity;
}
