html {
	font-size: 10px;
}

@media screen and (max-width: 400px) {
	html {
		font-size: 9.444444444444444px;
	}
}

html,
body {
	height: 100%;
}

body {
	font-family: "Martel", serif;
	font-size: 1.8rem;
	font-style: normal;
	font-weight: normal;
	line-height: 1.778;
	color: #000000;
	margin: 0;
	padding: 0;
	position: relative;
}

a {
	color: #ef233c;
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

a:hover,
a:focus,
a:active {
	color: #544d9d;
}

a:hover,
a:active {
	outline: 0;
}


h4,
.h4 {
	font-family: "Gothic A1", sans-serif;
	font-weight: 700;
	font-style: normal;
	color: #000000;
	-webkit-font-variant-ligatures: common-ligatures;
	font-variant-ligatures: common-ligatures;
	text-rendering: optimizeLegibility;
}


h4,
.h4 {
	margin-top: 6rem;
	margin-bottom: 1.6rem;
}

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

	h4,
	.h4 {
		margin-top: 5.6rem;
	}
}

h4,
.h4 {
	font-size: 2.1rem;
	line-height: 1.333;
}

p img {
	margin: 0;
}

em,
i,
b {
	font-size: inherit;
	line-height: inherit;
}

em,
i {
	font-family: "Martel", serif;
	font-style: italic;
}


b {
	font-family: "Martel", serif;
	font-weight: 700;
}

var,
samp,
code,
pre {
	font-family: Consolas, "Andale Mono", Courier, "Courier New", monospace;
}

pre {
	padding: 2.4rem 3.2rem 3.2rem;
	background: #efefef;
	overflow-x: auto;
}

code {
	font-size: 1.4rem;
	margin: 0 0.2rem;
	padding: 0.4rem 0.8rem;
	white-space: nowrap;
	background: #efefef;
	border: 1px solid #d3d3d3;
	color: #000000;
	border-radius: 3px;
}

pre>code {
	display: block;
	white-space: pre;
	line-height: 2;
	padding: 0;
	margin: 0;
}

pre.prettyprint>code {
	border: none;
}

del {
	text-decoration: line-through;
}

hr {
	border: solid #e0e0e0;
	border-width: 1px 0 0;
	clear: both;
	margin: 8rem 0 9.6rem;
	height: 0;
}

.s-portfolio {
	padding-bottom: 0;
	background-color: #eceeec;
	position: relative;
	padding-bottom: 30px;
}

.s-portfolio::before {
	content: "";
	display: block;
	background-color: #b3c2c1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 50%;
}

.folio-item {
	position: relative;
	overflow: hidden;
}

.folio-item__caption {
	display: none;
}

.folio-item__thumb a {
	display: block;
}

.folio-item__thumb a::before {
	z-index: 1;
	content: "";
	display: block;
	background-color: rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all, 0.5s;
	transition: all, 0.5s;
	cursor: default;
}

.folio-item__thumb a::after {
	z-index: 1;
	content: "...";
	font-family: "Gothic A1", sans-serif;
	font-weight: 900;
	font-size: 2.5rem;
	color: #ffffff;
	display: block;
	height: 32px;
	width: 32px;
	line-height: 32px;
	margin-left: -16px;
	margin-top: -16px;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	-webkit-transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	position: absolute;
	left: 50%;
	top: 50%;
}

.folio-item__thumb img {
	vertical-align: bottom;
}

.folio-item__thumb img {
	transition: transform 0.2s ease;
}

.folio-item__thumb:hover img {
	transform: scale(1.1);
}

.folio-item__info {
	z-index: 2;
	padding: 0 3rem;
	-webkit-transform: translate3d(0, -100%, 0);
	transform: translate3d(0, -100%, 0);
	opacity: 0;
	visibility: hidden;
	-webkit-transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	position: absolute;
	left: 0;
	top: 3.6rem;
}

.folio-item__title {
	color: #ffffff;
	font-weight: 400;
	font-size: 2.1rem;
	line-height: 1.333;
	margin: 0;
}

.folio-item__cat {
	color: rgba(255, 255, 255, 0.5);
	font-family: "Gothic A1", sans-serif;
	font-size: 1.4rem;
	margin-bottom: 0;
}

.folio-item__project-link {
	z-index: 2;
	display: block;
	font-family: "Gothic A1", sans-serif;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 2rem;
	color: #000000;
	background-color: #ffffff;
	padding: 0.6rem 1.2rem;
	opacity: 0;
	visibility: hidden;
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	-webkit-transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition:
		all,
		0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
	position: absolute;
	bottom: 3.9rem;
	left: 3rem;
}

.folio-item__project-link::before {
	display: block;
	content: "";
	height: 1px;
	width: 3rem;
	background-color: rgba(255, 255, 255, 0.3);
	position: absolute;
	top: 50%;
	left: -3rem;
}

.folio-item__project-link:hover,
.folio-item__project-link:focus,
.folio-item__project-link:active {
	background-color: #ef233c;
	color: #ffffff;
}

.folio-item:hover .folio-item__thumb a::before {
	opacity: 1;
	visibility: visible;
}

.folio-item:hover .folio-item__thumb a::after {
	opacity: 1;
	visibility: visible;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.folio-item:hover .folio-item__project-link {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.folio-item:hover .folio-item__info {
	opacity: 1;
	visibility: visible;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 1200px) {
	.s-portfolio::before {
		display: none;
	}

	.folio-item__thumb a::after {
		font-size: 2rem;
	}

	.folio-item__title {
		font-size: 1.8rem;
	}

	.folio-item__cat {
		font-size: 1.2rem;
	}
}

@media screen and (max-width: 800px) {
	.folio-item__thumb a::after {
		font-size: 3rem;
	}

	.folio-item__title {
		font-size: 2.1rem;
	}

	.folio-item__cat {
		font-size: 1.4rem;
	}
}

@media screen and (max-width: 600px) {
	.folio-item__thumb a::after {
		font-size: 2rem;
	}

	.folio-item__title {
		font-size: 1.8rem;
	}

	.folio-item__cat {
		font-size: 1.2rem;
	}
}