@import url('classes.css');

body
{
	background: #0e1112;
	color: white;
	margin: 0;
	font-size: 15px;
	font-family: Amaranth;
}
body.home
{
	opacity: 0;
}
body.home.loaded
{
	animation: welcome 5s forwards;
	animation-iteration-count: 1;
}

a, a:visited
{
	color: white;
	text-decoration: none;
}

a:hover
{
	color: #ffffcc;
}

hr
{
	height: 1px;
	background: none;
	border: 0;
	margin: 20px 0 10px 0;
	border-top: 1px solid rgba(255,255,255,0.4);
	border-left: 30px solid rgba(0,0,0,0.0);
	border-right: 30px solid rgba(0,0,0,0.0);
}

h1, h2, h3, h4, h5
{
	font-family: Amaranth;
	font-weight: normal;
	margin: 5px 0 15px 0;
}
h1
{
	font-size: 140%;
}

@keyframes welcome
{
	0%
	{
		opacity: 0;
	}
	100%
	{
		opacity: 1;
	}
}

/* Menu system */

.Menu
{
	position: relative;
	text-align: center;
	height: 43px;
}

.Menu .MenuItem
{
	font-family: Righteous;
	letter-spacing: 2px;
	display: inline-block;
	width: 96px;
	text-align: center;
	box-sizing: border-box;
	font-size: 14px;
	margin: 10px 20px 10px 10px;
	height: 22px;
	line-height: 20px;
	border-top: 1px solid white;
	position: relative;
	padding-right: 3px;
}

html .Menu .MenuItem *,
html .Menu .MenuItem,
html .Menu .MenuItem:after,
html .Menu .MenuItem:before,
html .Menu .MenuItem span:after,
html .Menu .MenuItem span:before,
html .Menu .MenuItem a:after
{
	transition: border-color 0.2s;
}

html .Menu .MenuItem:hover *,
html .Menu .MenuItem:hover,
html .Menu .MenuItem:hover:after,
html .Menu .MenuItem:hover:before,
html .Menu .MenuItem:hover span:after,
html .Menu .MenuItem:hover span:before,
html .Menu .MenuItem:hover a:after
{
	border-color: #aa2f33 !important;
}

.Menu .MenuItem:first-child
{
	margin-left: -6px;
}

.Menu .MenuItem:last-child
{
	margin-right: 0px;
}

.Menu .MenuItem > span
{
	pointer-events: none;
	position: absolute;
	top: -1px;
	right: -15px;
	width: 8px;
	border-top: 1px solid white;
}

.Menu .MenuItem > span:after, .Menu .MenuItem > span:before
{
	content: " ";
	position: absolute;
	width: 1px;
	height: 23px;
	top: -1px;
	left: -5px;
	border-left: 1px solid white;
	transform: rotatez(20deg);
}

.Menu .MenuItem > span:after
{
	left: auto;
	width: 1px;
	right: 3px;
}

.Menu .MenuItem > span > span
{
	content: " ";
	position: absolute;
	width: 100%;
	top: 20px;
	left: -9px;
	border-bottom: 1px solid white;
}


.Menu .MenuItem:after, .Menu .MenuItem:before
{
	content: " ";
	position: absolute;
	width: 1px;
	height: 23px;
	top: -1px;
	left: -5px;
	border-left: 1px solid white;
	transform: rotatez(20deg);
}

.Menu .MenuItem:after
{
	left: auto;
	width: 1px;
	right: 3px;
}

.Menu .MenuItem a:after
{
	content: " ";
	position: absolute;
	width: calc(100% - 17px);
	top: 24px;
	left: 0px;
	border-bottom: 1px solid white;
}

.Menu .MenuItem.News, .Menu .MenuItem.Home
{
	width: 95px;
}

.Menu .MenuItem.Media
{
	width: 104px;
}

.Menu .MenuItem.Sources
{
	width: 118px;
}

.Menu .MenuItem.Chat
{
	width: 74px;
}

.Menu .MenuItem.HW
{
	width: 130px;
}

.Menu .MenuItem.Platforms, .Menu .MenuItem.Members
{
	width: 120px;
}

.Menu .MenuItem a
{
	position: absolute;
	top: -4px;
	line-height: 28px;
	left: -9px;
	right: -9px;
	bottom: 0;
	color: white;
	text-decoration: none;
	text-transform: uppercase;
	z-index: 3;
}

/* Layout objects */

.Category, .Release
{
	width: 100%;
	height: 100%;
	border-radius: 3px;
	background: #333333;
	text-align: center;
	box-sizing: border-box;
	overflow: hidden;
	position: relative;
	border-radius: 10px;
}

.Category
{
	display: inline-block;
	width: 23.5%;
	margin: 0.5%;
	height: 200px;
}

.ReleaseA
{
	display: inline-block;
	width: 23.5%;
	margin: 0.5%;
	height: 200px;
	position: relative;
	margin-bottom: 30px;
}

.ReleaseA .Date
{
	position: absolute;
	bottom: -25px;
	width: 100%;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	color: white;
}

.Category:after, .Release:after
{
	content: " ";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0; left: 0;
	box-shadow: inset 0px 2px 30px 4px rgba(0,0,0,1);
	z-index: 3;
}

.Category *, .Release *
{
	position: relative;
	z-index: 2;
}

.Category span, .Release span
{
	width: 100%;
	display: block;
	padding: 20px;
	box-sizing: border-box;
	background: rgba(0,0,0,0.9);
	margin: 70px 0;
	font-weight: bold;
}

.Category span
{ 
	margin: 20px 0;
	background: rgba(0,0,0,0.5);
	text-shadow: 0px 1px 1px rgba(0,0,0,0.7);
}

.Category img, .Release img
{
	position: absolute;
	z-index: 1;
	top: 0%;
	left: 00%;
	width: 100%;
	height: auto;
	transition: top 0.5s, left 0.5s, width 0.5s, height 0.5s;
}

.Release:hover img
{
	top: -5%;
	left: -35%;
	width: 170%;
}

.Category img
{
	transition: filter 0.5s;
}

.Category:hover img
{
	filter: sepia(0.5);
}

.Content, .Menu, .Header, .Footer
{
	width: 1120px;
	margin: auto;
	position: relative;
	z-index: 1;
}

.Content
{
	top: 0px;
	min-height: 300px;
	height: calc(100% - 483px);
	border: 1px solid white;
	border-bottom: 40px solid rgba(0,0,0,0);
	box-sizing: border-box;
	padding: 30px 40px 0px 40px;
	background: #1a1f22;
	border-radius: 7px 7px;
}

.Content .Welcome
{
	columns: 2;
	-moz-columns: 2;
	column-gap: 60px;
	-moz-column-gap: 60px;
	text-align: justify;
	column-rule: 1px solid #333333;
	-moz-column-rule: 1px solid #333333;
}

.Content a
{
	color: #ff4a4e;
}

.Content a:hover
{
	color: #ffac93;
}

.Header
{
	text-align: center;
	border: 1px solid white;
	margin-top: -1px;
	background-image: url(../gfx/bg_header.jpg);
	background-repeat: no-repeat;
	background-position: bottom center;
	background-size: cover;
	border-top: 40px solid rgba(0,0,0,0);
	border-radius: 7px;
}

.Header img
{
	max-width: 110%;
	margin: -40px -5% 0 -5%;
	height: auto;
	display: block;
	filter: drop-shadow(0px 0px 20px white);
	animation: headerglow 5s infinite ease-in-out;
}

@keyframes headerglow
{
	0%
	{
		filter: drop-shadow(0px 0px 40px rgba(255,255,255,0.2));
	}
	50%
	{
		filter: drop-shadow(0px 0px 20px rgba(255,255,255,0));
	}
	100%
	{
		filter: drop-shadow(0px 0px 40px rgba(255,255,255,0.2));
	}
}

.NewsBlock
{
	display: inline-block;
	width: 50%;
	vertical-align: top;
	margin: 0;
	box-sizing: border-box;
	padding: 0px 30px 30px 0;
	text-align: justify;
}

.NewsBlock img
{
	width: 200px;
	height: auto;
	float: right;
	margin: 15px 0 5px 40px;
	border-radius: 7px;
}

.NewsBlock:nth-child(odd)
{
	border-right: 1px solid #333333;
	padding-left: 0px;
}

.NewsBlock:nth-child(even)
{
	padding-right: 0;
	border-left: 1px solid #333333;
	margin-left: -1px;
	padding-left: 30px;
}

.NewsBlock .NewsItem
{
	font-weight: bold;
	margin: 0 0 10px 0;
}

.NewsBlock .NewsItem span
{
	display: block;
	clear: both;
}

/* Active menus */
.news .MenuItem.News > span:before,
.home .MenuItem.News > span:before,
.platforms .MenuItem.Platforms > span:before,
.news .MenuItem.News > span:before,
.members .MenuItem.Members > span:before,
.sources .MenuItem.Sources > span:before,
.contact .MenuItem.Contact > span:before,
.media .MenuItem.Media > span:before,
.hw .MenuItem.HW > span:before,
.chat .MenuItem.Chat > span:before
{
	box-shadow: -4px 1px 4px 2px red;
	animation: linkglow 1.5s infinite;
}

.news .MenuItem.News:hover > span:before,
.home .MenuItem.News:hover > span:before,
.platforms .MenuItem.Platforms:hover > span:before,
.news .MenuItem.News:hover > span:before,
.members .MenuItem.Members:hover > span:before,
.sources .MenuItem.Sources:hover > span:before,
.contact .MenuItem.Contact:hover > span:before,
.media .MenuItem.Media:hover > span:before,
.hw .MenuItem.HW:hover > span:before,
.chat .MenuItem.Chat:hover > span:before
{
	box-shadow: 2px 1px 4px 2px red;
	animation: linkglowmoved 1.5s infinite;
}

@keyframes linkglow
{
	0%
	{
		box-shadow: -4px 1px 4px 2px #aa0000;
	}
	20%
	{
		box-shadow: -4px 1px 8px 5px red;
	}
	100%
	{
		box-shadow: -4px 1px 4px 2px #aa0000;
	}
}

@keyframes linkglowmoved
{
	0%
	{
		box-shadow: -4px 1px 4px 2px #999999;
	}
	20%
	{
		box-shadow: -4px 1px 8px 5px #999999;
	}
	100%
	{
		box-shadow: -4px 1px 4px 2px #999999;
	}
}

/* Members */

.Member
{
	width: 25%;
	display: inline-block;
	box-sizing: border-box;
	vertical-align: top;
}
.Member
{
	padding: 10px;
}

.Member:nth-child(4n)
{
	padding: 10px 0 10px 10px;
}

.Member:nth-child(4n-3)
{
	padding: 10px 10px 10px 0;
}

.Member img
{
	height: 80px;
	width: auto;
	border-radius: 7px;
	box-shadow: 0px 0px 1px 1px white;
	position: relative;
	left: 2px;
}

.Member .Data
{
	display: block;
	margin: 0;
	padding: 10px;
}

.Member .Data:first-child
{
	border-radius: 7px 7px 0 0;
}

.Member .Data:last-child
{
	border-radius: 0 0 7px 7px;
}

.Member .Data:nth-child(even)
{
	background: rgba(0,0,0,0.2);
}
.Member .Data:nth-child(odd)
{
	background: rgba(0,0,0,0.1);
}

.MobileMenu { display: none; }

#sprayer
{
	position: absolute;
	right: -40px;
	top: 20px;
	width: 20%;
	z-index: 3;
	height: auto;
}

/* Release details */

.ReleaseDetails
{
	border: 1px solid rgba(0,0,0,0.4);
	border-radius: 7px 7px;
	overflow: hidden;
	background-color: #171C1F;
}
.ReleaseTitle
{
	padding: 20px;
}
.ReleaseTitle h2 { padding: 0; margin: 0; }
.ReleasePair
{
	background-color: rgba(255,255,255,0.1);
}
.ReleaseImage
{
	position: relative;
	box-sizing: border-box;
	display: block;
	width: 50%;
	float: left;
	padding-left: 20px;
	padding-bottom: 20px;
	cursor: pointer;
}
.ReleaseImage img
{
	width: 640px;
	max-width: 100%;
	height: auto;
}
.ReleaseImage iframe
{
	max-width: 100%;
	height: 360px;
}
.ReleaseData
{
	box-sizing: border-box;
	display: block;
	width: 50%;
	float: left;
	padding: 20px 30px;
}
.ReleaseData .Type
{
	font-weight: bold;
	margin: 0;
}
.ReleaseData .Cnt
{
	margin: 0 0 10px 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ReleaseParticipants
{
	clear: both;
	background-color: rgba(0,0,0,0.1);
	padding: 20px;
}

.ReleaseParticipants p
{
	margin: 0;
}


/* Footer */

.Footer
{
	box-sizing: border-box;
	padding: 20px;
	text-align: center;	
	position: absolute;
	width: 1120px;
	height: 60px;
	font-size: 12px;
	left: calc(50% - 560px);
	border-top: 1px solid white;
	border-left: 50px solid rgba(0,0,0,0);
	border-right: 50px solid rgba(0,0,0,0);
}

/* Media formats */

@media screen and (max-width: 1400px)
{
	.Content, .Menu, .Header, .Footer
	{
		max-width: 1000px;
	}
	
	.Menu .MenuItem
	{
		width: 140px;
		font-size: 18px;
		padding: 10px;
		margin: 0 5px 0 5px;
	}
	
	.Header img
	{
		max-width: 100%;
		margin: 0 -5%;
		height: auto;
	}
	
	.NewsBlock
	{
		margin: 0 0 0px 0;
		box-sizing: border-box;
		padding: 20px;
	}

	.NewsBlock:nth-child(odd)
	{
		border-right: 1px solid rgba(255,255,255,0.5);
	}
}

@media screen and (max-width: 1100px)
{
	.Content, .Menu, .Header, .Footer
	{
		max-width: 100%;
	}
	
	.Menu .MenuItem
	{
		width: 120px;
		font-size: 16px;
		padding: 10px;
		margin: 0 5px 0 5px;
	}
	
	.NewsBlock
	{
		width: 100%;
		margin: 0 0 0px 0;
		box-sizing: border-box;
		padding: 20px;
	}

	.NewsBlock:nth-child(odd)
	{
		border: 0;
	}
	
	.NewsBlock:nth-child(even)
	{
		padding-left: 20px;
	}
	
}

@media screen and (max-width: 512px)
{
	body
	{
		font-size: 16px;
	}
	
	.Content .Welcome
	{
		columns: 1;
		-moz-columns: 1;
	}
	
	.Content
	{
		padding: 10px;
	}
	
	.NewsBlock img
	{
		width: 100%;
		height: auto;
		clear: both;
		float: none;
		margin: 10px 0 0px 0;
	}
	
	.NewsBlock + .NewsBlock
	{
		border: 0;
		border-top: 1px solid rgba(200,200,200,0.1);
	}
	
	.NewsBlock:nth-child(even)
	{
		padding-left: 0px;
		margin-left: 0;
	}
	
	.Menu
	{
		display: none;
	}
	
	.Header
	{
		box-shadow: none;
		background-image: none;
		background-color: #14171A;
		padding: 10px;
	}
	.Header a + img
	{
		display: none;
	}
	
	.Header img
	{
		top: 0;
		left: 0;
		width: 100%;
		height: auto;
		margin: 0;
	}
	
	.Content, .Header
	{
		border-radius: 0;
		border: 0;
		box-sizing: border-box;
	}
	
	.MobileMenu
	{
		display: block;
	}
	.MobileMenu select
	{
		font-family: Amaranth;
		width: 100%;
		box-sizing: border-box;
		padding: 5px;
		font-size: 16px;
		background: #232A2E;
		color: white;
		text-align: center;
		text-align-last: center;
		border: 1px solid rgba(0,0,0,0.5);
	}
	
	.Category, .Member, .Person, .ReleaseA
	{
		width: 100%;
		margin: 0 0 10px 0;
	}
	
	.Member, h1.Members
	{
		text-align: center;
	}
	
	h1.Members
	{
		background: rgba(0,0,0,0.2);
		padding: 10px;
		border-radius: 3px;
	}
	
	.Category
	{
		height: 280px;
	}
	
	.ReleaseImage, .ReleaseData
	{
		width: 100%;
		padding: 10px;
		box-sizing: border-box;
	}
	
	.ReleaseImage iframe
	{
		height: 200px;
	}
	
	.Footer
	{
		position: relative;
		width: 100%;
		height: auto;
		padding: 20px;
		left: 0;
		border: 0;
		border-top: 1px solid rgba(200,200,200,0.2);
	}
	
}

