@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;600&display=fallback');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Fira Sans', sans-serif;
  margin: 0;
  color: rgba(0, 0, 0, 0.87);
  font-weight: 300;
  font-size: 1em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
	color: #009fbf;
	text-decoration: none;
}

a:hover {
	color: #009fbf;
	text-decoration: underline;
}

#header {
	background-color: rgba(255, 255, 255, 0.8);
	position: fixed;
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
	padding: 1ex 0;
	z-index: 1;
}

#logo {
	/*vertical-align: baseline*/;
	height: 1.25em;
	margin-right: 1em;
}

ul.nav {
  list-style-type: none;
  display: inline;
  margin: 0;
  padding: 0;
}

ul.nav li {
  display: inline;
}

ul.nav li + li {
	padding-left: 1ex;
}

ul.nav li a {
  position: relative;
  text-decoration: none;
  font-size: 1em;
  padding: 0;
  transition: 0.4s;
}

#header a {
	color: rgba(0,0,0,0.5);
}

#header ul.nav li a::after, a.biglink::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0.25ex;
  top: 100%;
  left: 0;
  background: #009fbf;
  transition: transform 0.4s;
  transform: scaleX(0);
  transform-origin: right;
}

#header ul.nav li a:hover {
  /*color: #95a5a6;*/
}

a.biglink {
	text-decoration: none;
	color: #fff;
	display: block;
}

#header ul.nav li a:hover::after, a.biglink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.svg {
	display: inline-block;
	width: auto;
	height: auto;
}

.svg svg {
	width: auto;
	height: auto;
}

a.biglink .highlight, a.biglink .highlight svg, .navbar_logo svg {
	transition: all 0.4s;
}

.highlight {
	font-weight: bold;
}

a.biglink:hover .highlight {
	color: #009fbf;
}
	
a.biglink:hover .highlight svg, .navbar_logo:hover svg {
	fill: #009fbf;
}

.navbar_logo {
	margin-right: 1em;
}

.navbar_logo svg {
	fill: rgba(0, 0, 0, 0.87);
	height: 1.5em;
}

.white_logo svg {
	fill: #fff;	
	height: 1em;
}

.page {
	padding: 1ex 1em;
}

body > footer {
	border-top: 1px solid rgba(0, 0, 0, 0.5);
	padding: 1ex 0;
	margin-top: 1em;
	font-size: 0.9em;
}

body > footer a {
	color: rgba(0,0,0,0.5);
}

body > footer a:hover {
	text-decoration: none;
}

body > footer ul.nav {
	display: block;
	margin-bottom: 0.5ex;
	padding: 0;
}

.sc {
	font-variant: small-caps;
}

.page {
	max-width: 60rem;
	margin: 0 auto;
}

#header + .pageheader {
	padding-top: 3em;
}

.cards {
	display: flex;
	flex-wrap: wrap;
	/*justify-content: space-evenly;*/
	
	/*background-color: #eee;*/
	/*background-color: rgb(241, 240, 235);*/
}

.cards:after {
	content: "";
	clear: both;
	display: table;
}

.card {
	background-color: #fff;
	width: calc(33% - 2em);
	/*min-width: 10em;
	max-width: 90%;*/
	border: 1pt #dadce0 solid;
	/*border-top: 0.25em solid #009fbf;
	border-bottom: 0.25em solid #fff;*/
	padding: 1ex;
	margin: 2ex;
	/*box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);*/
	/*box-shadow: 0 0.5ex 0.5ex 0 rgba(16, 16, 16, 0.2);*/
	transition: 0.4s ease all;
	border-radius: 0.5ex;
	
	color: rgba(0,0,0,0.5);
	
	box-shadow: 0px 0px 0px #fff, 0px 0px 0px #fff, 0px 0px 0px #fff;
}

.card, .card a {
	color: rgba(0, 0, 0, 0.87);
}

.card:hover * {
	text-decoration: initial;
}

.card:hover {
	border-color: #009fbf;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.1), 0px 2px 3px rgba(0,0,0,0.12), 0px 1px 3px rgba(0,0,0,0.14);
	transform: translateY(-1px);
}

.card h3, .card .name, .mast .name {
	margin: 0.5ex 0;
	font-weight: bold;
	border-width: 0.25ex;
	border-style: solid;
	display: inline-block;
	padding: 0.25ex;
	background-color: white;
	font-size: 2em;
	border-radius: 0.125ex;
}

.mast .name {
	font-size: 4ex;
}

.card .name {
	font-size: 3em;
}

.card h4 {
	margin: 1ex 0 1em 0;
	font-weight: bold;
	transition: 0.3s ease color;
	color: rgb(22,49,92);
}

.card:hover h4 {
	color: #009fbf;
	text-decoration: underline;
}

.card p {
	margin: 0.5ex 0;
	color: rgba(0,0,0,0.5);
	transition: 0.3s ease color;
}

.card:hover p {
	color: rgb(0, 0, 0, 0.87);
}

ul {
  list-style: none; /* Remove list bullets */
  padding: 0;
  margin: 0;
}

#page li:before {
  content: "■";
  padding-right: 0.5ex;
  color: #009fbf;
}

blockquote .quote {
	border-left: 2pt solid #009fbf;
	padding-left: 0.5cm;
	font-style: italic;
}

blockquote footer {
	display: flex;
}

blockquote footer .person {
	margin: 0 1ex;
}


li + li {
	margin-top: 1ex;
}

.screenshot {
	max-width: 100%;
	width: 40em;
	margin: 1.5em auto;
	display: block;
	font-style: italic;
}

.button {
	border: 1px solid #009fbf;
	padding: 1ex;
	margin: 1em 1ex;
	border-radius: 0.25ex;
	background-color: #009fbf;
	color: #fff;
	display: inline-block;
	transition: 0.4s ease all;
}

.button.intext {
	margin: 0;
	padding: 0 1ex;
}

.center {
	margin: 0 auto;
	text-align: center;
}

.large {
	font-size: 1.3em;
}

a.button {
	color: #fff;
}

.button:hover {
	background-color: #fff;
	color: #009fbf;
}

a.button:hover {
	color: #009fbf;
	text-decoration: none;
}


/* ----- */

body.index > footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	background-color: #fff;
}

body.index, .mast  {
	background: linear-gradient(137deg, rgb(22,49,92) 0%, rgb(6,16,34) 100%) rgb(22,49,92);
	background-size: cover;
}
	
body.index .mast {
	height: calc(100vh - 5em);
	width: 100%;
	overflow: hidden;
	position: relative;
}

body.index .mast .page {
	margin: 0;
}

/* -- */

.mast + .pageheader {
	padding-top: 0;
}

.mast {
	background-position: center;
	
	overflow: hidden;
}

.mast .page {
	color: #fff;
	font-size: 1.25em;
	padding-top: 3em;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.87);
	display: flex;
	align-items: top;
	padding-bottom: 0;
}

body.index .mast {
	/*background: none;*/
}

body.index .mast::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	
	background-image: url('sascha-yeryomin-DNQ-M93tHmA-unsplash.jpg');
	background-size: cover;
	
	/*filter: brightness(0.6);*/
	
	background-position-x: 0px;
	background-position-y: 0px;
	
	/*animation: slowMove 10s ease-in 10s infinite alternate;*/
}

@media (max-width: 640px) {
	#logo, ul.nav, body > footer div {
		display: block;
		margin: 0 auto;
		text-align: center;
	}
	
	#logo {
		margin-bottom: 1em;
	}
	
	body > footer {
		text-align: center;
	}
	
	#header {
		position: relative;
	}
	
	.pageheader {
		padding-top: 0;
	}
	
	.card {
		width: calc(50% - 2.15em);
	}
	
	.mast h1 {
		/*margin-left: 1ex;*/
	}
	
	.mast .page {
		padding-top: 0ex !important;
		font-size: 1em;
		display: block;
	}
	
	body.index .mast {
		height: calc(100vh - 6em);
	}
	
	.mast .name {
		font-size: 4ex;
	}
	
	.mast h4 {
		font-size: 0.85em;
	}
}

@media (max-width: 320px) {
	
}

@media (max-width: 480px) {
	/*.page {
		padding: 1em;
	}*/
	
	.card {
		width: 100%;
		display: block;
	}
}

@keyframes slowMove {
  0% {
    background-position-x: 0px;
	background-position-y: 0px;
  }
  
  100% {
    background-position-x: 5px;
  	background-position-y: 5px;
  }
}

body.index .mast .page {
	color: #fff;
	font-size: 1.25em;
	text-shadow: none;
	/*font-weight: bold;*/
}

/* ----- */
/* inspired by https://codepen.io/atled/pen/ajQZvg */

.animation-wrapper {
  text-align: center;
  height: 50vh;
  overflow: hidden;
  width: 20em;
  max-width: 90%;
  font-size: calc( min(4vh, 4vw) );
}

.animate {
  display: block;
  margin-bottom: 2em;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 20em;
  margin: 0 auto;
  max-width: 100%;
  transition: 0.4s ease all;
  line-height: 150%;
  vertical-align: middle;
}

.animate-0 {
  animation: zoomInFade 6s linear 0s 1 forwards;
}

.animate-1 {
  animation: zoomInFade2 4s linear 2s 1 forwards;
}

.animate-2 {
  animation: zoomInFade3 2s linear 5.5s 1 forwards;
}

@keyframes zoomInFade {
  0% {
    transform: scale(0.5);
    opacity: 0;
    top: 100%;
    visibility: hidden;
  }
  
  50% {
      opacity: 1;
      visibility: visible;
  }
  
  /*50% {
    transform: scale(0.9);
    opacity: 1;
    top: 50%;
    visibility: visible;
  }
  75% {
    top: 40%;
  }*/
  100% {
    transform: scale(1);
    /*opacity: 0;*/
    top: 20%;
    /*visibility: hidden;*/
  }
}

@keyframes zoomInFade2 {
  0% {
    transform: scale(0.5);
    opacity: 0;
    top: 100%;
    visibility: hidden;
  }
  
  50% {
      opacity: 1;
      visibility: visible;
  }
  
  /*50% {
    transform: scale(0.9);
    opacity: 1;
    top: 50%;
    visibility: visible;
  }
  75% {
    top: 40%;
  }*/
  100% {
    transform: scale(1);
    /*opacity: 0;*/
    top: 50%;
    /*visibility: hidden;*/
  }
}

@keyframes zoomInFade3 {
  0% {
    transform: scale(0.1);
    opacity: 0;
    top: 75%;
    visibility: hidden;
  }
  10% {
  	opacity: 0.1;
  }
  50% {
    /*transform: scale(0.9);*/
    
    top: 75%;
    visibility: visible;
  }
  75% {
    top: 75%;
	
  }
  100% {
    transform: scale(1);
    opacity: 1;
    top: 75%;
    /*visibility: hidden;*/
  }
}

@keyframes pulse {
	0% {
		transform: scale(0.5);
	}
	100% {
		transform: scale(1.75);
	}
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

blockquote {
	margin-left: 1em;
}

.team {
	display: flex;
	justify-content: space-between;
}

.teammember {
	width: calc(50% - 2ex);
	min-width: 20em;
}

@media (max-width: 45em) {
	.team {
		display: block;
	}

	.teammember {
		width: auto;
	}
}

.team .name {
	font-weight: bold;
}

.team .title {
	font-style: italic;
}

blockquote footer .logo img {
	height: 3.5em;
}

.screenshot img {
	width: 100%;
}

dt {
	font-style: italic;
}

dd {
	margin-bottom: 1ex;
	margin-top: 1ex;
}

.facts {
	display: flex;
	justify-content: space-between;
}

.facts div {
	width: 33%;
	min-width: 10em;
	text-align: center;
}

.facts .number {
	font-size: 3em;
	font-weight: bold;
	display: block;
	color: #009fbf;
}

h2 {
	font-size: 1.5em;
	margin: 1em 0;
}

h3 {
	font-size: 1.5em;
	margin: 1ex 0 ;
}

h2, h3 {
	color: rgba(0,0,0,0.5);
	font-weight: bold;
}

.card .type {
	background-color: rgba(0,0,0,0.5);
	border-radius: 0.5ex;
	font-size: 1.25ex;
	padding: 0.5ex 1ex;
	float: right;
	color: white;
	margin: 1ex 0;
	transition: 0.4s ease background-color;
}

.card:hover .type {
	background-color: #009fbf;
}
