/* fira-sans-200 - latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 200;
  src: local('Fira Sans ExtraLight'), local('FiraSans-ExtraLight'),
  url('../fonts/fira-sans-v8-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('../fonts/fira-sans-v8-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: fallback;
}

/* fira-sans-regular - latin */
@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Fira Sans Regular'), local('FiraSans-Regular'),
  url('../fonts/fira-sans-v8-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
  url('../fonts/fira-sans-v8-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root {
  --body-color: rgb(255, 255, 255);
  --header-color: rgb(250, 250, 250);
  --highlight: hsl(180, 95%, 50%);
  --highlight-muted: hsl(180, 85%, 80%);
  --red: rgb(255, 137, 137);
  --orange: rgb(255, 202, 120);
  --yellow: rgb(255, 245, 114);
  --green: rgb(190, 251, 125);
  --blue: rgb(120, 250, 228);
  --text-color: #3c484e;
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--body-color);
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 2;
  font-size: 16px;
  color: var(--text-color);
  overflow-x: hidden;
}

nav > ul {
  display: flex;
  align-items: center;
}

ul {
  padding-left: 20px;
}

.spacer {
  flex: 1 0 0px; 
}

a, a:visited {
  color: #0c0c0d;
  font-weight: 500;
  text-decoration-color: var(--highlight);
}

a[href=""] {
  background-color: red;
}

h1 {
  font-weight: 300;
  padding: 15px 0;
  margin: 10px 0 20px 0;
  font-size: 150%;
}

h2 {
  font-weight: 300;
  margin: 20px 0;
}

h3 {
  font-weight: 300;
  margin: 20px 0;
}

h4 {
  font-weight: 300;
  margin: 20px 0;
}

/**
 * Header
 */

header {
  padding: 5px 40px;
  align-items: center;
  top: 0px;
  z-index: 10;
  display: flex;
  color: white;
  background-color: rgb(47, 47, 47);
  border-bottom: 1px solid #ccc;
}
header > * {
  color: white;
}
header > * {
  padding-right: 10px;
  padding-left: 10px;
}

@media (max-width:600px) {
  header {
    flex-direction: column;
  }
}

header .site-title {
  width: auto;
  margin: 0;
}

header > .subtitle {
  font-weight: 500;
  font-size: 70%;
  background-color: var(--highlight);
  color: black;
  text-transform: uppercase;
}

header > nav > ul {
  font-weight: 200;
  margin: 0px;
  position: relative;
  list-style-type: none;
}
header a,
header a:visited {
  color: white;
  padding-right: 5px;
}

/**
 * Content
 */

#index ul {
  list-style-type: none;
  padding: 0;
}

main {
  margin: 0 auto;
  padding: 10px 10vw 50px 10vw;
}

main h1 {
  text-align: center;
  top: 0;
  z-index:100;
  pointer-events: none;
  padding: 0;
}

@media (min-width: 600px) {
  main {
    max-width: 800px;
  }
}

footer {
  border-top: solid 2px var(--red);
  width: 100%;
  height: auto;
  margin-top: 30px;
  position: relative;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

footer form {
  background-color: var(--blue);
  border: 1px solid var(--blue);
  padding: 15px;
  margin: 30px 0;
  display: block;
  position: relative;
  /* lighten */
  background-image: linear-gradient(
    0deg,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.75) 100%);
}
footer form .form-group {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
  padding: 0 20%;
  align-items: center;
}
footer form .form-group input,
footer form .form-group button {
  flex: 1;
  width: 200px;
  border: 1px solid var(--blue);
  padding: 5px;
}
footer form .form-group > button[type=submit] {
  border-color: white;
  background-color: var(--blue);
  color: #333;
  cursor: pointer;
  box-sizing: content-box;
}
footer form label[for="tlemail"] {
  padding: 0px 10px;
}
footer form label[for="tlemail"]::after {
  content: ':';
}
@media (max-width:400px) {
  footer form .form-group {
    flex-direction: column;
  }
}
