/* Defaults */
:root {
	--font-family: -apple-system, system-ui, sans-serif;
	--font-family-monospace: SF Mono, SF Mono Regular, Consolas,;
}




/* Global stylesheet */
* {
	box-sizing: border-box;
}

@view-transition {
	navigation: auto;
}

html,
body {
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

	padding: 0;
	margin: 0 auto;
	
	
	/* background-color: rgba(255, 255, 255, 0.218); */
	
	
}
html {

	
	height: 100vh;
	overflow: hidden;
	background-color: rgb(79, 157, 180);
	background-image: url("https://github.com/shasunal/images/blob/main/flowergrow.gif?raw=true");
	background-repeat: repeat;
	background-size: 60px 60px;

	
}
body {
	max-width: 100em;
}

.name{
	align-items: center;
	justify-content: center;
	width: 100%;
	height:300px;
	background-image: url("https://github.com/shasunal/images/blob/main/namelogo2.png?raw=true");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	/* border: 2px solid red; */
	

}

/* https://www.a11yproject.com/posts/how-to-hide-content/ */
.visually-hidden:not(:focus):not(:active) {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Fluid images via https://www.zachleat.com/web/fluid-images/ */
img{
  max-width: 100%;
}
img[width][height] {
  height: auto;
}
img[src$=".svg"] {
  width: 100%;
  height: auto;
  max-width: none;
}
video,
iframe {
	width: 100%;
	height: auto;
}
iframe {
	aspect-ratio: 16/9;
}

p:last-child {
	margin-bottom: 0;
}
p {
	line-height: 1.5;
}

li {
	line-height: 1.5;
}



main,
footer {
	padding: 0.5rem;
		background: rgb(255, 255, 255,0.4);
		box-shadow: 2px -1px 18px 2px rgba(0,0,0,0.64);
	
}
main :first-child {
	margin-top: 0;
}


#skip-link {
	text-decoration: none;
	background: var(--background-color);
	color: var(--text-color);
	padding: 0.5rem 1rem;
	border: 1px solid var(--color-gray-90);
	border-radius: 2px;
}

/* Prevent visually-hidden skip link fom pushing content around when focused */
#skip-link.visually-hidden:focus {
	position: absolute;
	top: 1rem;
	left: 1rem;
	/* Ensure it is positioned on top of everything else when it is shown */
	z-index: 999;
}

.links-nextprev {
	display: flex;
	justify-content: space-between;
	gap: .5em 1em;
	list-style: "";
	border-top: 1px dashed var(--color-gray-20);
	padding: 1em 0;
}
.links-nextprev > * {
	flex-grow: 1;
}
.links-nextprev-next {
	text-align: right;
}

table {
	margin: 1em 0;
}
table td,
table th {
	padding-right: 1em;
}

pre,
code {
	font-family: var(--font-family-monospace);
}
pre:not([class*="language-"]) {
	margin: .5em 0;
	line-height: 1.375; /* 22px /16 */
	-moz-tab-size: var(--syntax-tab-size);
	-o-tab-size: var(--syntax-tab-size);
	tab-size: var(--syntax-tab-size);
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	overflow-x: auto;
}
code {
	word-break: break-all;
}

/* Header */
header {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	padding: 1em;

}
.home-link {
	flex-grow: 1;
	font-size: 1em; /* 16px /16 */
	font-weight: 700;
}
.home-link:link:not(:hover) {
	text-decoration: none;
}

/* Nav */
.nav {
	display: flex;
	gap: .5em 1em;
	padding: 0;
	margin: 0;
	list-style: none;
}
.nav-item {
	display: inline-block;
}
.nav-item a[href]:not(:hover) {
	text-decoration: none;
}
.nav a[href][aria-current="page"] {
	text-decoration: underline;
}

/* Posts list */
.postlist {
	counter-reset: start-from var(--postlist-index);
	list-style: none;
	padding: 0;
	padding: 1.5rem;
	/* border: #72ff20 solid 2px; */
	background: rgb(255, 255, 255,0.4);
}
.postlist-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	counter-increment: start-from -1;
	margin-bottom: 1em;
	

	/* border: #6969f7 solid 2px; */
}
.postlist-item:before {
	display: inline-block;
	pointer-events: none;
	content: "" counter(start-from, decimal-leading-zero) ". ";
	line-height: 100%;
	text-align: right;
	margin-left: -1.2rem;
	
	
}

.postlist-date,
.postlist-item:before {
	font-size: 0.8125em; /* 13px /16 */
	color: var(--color-gray-90);
	
}
.postlist-date {
	word-spacing: -0.5px;
	width: 100%;
	
}
.postlist-link {
	font-size: 1.1875em; /* 19px /16 */
	font-weight: 700;
	flex-basis: calc(100% - 1.5rem);
	padding-left: .25em;
	padding-right: .5em;
	text-decoration: none;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

	color: black !important;
}
.postlist-item-active .postlist-link {
	font-weight: bold;



}

.postlist-content{
	border-radius: 10px;
	background-color: rgb(227, 89, 139);
	padding: 10px;
	color: white;
	width: 100%;
	margin-bottom: 2rem;
	
}

/* Tags */
.post-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-transform: capitalize;
	font-style: italic;
}
.postlist-item > .post-tag {
	align-self: center;
}

/* Tags list */
.post-metadata {
	display: inline-flex;
	flex-wrap: wrap;
	gap: .5em;
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-metadata time {
	margin-right: 1em;
}

.bio-container{
	
	display: flex;;
	align-items: flex-start;
	margin: 0rem 0rem 0rem 2rem ;
		/* background: rgb(255, 255, 255,0.4); */
}
.images-section{
	display: flex;
	flex-wrap: wrap;

}

.about-me{
	color: white;
	
	flex: 0 0 70%;

}

.social-links{
	text-align: right;
	flex: 0 0 30%;
	list-style: none;
	padding: 0;
	margin: 0;

}


.social-links ul li{
	list-style: none;
	text-decoration: none;
	
}

.social-links a{
	color: white;
	text-decoration: none;
	
}

a:visited {
  color: #ffffff;
}
a:hover{
	color:#ffedf6;
}
.section-wrapper{
		margin-left: 7rem;
		margin-right: 5rem;
justify-content: center;
align-items: center;
	max-width: 100%;
	
	
	background: rgb(255, 255, 255,0.4);
	box-shadow: 2px -1px 18px 2px rgba(0,0,0,0.64);
}

.images-section{
	align-items: center;
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
	padding:0.5rem;
	margin: 0.6rem;
	background: rgb(255, 255, 255,0.4);

}

.section1{
	
	background-image: url("https://github.com/shasunal/images/blob/main/catfrog.jpg?raw=true");
	background-repeat: no-repeat;
	background-size: contain;
	width: 100px;
	
	height: 200px;
	flex: 0 0 40%! important;
	
	background-position: center;
}

.section2{
	
	background-image: url("https://github.com/shasunal/images/blob/main/cattoad.jpg?raw=true");
	background-repeat: no-repeat;
	background-size:contain;
	width: 100px;
	margin-left: 2rem;
	height: 200px;
	flex: 0 0 40%! important;
	
	background-position: center;
}

.pet-names{
	text-align: center;
	font-size: 1.5rem;
	font-weight: bold;
	color: white;
	flex-basis: 100%;
	font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	margin-left: 2rem;
	
}
.whole-container{
	/* border:rgb(227, 89, 139) solid 2px; */
	display: flex;
	align-items: flex-start;
	height: 100vh;
	min-height: 0;
}

.left-container{
	/* border:blue solid 2px; */
	flex: 2 1 320px;
	height: 100%;
	min-height: 0;
	align-items: center;
	justify-content: center;
	
}

.right-container{
	/* border:greenyellow solid 2px;	 */
	flex: 3 1 480px;
	padding: 3rem;
	height: 100%;
	overflow-y:auto ;
	min-height: 0;
	padding: clamp(1rem, 3vw, 3rem);
}



.latest-title{
	background-image: url("https://github.com/shasunal/images/blob/main/post3.png?raw=true");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	align-items: center;
	justify-content: center;
	width: 100%;
	height:80px;
}

.portfolio-link{
	color: white;
}


.portfolio-wrapper{
	border: red 2px solid;
}
/*
 * New diff- syntax
 */

pre[class*="language-diff-"] {
	--eleventy-code-padding: 1.25em;
	padding-left: var(--eleventy-code-padding);
	padding-right: var(--eleventy-code-padding);
}
.token.deleted {
	background-color: hsl(0, 51%, 37%);
	color: inherit;
}
.token.inserted {
	background-color: hsl(126, 31%, 39%);
	color: inherit;
}

/* Make the + and - characters unselectable for copy/paste */
.token.prefix.unchanged,
.token.prefix.inserted,
.token.prefix.deleted {
	-webkit-user-select: none;
	user-select: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-top: 2px;
	padding-bottom: 2px;
}
.token.prefix.inserted,
.token.prefix.deleted {
	width: var(--eleventy-code-padding);
	background-color: rgba(0,0,0,.2);
}

/* Optional: full-width background color */
.token.inserted:not(.prefix),
.token.deleted:not(.prefix) {
	display: block;
	margin-left: calc(-1 * var(--eleventy-code-padding));
	margin-right: calc(-1 * var(--eleventy-code-padding));
	text-decoration: none; /* override del, ins, mark defaults */
	color: inherit; /* override del, ins, mark defaults */
}