@font-face {
  font-family: 'Subjectivity';
  src: url('subjectivity-regular.woff2') format('woff2'),
    url('subjectivity-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Subjectivity';
  src: url('subjectivity-bold.woff2') format('woff2'),
    url('subjectivity-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

.intro .message {
  margin-bottom: 20px;
}
body {
  font-family: Subjectivity;
  font-size: 16px;
  line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

  background-color: #072265;
  color: #e8f1f2;
}

canvas {
  vertical-align: bottom;
  transition: all .3s ease;
}

a {
  transition: all .3s ease;
  color: inherit;
  text-decoration: none;
}

a:hover {
 	opacity: 0.5; 
}

header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  font-weight: 700;
  font-size: 13px;
  line-height: 2;
  text-transform: uppercase;
  padding: 50px 35px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

header h1 img {
  margin-bottom: 20px;
}

header nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

header nav a {
  margin: 4px 0;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer img {
  width: 100%;
  position: relative;
  z-index: -1;
}

section.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  transition: all .3s ease;
  padding: 0 32px;
}

section.intro.fadeout {
  opacity: 0;
}

.deactivated {
  opacity: 0;
  pointer-events-none;
}

section.intro img {
  margin-bottom: 20px;
}

section.typeform.deactivated {
  z-index: -1;
}
section.typeform {
  z-index: 10;
}

h3 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
}

h3 span {
  color: #7cdeda;
}

h5 {
  font-family: Subjectivity;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
  color: #7CDEDA;
  margin-top: 60px;
}

.hidden {
    display: inherit;
}

.typeform-widget {
  width: 100%; 
  height: 350px;
}

.intro.typeform h3 {
  width: 75%;
  margin: 0 auto;
}

@media (max-width:500px) {
     .intro.typeform h3 {
    font-size: 24px;
  }
  .typeform-widget {
  height: 200px;
  }
}

@media (max-width:768px) {
  .intro.typeform h3 {
  width: 100%;
}
    .typeform-widget {
  height: 250px;
  }
  a {
    display: inline;
  }
  header {
    padding: 35px 25px;
  }
  header h1 img {
    margin-bottom: 10px;
  }
  
  .hidden {
    font-size: 11px;
  }
  
  h2 {
    display: none;
  }
  
  h3 {
    font-size: 28px;
  }
  
  header nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}
  header nav a {
    margin: 0 6px;
}
}

@media (max-width:400px) { 
  header {
    padding: 20px 15px;
  }
  header nav a {
    margin-left:6px;
}
    h3 {
    font-size: 22px;
  }
    .typeform-widget {
  height: 100px;
  }
}
