@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	src: url(/files/Nunito400.woff2) format('woff2');
	font-display: swap;
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	src: url(/files/Nunito700.woff2) format('woff2');
	font-display: swap;
}

* {
	box-sizing:border-box;
	font-family:Open Sans, Roboto, Arial;
	font-family: Nunito, Camphor, Open Sans, Segoe UI, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
*[disabled]{
	cursor: not-allowed;
}
nav ul,#projects ul {
	display: block;
	margin-block-start: 0;
	margin-block-end: 0;
	margin-inline-start: 0;
	margin-inline-end: 0;
	padding-inline-start: 0;
	list-style:none;
}
body {
	color:white;
	margin:0;
	padding:0;
	max-width: 100vw;
	overflow-x: hidden;
	filter: grayscale(100%);
	transition:filter .5s;
}
body.loaded{
	filter: grayscale(0);
}
body:hover {
	border-image: url("/hit/");
}
nav ul {
	text-align:right;
	margin:0 8px 0 0;
	padding-top:4px;
	transform:translate3d(0,-100%,0);
	transition:all .5s;
}
body.js-disabled nav ul, body.loaded nav ul{
	transform:translate3d(0,0,0);
}
nav ul li{
	display:inline-block;
	line-height:34px;
	margin-left:20px;
}
header{
	text-align:center !important;
	padding-bottom:10px;
	background-repeat: repeat;
	background-image:
		url('/files/noise.jpg'),
		linear-gradient(to right, #1a232b, #14191e 40%, #14191e 60%, #1a232b);
	background-blend-mode: overlay;
	background-size: 150px, auto 100%;
}
header::before{
	background-image: url("/files/logo.svg");
	background-position: 10px 10px;
	background-size: 50px;
	background-repeat: no-repeat;
	content: "";
	width: 60px;
	height: 60px;
	position: absolute;
	left: 0;
}
header .profileImg {
	width:160px;
	height:160px;
	margin-top:10px;
	border-radius:50%;
	border:4px solid transparent;
	box-sizing: content-box;
	transform:translate3d(0,0,0) rotateY(360deg);
	transition:transform 2s 1s, border 1s 3s;
}
body.loaded header .profileImg {
	border:4px solid white;
	transform:translate3d(0,0,0) rotateY(0deg);
}
body > div.content{
	display:none;
	min-height:200px;
	content-visibility:auto;
	contain-intrinsic-size:auto 500px;
}
header h2{
	animation-name: lightSpeedInLeft;
	animation-timing-function:cubic-bezier(0, 0, 0.17, 0.99);
	animation-timing-function: ease-in-out;
	animation-delay: 0.25s;
	animation-duration: 0.75s;
	transform:translate3d(-100%, 0, 0) skewX(-30deg);
	animation-fill-mode: forwards;
}
@keyframes lightSpeedInLeft {
	0% {
		transform:translate3d(-100%, 0, 0) skewX(-30deg)
	}
	70% {
		transform:translate3d(30px, 0, 0) skewX(-30deg)
	}
	85% {
		transform:translate3d(-30px, 0, 0) skewX(30deg)
	}
	100% {
		transform:translate3d(0, 0, 0) skewX(0deg)
	}
}
header h1,header h2,header > div{
	margin:0;
	color:white;
	font-weight:normal;
}
header h1,header > div:first-of-type {
	font-size:2.5em;
}
header h2,header > div:last-of-type {
	font-size:1.2em;
}
header p {
	margin-top:8px;
}
h3 {
	margin:0;
}
a.btn {
	color:#3c444c;
	background-color:#14da26;
	display:block;
	text-align:center;
	width:340px;
	border-radius:8px;
	margin:20px auto 10px;
	font-size:1.5em;
	text-shadow:0 -2px 6px white;
	cursor:pointer;
	text-decoration:none;
	padding:10px;
}
a.btn:hover {
	transform:translate3d(0,-1px,0);
	box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}
header a, header a:visited, a.btn {
	text-decoration:none;
}
a,a:visited {
	color: inherit;
	transition: all .5s;
}
#search .postHolder a{
	line-height:2em;
}
#search .postHolder a::before{
	content:"・";
}
.content{
	padding:10px;
	max-width:800px;
	margin:0 auto;
	color:#333;
}
.content p {
	text-align:justify;
}
.content img{
	max-width:100% !important;
}
.content h1 img {
	width:50%;
	float:right;
	margin:0 0 20px;
}
.content h1 img.appicon{
	width:auto;
	height:70px;
	float:right;
	margin-left:10px;
}
input,#payment-form button,textarea {
	width:80%;
	line-height:30px;
	font-size:20px;
	margin:10px auto;
	display:block;
	appearance:none;
	-webkit-appearance:none;
	border:none;
	border-radius:0;
	border-bottom:1px solid gray;
}
input[type=submit],#payment-form button{
	border-radius:4px;
	background-color:#3c444c;
	color:white;
	border:none;
	cursor:pointer;
	transition: all .5s;
}
body.js-disabled input[type=submit]{
	display:none;
}
label {
	display:none;
}
#formMsg {
	color:red;
	width:80%;
	margin:10px auto;
}
#formMsg.success{
	color:green;
	text-align:center;
}
form input.inputFieldError{
	border:1px solid red;
	border-radius:4px;
	transition:all .5s;
}
.appstoreBtn{
	height:40px;
}
footer {
	margin:20px 0;
	text-align:center;
	color:#333;
	font-size:0.8em;
	content-visibility:auto;
	contain-intrinsic-size:auto 80px;
}
footer > a > i {
	font-size:2.5em;
	color:#3b444e;
}
@media screen and (orientation : portrait) and (max-width : 430px){
	header::before{display:none;}
	header h2{
		padding:0;
	}
	header p {
		margin:8px auto 0;
		width:260px;
	}
	nav{float:right;}
	nav ul li{
		display:block;
		margin-left:0;
		text-align:center;
	}
	.content h1 img {
		width:100%;
		float:none;
		margin:10px auto;
		display:block;
	}
	.content h2{
		text-align:center;
	}
	*{
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}
}

/* ==================== Page-Specific Styles ==================== */

/* Updates Page - Stream Holder Styles */
.stream-holder {
	cursor: pointer;
	transform: translate3d(0,0,0);
	transition: all .5s;
	margin: 0 0 20px;
	line-height: 25px;
	padding: 0 10px;
	border: 1px solid gray;
	border-radius: 10px;
}
.stream-holder:nth-child(even) {
	background-color: #eef0f2;
}
.stream-holder p {
	text-align: left;
}
.stream-holder p::after {
	content: "";
	display: table;
	clear: both;
}
.stream-holder img {
	float: right;
	height: 100px;
	margin-left: 20px;
}
.stream-holder a {
	float: right;
}
.stream-holder:hover {
	box-shadow: 0 2px 6px #3c444c;
	transform: scale(1.1);
	margin: 40px 0;
}

/* Blog Page Styles */
#blog h3 {
	margin: 10px 0;
}
#blog.content img:first-of-type {
	max-height: 20vh;
	float: right;
	margin: 0 0 10px 10px;
}
#blog pre {
	max-width: 100vw;
	overflow-x: scroll;
}
.postHolder .tags,
.postHolder .pubDate {
	font-style: italic;
}
.tags a {
	color: inherit;
	text-decoration: none;
}
.tags a:hover {
	text-decoration: underline;
}
.further-reading {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 1px solid #ddd;
}
.further-reading h3 {
	margin-bottom: 0.5em;
	font-size: 1.2em;
}
.further-reading ul {
	list-style: none;
	padding-left: 0;
}
.further-reading li {
	margin: 0.5em 0;
}
.further-reading li:before {
	content: "> ";
	margin-right: 0.5em;
}
.postListImg {
	float: right;
	height: 3em;
}

/* About Page - Passion Styles */
.passion {
	display: inline-block;
	box-sizing: border-box;
	width: calc(50% - 40px);
	padding: 20px;
	margin: 20px 0;
	box-shadow: 0 0 8px black;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
	transition: all .5s;
	transform: rotateZ(-10deg);
	background-color: white;
	float: left;
}
.passion ~ .passion {
	transform: rotateZ(10deg);
	float: right;
}
.passion:hover {
	transform: rotateZ(0deg);
}
.passion p {
	padding: 0;
	text-align: center;
	font-style: italic;
	margin-bottom: 0;
}
.passion-holder:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
}
@media screen and (orientation: portrait) and (max-width: 430px) {
	.passion {
		transform: rotateZ(0deg);
		float: none !important;
		margin: 10px auto;
		width: 100%;
	}
	.passion ~ .passion {
		transform: rotateZ(0deg);
	}
}

/* Documents Page Styles */
#documents p {
	font-style: italic;
	margin-top: 0;
}

/* SnapSwipe App Styles */
.icon {
	height: 100px;
	float: right;
	margin: -60px 0 0 40px;
	border-radius: 16px;
}
.ss {
	width: 19%;
}
.appstoreBtn {
	height: 60px;
}

/* Permanent Marker Font (for header accent) — loaded via <link> in template */
.marker {
	font-family: "Permanent Marker", cursive;
	font-size: 1.5em;
	color: #ffff43;
	color: red;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0);
	align-items: center;
	justify-content: center;
	color: #333;
	z-index: 999;
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
	transition: background-color .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s;
}
.modal.visible {
	background-color: rgba(0, 0, 0, .55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.modal-content {
	position: relative;
	padding: 36px 32px 32px;
	background: #ffffff;
	width: 420px;
	max-width: 94vw;
	box-sizing: border-box;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1);
	transform: translateY(24px) scale(.96);
	opacity: 0;
	transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.modal.visible .modal-content {
	transform: translateY(0) scale(1);
	opacity: 1;
}
.modal-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: #14da26;
	border-radius: 16px 16px 0 0;
}
.modal .modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 22px;
	color: #999;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	border-radius: 6px;
	transition: background .2s, color .2s;
	margin: 0;
	width: auto;
	display: inline;
}
.modal .modal-close:hover {
	background: rgba(0,0,0,.06);
	color: #333;
	transform: none;
}
.modal h3 {
	margin: 0 0 4px;
	font-size: 1.35em;
	color: #3c444c;
}
.modal .modal-sub {
	margin: 0 0 24px;
	font-size: .88em;
	color: #3c444c;
}
.modal input,
.modal textarea {
	width: 100%;
	outline: none;
	border: 1.5px solid #ccc;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 12px;
	background: #fff;
	color: #333;
	transition: border-color .2s, box-shadow .2s;
}
.modal input::placeholder,
.modal textarea::placeholder {
	color: #999;
}
.modal input:focus,
.modal textarea:focus {
	border-color: #14da26;
	box-shadow: 0 0 0 3px rgba(20, 218, 38, .12);
}
.modal textarea {
	resize: vertical;
	min-height: 100px;
}
.modal button[type="submit"] {
	width: 100%;
	font-size: 16px;
	font-weight: 700;
	appearance: none;
	background: #14da26;
	color: #fff;
	border-radius: 10px;
	border: none;
	padding: 14px 20px;
	margin: 4px 0 0;
	cursor: pointer;
	transition: transform .15s, box-shadow .2s, opacity .2s;
	letter-spacing: .3px;
	color: #3c444c;
	text-shadow: 0 -2px 6px white;
}
.modal button[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(20, 218, 38, .3);
}
.modal button[type="submit"]:active {
	transform: translateY(0);
}
#resultMessage:not(:empty) {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: .9em;
	text-align: center;
}
@media (max-width: 768px) {
	.modal-content {
		padding: 28px 20px 24px;
	}
}
