/* 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;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

figure {
	cursor: pointer;
}

html, body {
	height: 100%;
}

h2 {
	font-size: 28px;
	text-transform: uppercase;
	margin-bottom: 5px;
}

h3 {
	position: relative;
	font-size: 16px;
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 3px;
}
h4 {
	font-style: italic;
	font-size: 16px;
	margin-bottom: 3px;
}

h5 {
	font-size: 14px;
	font-weight: bold;
	position: relative;
	margin-bottom: 3px;
}

p {
	font-size: 14px;
}
/**/
/* style */
/**/

/* nav */
nav {
	position: fixed;
	display: flex;
	justify-content:center;
	align-items: center;
	padding: 0 20px;
	top: 0;
	width: 100%;
	height: 60px;
	z-index: 2;
}

nav div#logo {
	font-size: 30px;
	display: flex;
	line-height: 100%;
	text-transform: uppercase;
	color: CornflowerBlue;
}

nav div#logo span {
	color: #5f6873;
	margin-left: 8px;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	padding: 10px;
}

nav ul li a {
	text-decoration: none;
	color: #000000;
}

/* main */

main {
	width: 100%;
	min-height: 100%;
	position: relative;
	background-image: url('../img/main-bg.jpg');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

header {
	display: flex;
	justify-content: center;
}

header figure {
	display: flex;
	max-width: 700px;
	justify-content: center;
	margin-left: -12%;
	align-items: center;
	padding-top: 72px;
}

header figure figcaption {
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	display: inline-block;
	height: 180px;
	line-height: 180px;
	font-size: 62px;
}

header figure img {
	display: inline-block;
	height: 180px;
	margin: 0 50px;
}

section#timeline {
	width: 1005px;
	margin: 60px auto 0;
	padding-bottom: 40px;
}

section#timeline article {
	width: 500px;
	display: inline-block;
	vertical-align: top;
}

section#timeline article:first-child {
	text-align: right;
	padding-right: 30px;
}

section#timeline article:last-child {
	border-left: 2px solid #5f6873;
	padding-left: 30px;
}

section#timeline article div p {
	margin-bottom: 10px;
}

section#timeline article div {
	margin-bottom: 40px;
}

section#timeline article:first-child div h3:after {
	content: '';
	position: absolute;
	background-image: url('../img/dark-dot.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 18px;
	height: 18px;
	right: -45px;
}

section#timeline article:first-child div h5:after {
	content: '';
	position: absolute;
	background-image: url('../img/light-dot.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	width: 18px;
	height: 18px;
	right: -45px;
}

/* sub pages */
section#page-title {
	width: 100%;
	padding: 15vh 20px 30px;
	color: #000000;
	font-size: 52px; 
	display: flex;
	justify-content: center;
	align-items: center;
}

/* tvc */
main section#tvc-container, main section#case-study-container {
	display: grid;
	width: 80%;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
	margin: auto;
	padding-bottom: 40px;
}

main section#tvc-container div, main section#case-study-container div {
	width: 100%;
	padding: 10px;
	display: flex;
	flex-direction: column;	
	align-items: center;
	margin-bottom: 20px;
}

main section#tvc-container div span, main section#case-study-container div span {
	text-transform: uppercase;
	font-size: 22px;
	margin-bottom: 10px;
}

main section#tvc-container div video, main section#case-study-container div video {
	width: 100%;
}

/* copy */
main section#copy-container {
	position: relative;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
	padding: 20px;
}

main section#copy-container figure {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

main section#copy-container figure.horizontal {
	grid-column: span 2;
}

main section#copy-container figure.vertical {
	grid-row: span 2;
}

main section#copy-container figure img {
	width: 100%;
}

/* radio */
main section#radio-container {
	position: relative;
	display: grid;
	grid-gap: 40px;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	grid-auto-rows: 60px;
	grid-auto-flow: dense;
	padding: 0 20px 40px;
	max-width: 1100px;
	margin: 0 auto;
}

main section#radio-container h2 {
	grid-column: span 2;
	text-align: center;
	align-self: flex-end;
	margin: 0;
}

main section#radio-container div {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

main section#radio-container div h5 {
	margin: 0 0 10px 15px;
}

main section#own-works-container {
	width: 100%;
	min-height: 100vh;
	padding: 20px;
}

main section#own-works-container article {
	width: 100%;
}

main section#own-works-container article#article2 div {
	display: grid;
	width: 80%;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
	margin: auto;
	padding-bottom: 40px;
}

main section#own-works-container article#article2 div h2 {
	grid-column: span 3;
}

main section#own-works-container article#article3 div, main section#own-works-container article#article1 div {
	display: grid;
	width: 80%;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 20px;
	margin: auto;
	padding-bottom: 40px;
}

main section#own-works-container article#article3 div h2, main section#own-works-container article#article1 div h2 {
	grid-column: span 3;
}

main section#own-works-container article div video, main section#own-works-container article div figure {
	width: 100%;
	cursor: pointer;
}

main section#own-works-container article div figure img {
	width: 100%;
}

main #Modal {
	position: fixed;
	display: flex;
	align-content: center;
	justify-content: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 2% 5%;
	transition: all 0.4s ease-in-out;
	transform: scale(0);
	z-index: 999;
}

main #Modal.openModal {
	transform: scale(1);
}

main #Modal img {
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}

@media only screen and (max-width: 1080px) {
	main section#tvc-container {
		width: 95%;
		grid-gap: 15px;
	}

	main section#tvc-container div {
		padding: 0;
	}
}

@media only screen and (max-width: 920px) {
	nav div#logo {
		font-size: 16px;
	}

	nav div#logo span {
		font-size: 14px;
	}

	nav ul li a {
		font-size: 12px;
	}

	nav ul li {
		padding: 5px;
	}
}

@media only screen and (max-width: 820px) {
	main section#tvc-container {
		width: 80%;
		grid-template-columns: repeat(1, 1fr);
	}
	main section#tvc-container div {
		margin-bottom: 20px;
	}
}

@media only screen and (max-width: 790px) {
	header figure { padding-top:50px; }
	header figure figcaption { height: 150px; line-height: 150px; font-size: 200%; }
	header figure img { height: 150px; margin: 0 30px; }

	section#timeline {
		width: 600px;
		margin: 40px auto 0;
	}
	section#timeline article {
		width: 280px;
	}
	main section#radio-container h2 {grid-column: auto; text-align: center;}
	main {
		padding-top:30px;
	}
}

@media only screen and (max-width: 620px) {
	nav {
		flex-direction: column;
		height: 50px;
	}

	header {
		padding-top: 10px 30px;
	}

	nav div#logo {
		margin-top: 5px;
	}
}

#LEGAL{
	width: 80%;
	grid-template-columns: repeat(1, 1fr);
}