
/* 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: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
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;
}

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


/* Typography */

@font-face {
    font-family: 'Antarctica';
    src:  url('../fonts/AntarcticaBeta-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px + (32 - 16) * ((100vw - 320px) / (1920 - 320)));
}

@media (min-width: 1920px) {
  html {
    font-size: 2em;
  }
}

body {
  font-family: Antarctica, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-kerning: none;
  text-rendering: geometricPrecision;
  font-kerning: normal;
  font-size: 1rem;
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  color: #000000;
}

h1 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 1.2em;
}

p.lead {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  font-size: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: #000000;
  border-bottom: 2px solid;
}

a:hover {
  color: #000000;
}

header a {
  color: #ffffff;
}

header {
  width: 100%;
  padding: 2vw 4vw;
  z-index: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

footer {
  width: 100%;
  padding: 4vw;
  display: flex;
}

#intro {
  width: 100%;
  height: auto;
}

#about {
  width: 100%;
  background-color: #ffffff;
}

.grid {
  padding: 1.25em 4vw;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2vw;
  row-gap: 0;
}

.g2-1 {
  grid-column: 1 / span 1;
}

.g1-2 {
  grid-column: 1 / span 1;
}

.openclose {
  display: none;
}

video {
  padding: 0 4vw;
  width: 100%;
  height: auto;
  object-position: center;
  object-fit: cover;
  background: url(video/teaser-studio-okko-poster.jpg) no-repeat;
  background-size: cover;
}


@media (min-width: 800px) {

  header {
    padding: 2vw;
    position: fixed;
    color: #ffffff;
  }

  footer {
    padding: 2vw;
  }

  #intro {
    min-height: 100vh;
    position: fixed;
    z-index: 1;
  }

  #about {
    min-height: 100vh;
    position: absolute;
    top: 100vh;
    z-index: 1000;
  }

  .grid {
    padding: 1.25em 2vw;
    display: grid;
    grid-template-columns: 1fr 2fr 4vw;
  }

  .g1-1 {
    grid-column: 1 / span 1;
  }

  .g2-1 {
    grid-column: 2 / span 1;
  }

  .g1-2{
    grid-column: 1 / span 2;
  }

  .openclose {
    text-align: right;
    font-size: 1.5rem;
    line-height: 1.25;
    border: 0;
    display: inline;
  }

  video {
    position: absolute;
    height: 100%;
    padding: 0;
  }
}
