:root {
	--kino-var: #e34234;
	--sizeDate-var: 1.1em;
	--alink-var: #6b6b6b;
	--blink-var: #860000;
	--fontIrmUCS-var: Irmologion;
	--font-var: Fontics;
	--fontEvng-var: Evangeliecs;
	--fontSize-H1: 1.7em;
	--background-body: #fffafa;
}
/* html{height: 100vh;} */
body {
	margin: 0;
	font-family: 'Arial';
	/* padding-bottom: 12px; */
	color: #673e00;
	font-size: 22px;
	background-color: var(--background-body);

	/* background: linear-gradient(to bottom, #ffffff, #fdfff6); */
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: start;

	min-height: 100vh;
}

main {
	flex: 1;
	max-width: 800px;
	margin: auto;
	padding: 0 0.4rem;
}

header {
	padding-top: 3vw;
}

@font-face {
	font-family: 'Fontics';
	font-display: auto;
	src:
		local('Fontics-Regular'),
		url('https://fonts.a374.ru/Fontics-Regular.otf');
	font-weight: normal;
	font-style: normal;
}

footer {
	text-align: center;
	padding: 2em 0;
	/* background-color: #fff6f6;
	border-radius: 50%; */
	margin: auto;
	font-size: 1rem;
}

a {
	color: var(--alink-var);
	text-decoration: none;
}

hr {
	margin: 0vw auto;
	color: #ff9500;
	width: 97%;
	margin: 4vw 0;
}

/* For TAGLIST.HTML */
.taglist {
	text-align: center;
	clear: both;
}

/* For NEXTPREV.HTML */
#nextprev {
	padding: 1em 0 2em;
	/* The container for both the previous and next articles. */
}
#prev {
	text-align: center;
	background-color: #f9ebeb;
	padding: 2em 1em;
	border-radius: 1dvw;
}

#prev:hover {
	color: #b68383;
}
#next {
	text-align: center;
	padding: 0em 0 1em;
}
#next,
#prev {
	margin-top: 1em;
}

/* //////////////////////////////// */

/**
* Во имя Отца и Сына и Святаго Духа. Аминь.
*
* @format
*/

/* среда,  24 августа 2023 v2  */
/* @import "https://fonts.googleapis.com/css2?family=Roboto"; */

blockquote {
	margin-right: 2px;
	margin-left: 2px;
	border-left: 0.2em solid #e9e2da;
	border-right: 0.2em solid #e9e2da;
	padding: 0.4em 1.5em 0.4em 1.5em;
	border-radius: 7%;
	background-color: #ffffff;
	color: #c57676;
}

blockquote p::before {
	
	float: left;

	content: url('/svg/ya-attention.svg');
	display: inline-block;
	width: 5rem;
	margin-right: 15px;
	padding-bottom: 3hw;
	/* float: left; */
	/* padding-right: 1rem; */
	/* font-size: 2rem; */
	

}

.red {
	color: red;
}

.markdown-body {
	margin: auto;
	display: flex;
	flex-direction: column;
	width: 77%;
}

.navi {
	display: flex;
	position: -webkit-sticky;
	position: sticky;
	width: 101%;
	margin-left: -5px;
	top: -4px;
	/* font-size: 1.4vw; */
	background: linear-gradient(0deg, #b8860a 1%, #fffbf6 7%);
	border-radius: 0px 0px 10px 10px;
	justify-content: space-around;
	align-content: center;
	z-index: 999;
	box-shadow:
		0px 6px 19px 14px #fffaf6,
		0px 0px 24px 18px #fffaf6;
	padding-bottom: 7px;
}

img#search-target-img {
	width: 1.2em;
	transform: rotate(0deg);
}

#navi-page {
	margin: 0 4vw;
}

.navi-item {
	float: left;
	background: #ececec;
	padding: 0.3em;
	margin: 0em 0em -0.3em 0.3em;
	border-radius: 0.2em;
	transition:
		background 0.7s,
		transform 0.7s;
	box-shadow: inset 0px -2px 0px 0px #714d4d38;
}

.navi-item:nth-child(odd) {
	/* transform: rotate(-5deg); */
	color: red;
}

.navi-item:hover {
	/* 	padding: .5em 1em; */
	/* 		margin: 0em 0em -.5em .3em; */
	background: #ecdbbe;
	color: #fff;
	/* border-radius: 0.3em; */
	transform: rotate(9deg);
}

.navi-hidden {
	transform: translateY(-110%);
	transition: 1s;
}

nav {
	/* 	height: 1.7em; */
	padding: 15px 2px 22px 0px;
}

pre {
	overflow: auto;
	padding: 0.5rem 1rem 0.8rem 2rem;
	background-color: #d2d2d229;
	font-size: 1.1em;
}

code {
	font-size: 0.9em;
	color: #00BCFF;
	font-weight: 400;
	overflow-wrap: break-word;
}

strong {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #7b7b7b;
}

em {
	color: #ffffff;
	padding: 0rem 0.7rem 0.1rem 0.7rem;
	border-radius: 7px;
	background-color: #ff6868;
	font-weight: 600;
}

em a:link {
	color: #ffffff;
}
em:hover {
	background-color: #c76700;
}
em a:visited {
	color: #ffffff;
}

table {
	overflow: auto;
	font-size: 1.1em;
	color: #99769c;
	padding: 1.5%;
	transform: rotate(0deg);
	/* box-shadow: 0px 0px 12px #00000022; */
	margin-bottom: 2em;
	/* border-radius: 0.3em; */
	/* background: #fffff0;
border-left: 22px solid #fff;
border-right: 22px solid #fff; */
	/* font-family: monospace; */
}

td {
	padding: 1rem 1rem;
}

td:nth-child(2n-1) {
	/* color:red; */
	padding: 1rem 4rem;
}

td > code {
	color: #575757;
	padding: 0.5rem;
}

thead {
	color: #6d5b6c;
}

h1:first-child {
	/* display: inline; */
	color: #ff9500;
}

h1:first-child::after {
	float: inline-end;
	content: url('/svg/ya-pointer-workspace.svg');
	display: inline-block;
	width: 5dvw;
	margin-right: 20px;

	/* background: rgb(255, 255, 255); */
}

h1 {
	font-size: var(--fontSize-H1);
	text-transform: uppercase;
	overflow-wrap: break-word;
	/* transform: rotate(358deg); */
	/* font-family: 'Fontics'; */
	color: #4a3e2d;
}

/* h1::first-letter {
	color: #ff9500;
	font-size: 1.7em; 
} */

p {
	font-size: 1.2rem;
}

/* p::first-letter {
	color: #f65920;
} */

h2 {
	font-size: 1.2em;
	text-transform: uppercase;
	overflow-wrap: break-word;
}

h2::first-letter {
	font-size: 1.6em;
	color: #ff9800;
	/* line-height: 2px; */
	padding-top: 22px;
}

h3 {
	font-size: 1.3em;
	/* transform: rotate(359deg); */
	color: #696969;
}

a:link {
	color: #604c11;
	text-decoration-line: none;
	/* list-style-type: circle; */
}

a:visited #next,
#prev {
	color: #7c6754;
	text-decoration-line: none;
	/* list-style-type: circle; */
}

a:hover {
	color: #f07e2c;
}

.menu {
	grid-area: m;
	position: fixed;
	font-size: 1.3em;
}

img {
	width: 96%;
	height: 200px;
	object-fit: cover;
	display: block;
	/* margin-left: auto;
margin-right: auto; */
	/* transform: rotate(-2deg); */

	cursor: pointer;
	padding: 1vw;
	margin: 2em 0;
	border: 1px solid #fffbea;
	border-radius: 1vh;
	background-color: #fff4e4;
}

img:hover {
	background-color: #e3e3e3;
	filter: saturate(0.7);
	/* filter: drop-shadow(0px 0px 2px #0005) saturate(77%); */
}

time {
	font-size: 0.7em;
	color: #0005;
}

ul {
	overflow: hidden;
	margin-left: 11px;
}

li {
	list-style-type: none;
	/* font-size: 1rem; */
	padding: 1px 7px 0.7em 0px;
}

#navi-icon-home {
	font-weight: 600;
	cursor: pointer;
}

#navi-day {
	transform: rotate(0deg);
	background: #fff;
}

#colorScheme {
	cursor: pointer;
}

/* #dobro-day {
display: absolute;
background: #f8ffd9;
transform: rotate(10deg);
margin-right: 1em;
padding-right: 1em;
}

*/
#number-day {
	/* 	transform: rotate(0deg); */
	/* 	margin-left: 22px; */
	font-weight: bold;
	/* 	background: #eee4f3; */
	/* 	border-radius: 0px 2px 2px 0px; */
	/* color:
red; */
	/* 	box-shadow: none; */
}

/* sesarch GOOGLE */
.gs-spelling.gs-result {
	font-size: 1.3rem;
}

.gsc-control-cse {
	background-color: #ffffff00;
	border: 1px solid #fff;
	transform: rotate(0deg) !important;
	font-size: 1.7rem;
}

.gsc-above-wrapper-area-container {
	/* width: 90% !important; */
	transform: rotate(0deg);
}

.gs-snippet .gs-title {
	font-size: 1.5rem !important;
}

table.gsc-search-box {
	transform: rotate(0deg);
}

.gs-visibleUrl-breadcrumb {
	font-size: 13px;
}

#gs_tti50 {
	padding: 12px;
}

.gsc-search-button {
	padding: 0px;
}

.gsc-input {
	/* font-size: 16px !important; */
	transform: rotate(0deg) !important;
	margin-bottom: 0;
}

.gsc-search-button-v2 {
	font-size: 0px;
	padding: 11px 33px;
	width: auto;
	vertical-align: middle;
	border-radius: 7px;
}

.gs-webResult {
	/* 	border-left: 44px solid  red; */
	font-size: 2.3em !important;
}

/*  end serch GOOGLE */
/* ================= yandex search */
.ya-site-form__search,
#ya-site-form0 {
	background-color: #ffecdd99 !important;
	transform: rotate(1deg);
}

.b-serp-list {
	font-size: 1.7em;
	color: #2f4f4f;
}

#ya-site-results {
	color: #c60;
	font-size: 0em;
	background: #fffaf600 !important;
	transform: rotate(1deg);
}

#ya-site-results .b-bottom-wizard {
	font-size: 11px;
	overflow: auto;
	width: 99%;
}

.b-body-items {
	padding-left: 5vw !important;
	display: inherit;
}

/* end yandex search */

/* ===============@media====================== */
@media (max-width: 425px) and (orientation: portrait) {
	img {
		width: 90%;
	}
	.markdown-body {
		width: 97%;
	}

	/* h1:first-child {
		display: none;
	} */

	.navi-item {
		font-size: 4em;
		float: left;
		padding: 0.6em;
		margin: 0.3em;
	}
}

@media (max-width: 767px) and (orientation: portrait) {
	img {
		width: 96%;
	}

	.navi {
		position: sticky;
		background: linear-gradient(180deg, #8563 1%, #fffbf6 3%);
	}
}

@media (max-width: 767px) {
	header {
		margin-top: 1.5rem;
	}
	.markdown-body {
		width: 95%;
	}

	h1 {
		font-size: 1.4em;
	}

	h2 {
		font-size: 1.2em;
		overflow-wrap: break-word;
	}

	h3 {
		font-size: 1em;
	}

	body {
		font-size: 18px;
		padding: 0px 7px 0px 7px;
		margin: 0;
	}

	/* blockquote {
		margin-right: 2px;
		margin-left: 2px;
		border-left: 0.2em solid #e9e2da;
		border-right: 0.2em solid #e9e2da;
		padding: 0em 1.5em 0em 1.5em;
		border-radius: 15%;
		background-color: #fffdfa;
	} */

	.navi {
		position: relative;
		background: linear-gradient(180deg, #8563 1%, #fffbf6 3%);
	}

	/* 	меняем местами .navi с <H1> */
	H1:nth-child(odd) {
		order: -1;
	}

	.navi-item {
		font-size: 1.2rem;
		float: left;
		padding: 0.6em;
		margin: 0.3em;
		transition: transform 0.5s;
	}

	nav {
		padding-left: 3px;
		padding-right: 0px;
	}

	ol,
	ul {
		padding-inline-start: 19px;
	}

	td:nth-child(2n-1) {
		/* color:red; */
		padding: 0.1em 0.1em;
	}

	td > code {
		color: #575757;
		padding: 0.1rem;
	}
}

@media (max-width: 1024px) {
	.markdown-body {
		width: 97%;
	}
	main {
		margin: 0 3vw;
	}

	/* blockquote {
		margin-right: 2px;
		margin-left: 2px;
		border-left: .2em solid #e9e2da;
		border-right: 0.2em solid #e9e2da;
		padding: .2em 1.5em .2em 1.5em;
		border-radius: 10%;
		background-color: #fffdfa;
	} */

	table.gsc-search-box td.gsc-input {
		padding-left: 0.7em;
	}
}

/* =-=-=-=-=-=-animation  */
@keyframes animate {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
		border-radius: 33;
		/* 	background-color: #ccc; */
	}

	100% {
		transform: translateY(-1000px) rotate(720deg);
		opacity: 0;

		border-radius: 100%;
	}
}

.background {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	/*     background: #ccd; */
	overflow: hidden;
	z-index: -1;
}

.background li {
	position: absolute;
	display: block;
	list-style: none;
	width: 20px;
	height: 20px;
	background: #fff3e433;
	animation: animate 19s linear infinite;
}

.background li:nth-child(0) {
	left: 76%;
	width: 125px;
	height: 125px;
	bottom: -185px;
	animation-delay: 1s;
}

.background li:nth-child(1) {
	left: 59%;
	width: 184px;
	height: 124px;
	bottom: -184px;
	animation-delay: 3s;
}

.background li:nth-child(2) {
	left: 18%;
	width: 105px;
	height: 105px;
	bottom: -165px;
	animation-delay: 8s;
}

.background li:nth-child(3) {
	left: 46%;
	width: 119px;
	height: 169px;
	bottom: -199px;
	animation-delay: 4s;
}

.background li:nth-child(4) {
	left: 48%;
	width: 101px;
	height: 101px;
	bottom: -161px;
	animation-delay: 18s;
}

.background li:nth-child(5) {
	left: 36%;
	width: 137px;
	height: 137px;
	bottom: -197px;
	animation-delay: 20s;
}

.background li:nth-child(6) {
	left: 4%;
	width: 100px;
	height: 100px;
	bottom: -160px;
	animation-delay: 21s;
}

.background li:nth-child(7) {
	left: 16%;
	width: 133px;
	height: 133px;
	bottom: -193px;
	animation-delay: 13s;
}

.background li:nth-child(8) {
	left: 23%;
	width: 107px;
	height: 107px;
	bottom: -167px;
	animation-delay: 27s;
}

.background li:nth-child(9) {
	left: 42%;
	width: 154px;
	height: 154px;
	bottom: -194px;
	animation-delay: 34s;
}
