@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/roboto/Roboto-Thin.woff2') format('woff2'), url('../fonts/roboto/Roboto-Thin.ttf') format('ttf');
}

@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/roboto/Roboto-Light.woff2') format('woff2'), url('../fonts/roboto/Roboto-Light.ttf') format('ttf');
}

@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/roboto/Roboto-Regular.woff2') format('woff2'), url('../fonts/roboto/Roboto-Regular.ttf') format('ttf');
}

@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/roboto/Roboto-Medium.woff2') format('woff2'), url('../fonts/roboto/Roboto-Medium.ttf') format('ttf');
}

@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/roboto/Roboto-Bold.woff2') format('woff2'), url('../fonts/roboto/Roboto-Bold.ttf') format('ttf');
}

@font-face 
{
	font-family: Roboto;
	font-style: normal;
	font-weight: 200;
	src: url('../fonts/roboto/Roboto-Black.woff2') format('woff2'), url('../fonts/roboto/Roboto-Black.ttf') format('ttf');
}

@font-face
{
	font-family: 'boxicons';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/boxicons.woff2');
}


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

body
{
	font-family: Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	background: linear-gradient(to right, #17161a, #242124 50%, #17161a);
}

#preloader
{
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	background: #17161a;
}

#preloader .back
{
	width: 100%;
	height: 100%;
	background: url('../img/preloader_back.svg?4') 50% 50% / 100px no-repeat #16171a;
	animation: preloaderPulseBack 1s ease-in-out infinite;
}

#preloader svg
{
	position: absolute;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	animation: preloaderPulseFront 1s ease-in-out infinite;
}

@keyframes preloaderPulseBack 
{
	0%, 14%
	{
		background-size: 66px;
		opacity: 0;
	}
	
	15%
	{
		background-size: 66px;
		opacity: 0.3;
	}
	
	80%, 100%
	{
		background-size: 200px;
		opacity: 0;
	}
}

@keyframes preloaderPulseFront 
{
	0%, 100%
	{
		transform: scale(1);
	}
	
	30% 
	{
		transform: scale(1.15);
	}
}

.container
{
	width: 1254px;
	padding: 0 20px;
	margin: auto;
}

h2
{
	text-transform: uppercase;
	font-size: 45px;
	font-weight: 600;
	text-align: center;
}

h2 + svg
{
	margin: 12px auto;
	display: block;
}

header
{
	height: 120px;
	box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.35);
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	background: #17161a;
}

header.fixed
{
	position: fixed;
	top: -45px;
	left: 0;
	width: 100%;
	z-index: 1;
}

header .left
{
	text-align: right;
	position: relative;
	width: 500px;
	height: 100%;
}

header .left .border
{
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 100%;
    border-left: 1px solid rgba(203, 203, 203, 0.15);
    -webkit-transform: skewX(15deg);
    -ms-transform: skewX(15deg);
    transform: skewX(15deg);
	z-index: 1;
}

header .left .border::before,
header .right .border::before
{
    content: '';
    position: absolute;
    left: 0;
    top: 44px;
    width: 100%;
    border-bottom: 1px solid rgba(203, 203, 203, 0.15);
}

header .left .social,
footer .social
{
    display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	height: 44px;
	position: relative;
	z-index: 2;
	padding: 0 10px;
}

header .left .social a,
footer .social a
{
	height: 20px;
	display: block;
}

header .left .social a svg,
footer .social a svg
{
	width: 20px;
	height: 20px;
}

header .left .social a path,
footer .social a path
{
	transition: 0.2s;
}

header .left .social a:hover path,
footer .social a:hover path
{
	fill: #871bd0;
}

header .left .menu
{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 76px;
	gap: 10px;
	z-index: 2;
	position: relative;
}

header .left .menu a
{
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 30px;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	border-bottom: 5px solid #871bd000;
	transition: 0.2s;
	font-weight: 600;
}

header .left .menu a:hover
{
	border-color: #871bd0;
}

header .center
{
	width: 245px;
	height: 100%;
	position: relative;
	z-index: 3;
}

header .center .logo
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + 10px);
	clip-path: polygon(0 0, 100% 0, 81% 100%, 19% 100%);
	background: url('../img/mainpage/logo_bg.jpg') 0 0 no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.2s;
}

header.fixed .center .logo
{
	align-items: flex-end;
	padding-bottom: 10px;
}

header .center .logo svg
{
	height: 84px;
	width: 85px;
	transition: 0.2s;
}

header.fixed .center .logo svg
{
	height: 64px;
	width: 65px;
}

header .right
{
	position: relative;
	width: 500px;
	height: 100%;
}

header .right .border
{
	position: absolute;
    top: 0;
    right: 0;
    width: 105%;
    height: 100%;
    border-right: 1px solid rgba(203, 203, 203, 0.15);
    -webkit-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    transform: skewX(-15deg);
}

header .right h1
{
	color: silver;
	font-weight: 300;
	font-size: 12px;
	height: 44px;
	line-height: 44px;
	width: 100%;
	text-align: center;
}

header .right .button
{
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 180px;
	height: 52px;
	margin: 12px auto;
}

header .right .button span
{
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	-webkit-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    transform: skewX(-15deg);
	background: #871bd0;
}

header .right .button a
{
	position: absolute;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 15px;
	text-shadow: -1px -1px 0 #000;
}

header .right .button a:before
{
    content: '';
    background: linear-gradient(45deg, #1a34d0, #871bd0);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 10s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
	-webkit-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    transform: skewX(-15deg);
	opacity: 0;
}

header .right .button a:hover:before
{
	opacity: 1;
}

header .right .button a:after 
{
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing 
{
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

#banner
{
	//background: url('../img/mainpage/banner_bg.jpg?7') 50% 0 / cover no-repeat;
	height: calc(100vh - 120px);
	min-height: 460px;
	animation: bannerMoving 20s ease infinite;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .35);
}

header.fixed + #banner
{
	margin-top: 120px;
}

@keyframes bannerMoving 
{
    0%, 100% { background-position: 50% 0; background-size: 100% }
    50% { background-position: calc(50% - 50px) 5%; background-size: 110% }
}

#banner .overlay
{
	height: 100%;
	background: linear-gradient( 90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100% );
	display: flex;
	justify-content: center;
	align-items: center;
}

#banner .text span
{
	line-height: 1.2;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 80px;
}

#about
{
	padding: 120px 0;
}

#about .block
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 80px;
	margin: 80px 0;
}

#about .block + .block
{
	margin-top: 150px;
}

#about .block div
{
	width: calc(50% - 40px);
}

#about .block a
{
	display: block;
}

#about .block img
{
	width: 100%;
	height: auto;
	cursor: zoom-in;
	border-radius: 8px;
	box-shadow: 16px 16px 0 #871bd0;
}

#about .block p
{
	font-size: 17px;
	color: silver;
	font-weight: 300;
	line-height: 1.5;
}

#about .block p.tag
{
	font-size: 12px;
	text-transform: uppercase;
	color: #871bd0;
	font-weight: 600;
	letter-spacing: 2px;
	position: relative;
	padding-left: 28px;
}

#about .block p.tag:before
{
	content: '';
	width: 18px;
	height: 2px;
	background: #871bd0;
	position: absolute;
	top: 7px;
	left: 0;
}

#about .block p + p
{
	margin-top: 12px;
}

#events .block
{
	margin: 80px 0 160px;
	background: #121112;
}

#events .block .tabs
{
	height: 50px;
	overflow: hidden;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#events .block .tabs div
{
	transform: skew(15deg);
	height: 100%;
	transition: 0.2s;
}

#events .block .tabs div:first-child
{
	margin-left: -8px;
}

#events .block .tabs div:hover,
#events .block .tabs div.active
{
	background: #871bd0;
}

#events .block .tabs a
{
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	height: 100%;
	transform: skew(-15deg);
	padding: 0 44px;	
}

#events .block .tabs div.active a
{
	cursor: default;
}

#events .block .content div[data-tab]
{
	display: none;
}

#events .block .content div.active
{
	display: block;
}

#events .match
{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 25px 0 35px;
}

#events .match + .match,
#events .tournament + .tournament,
#events .transfer + .transfer
{
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#events .match .vs
{
	padding: 0 40px;
}

#events .match .vs div
{
	width: 40px;
	height: 80px;
	background: url('../img/mainpage/vs.png') 50% 50% / contain no-repeat;
}

#events .match .score
{
	font-weight: 600;
	font-size: 32px;
	width: 20px;
	text-align: center;
}

#events .match .score.win
{
	color: green;
}

#events .match .score.lose
{
	color: red;
}

#events .match .team
{
	width: 210px;
}

#events .match .team .logo
{
	height: 160px;
	background: url('../img/mainpage/team_bg.png') 50% 50% / contain no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-bottom: 20px;
}

#events .match .team .logo div
{
	width: 80px;
	height: 80px;
	border-radius: 40px;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
}

#events .match .team .logo div svg,
#events .transfer .team .logo div svg
{
	width: 75%;
	height: 75%;
}

#events .match .team .name
{
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	margin-top: 5px;
}

#events .tournament,
#events .transfer
{
	display: flex;
	align-items: center;
	padding: 25px 38px 35px;
	gap: 40px;
}

#events .tournament > div
{
	width: calc(50% - 20px);
}

#events .tournament .name,
#events .transfer .player,
#events .transfer .team .name
{
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
}

#events .tournament .prize
{
	color: #c0c0c0;
}

#events .tournament .prize svg
{
	height: 20px;
    width: 20px;
    position: relative;
    top: 4px;
	margin-left: 4px;
}

#events .tournament .team svg
{
    position: relative;
    top: 4px;
	margin-right: 4px;
}

#events .transfer .player
{
	width: calc(33.33% - 20px);
}

#events .transfer .teams
{
	display: flex;
	align-items: center;
	gap: 40px;
	width: calc(66.66% - 20px);
}

#events .transfer .team
{
	display: flex;
	align-items: center;
	gap: 10px;
	width: 260px;
}

#events .transfer .team .logo div
{
	width: 60px;
	height: 60px;
	border-radius: 30px;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
}

#news .list
{
	margin: 80px auto 160px;
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

#news .news
{
	background: #121112;
	width: calc(50% - 20px);
	display: none;
	flex-direction: column;
	justify-content: space-between;
}

#news .news:nth-child(1),
#news .news:nth-child(2),
#news .news:nth-child(3),
#news .news:nth-child(4)
{
	display: flex;
}

#news .news img
{
	width: 100%;
	height: auto;
	cursor: zoom-in;
}

#news .news h3,
#news .news p
{
	padding: 0 30px;
}

#news .news h3
{
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
	text-transform: uppercase;
}

#news .news p
{
	font-size: 17px;
    color: silver;
    font-weight: 300;
    line-height: 1.5;
}

#news .news img + h3,
#news .news img + p,
#news .news h3:first-child,
#news .news p:first-child
{
	padding-top: 20px;
}

#news .news h3 + p,
#news .news p + p
{
	margin-top: 15px;
}

#news .news .info
{
	margin-top: 24px;
	padding: 18px 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#news .news .date
{
	margin-right: 5px;
    padding: 0 12px;
    position: relative;
    background-color: #fff;
	font-size: 13px;
	color: #171717;
	height: 26px;
	line-height: 26px;
	display: inline-block;
}

#news .news .date::after
{
	content: '';
    position: absolute;
    top: -1px;
    right: -5px;
    width: 0;
    height: 0;
    border-bottom: 27px solid #fff;
    border-right: 5px solid transparent;
}

#news .news .tag
{
	background-color: #871bd0;
    margin-left: 5px;
    padding: 0 10px;
    position: relative;
	height: 26px;
	line-height: 26px;
	display: inline-block;
	font-size: 13px;
}

#news .news .tag::before
{
	content: '';
    position: absolute;
    top: 0;
    left: -5px;
    width: 0;
    height: 0;
    border-top: 27px solid #871bd0;
    border-left: 5px solid transparent;
}

#news .more
{
	text-align: center;
	width: 100%;
}

#news .more a
{
	font-size: 17px;
    color: silver;
    font-weight: 300;
    line-height: 1.5;
	text-decoration: none;
	border-bottom: 1px dashed silver;
	transition: 0.2s;
}

#news .more a:hover
{
	border-color: transparent;
}

footer
{
	background: url('../img/mainpage/footer_bg.jpg') 50% 0 / cover repeat-x;
}

footer .container
{
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer a
{
	color: #fff;
	transition: 0.2s;
}

footer a:hover
{
	color: #871bd0;
}




@media (max-width: 1279px)
{
	.container
	{
		width: 760px;
	}
	
	header .left,
	header .right
	{
		width: 308px;
	}
	
	header .center
	{
		width: 144px;
	}
	
	header .left .menu a
	{
		padding: 0 16px;
	}
	
	header .right h1
	{
		height: 36px;
		line-height: 1.2;
		margin-top: 8px;
	}
	
	#banner
	{
		height: 425px;
		min-height: unset;
	}
	
	#banner .text span
	{
		font-size: 60px;
	}
	
	#about
	{
		padding: 60px 0;
	}
	
	#about .block
	{
		gap: 40px;
		flex-direction: column;
	}
	
	#about .block + .block
	{
		margin-top: 120px;
	}
	
	#about .block div
	{
		width: 100%;
	}
	
	#about .block:nth-child(odd) div:first-child,
	#about .block:nth-child(even) div:last-child
	{
		order: 2;
	}
	
	#about .block:nth-child(even) div:first-child,
	#about .block:nth-child(odd) div:last-child
	{
		order: 1;
		width: 570px;
	}
	
	#events .block .tabs a
	{
		padding: 0 36px;
	}
	
	#news .news h3
	{
		font-size: 18px;
		line-height: 1.3;
	}
	
	#news .news p
	{
		font-size: 16px;
	}
}



@media (max-width: 767px)
{
	html, body
	{
		width: 100%;
		overflow-x: hidden;
	}
	
	.container
	{
		width: 100%;
	}
	
	h2
	{
		font-size: 20px;
	}
	
	header
	{
		position: fixed;
		top: -45px;
		left: 0;
		width: 100%;
		z-index: 1;
		height: 100px;
	}
	
	header .left .menu
	{
		height: 62px;
		justify-content: flex-start;
		padding-left: 12px;
	}
	
	header .center,
	header .left .border,
	header .right .border
	{
		display: none;
	}
	
	header .left
	{
		width: calc(100% - 130px);
	}
	
	header .left .menu a 
	{
        padding: 0 8px;
        font-size: 11px;
    }
	
	header .left .menu a:hover
	{
		border-color: transparent;
	}
	
	header .right
	{
		width: 130px;
	}
	
	header .right .button
	{
		width: 100px;
		height: 32px;
	}
	
	header .right h1
	{
		opacity: 0;
	}
	
	#banner
	{
		height: 200px;
		margin: 55px -30px 0;
        padding: 0 30px;
	}
	
	header.fixed + #banner 
	{
		margin-top: 55px;
	}
	
	#banner .text span
	{
		font-size: 28px;
	}
	
	#about
	{
		padding-top: 40px;
	}
	
	#about .block
	{
		margin: 40px 0;
	}
	
	#about .block + .block 
	{
        margin-top: 80px;
    }
	
	#about .block div
	{
		width: 100% !important;
	}	
	
	#about .block p
	{
		font-size: 14px;
	}
	
	#events .block .tabs a
	{
		font-size: 11px;
		padding: 0 18px;
		width: 100px;
	}
	
	#events .block,
	#news .list
	{
		margin: 40px auto 80px;
	}
	
	#events .match
	{
		padding: 15px 0 10px;
	}
	
	#events .match .team
	{
		width: 100px;
	}
	
	#events .match .team .logo
	{
		height: 100px;
		padding-bottom: 12px;
	}
	
	#events .match .team .logo div
	{
		width: 50px;
		height: 50px;
	}
	
	#events .match .team .name
	{
		font-size: 11px;
		height: 32px;
	}
	
	#events .match .vs
	{
		padding: 0;
	}
	
	#events .match .vs div
	{
		width: 20px;
	}
	
	#events .match .score
	{
		width: 40px;
	}
	
	#events .tournament,
	#events .transfer
	{
		padding: 15px 10px;
		gap: 20px;
	}
	
	#events .tournament .prize svg 
	{
		height: 12px;
		width: 12px;
		top: 2px;
		margin-left: 2px;
	}
	
	#events .tournament .team svg 
	{
		top: 2px;
		width: 14px;
		height: 14px;
	}
	
	#events .transfer .teams
	{
		gap: 10px;
	}
	
	#events .transfer .team .logo div
	{
		width: 40px;
		height: 40px;
	}
	
	#events .transfer .team
	{
		gap: 5px;
		width: 90px;
		flex-direction: column;
		align-items: center;
	}
	
	#events .transfer .team .name
	{
		text-align: center;
	}
	
	#events .tournament .team .name
	{
		white-space: nowrap;
	}
	
	#news .news
	{
		width: 100%;
	}
	
	#news .news h3
	{
		font-size: 16px;
	}
	
	#news .news p
	{
		font-size: 14px;
	}
	
	#news .news h3,
	#news .news p
	{
		padding: 0 20px;
	}
	
	#news .news img + h3,
	#news .news img + p,
	#news .news h3:first-child,
	#news .news p:first-child
	{
		padding-top: 16px;
	}
	
	#news .news .info
	{
		padding: 18px 20px;
	}
	
	#news .news .date,
	#news .news .tag,
	#events .tournament .name,
	#events .transfer .player,
	#events .transfer .team .name,
	#events .tournament .prize
	{
		font-size: 11px;
	}
	
	footer .container
	{
		flex-direction: column;
		align-items: center;
		gap: 10px;
		padding: 20px;
	}
}