/* Intro
-------------------------------------------------- */
@media screen and (max-width: 55em) {
	.logo-intro{
		margin-top: 1rem;
  	}
}

/* Projects
-------------------------------------------------- */
.main{
	margin: 4em 0 1em 0;
}

.grid li {
  list-style: none;
}

.grid {
  display: grid;
  grid-gap: 2rem;
  	row-gap: 1rem;
  	column-gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 65em) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 30em) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.showcase {
	position: relative;
}

.showcase-item {
	list-style: none;
	margin-bottom: 2rem;
	position: relative;
}

.main li,
.main ul {
	margin-bottom: 0;
}

.main a{
	border-bottom: 0px;
}

.showcase-link {
	display: block;
	position: relative;
	padding-top: 100%;
	z-index: 0;
	border-bottom: 0 !important;
}

.showcase-caption {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(41, 55, 92, 0.1);
	color: #FFFFF8;
	letter-spacing: .05em;
	opacity: 1;
	-webkit-transition: .15s opacity;
	transition: .15s opacity;
	will-change: opacity;
}

.showcase-title {
	display: inline-block;
	float: right;
	text-align: right;
	max-width: 400px;
	padding: 0 2rem 0 0.5rem;
	margin-top: 1.5rem;
}

@media screen and (max-width: 30em) {
	.showcase-title {
		padding: 0 1rem 0 0.5rem;
	}
}

@media screen and (min-width: 30em) {
	.showcase-title{
		padding: 0 0.5rem 0 0.5rem;
		text-align: right;
	}
}
.showcase-image {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}
.showcase-caption:hover,
.showcase-caption:focus{
	background: rgba(41, 55, 92, 0);
	color: #FFFFF8;
	-webkit transition: .25s ease-out;
	transition: .25s ease-out;
	will-change: background;
}

.tagsHP {
	font-size: 0.7em;
	font-weight: normal;
	line-height: 1.3em;
	display: inline-block;
	float: right;
	text-align: right;
	opacity: 0;
}

.tagsHP li{
	display: inline;
}

.tagsHP li:after {
    content: " ·";
}
.tagsHP li:last-child:after {
    content: "";
}

.showcase-item:hover .tagsHP{
	opacity: 0.9;
	transition: opacity 0.25s;
}

@media screen and (max-width: 30em) {
	.tagsHP {
		opacity: 0.9;
	}

@media (any-hover: none) {
	.showcase-caption {
		/* The media query, enclosing these rules matches only
			 touch-screen devices that do not support hover due
			 to the lack of a pointing device like a mouse.
			 It does not work in all mobile browsers, but
			 progressively enhances the experience on supported
			 devices. Tested in Safari (iOS) 9.3 */
		opacity: 1.0;
		/* Reset will-change property to keep it from eating
			 up unneccessary resources on touch-only devices */
		will-change: auto;
	}
	.showcase-title {
		font-size: 1em;
	}
}