/* 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}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{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}

.clear {
        clear: both;
}

.cover {
	background-size: cover;
	background-position: center center;
}

.transition( @target: all, @duration: 400ms, @type: ease, @delay: 0s ) {
	-webkit-transition: @target @duration @type @delay;
	-moz-transition: @target @duration @type @delay;
	-ms-transition: @target @duration @type @delay;
	-o-transition: @target @duration @type @delay;
	transition: @target @duration @type @delay;
}

.border-radius( @value: 1000px ) {
	-webkit-border-radius: @value;
	border-radius: @value;
	-webkit-background-clip: padding-box; 
	-moz-background-clip: padding; 
	background-clip: padding-box;
}

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

.rotate( @value: 0deg ) {
	-webkit-transform: rotate( @value );
	-moz-transform: rotate( @value );
	-ms-transform: rotate( @value );
	-o-transform: rotate( @value );
	transform: rotate( @value );
}

.box-sizing {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
}

/*================================*/

@black: #000000;

.page {
	background-color: @black;
	padding-top: 50px;
	font-family: 'trivia-serif';
	
	.container {
		width: 1100px;
		margin: 0 auto;
	}
	
	.start {
		.container {
			position: relative;
			height: 1080px;
			background-image: url(../images/1.png);
			background-repeat: no-repeat;
			background-position: center;
			
			.description {
				position: absolute;
				width: 370px;
				left: 40px;
				top: 590px;
				color: #ffffff;
				font-size: 18px;
				line-height: 1.3;
			}
		}
	}
	
	.action {
		padding-top: 100px;
		
		&.hidden {
			display: none;
		}
	
		.pair {
			@w: 450px;
			
			width: @w * 2 + 100px;
			margin: 0 auto;
		
			.item {
				float: left;
				width: @w;
				color: #ffffff;
				text-align: center;
				line-height: 1.3;
				
				a {
					color: #FF489A;
					text-decoration: underline;
				}
				
				.image {
					position: relative;
					height: @w;
					cursor: pointer;
					.cover;
					
					.overlay {
						position: absolute;
						width: 100%;
						height: 100%;
						left: 0;
						top: 0;
						background-color: rgba(0, 0, 0, 0.6);
						background-image: url(../images/3.png);
						background-repeat: no-repeat;
						background-position: center;
						display: none;
					}
					
					&:hover {
						.overlay {
							display: block;
						}
					}
				}
				
				.name {
					font-size: 18px;
					margin-top: 30px;
					
					&:empty {
						display: none;
					}
				}
				
				.quote {
					font-size: 22px;
					margin-top: 30px;
					
					&:empty {
						display: none;
					}
				}
				
				.about {
					font-size: 14px;
					font-family: 'trivia-grotesk';
					margin-top: 30px;
					
					&:empty {
						display: none;
					}
				}
				
				&-a {
					margin-right: 100px;
				}
				
				&-b {
					
				}
			}
		}
	}
	
	.rating {
		padding-top: 100px;
		padding-bottom: 100px;
	
		.data {
			color: #ffffff;
			width: 1000px;
			margin: 0 auto;
			
			@s: 60px;
		
			.item {
				position: relative;
				height: @s;
				line-height: @s;
				padding-bottom: 15px;
				display: block;
				
				.place {
					height: 100%;
					width: 40px;
					line-height: @s;
					float: left;
				}
			
				.image {
					height: 100%;
					width: @s;
					margin-right: 30px;
					float: left;
					.border-radius;
					.cover;
				}
			
				.name {
					height: 100%;
					width: 260px;
					font-size: 16px;
					float: left;
				}
				
				.line {
					top: (@s - 30px) / 2;
					height: 30px;
					width: 1000px - @s - 40px - 30px - 260px;
					position: relative;
					float: left;
					background-color: #0D1114;
					
					.value {
						position: absolute;
						z-index: 2;
						width: 10%;
						height: 100%;
						text-align: center;
						color: #000000;
						line-height: 30px;
						font-size: 18px;
					}
				
					.bar {
						position: absolute;
						z-index: 1;
						width: 0%;
						height: 100%;
						background-color: #ffffff;
					}
				}
				
				&:hover {
					.name {
						color: #FF489A;
					}
				}
			}
		}
	}
	
	.footer {
		padding: 100px 0;
		background-color: #ffffff;
	}
}