html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: bottom;
	-webkit-text-size-adjust: none;
}

body {
	color: black;
	font-family: 'Old Standard TT', serif;
	background-color: white;
}

#loaded{
	background-image: url('img/line.png');
	background-repeat: repeat-x;
	background-position: center 50px;
	padding-top: 50px;
}

p, .list, .menu li {
	line-height: 1.3;
	font-family: 'Old Standard TT', serif;
}

p span,
.list,
.footerHeader span {
	display: inline;
/* 	background-color: rgba(0, 0, 0, 0.8); */;
}

.paper {
	background-image: url('img/border.jpg');
	background-position: center center;
	border: 30px solid #40c4c8;
	-moz-border-image: url('img/border.jpg') 30 round round;
	-webkit-border-image: url('img/border.jpg') 30 round round;
	-o-border-image: url('img/border.jpg') 30 round round;
	border-image: url('img/border.jpg') 30 round round;
	
	border-radius: 5px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);

}

.paper p span {
	font-family: 'Underdog', cursive;
	color: #21005f;
	padding: 25px;
	display: block;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 8px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
}

.list span {
	display: list-item;
}

.list {
	list-style: inside;
	display: block;
}



/* меню */
.menu {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 2;
	background-color: rgb(134, 62, 57);
}

.menu li {
	height: 50px;
	line-height: 50px;
	list-style: none;
	text-align: center;
	cursor: pointer;
	color: white;
	color: rgb(214, 192, 171)
}

/* закрыть открыть меню */

.menuPointsOCClose {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.menu .menuPointsOC span {
	display: inline-block;
	vertical-align: top;
	-ms-user-select: none;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
}



/* заголовок */

.headerHolder {
	position: relative;
	clear: both;
	height: 100vh;
	background-color: #060605;
	display: block;
	z-index: 3;
}

.headerTitle {
	position: absolute;
	left: 0;
	display: table;
}

.headerTitle .headerTitleContainer {
	display: table-cell;
	vertical-align: middle;
}

.headerTitle .headerTitleContainer div {
	display: block;
	clear: both;
}

.headerTitle .headerTitleContainer div:after {
	content: '';
	clear: both;
	display: block;
}

.logo {
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.preName,
.name {
	line-height: 0.8;
	font-family: 'Amatic SC', cursive;
	color: white;
}
.preName{
	margin: 0 10px 10px;
	font-size: 24px;
	letter-spacing: 2px;
}

.headerImg {
	position: absolute;
	right: 0;
	background-image: url('img/hero.png');
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
}




/* выравниватель */

.center {
	max-width: 79em;
	margin: 100px auto 0;
}

.center:after {
	display: block;
	clear: both;
	content: '';
}




/* блоки текста */

.textHolder {
	position: relative;
	clear: both;
	z-index: 1;
	min-height: 100vh;
	padding: 100px 0;
}

.textHolder:after {
	display: block;
	clear: both;
	content: '';
}

.left, .right {
	margin: auto;
}

.left {
	float: left;
}

.right {
	float: right;
}



/* кнопки статей */

.btns {
	position: relative;
	clear: both;
	z-index: 1;
	min-height: 100vh;
	display: table;
	padding-bottom: 100px;
}

.btnsContainer {
	clear: both;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: white;
}

.btnsContainer:after {
	clear: both;
	content: '';
	display: block;
}

.buttonHeader {
	margin: 0;
	list-style: none;
	display: inline-table;
	width: 100%;
	padding: 50px 0 0;
}

.buttonHeader span {
	line-height: 2em;
	font-size: 3em;
	font-family: 'Amatic SC', cursive;
	display: table-cell;
	vertical-align: middle;
	color: black;
}

.button {
	list-style: none;
	border: 1px solid white;
/* 	border-radius: 20px; */
	overflow: hidden;
	display: inline-table;
	cursor: pointer;
	height: 150px;
}

.center .btns .btnsContainer .button {
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

.button span {
	line-height: 0.8;
	font-size: 1.2em;
	font-family: 'Amatic SC', cursive;
	display: table-cell;
	vertical-align: middle;
	background-color: rgba(134, 62, 57, 0.8);
}

.button span:hover {
	background-color: rgba(134, 62, 57, 0.3);
}




/* статьи */

.article {
	position: relative;
	clear: both;
	min-height: 100vh;
	z-index: 1;
	padding: 100px 0;
}

.articleHeader {
	line-height: 0.8;
	font-size: 4em;
	font-family: 'Amatic SC', cursive;
	font-weight: bold;
	padding: 50px 0;
}

.articleImg {
	width: 100%;
	height: auto;
	display: block;
	margin: 20px auto;
	
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}



/* викторина */

.textHolder-v {
	position: relative;
	clear: both;
	min-height: 100vh;
	z-index: 1;
	display: flex;
}

.vHeader,
.vText {
	margin: auto;
	width: 100%;
}

.vHeader {
	cursor: pointer;
	position: relative;
}

.vHeaderEnv {
	width: auto;
	height: auto;
	max-width: 80%;
	max-height: 35vh;
	border-radius: 100%;
	border: 10px double #dcb62e;
	display: block;
	margin: auto;
}

.vHeader p {
	text-align: center;
	margin: 20px auto 0;
}

.vText p {
	text-align: center;
	margin: auto;
}

.vText ul {
	display: block;
	margin: auto;
}

.vText ul li {
	display: block;
	text-align: center;
	margin: 10px 0;
	background-color: #dcb62e;
	border-radius: 2px;
	cursor: pointer;
}

.vText ul li p {
	line-height: normal;
	padding: 5px 0;
	width: 95%;
}

.vText ul li p span {
	color: #87413a;
	background-color: transparent;
}

.vText .selectedAnsw {
	background-color: rgba(220, 182, 46, 0.8);
}

.vText .selectedAnsw p span {
	color: #ffffff;
}

.vText {
	padding: 200px 0;
}
/*
.nextVquestion{
	cursor: pointer;
	width: 48px;
	height: 48px;
	margin: 50px auto 0;
	background-image: url('img/icon-downloads.svg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transform: rotate(270deg);
	-moz-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	-o-transform: rotate(270deg);
	transform: rotate(270deg);
}
*/
.exitV {
	line-height: 28px;
	font-size: 28px;
	padding: 5px;
	color: #dcb62e;
	background: black;
	font-family: 'Old Standard TT', serif;
	text-align: center;
	margin: 100px auto 0;
	width: 28px;
	height: 28px;
	cursor: pointer;
	border: double #dcb62e;
	border-radius: 100%;
}

.resultV {
	padding: 250px 0 50px;
	max-width: 650px;
	margin: auto;
}







@media all and (orientation:landscape) {
	.headerImg {
		width: 50%;
		height: 100%;
	}

	.headerTitle {
		width: 50%;
		height: 100%;
		padding: 0 50px 0;
	}

	.logo {
		background-image: url('img/logo-l.svg?v=2');
		height: 11vh;
		width: 30vh;
		margin-left: 12px;
		margin-bottom: 20px;
	}

	.name {
		font-size: 20vh;
	}

	.textHolder {
		display: flex;
	}

	.left, .right {
		width: 50%;
	}
	
	.buyBook {
		width: 120px;
		height: 120px;
	}
}

@media all and (orientation:portrait) {
	.textHolder {
		display: block;
		padding: 100px 0;
	}

	.headerTitle {
		width: 100%;
		height: 50%;
	}

	.logo {
		background-image: url('img/logo-p.svg?v=2');
		height: 5vh;
		width: 8vh;
		margin: 40px auto;
	}

	.preName{
		text-align: center;
	}
	.name {
		font-size: 15vh;
		text-align: center;
	}

	.headerImg {
		width: 100%;
		height: 50%;
		bottom: 0;
	}

	.headerTitle span {
		text-align: center;
	}

	.left, .right {
		float: none;
		width: auto;
		margin: 20px 0;
	}
	
	.buyBook {
		width: 80px;
		height: 80px;
	}
}

.buyTicket {
	position: fixed;
	padding: 10px 10px 5px;
	background-color: #ee1d24;
	z-index: 3;
	left: 50px;
	bottom: 50px;
	color: #000000;
	text-decoration: none;
	border-radius: 2px;
	line-height: 20px;
	font-size: 20px;
	text-transform: uppercase;
	font-family: 'Old Standard TT', serif;
}

@media screen and (min-width: 20em) {
	.menu {
		display: block;
	}

	.menu li {
		display: block;
	}

	.menu .menuDisplayingNo {
		display: none;
	}

	.menu .highlited {
		color: rgb(134, 62, 57);
		background-color: rgb(214, 192, 171);
	}

	.menu .menuPoints:hover {
		background-color: rgb(214, 192, 171);
		color: rgb(134, 62, 57);
	}

	.illustration {
		width: 100%;
		max-width: 100%;
		border-radius: 100%;
		
		-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
		-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);

	}

	p, .list {
		margin: 0 20px 10px;
		font-size: 4.1vw;
	}

	.button {
		width: 60vw;
		margin: 8px auto;
	}

	.articleHeader {
		text-align: center;
		margin: 0 20px 0;
	}

	.articleImg {
		max-width: 100%;
	}

	.buyTicketLeft {
		-webkit-transform: rotate(-90deg);
		-moz-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		-o-transform: rotate(-90deg);
		transform: rotate(-90deg);
		margin-left: -100px;
		margin-bottom: 50px;
	}

	.footerHeader {
		font-size: 15.1vw;
	}

	.footerlogo {
		width: 45%;
	}

	.severstal {
		width: 25%;
	}

	.vText p,
	.vText ul {
		width: 90%;
	}
	
}

@media screen and (min-width: 30em) {
	
	.menu {
		display: inline-table;
	}

	.menu .menuPoints {
		vertical-align: middle;
		display: table-cell;
	}

	.menu .menuPointsOC {
		display: none;
	}

	.illustration {
		width: auto;
		max-width: 90%;
		display: block;
		margin: auto;
	}

	.center {
		padding: 0 50px;
	}

	p, .list {
		margin: 0 0 10px;
		font-size: 2.9vw;
	}

	.button {
		width: 40vw;
		margin: 8px;
	}

	.articleHeader {
		text-align: left;
		margin: 0;
	}

	.articleImg {
		max-width: 480px;
	}

	.footerHeader {
		font-size: 10.6vw;
	}

	.severstal {
		width: 15%;
	}

	.vText p,
	.vText ul {
		width: 85%;
	}

}

@media screen and (min-width: 48em) {
	
		
	.button {
		width: 25vw;
	}

	p, .list {
		font-size: 1.7vw;
	}

	.buyTicketLeft {
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		margin-left: 0;
		margin-bottom: 0;
	}

	.footerHeader {
		font-size: 10.2vw;
	}

	.footerlogo {
		width: 40%;
	}

	.vText p,
	.vText ul {
		width: 40%;
	}

}

@media screen and ( min-width: 67em ) {
	.button {
		width: 20vw;
	}

	p, .list {
		font-size: 1.4vw;
	}

	.footerHeader {
		font-size: 10vw;
	}

	.vText p,
	.vText ul {
		width: 45%;
	}

}

@media screen and ( min-width: 79em ) {
	
	
	.center {
		margin: 100px auto 15px;
	}

	
	
	.button {
		width: 15vw;
	}

	.footerHeader {
		font-size: 7vw;
	}

	.footerlogo {
		width: 30%;
	}

	.vText p,
	.vText ul {
		width: 40%;
	}

}



/* кнопка прокрутки вниз */

.scroller {
	position: absolute;
	cursor: pointer;
	
/* 	border-radius: 100%; */
/* 	border: 1px solid black; */

/*
	
	right: 0;
	bottom: 0;
	width: 20px;
	height: 20px;
*/
	background-image: url('img/down.png');
/* 	background-color: white; */
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
/*
	z-index: 1;
	animation: jumpingBox 4s infinite;
*/

	width: 48px;
	height: 48px;
	margin-left: -24px;
	bottom: 50px;
	left: 50%;
/*
	border-left: 1px solid black;
	border-bottom: 1px solid black;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
*/
	-webkit-animation: sdb04 2s infinite;
	animation: sdb04 2s infinite;
/* 	box-sizing: border-box; */
	z-index: 3;
}

.scrollerOnBlack{
/*
	border-left: 1px solid white;
	border-bottom: 1px solid white;
*/
}

@keyframes sdb04 {

	from {
		bottom: 50px;
	}

	50% {
		bottom: 58px;
	}

	to {
		bottom: 50px;
	}
}

@keyframes jumpingBox {
	
	8% {
		bottom: 100px;
	}

	12% {
		bottom: 0;
	}

	16% {
		bottom: 67px;
	}

	20% {
		bottom: 0;
	}

	24% {
		bottom: 34px;
	}

	28% {
		bottom: 0;
	}
}

.scrollerUp {
/*
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
*/
	;
}




/* купить билет */

.buyTicket {
	position: fixed;
	padding: 10px 10px 5px;
	background-color: rgb(220, 182, 47);
	z-index: 3;
	left: 50px;
	bottom: 50px;
	color: #000000;
	text-decoration: none;
	border-radius: 2px;
	line-height: 20px;
	font-size: 20px;
	text-transform: uppercase;
	font-family: 'Old Standard TT', serif;
}


/* фон */

.backImg {
	-webkit-filter: blur(10px);
	filter: blur(10px);
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
/* 	opacity: 0.8; */
	z-index: 0;
/* 	background-image: url('img/backImg.jpg'); */
/* 	background-image: url('img/7/okruchivanie/kokoshnik.-ii-polovina-xviii-v..jpg'); */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}







/* общие эффекты */

* {
	transition: all 0.1s ease 0s;
}













/* подвал */
.footer {
	position: relative;
	min-height: 100vh;
	padding: 0 0 25%;
	z-index: 1;
	color: rgb(134, 62, 57)
}

.footerContent {
	margin: 50px auto 100px;
	text-align: center;
	max-width: 600px;	
	
	padding: 25px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 8px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);

}

.footerlogo {
	margin: 50px 0 50px;
	height: auto;
}

.footerContent p {
	font-family: 'Old Standard TT', serif;
	line-height: 1;
	font-size: 18px;
}

.footerContent .footerHeader {
	font-family: 'Amatic SC', cursive;
	line-height: 0.8;
	margin: 50px 0;
	font-size: 72px;
	font-weight: bold;
}

.footerContent .place{
	font-size: 13px;
	color: #21005f;
	font-weight: bold;
	margin: 30px 0 0;
}

/* спонсор */
/*.footerContent .support {*/
/*	margin: 50px 0 10px;*/
/*	font-size: 10px;*/
/*	color: #21005f;*/
/*	line-height: 0;*/
/*}*/

/*.severstal {*/
/*	height: auto;*/
/*}*/

.footerContent .credits{
	margin: 100px 0 20px;
	font-size: 12px;
}






#result {
	display: none;
}

.VHeaders {
	font-size: 120%;
	background-color: transparent;
}

.VHeadersEnlarged {
	font-size: 150%;
	background-color: #dcb62e;
	color: white;
}

.VHeadersEnlargedPlus {
	font-size: 180%;
	background-color: transparent;
	color: #dcb62e;
}



#answersExt p span .roundedNumber {
	display: flex;
	position: relative;
	margin: 50px auto 10px;
	width: 50px;
	height: 50px;
	border-radius: 100%;
}

#answersExt p span .roundRight{
	background-color: #dcb62e;
	color: rgb(134, 62, 57);
}
#answersExt p span .roundRightNo{
	background-color: rgb(134, 62, 57);
	color: #dcb62e;
}

#answersExt p span .roundedNumber span {
	margin: auto;
	background-color: transparent;
}

#answersExt p span .roundRight span{
	background-color: #dcb62e;
	color: rgb(134, 62, 57);
}
#answersExt p span .roundRightNo span{
	background-color: rgb(134, 62, 57);
	color: #dcb62e;
}

#answersExt p .answersColor{
	display: block;
	width: 70%;
	margin: 10px auto 0;
	padding: 10px 5px;
	border-radius: 8px;
	text-align: center;
}

#answersExt p .answersColor span{
	font-family: 'Old Standard TT', serif;
	color: #21005f;
}

.vImgs {
	width: auto;
	height: auto;
	margin: 50px auto;
	display: block;
	max-width: 100%;
	border: double #dcb62e;
	box-shadow: 0px 0px 1px black;
}

#universe {
	position: fixed;
	display: none;
	left: 0;
	top: 0;
}
#heart{
	opacity: 0;
}

/*
#topBorder{
	background-image: url('img/line.png');
	background-position: center center;
	background-repeat: repeat-x;
	position: fixed;
	z-index: 3;
	width: 100%;
	top: 0;
	height: 90px;
}
*/




.headerHolder p span,
.textHolder-v p span,
.footer p span{
	padding: 25px;
	background-color: transparent;
	border-radius: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}


.resultV .VHeadersEnlarged{
	background-color: rgb(255, 255, 255);
}



.resultV .questionsSpan,
.resultV .answersColor,
#questions {
	background-color: rgba(255, 255, 255, 1);
}
.resultV .VHeadersEnlarged a {
	color: #87413a;
	text-decoration: none;
}

#answersExt p span {
	padding: 0;
	display: inline;
}

#answersExt p span .mistakes {
	border-bottom: 1px dashed #a40006;
}

#answersExt p span .NoMistakes {
	border-bottom: none;
}

.buyBook{
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 3;
	text-decoration: none;
	display: block;
}

.buyBook .book{
	width: 100%;
	height: auto;
}
.buyBook .arrow{
	width: auto;
	height: auto;
	max-width: 80%;
	position: absolute;
	top: 0;
	right: 0;
	margin-right: -64px;
	animation: spin 2s infinite;
}

@keyframes spin {
	from {
		transform:rotate(0);
	}
	50% {
		transform:rotate(-45deg);
	}
	to {
		transform:rotate(0);
	}
}

.illustrationInText{
	max-width: 95%;
	max-height: 95%;
	margin: 20px auto;
	display: block;

	border-radius: 8px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);	
	
}



.captions{
	display: block;
	text-align: center;
	margin-bottom: 50px;
}
.captions span{
	font-size: 12px;
	line-height: 1.3;
	font-family: 'Old Standard TT', serif;
	color: #000000;
	width: 40%;
	max-width: 250px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	margin: 10px auto 0;
	padding: 10px 5px 5px;
	display: block;
}