/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

/* HTML5 display-role reset for older browsers */
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;
}

@font-face {
  font-family: 'Agrandir Grand Light';
  src: url('../fonts/Agrandir-GrandLight.eot');
  src: url('../fonts/Agrandir-GrandLight.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Agrandir-GrandLight.woff2') format('woff2'),
    url('../fonts/Agrandir-GrandLight.woff') format('woff'),
    url('../fonts/Agrandir-GrandLight.ttf') format('truetype'),
    url('../fonts/Agrandir-GrandLight.svg#Agrandir-GrandLight') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Object Sans Bold';
  src: url('../fonts/ObjectSans-Bold.eot');
  src: url('../fonts/ObjectSans-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ObjectSans-Bold.woff2') format('woff2'),
    url('../fonts/ObjectSans-Bold.woff') format('woff'),
    url('../fonts/ObjectSans-Bold.ttf') format('truetype'),
    url('../fonts/ObjectSans-Bold.svg#ObjectSans-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Object Sans Thin';
  src: url('../fonts/ObjectSans-Thin.eot');
  src: url('../fonts/ObjectSans-Thin.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ObjectSans-Thin.woff2') format('woff2'),
    url('../fonts/ObjectSans-Thin.woff') format('woff'),
    url('../fonts/ObjectSans-Thin.ttf') format('truetype'),
    url('../fonts/ObjectSans-Thin.svg#ObjectSans-Thin') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Object Sans Regular';
  src: url('../fonts/ObjectSans-Regular.eot');
  src: url('../fonts/ObjectSans-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ObjectSans-Regular.woff2') format('woff2'),
    url('../fonts/ObjectSans-Regular.woff') format('woff'),
    url('../fonts/ObjectSans-Regular.ttf') format('truetype'),
    url('../fonts/ObjectSans-Regular.svg#ObjectSans-Regular') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

a {
  font-family: 'Object Sans Thin';
  font-size: inherit;
  text-decoration: none;
  color: inherit;
}

a:visited {
  color: inherit;
}

h1 {
  font-family: 'Object Sans Bold';
  font-size: 4vw;
  font-weight: 700;
}

h2 {
  font-family: 'Object Sans Regular';
  font-size: 3.2vw;
  line-height: 1.5vw;
}

h3 {
  font-family: 'Object Sans Thin';
  font-size: 2.8vw;
  line-height: 4vw;
}

h4 {
  font-family: 'Object Sans Thin';
  font-size: 0.9vw;
  line-height: 1.3vw;
}

h5 {
  font-family: 'Object Sans Regular';
  font-size: 0.8vw;
}

h6 { 
  font-family: 'Object Sans Thin';
  font-size: 1.7vw;
}

p {
  font-family: 'Object Sans Thin';
  font-size: 2.2vw;
  line-height: 2.8vw;
}

* {
  overflow: hidden;
}

.overlay {
  position: absolute;
  background: rgba(31, 30, 31);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 90% auto;
  grid-template-rows: auto 90% auto;
  width: 100%;
  height: 100%;
}

.overlay > div {
  border-bottom: 1px solid white;
  border-right: 1px solid white;
}

.overlay > div:nth-last-of-type(-n+3) {
  border-bottom: none;
}

.overlay >div:nth-of-type(3n+0) {
  border-right: none;
}

.overlay img {
  max-width: 50%;
  object-fit: cover;
}

.overlay h1 {
  color: #ffffff;
  text-align: center;
}

.ov-con {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7vw;
}