@import url('https://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700');
/*font-family: 'PT Sans Narrow', sans-serif;*/

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a{
	color: inherit;
	text-decoration: none;
}

/*li{
	list-style-type: disc;
}*/

body{
	min-width: 400px;
	background-color: #000;
	padding-top: 5px;
	font-family: 'PT Sans Narrow', sans-serif;
}

.container{
	width: 100%;
	max-width: 1200px;
	min-width: 400px;
	margin: 0 auto;
}

.mainLogo{
	display: block;
	margin: 0 auto;
	width: 90%;
}

.bottomLine{
	color: #fff;
	height: 81px;
 	width: 100%;
 	background-image: url(../img/bottomLine.png);
 	background-repeat: repeat;
}

.bottomLine .container{
	background-image: url(../img/bottomcontainer.png);
	background-repeat: repeat;
	z-index: 2;
	height: 81px;
	background-color: #000;
	position: relative;
}

.bottomLine .container:before{
	background-image: url(../img/underlineLogoLeft.jpg);
	width: 112px;
	height: 81px;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
}

.bottomLine .container:after{
	background-image: url(../img/underlineLogoRight.jpg);
	width: 112px;
	height: 81px;
	content: '';
	position: absolute;
	top: 0;
	right: 0;
}

#main{
	background-image: url(../img/moulin.png);
	background-repeat: repeat;
	padding-top: 20px;
	padding-bottom: 100px;
}

#main .container{
	border: 10px solid #161f29;
	background-color: #161f29;
	border-radius: 15px;
	box-shadow: 0 0 60px 20px #3e71b3;
}

.border{
	width: 100%;
	padding: 10px;
	background-color: #2b435a;
	border-radius: 15px;
}

.content{
	background-color: #88a7c5;
	border-radius: 15px;
	width: 100%;
	padding-bottom: 50px;
}

.contact{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	padding: 30px 50px;
}

.textContact{
	width: 100%;
	max-width: 400px;
	min-width: 300px;
	opacity: 0;
}

.textContact li{
	font-size: 18px;
	line-height: 24px;
}

.textContact h1{
	font-size: 26px;
	line-height: 30px;
	margin-bottom: 10px;
}

.mainPanel{
	position: relative;
	width: 330px;
	height: 330px;
	opacity: 0;
	margin-left: 20px;
}

.mainPanel img{
	width: 330px;
	height: 330px;
}

.wrapInPanel{
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0 50px;
}

.wrapInPanel p{
	display: inline-block;
	width: 100%;
	font-size: 19px;
	margin: 0;
	padding: 25px 0 40px 0;
	color: #FFF;
	text-transform: uppercase;
	text-align: center;
	text-shadow: 1px 1px #0C212B;
	font-weight: 400;
	margin-bottom: 20px;
}

.wrapInPanel input{
	font-size: 14px;
	color: #000;
	display: block;
	height: 40px;
	margin: 4px auto;
	width: 100%;
	padding: 0 15px;
	font-weight: 400;
	background: rgba(240, 240, 240, 0.9);
}

#submitBTN1,
#submitBTN2{
	color: #1B2A35;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 0 1px #89CBFF;
	display: block;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	width: 100%;
	min-width: 208px;
	max-width: 236px;
	position: relative;
	background: url(../img/btn.png) no-repeat;
    background-image: url("../img/btn.png");
    background-size: auto auto;
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
	height: 54px;
	line-height: 54px;
	margin: 5px auto 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	margin-top: 20px;
	text-align: left;
	padding-left: 20px;
	cursor: pointer;
}

#submitBTN1:hover,
#submitBTN2:hover{
    background-image: url("../img/btn_hov.png");
}

.mainPrice{
	background: url(../img/mainPrice.png) repeat-x;
	background-size: auto auto;
	-webkit-background-size: auto 100%;
	background-size: auto 100%;
	padding: 0 5px;
	height: 237px;
	max-width: 500px;
	margin: 35px auto;
	position: relative;
	position: relative;
	padding: 0 20px;
}
.mainPrice:before{
	width: 35px;
	background: url("../img/leftPrice.png") no-repeat;
    background-size: auto auto;
	-webkit-background-size: auto 100%;
	background-size: auto 100%;
	height: 237px;
	left: -35px;
	display: block;
	content: '';
	position: absolute;
	top: 0;
}

.mainPrice:after{
	width: 35px;
	height: 237px;
	right: -35px;
	background: url("../img/rightPrice.png") no-repeat;
    background-size: auto auto;
	-webkit-background-size: 100% 100%;
	background-size: 100%;
	display: block;
	content: '';
	position: absolute;
	top: 0;
}

.titlePrice{
    text-transform: uppercase;
    color: #FFF;
    line-height: 35px;
    font-size: 24px;
    padding: 10px 0 25px 0;
    display: block;
    text-align: center;
}

.price li{
	list-style-type: disc;
	margin-top: 5px;
	font-weight: bold;
}

.payment{
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.payment img{
	width: 70px;
	display: inline-block;
}

.download{
	background-color: #172236;
	color: #fff;
	padding: 35px 30px;
}

.download p{
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight: bold;
	display: inline-block;
	position: absolute;
	bottom: 145px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 17px;
}

nav li:hover{
	color: #eff384;
}

.download li{
	/*list-style-type: auto;*/
	font-size: 18px;
}

.download h1,
.download h2{
	color: #eff384;
	text-align: center;
	margin-bottom: 25px;
}

.contactPanel{
	text-align:center;
}

.contactPanel li{
	/*list-style-type: none;*/
	font-size: 18px;
}

.contactPanel li:nth-of-type(1){
	font-size: 24px;
	font-weight: bold;
}

.contactPanel img{
	width: 25px;
	margin-left: 5px;
	margin-right: 10px;
}

.info{
	padding: 30px 50px;
}

h2{
	text-align: center;
	margin-bottom: 10px;
}

.info p{
	margin-bottom: 10px;
}

.info h1{
	text-align: center;
	margin-top: 35px;
}

.info ul{
	margin-left: 50px;
}

.overflowUl{
	display: none;
	text-align: center;
}

.overflowUl li{
	width: 100%;
	text-align: center;
	display: inline-block;	
}

.forAnim3,
.forAnim2,
.forAnim4{
	opacity: 0;
}

.popUp{
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background-color: rgba(0,0,0,0.7);
	justify-content: center;
	align-items: center;
}

.msgOK{
	color: #fff;
	width: 100%;
	font-size: 30px;
	max-width: 400px;
	min-width: 300px;
	font-weight: bold;
	text-align: center;
}

.wrapGames{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
} 	

.game{
	width: 275px;
	min-height: 375px;
	margin: 20px;
	background-image: url(../img/game-bg.png);
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
}

.game img{
	display: inline-block;
	position: absolute;
	top: -30px;
	left: 5px;
}

.olText{
	padding: 0 30px;
	list-style-position: inside;
}

a.regBTN{
	font-size: 20px;
	text-transform: uppercase;
	text-decoration: underline;
	color: yellow;
}

a.regBTN:hover{
	color: green;
}

.manualWrap{
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	flex-direction: row;
}

.manualWrap img:nth-child(1){
	width: 100%;
	max-width: 350px;
	margin: 20px;
	display: inline-block;
}

.manualSection{
	width: 50%;
	min-width: 300px;
}

h2.manualH2{
	text-align: left;
}

.priceText li,
.overflowUl li{
	list-style-type: none;
}

.imgContact{
	margin: 20px auto 0;
	display: inline-block;
}

.imgCenter{
	text-align: center;
}

.lineManual{
	width: 100%;
	height: 2px;
	border-bottom: 1px solid #ddd;
	margin: 30px 0;
}

.manualSection img{
	width: 100%;	
}

.chcgreenFull{
	width: 100%;
	max-width: 400px;
	min-width: 220px;
	margin: 30px auto 0;
	text-align: center;
	background-color: #a6c7eb;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #161f29;
	transition: 0.3s;
}

.chcgreenFull:hover{
	box-shadow: 2px 2px 5px 3px #161f29;
}

.chcgreenFull input{
	width: 100%;
	max-width: 250px;
	min-width: 200px;
	padding: 5px 10px;
}

.btnDownl{
	padding: 5px 10px;
	margin: 15px 0;
}

.linkDownl{
	font-size: 22px;
	color: blue;
}

.linkDownl:hover{
	color: green;
}


.img_games {
	position: relative;
	width: 100%;
	height: 400px; /* можно менять под нужную высоту */
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	padding-bottom: 25px;
}

.img_games img {
	position: absolute;
	opacity: 0;
	transition: opacity 1s ease-in-out;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	object-fit: contain;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

.img_games img.active {
	opacity: 1;
	z-index: 1;
}





.wrapPrice.forAnim2.imgCenter {
	position: relative;
	width: fit-content;
	margin: 0 auto;
}

.panel-bg {
	display: block;
	width: 100%;
	height: auto;
}

/* Заголовок внутри панели */
.panel-title {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	text-shadow: 1px 1px 2px #000;
	text-transform: uppercase;
	font-family: 'Arial', sans-serif;
	white-space: nowrap;
}

/* Контент по центру */
.top-line {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

/* Флаг */
.flag {
	width: 40px;
	height: auto;
}

/* Телега */
.tg-icon {
	width: 40px;
	height: auto;
}

/* Ссылка */
.top-line a {
	font-size: 20px;
	font-weight: bold;
	color: #000;
	text-decoration: none;
}

.price{
	padding-top: 20px;
}

.telegram-help {
	position: fixed;
	bottom: 20px;
	right: 30px; /* отступ от края */
	z-index: 9999;
	width: 60px;
	height: 60px;
	border-radius: 50%; /* круглая форма */
	overflow: hidden; /* скрыть лишнее за кругом */
	box-shadow: 0 0 0 rgba(0,0,0,0); /* начальное состояние */
	transition: box-shadow 0.3s ease;
}

.telegram-help img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* равномерное заполнение */
	display: block;
}

.telegram-help:hover {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* мягкая тень по кругу */
}



@media(max-width: 630px){
	.mainPrice{
		width: 300px;
		position: relative;
	}

	.priceText{
		display: none;
	}

	.overflowUl{
		display: block;
		position: absolute;
		overflow: scroll;
		top: 70px;
		left: 0;
		height: 120px;		рушпреЖ 120зчж

		padding-left: 20px;
	}

	.mainPanel{
		margin-bottom: 20px;
		margin-left: 0px;
	}

	.manualWrap img:nth-child(1){
		margin: 20px 0;
	}

	.img_games {
		align-items: flex-start;
		height: 200px ;
		padding-top: 10px;
		margin-bottom: 20px;
	}

}

@media(max-width: 730px){
	#main{
		padding: 20px 10px 0;
	}

	.mainPanel{
		margin-bottom: 20px;
		margin-top: 20px;
		margin-left: 0;
	}

	.contact{
		flex-direction: column-reverse;
		/*flex-direction: column;*/
		padding: 10px 20px;
		justify-content: center;
		align-items: center;
	}

	.payment{
		padding: 0 5px;
		justify-content: space-around;
	}

	.img_games {
		padding-left: 15px;
		padding-right: 15px;
		box-sizing: border-box;
	}
}