/* Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Anonymous+Pro');
@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro');
@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

/* Global */
.bg-image {
	/* The image used */
	background-image: url("../images/nyc-background.jpg");
  
	/* Add the blur effect */
	filter: blur(8px);
	-webkit-filter: blur(8px);
	transform: scale(1.1);
  
	/* Full height */
	height: 100%;
  
	/* Center and scale the image nicely */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  }

body, html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	font-family: 'Anonymous Pro', sans-serif;
  }

.wrapper {
	width: 90%;
	height: 90%;
	position: absolute;
	left: 50%;
	top: 30%;
	transform: translate(-50%, -30%);
	display: flex;
	justify-content: center;
	align-items: center;
}

A:link {
	color: #ececec;
	text-decoration: none;
}

A:visited { 
	color: #ececec;
	font-weight: normal;
	text-decoration: none;
}

A:hover { 
	color: white;
	text-decoration: none;
}

main {
	position: absolute;
	align-content: center;
	color: #ececec;
	text-align: center;
	animation-name: opacity;
	animation-duration: 3s;
	animation-fill-mode: forwards;
	}
@keyframes opacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.typewriter h1 {
	font-family: "Anonymous Pro";
	color: #ececec;
	letter-spacing:  -2px;
	line-height: 50%;
	font-size: 60px;
	white-space: nowrap;
  }

nav {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-content: center;
	justify-content: center;
}

@keyframes in {
	0% { 
	}
    100% {
		transform: scale(1.1);
    }
}
@keyframes out {
	0% { 
		transform: scale(1.1);
	}
    100% {
		transform: scale(1);
    }
}

.btn{
	display: block;
	width: 125px;
	height: 30px;
	line-height: 30px;
	font-size: 15px;
	margin: 30px 20px 30px 20px;
	font-family: Raleway, Helvetica, sans-serif;
	text-decoration: none;
	color: #ececec;
	border: 2px solid #ececec;
	letter-spacing: 2px;
	text-align: center;
	position: relative;
	transition: all .35s ease-out;
}

.btn span {
	position: relative;
	z-index: 2;
}
  
.btn:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: #ececec;
	transition: all .35s;
}
  
.btn:hover{
	color: #333333;
}
  
.btn:hover:after{
	width: 100%;
}

@media (max-width: 800px){
	nav {
		flex-direction: column;
		align-items: center;
	}
	.typewriter h1 {
		font-size: min(10vw, 40px);
	}
	.btn {
		display: block;
		width: 90%;
		height: 40px;
		line-height: 40px;
		font-size: 15px;
		margin: 10px 0px 10px 0px;
		font-family: Raleway, Helvetica, sans-serif;
		text-decoration: none;
		color: #cacaca;
		border: 2px solid #cacaca;
		letter-spacing: 2px;
		text-align: center;
		position: relative;
		transition: all .35s ease-out;
	}
	.btn span {
		position: relative;
		z-index: 2;
	}
}