/*
 * @namespace full-screen
 * @extends lead/_constructor.scss
 * @author Jason Duvenage
 */

article {
	section.full-screen {
		@extend .lead;

		h1 {
			@include type($type-default-sans-serif, 3.5, 3.5, $type-color, 400);
			@include margin-bottom(2);
			word-wrap: normal;

			// * {
			// 	font-size: 1em;
			// 	line-height: 1em;
			// }
		}

		h2 {
			@include type($type-default-sans-serif, 1.3, 1.3, $type-color, 700);
			@include margin(3, 0, 1.4, 0);
		}

		p {
			@include type($type-default-sans-serif, 1.5, 2.5, $type-color, 400);
			@include margin-bottom(3);
		}

		ul.credits {
			@include line-height(3);
			padding-right: 15.625%;
			padding-left: 15.625%;

			li {
				@include type($type-default-sans-serif, 1.3, 3, $type-color, 400);
			}
		}
	}
}

@include media($portrait-large) {
	article {
		section.full-screen {
			@include padding-bottom(3.9);

			h1  {
				@include type($type-default-sans-serif, 8.5, 8, $type-color, 700);
				@include margin-bottom(3);

				// * {
				// 	font-size: 1em;
				// 	line-height: 1em;
				// }
			}

			h2 {
				@include type($type-default-sans-serif, 1.6, 1.6, $type-color, 700);
				@include margin(8, 0, 2, 0);
			}

			p {
				@include type($type-default-sans-serif, 2, 3, $type-color, 300);
				@include margin-bottom(5);
			}

			ul.credits {
				@include line-height(3);
				padding-right: 12.5%;
				padding-left: 12.5%;

				li {
					@include type($type-default-sans-serif, 1.3, 3, $type-color, 400);
					@include padding(0, 1, 0, 1);
					display: inline-block;
				}
			}
		}
	}
}

@include media($landscape-small) {
	article {
		section.full-screen {
			@include span-columns(28 of 28);
			@include omega;
			height: 100%;
			padding-bottom: 0;
			overflow: hidden;
			position: relative;

			&.variant-text-right {
				.content {
					margin-left: 50%;
				}
			}

			&.variant-text-left {
				.content {
				}
			}

			.image-full-screen {
				width: 100%;
				height: 100%;
				position: absolute;
				z-index: 1;
				top: 0;
				left: 0;
				overflow: hidden;
			}

			.content {
				@include span-columns(12 of 28);
				@include shift(2);
				// @include vertical-align;
				position: relative;
				z-index: 99;

				#stage & {
					@include vertical-align;
				}
			}

			h1  {
				@include type($type-default-sans-serif, 6, 6, $type-color, 700);
				@include margin(0, 0, 2, 0);
				@include span-columns(12 of 12);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			h2 {
				@include type($type-default-sans-serif, 1.2, 1.2, $type-color, 700);
				@include margin(0, 0, 2, 0);
				@include span-columns(12 of 12);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			p {
				@include type($type-default-sans-serif, 1.6, 2.5, $type-color, 300);
				@include margin-bottom(0);
				@include span-columns(12 of 12);

				* {
					font-size: 1em;
					line-height: 1em;
				}
			}

			ul.credits {
				@include line-height(3);
				padding-right: 23.8%;
				padding-left: 23.8%;

				li {
					@include type($type-default-sans-serif, 1.2, 3, $type-color, 400);
					display: inline-block;
				}
			}
		}
	}
}

@include media($landscape-large) {
	article {
		section.full-screen {
			h1  {
				@include type($type-default-sans-serif, 8.5, 9, $type-color, 700);
				@include margin(0, 0, 3, 0);
			}

			h2 {
				@include type($type-default-sans-serif, 1.6, 1.6, $type-color, 700);
			}

			p {
				@include type($type-default-sans-serif, 2, 3, $type-color, 300);
			}

			ul.credits {
				padding-right: 26%;
				padding-left: 26%;

				li {
					@include type($type-default-sans-serif, 1.3, 3, $type-color, 400);
				}
			}
		}
	}
}