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

/* STYLING */

#videoCover {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: 1;
}

#videoCover > video {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

body {
    color: #fff;
    font-family: 'Hind', sans-serif;
    background-color: rgba(79, 125, 113, 1);
}

#logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo .element {
    display: inline;
    flex-grow: 0;
}

#logo img {
    display: inline-block;
    width: 130px;
    height: auto;
    animation-fill-mode: backwards;
}

#logo #logo-text-container {
    white-space: nowrap;
    height: 100%;
    width: 200px;
    padding-left: 1rem;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation-fill-mode: forwards;
}

#text-overlay {
    position: absolute;
    height: 100px;
    width: 0px;
    animation-fill-mode: forwards;
}

#logo-text {
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 0.2rem;
    max-width: 0px;
    overflow: visible;
}

#teaser-text {
    max-width: 0px;
    overflow: visible;
}

#container {
    height: 100vh;
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr auto 1fr;
    grid-template-areas: ". . ." ". logo ." ". . .";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(79, 125, 113, 0.1);
}

@media screen and (max-width: 800px) {
    #container {
        grid-template-columns: 1fr 3fr 1fr;
    }
}