/* fonts */

@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  src: local('Inconsolata Regular'), local('Inconsolata-Regular'),
       url('fonts/inconsolata-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/inconsolata-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 700;
  src: local('Inconsolata Bold'), local('Inconsolata-Bold'),
       url('fonts/inconsolata-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('fonts/inconsolata-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* general */

* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

.flexContainer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100vh;
	min-height: 300px;
	background-image: url('images/small-background.jpg');
	background-size: cover;
	background-position: center;
	/*perspective: 300px;*/
}

@media screen and (min-width: 640px) {
	.flexContainer {
		background-image: url('images/medium-background.jpg');
	}
}

@media screen and (min-width: 760px) {
	.flexContainer {
		background-image: url('images/large-background.jpg');
	}
}

@media screen and (min-width: 992px) {
	.flexContainer {
		background-image: url('images/full-background.jpg');
	}
}

@media screen and (min-width: 2000px) {
	.flexContainer {
		background-image: url('images/background.jpg');
	}
}

.branding {
	text-decoration: none;
	position: relative;
	z-index: 1;
	padding: 0 10px;
}

.branding:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 18px;
	width: 100%;
	height: 0;
	background-image: linear-gradient(to right, #0038A8, #9B4F96, #D60270);
	z-index: -1;
	transition: 0.3s;
}

.branding:hover:after {
	height: 10px;
}

.flexContainer span {
	color: #ffffff;
	font-family: 'Inconsolata';
	display: block;
}

.flexContainer span.title {
	font-weight: 700;
	font-size: 24px;
	margin-bottom: 20px;
	/*transform: rotate3d(0,-1,0,20deg);
	transform-style: preserve-3d;*/
}

.flexContainer span.subtitle {
	font-weight: 300;
	font-size: 20px;
	/*transform: rotate3d(0,1,0.05,30deg);
	transform-style: preserve-3d;*/
	text-align: center;
	animation: typewriter 1.5s steps(12, end);
	width: 120px;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
}

/* animation */

@keyframes typewriter {
	from {width: 0;}
	to {width: 120px}
}