/* = Fonts
----------------------------------------------------------------------------- */

@font-face {
	font-family: 'JJHand';
	src: url('../fonts/JJHandRegular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Nunito';
	src: url('../fonts/nunito-400.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Nunito';
	src: url('../fonts/nunito-700.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
}





/* = General
----------------------------------------------------------------------------- */

html {
	font-smoothing: antialiased; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

body {
	height: 100%;
	font-family: 'Nunito', sans-serif;
	font-size: 1rem;
	line-height: 1.25;
}

main {
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

main a {
	width: 100%;
	max-width: 250px;
	min-width: 200px;
	padding: 30px 50px;
	margin: 12px;
	position: relative;
	display: flex;
	flex-flow: column wrap;
	line-height: 1;
	border: 3px #fff solid;
	text-align: center;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(180deg, rgba(132, 207, 223, 1) 0%, rgba(53, 173, 198, 1) 100%);
	box-shadow: 0 0 5px rgba(0, 0, 0, .5);
	overflow: hidden;
	transition: all 1s ease;
}

main a:hover {
	background: linear-gradient(180deg, rgba(132, 207, 223, 1) 100%, rgba(53, 173, 198, 1) 100%);
}

main a:before {
	content: '';
	width: 231px;
	height: 250px;
	position: absolute;
	top: -20px;
	right: 0;
	opacity: .25;
	display: block;
	background: url('../img/signet.png');
	background-size: cover;
}

main a strong {
    width: 200px;
    height: 34px;
    margin: 0 auto 6px auto;
    font-family: 'JJHand';
    font-size: 60px;
    text-indent: -9000px;
    background: url(../img/logo.png);
    background-size: cover;
}

main a em {
	font-size: 20px;
}

/* = Responsive
----------------------------------------------------------------------------- */

@media only screen and (max-width: 700px) {

	main {
		position: static;
		transform: none;
		margin-top: 50px;
	}

	main a {
		min-width: 0;
		padding: 20px;
	}

	main a:before {
		top: -40px;
	}

	main a strong {
		font-family: 'JJHand';
		font-size: 30px;
	}

	main a em {
		font-size: 15px;
	}

}
