
/*
Design by Free CSS Templates — Sun Flower template
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin: 0;
	padding: 0;
	background: #000000 url(../assets/img01.jpg) repeat-y top center;
	font-size: 13px;
	color: #8C8C8C;
}

body, th, td, input, textarea, select, option {
	font-family: "Noto Sans", "Trebuchet MS", "Times New Roman", Arial, Times, serif;
}

h1, h2, h3 {
	font-weight: normal;
	color: #ffffff;
}

h1 {
	letter-spacing: -2px;
	font-size: 3em;
}

h2 {
	letter-spacing: -1px;
	font-size: 2em;
}

h3 {
	font-size: 1em;
}

p, ul, ol {
	line-height: 200%;
}

blockquote {
	padding-left: 1em;
}

blockquote p, blockquote ul, blockquote ol {
	line-height: normal;
	font-style: italic;
}

a {
	color: #c8ff59;
}

a:hover {
	text-decoration: none;
	color: #c8ff59;
}

/* Header */

#header {
	width: 760px;
	height: 348px;
	margin: 0 auto;
	background: url(../assets/img03.jpg) no-repeat right top;
}

#header h1, #header p {
	margin: 0;
	color: #ffffff;
}

#header h1 {
	padding: 100px 0 0 50px;
}

#header p {
	padding-left: 53px;
	margin-top: -10px;
}

#header a {
	color: #c8ff59;
	border-bottom: none;
}

/* Page */

#page {
	width: 760px;
	margin: 0 auto;
}

/* Content */

#content {
	float: left;
	width: 470px;
	margin: 0;
	margin-top: -90px;
}

.post {
	padding: 0 0 20px 0;
}

.title {
	margin: 0;
	padding-bottom: 5px;
	border-bottom: 2px dashed #333333;
}

.byline {
	margin: 0;
	color: #646464;
}

.meta {
	text-align: right;
	color: #646464;
	padding: 5px 10px;
	border: 1px dashed #333333;
}

.meta .more {
	padding-left: 20px;
	background: url(../assets/img05.gif) no-repeat left center;
}

.meta .comments {
	padding-left: 20px;
	background: url(../assets/img06.gif) no-repeat left center;
}

.entry p,
.entry .pM {
	margin-bottom: 1em;
	text-align: left;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 230px;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li ul {
	padding: 15px 15px;
}

#sidebar li li {
	border-bottom: 1px dotted #000000;
	background: url(../assets/img02.gif) no-repeat 5px 50%;
	padding-left: 15px;
}

#sidebar h2 {
	margin: 0;
	padding: 20px 0 0 0;
	border-bottom: 2px solid #0F0F0F;
}

#sidebar a {
	text-decoration: none;
}

/* Footer */

#footer {
	clear: both;
	width: 760px;
	margin: 0 auto;
	padding: 30px 0;
	text-align: left;
	font-size: smaller;
}

#footer a {
	color: #9BDB18;
}

/* —— Site-specific —— */

ruby {
	ruby-position: over;
}

rt {
	font-size: 0.55em;
	font-weight: 400;
	letter-spacing: 0;
	color: #9BDB18;
	-webkit-text-fill-color: #9BDB18;
	background: none;
}

.gradient1 rt,
.gradient2 rt {
	color: #c8ff59;
	-webkit-text-fill-color: #c8ff59;
}

.gradient1,
.gradient2,
.rainbow {
	font-family: "Noto Sans", sans-serif;
	color: #E6B715;
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-repeat: no-repeat;
}

.gradient1 {
	background-image: linear-gradient(to bottom, #802ECD 0%, #922F97 51%, #EA21D3 72%);
}

.gradient2 {
	background-image: linear-gradient(to right, #E70F69 1%, #00E1FF 83%, #80FFFD 100%);
}

#header h1 .gradient2,
#header p .rainbow,
#header p .gradient1 {
	color: inherit;
}

.gradient1:not([style]) { color: #922F97; }
.gradient2:not([style]) { color: #E70F69; }
.rainbow:not([style]) { color: #ff9fb7; }

.rainbow {
	display: inline-block;
	background-image: linear-gradient(90deg, #ff9fb7, #ffd07a, #fff57a, #9df5b5, #9fdfff, #cdb3ff, #ffc7ee);
	background-size: 300% 100%;
	animation: rainbow-anim 6s linear infinite;
}

@keyframes rainbow-anim {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
	.rainbow {
		animation: none;
		background-position: 50% 50% !important;
	}
}

.projects-scroll {
	max-height: 220px;
	overflow-y: auto;
	padding-right: 6px;
	-webkit-overflow-scrolling: touch;
}

.projects-scroll:focus {
	outline: 3px solid #9BDB18;
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.projects-scroll {
		max-height: none;
		overflow: visible;
		padding-right: 0;
	}
}

.copy-btn {
	margin-left: 8px;
	padding: 4px 8px;
	font-size: 90%;
	background: #9BDB18;
	color: #000;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.copy-btn:hover {
	background: #E6B715;
}

.code-text {
	font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
	background: rgba(255, 255, 255, 0.06);
	padding: 2px 4px;
	border-radius: 3px;
}

.visually-hidden {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

a:focus,
button:focus,
input:focus,
textarea:focus {
	outline: 3px solid #9BDB18;
	outline-offset: 2px;
}
