/* Import the google web fonts you want to use */


@import url('https://fonts.googleapis.com/css?family=Comfortaa|Patua+One');

@mixin card-shadow($color) {
  box-shadow: 0px 0px 10px $color;
}

/* Card Based Layout - Base styles */

body {
	background: #424549;
}

main {
	display: table;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
  }
  
  .centered {
	display: table-cell;
	vertical-align: middle;
  }
  
  .cards {
	margin-left: auto;
	margin-right: auto;
	/* Whatever width you want */
  }

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #000000;
	font-family: 'Comfortaa', Arial, sans-serif;
	font-size: 18px;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
	font-family: 'Patua One', sans-serif;
	letter-spacing: 2px;
}

h2 {
	font-size: 1rem;
	color: #e2e2e2;
}

p {
	margin-bottom: 1.5em;
	color: #c9c9c9;
}

img {
	display: block;
	border: 0;
	width: 100%;
	height: auto;
	border-radius: 10px 10px 0 0;
}

.card {
	background: #1e2124;
	margin-bottom: 2em;	
}

.card a {
	color: black;
	text-decoration: none;
}

.card a:hover {
	box-shadow: 3px 3px 8px hsl(0, 0%, 80%);
}

.card-content {
	padding: 1.4em;
}

.card-content h2 {
	margin-top: 0;
	margin-bottom: .5em;
	font-weight: bold;
}

.card-content p {
	font-size: 80%;
}

/* Flexbox stuff */

.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
 }

.card {
	flex: 1 0 500px;
	box-sizing: border-box;
	margin: 1%;
	border-radius: 10px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

	.card:hover {
		box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19);
	}

@media screen and (min-width: 100em) {
	.card {
		max-width: calc(50% -  1em);
	}
}

@media screen and (min-width: 50em) {
	.card {
		max-width: calc(25% - 1em);
    }
}

.centered {
	margin: 0 auto;
	padding: 0 1em;
}

@media screen and (min-width: 52em) {
	.centered {
		max-width: 52em;
	}
}

#highlight {
	outline: 3px solid #ffd700;
	outline-offset: -3px;
}
	#highlight:hover {
		outline: 4px solid #ffd700;
		outline-offset: -3px;
		/*box-shadow: 0 4px 8px 0 #ffd700, 0 6px 20px 0 #ffd700;*/
		@include card-shadow(#ffd700);
	}