/*
Theme Name: Battlehex
Theme URI: https://wordpress.org/
Description: Тема для Wordpress
Author: Divster
Author URI: https://divster.name/
Version: 100.0
*/
@font-face {
	font-family: 'Norwester';
	src: url('fonts/norwester/norwester.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}
@font-face {
	font-family: 'Dinofans';
	src: url('fonts/dinofans/dinofans.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

/* Eric Meyer's CSS Reset */
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: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=);
    list-style-type: none;
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* End of Eric Meyer's CSS Reset */
*{
	box-sizing: border-box;
}
html {
	height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
body{
	font-family: 'Norwester', sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #FFF;
	height: 100%;
}
@media (prefers-color-scheme: dark) {
	body {
		background: #2d2d2d;
		color: #FFF;
	}
}
body.not-scroll{
	overflow-y: hidden;
}
textarea,input[type=text],input[type=email],input[type=password],input[type=search],input[type=tel],input[type=number]{
	font-family: 'Open Sans', sans-serif;
	border: 1px solid #666;
	background: #fff;
	color: #000;
	outline: none;
}
input[type=submit], button{
	border: none;
	background: none;
	padding: 0;
	margin: 0;
	-webkit-appearance: none;
	font-family: 'Open Sans', sans-serif;
	outline: none;
	cursor: pointer;
}
button::-moz-focus-inner{
	border: 0;
}
.inner {
	min-width: 280px;
	max-width: 1170px;
	margin: 0 auto;
}
.clearfix:after {
	content: '';
	display: table;
	clear: both;
}
a {
	color: #e66121;
	text-decoration: underline;
	outline: none;
}
a:hover {
	text-decoration: none;
}
.slick-slide{
	outline: none !important;
}
img {
	max-width: 100%;
	height: auto;
}
:invalid {
	box-shadow: none;
}
strong{
	font-weight: bold;
}
em{
	font-style: italic;
}
details summary::-webkit-details-marker{
	display: none;
}
.site-wrapper {
	display: flex;
    flex-direction: column;
	min-height: 100%;
	overflow: hidden;
	position: relative;
	transition: transform .35s ease;
	background: #2d2d2d;
}
.section-hero {
	position: relative;
	padding: 0 clamp(36px, 10vw, 192px) 0 clamp(50px, 14vw, 269px);
}
.section-hero__bg {
	position: absolute;
	inset: 0;
}
.section-hero__bg video{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}
.section-hero__container {
	min-height: 100vh;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
}
.section-hero__content {
	width: clamp(79px, 22vw, 422px);
	padding-bottom: 3%;
}
.section-hero__play {
	width: clamp(77px, 21.5vw, 413px);
	margin-bottom: 5%;
}
.section-hero__link {
	width: clamp(47px, 13vw, 250px);
	margin: 0 auto;
}
.section-hero__logo {
	width: clamp(158px, 44vw, 845px);
	padding-bottom: 1%;
}
.section-hero__play a,
.section-hero__link a{
	display: block;
	transition: transform .25s ease;
}
.section-hero__play a:hover,
.section-hero__link a:hover{
	transform: scale(1.06);
}
.section-about {
	display: flex;
}
.section-about__video {
	width: 50%;
}
.section-about__video span{
	display: block;
	padding-top: 56.75%;
	background: #000;
}
.section-about__video-preview{
	display: block;
	position: relative;
	text-decoration: none;
	cursor: pointer;
}
.section-about__video-preview span{
	position: relative;
	overflow: hidden;
}
.section-about__video-preview span:after{
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .4);
	transition: opacity .25s ease;
}
.section-about__video-preview:hover span:after{
	opacity: 0;
}
.section-about__video-preview img,
.section-about__video-preview video{
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.section-about__video-preview:before,
.section-about__video-preview:after{
	content: '';
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform .25s ease;
}
.section-about__video-preview:before{
	width: clamp(44px, 7vw, 134px);
	height: clamp(44px, 7vw, 134px);
	background: #cd0db2;
	border-radius: 50%;
}
.section-about__video-preview:after{
	margin-left: clamp(3px, 0.5vw, 9px);
	border-style: solid;
	border-color: transparent transparent transparent #FFF;
	border-width: clamp(9px, 1.4vw, 27px) 0 clamp(9px, 1.4vw, 27px) clamp(15px, 2.4vw, 46px);
}
.section-about__video-preview:hover:before{
	transform: translate(-50%, -50%) scale(1.1);
}
.video-popup{
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px 20px 20px;
	background: rgba(0, 0, 0, .9);
	opacity: 0;
	transition: opacity .25s ease;
}
.video-popup.is-open{
	opacity: 1;
}
.video-popup[hidden]{
	display: none;
}
.video-popup__inner{
	position: relative;
	width: 100%;
	max-width: min(1170px, (100vh - 90px) * 16 / 9);
}
.video-popup__frame{
	position: relative;
	padding-top: 56.25%;
	background: #000;
}
.video-popup__frame iframe{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.btn-close{
	position: absolute;
	width: 30px;
	height: 30px;
	color: #FFF;
	transition: color .25s ease;
}
.btn-close:before,
.btn-close:after{
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}
.btn-close:before{
	transform: rotate(45deg);
}
.btn-close:after{
	transform: rotate(-45deg);
}
.btn-close:hover{
	color: #cd0db2;
}
.video-popup__close{
	right: 0;
	bottom: 100%;
	margin-bottom: 10px;
}
.section-about__content {
	width: 50%;
	padding: 4.5% 3.8% 3.5% 5.7%;
	background: #0064df;
	color: #FFF;
}
.section-about__toptitle {
	font-size: clamp(12px, 1.45vw, 28px);
	text-transform: uppercase;
}
.section-about__title {
	font-family: 'Dinofans';
	font-size: clamp(26px, 3.64vw, 70px);
	line-height: 1.25;
	margin-bottom: 6%;
}
.section-about__text {
	font-size: clamp(10px, 1.47vw, 28px);
	text-transform: uppercase;
	text-align: justify;
}
.site-footer {
	padding: 6.8% 10%;
	background: #2d2d2d;
	color: #FFF;
}
.site-footer__nav {
	margin-bottom: 4%;
}
.site-footer__nav ul{
	display: flex;
	justify-content: center;
	text-align: center;
	gap: clamp(16px, 5.75vw, 110px);
	font-size: clamp(16px, 2.1vw, 40px);
	text-transform: uppercase;
}
.site-footer__nav ul a,
.site-panel__nav ul a{
	color: #FFF;
	text-decoration: none;
	transition: color .25s ease;
}
.site-footer__nav ul a:hover,
.site-panel__nav ul a:hover{
	color: #cd0db2;
}
.site-footer__social {
	display: flex;
	justify-content: center;
}
.site-footer__social a {
	display: block;
    width: clamp(40px, 5vw, 96px);
    height: clamp(40px, 5vw, 96px);
	margin: 0 clamp(8px, 2vw, 38px);
	background: #cd0db2;
	border-radius: 10%;
	color: #FFF;
	transition: background .25s ease;
}
.site-footer__social a:hover{
	background: #FFF;
	color: #cd0db2;
}
.site-footer__social a svg{
	fill: currentColor;
	margin: 20%;
	transition: fill .25s ease;
}
.site-footer__copy {
	font-size: clamp(12px, 1.5vw, 29px);
	text-align: center;
	margin-top: 7.8%;
	color: #595959;
}

:root{
	--panel-width: 41%;
}
body.panel-open .site-wrapper{
	transform: translateX(calc(var(--panel-width) * -1));
}
.site-burger{
	--burger-height: clamp(20px, 1.6vw, 30px);
	position: fixed;
	z-index: 96;
	top: clamp(16px, 2.2vw, 42px);
	right: clamp(16px, 2.2vw, 42px);
	width: clamp(28px, 2.3vw, 44px);
	height: var(--burger-height);
	color: #FFF;
	transition: color .25s ease;
}
.site-burger:before,
.site-burger:after,
.site-burger span{
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform .35s ease, opacity .2s ease;
}
.site-burger:before{
	transform: translateY(calc(-50% - var(--burger-height) / 2 + 1px));
}
.site-burger span{
	transform: translateY(-50%);
}
.site-burger:after{
	transform: translateY(calc(-50% + var(--burger-height) / 2 - 1px));
}
.site-burger.is-active:before{
	transform: translateY(-50%) rotate(45deg);
}
.site-burger.is-active span{
	opacity: 0;
}
.site-burger.is-active:after{
	transform: translateY(-50%) rotate(-45deg);
}
.site-burger:hover{
	color: #cd0db2;
}
.site-panel{
	position: fixed;
	z-index: 95;
	top: 0;
	right: 0;
	bottom: 0;
	width: var(--panel-width);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #2d2d2d;
	visibility: hidden;
	transform: translateX(100%);
	transition: transform .35s ease, visibility .35s ease;
}
.site-panel.is-open{
	visibility: visible;
	transform: none;
}
.site-panel__inner{
	text-align: center;
}
.site-panel__nav{
	margin-bottom: clamp(26px, 3vw, 56px);
}
.site-panel__nav ul{
	display: flex;
	flex-direction: column;
	gap: clamp(10px, 1.1vw, 20px);
	font-size: clamp(16px, 1.5vw, 28px);
	text-transform: uppercase;
}
.site-panel__title{
	font-size: clamp(14px, 1.2vw, 22px);
	letter-spacing: .15em;
	text-transform: uppercase;
	color: #9b9b9b;
	margin-bottom: clamp(18px, 2vw, 38px);
}
.site-panel__social{
	display: flex;
	justify-content: center;
	gap: clamp(10px, 1.2vw, 22px);
}
.site-panel__social a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(36px, 2.8vw, 54px);
	height: clamp(36px, 2.8vw, 54px);
	border: 1px solid currentColor;
	border-radius: 50%;
	color: #8a8a8a;
	transition: color .25s ease;
}
.site-panel__social a svg{
	width: 42%;
	fill: currentColor;
}
.site-panel__social a:hover{
	color: #cd0db2;
}

/* Redactor Styles
-----------------------------------------------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
    margin: auto;
	text-align: center;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float:left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    max-width: 100%;
    padding: 0 0 10px;
    text-align: center;
	margin-top:20px !important;
	margin-bottom:20px !important;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border:3px solid #dbdddd;
    height: auto;
    margin:0 0 5px 0;
    max-width: 98.5%;
    padding:0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size:12pt;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}

/* Responsive
-----------------------------------------------------------------------------*/
@media only screen and (max-width: 767px){
	.section-hero{
		padding: 20px;
	}
	.section-hero__container{
		flex-direction: column-reverse;
		/* justify-content: flex-start; */
		align-items: center;
	}
	.section-hero__logo,
	.section-hero__content,
	.section-about__video,
	.section-about__content{
		width: 100%;
	}
	.section-hero__play{
		width: 80%;
		margin: 0 auto 5%;
	}
	.section-hero__link{
		width: 60%;
		margin: 0 auto;
	}
	.section-about{
		flex-direction: column;
	}
	.section-about__content {
		padding: 20px;
	}
	.section-about__title{
		font-size: 28px;
		margin: 10px 0 15px;
	}
	.section-about__toptitle,
	.section-about__text{
		font-size: 14px;
	}
	:root{
		--panel-width: 80%;
	}
	.site-footer {
		padding: 30px 20px;
	}
	.site-footer__nav {
		margin-bottom: 30px;
	}
	.site-footer__nav ul{
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}
}