/*
	Name: Pink Touch
	Date: Februrary 2023
	Description: Css style inspired from Smashing Magazine CSS
	Version: 1.0
	License: MIT <https://opensource.org/licenses/MIT>
	Authors: Sarah Abderemane & Enrique Ramírez
*/

/* Imports */
@import url("reset.css");
@import url("dark-mode.css");
@import url("prism-synthwave84.css");
@import url("typogrify.css");
@import url("fonts.css");
@import url("icons.css");
@import url("init.css");

/***** Global *****/
/* Body */
body {
	/* background: #F5F4EF;
    color: #000305; */
	font-size: 100%;
	/* Base font size: 14px */
	font-family: 'Georgia', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	line-height: 1.429;
	margin: 0;
	padding: 0;
	text-align: left;
}

/* Headings */
h1 {
	font-size: 2em
}

h2 {
	font-size: 1.512em
}

/* 22px */
h3 {
	font-size: 1.429em
}

/* 20px */
h4 {
	font-size: 1.286em
}

/* 18px */
h5 {
	font-size: 1.143em
}

/* 16px */
h6 {
	font-size: 1em
}

/* 14px */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	line-height: 1.1;
	margin-bottom: .8em;
	font-family: 'Montserrat', arial, serif;
}

h3,
h4,
h5,
h6 {
	margin-top: .8em;
}

hr {
	border: 2px solid #EEEEEE;
}

/* Anchors */
a img {
	border: 0px;
	text-decoration: none;
}

/* a:link, a:visited {
	color: #C74350;
	padding: 0 1px;
	text-decoration: underline;
}
a:hover, a:active {
	background-color: #C74350;
	color: #fff;
	text-decoration: none;
	text-shadow: 1px 1px 1px #333;
} */

h1 a:hover {
	background-color: inherit
}

/* Paragraphs */
div.line-block,
p {
	margin-top: 1em;
	margin-bottom: 1em;
}

strong,
b {
	font-weight: bold;
}

em,
i {
	font-style: italic;
}

/* Lists */
ul {
	list-style: outside disc;
	margin: 0em 0 0 1.5em;
}

ol {
	list-style: outside decimal;
	margin: 0em 0 0 1.5em;
}

li {
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.post-info {
	margin: 10px;
	padding: 5px;
}

.post-info p {
	margin-top: 1px;
	margin-bottom: 1px;
}

.underline {
	text-decoration: underline;
	text-decoration-thickness: 0.8px;
    text-underline-offset: 6px;
}

.pink {
	color: var(--textPurple);
}

.readmore {
	float: right
}

dl {
	margin: 0 0 1.5em 0;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 1.5em;
}

pre {
	position: relative;
	padding: 10px;
	margin: 10px;
	overflow: auto;
	scrollbar-color: var(--textNormal) var(--bg);
    border: 1px solid var(--textNormal);
}

.copy-button {
	position: absolute;
    padding: 0.5em 2.5em 0.5em 1em;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    color: white;
}
.copy-button:hover {
	color: var(--textPurple);
}

.copy-icon {
	position: absolute;
	margin-left: 0.7em;
	width: 0.6em; 
	height: 0.6em;
	border: 1px solid;
	box-shadow: -3px 3px var(--hr);
}
.copy-button:hover .copy-icon {
    background: var(--cursor);
	box-shadow: -4px 4px var(--cursor);
	cursor: pointer;
}

.copy-button:focus .copy-icon,
.copy-button:active .copy-icon {
    background: var(--textPurple);
	box-shadow: -4px 4px var(--textPurple);
	cursor: pointer;
}

a[href="#Skip"]:active, a[href="#Skip"]:focus, a[href="#Skip"]:hover {
    display: block;
    top: 0;
    left: 0;
}

a[href="#Skip"] {
    position: absolute;
    left: -1000px;
    z-index: 2;
    display: block;
    background: var(--bg);
    margin: 0;
    padding: .5em 1em;
    font-weight: bold;
}

/* Quotes */
blockquote {
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	padding-bottom: 0.8rem;
	padding-left: 1.4rem;
	padding-right: 0.8rem;
	padding-top: 0.8rem;
	margin-bottom: 1.6rem;
	font-size: 1.1rem;
	line-height: 1.6rem;
	background: hsla(0, 0%, 0%, 0.03);
	color: hsla(0, 0%, 0%, 0.69);
	border-left: 0.2rem solid hsla(0, 0%, 0%, 0.2);
}

blockquote footer {
	margin: 0;
}

cite {}

q {}

div.note {
	float: right;
	margin: 5px;
	font-size: 85%;
	max-width: 300px;
}

/* Tables */
table {
	margin: .5em auto 1.5em auto;
	width: 98%;
}

/* Thead */
thead th {
	padding: .5em .4em;
	text-align: left;
}

thead td {}

/* Tbody */
tbody td {
	padding: .5em .4em;
}

tbody th {}

tbody .alt td {}

tbody .alt th {}

/* Tfoot */
tfoot th {}

tfoot td {}

.logo-link {
	display: inline-block;
	box-shadow: none;
	width: 100%;
	min-width: 130px;
	max-width: 130px;
	height: 83px;
	padding-top: 0.5rem;
}

.logo-link:focus-visible {
	outline-offset: -5px;
}

nav {
	display: flex;
	align-items: flex-end;
	padding-bottom: 0.5rem;
}

/**** Checkboxes *****/
.form-control {
	line-height: 1.4;
	display: grid;
	grid-template-columns: 1.5em auto;
	gap: 0.5em;
}

input[type=checkbox] {
	-webkit-appearance: none;
	appearance: none;
	background: #fff;
	/* this is needed for iOS. Otherwise the background just becomes black. */
	border: 1px solid #333;
	height: 1.5em;
	width: 1.5em;
	display: inline-block;
	border-radius: 100%;
	vertical-align: text-bottom;
	position: relative;

	&[disabled],
	&[aria-disabled=true] {
		opacity: .4;
	}

	&::before {
		content: '';
		position: absolute;
		margin: auto;
		left: 0;
		right: 0;
		bottom: 0;
		overflow: hidden;
		top: 0;
	}

	&:focus {
		outline: 2px solid;
		outline-offset: 2px;
	}
}

input[type=checkbox] {
	border-radius: 10%;
}


input[type=checkbox]:indeterminate::before,
input[type=checkbox][aria-checked=mixed]::before {
	border: 2px solid #222;
	height: 0;
	width: 40%;
}

input[type=checkbox]:checked::before {
	border-right: 3px solid #000;
	border-bottom: 3px solid #000;
	height: 50%;
	width: 30%;
	transform: rotate(45deg) translateY(-20%) translateX(-10%);
}


/***** Layout *****/
/* .body {clear: both; margin: 0 auto; max-width: 800px;} */
img {
	max-width: 100%;
}

img.right,
figure.right,
div.figure.align-right {
	float: right;
	margin: 0 0 2em 2em;
}

img.left,
figure.left,
div.figure.align-left {
	float: left;
	margin: 0 2em 2em 0;
}

/* .rst support */
div.figure img,
figure img {
	/* to fill figure exactly */
	max-width: 100%;
}

div.figure p.caption,
figure p.caption {
	/* margin provided by figure */
	margin-top: 0;
	margin-bottom: 0;
	font-style: italic;
}

div.figure {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-content {
	display: flex;
	justify-content: space-around;
}

.footer-content a {
	text-decoration: none;
	outline-offset: initial;
}

.switcher {
	padding-bottom: 6px;
}

.paginator {
	display: flex;
	align-items: center;
	justify-content: center;
}

.paginator a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	padding: 0 5px;
}

.related {
	margin-top: 4rem;
}

.copyright {
	font-size: 0.8rem;
	margin-top: 0;
	color: var(--hr);
}

html .copyright a {
	color: var(--textNormal);
	text-decoration: underline;
}


/*
Blog
*****************/

.blog h1 {
	font-size: 2em;
	text-transform: capitalize;
}

.blog ol {
	list-style: none;
}

.blog li {
	margin: 0;
}

.tags-group {
	display: flex;
	flex-wrap: wrap;
	min-width: 0;
	margin: 0em 0 0 1.2em;
	overflow-wrap: anywhere;
}

.tags-group a {
	box-shadow: none;
	text-decoration: none;
	vertical-align: baseline;
}

.tags-group a:focus-visible {
	outline-offset: 0.1rem;
}

.tag sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
}

/*
About
*****************/
.about p {
	font-size: 110%;
}

.about .section {
	margin-top: 2.5rem;
}

/*
Featured
*****************/
#featured {
	background: #fff;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px;
	max-width: 760px;

	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#featured figure {
	border: 2px solid #eee;
	float: right;
	margin: 0.786em 2em 0 5em;
	max-width: 248px;
}

#featured figure img {
	display: block;
	float: right;
}

#featured h2 {
	color: #C74451;
	font-size: 1.714em;
	margin-bottom: 0.333em;
}

#featured h3 {
	font-size: 1.429em;
	margin-bottom: .5em;
}

#featured h3 a:link,
#featured h3 a:visited {
	color: #000305;
	text-decoration: none;
}

#featured h3 a:hover,
#featured h3 a:active {
	color: #fff;
}

/*
Body
*****************/
#content {
	/* background: #fff; */
	margin-bottom: 2em;
	overflow: hidden;
	/* padding: 20px 20px; */
	/* max-width: 760px; */

	/* border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px; */
}

/*
Extras
*****************/
#extras {
	margin: 0 auto 3em auto;
	overflow: hidden;
}

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

#extras li {
	border-bottom: 1px solid #fff;
}

#extras h2 {
	color: #C74350;
	font-size: 1.429em;
	margin-bottom: .25em;
	padding: 0 3px;
}

#extras a:link,
#extras a:visited {
	color: #444;
	display: block;
	border-bottom: 1px solid #F4E3E3;
	text-decoration: none;
	padding: .3em .25em;
}

#extras a:hover,
#extras a:active {
	color: #fff;
}

/* Blogroll */
#extras .blogroll {
	float: left;
	max-width: 615px;
}

#extras .blogroll li {
	float: left;
	margin: 0 20px 0 0;
	max-width: 185px;
}

/* Social */
#extras .social {
	float: right;
	max-width: 175px;
}

#extras div[class='social'] a {
	background-repeat: no-repeat;
	background-position: 3px 6px;
	padding-left: 25px;
}

/* Icons */
.social a[href*='about.me'] {
	background-image: url('../images/icons/aboutme.png');
}

.social a[href*='bitbucket.org'] {
	background-image: url('../images/icons/bitbucket.png');
}

.social a[href*='delicious.com'] {
	background-image: url('../images/icons/delicious.png');
}

.social a[href*='facebook.com'] {
	background-image: url('../images/icons/facebook.png');
}

.social a[href*='gitorious.org'] {
	background-image: url('../images/icons/gitorious.png');
}

.social a[href*='github.com'],
.social a[href*='git.io'] {
	background-image: url('../images/icons/github.png');
	background-size: 16px 16px;
}

.social a[href*='gittip.com'] {
	background-image: url('../images/icons/gittip.png');
}

.social a[href*='plus.google.com'] {
	background-image: url('../images/icons/google-plus.png');
}

.social a[href*='groups.google.com'] {
	background-image: url('../images/icons/google-groups.png');
}

.social a[href*='news.ycombinator.com'],
.social a[href*='hackernewsers.com'] {
	background-image: url('../images/icons/hackernews.png');
}

.social a[href*='last.fm'],
.social a[href*='lastfm.'] {
	background-image: url('../images/icons/lastfm.png');
}

.social a[href*='linkedin.com'] {
	background-image: url('../images/icons/linkedin.png');
}

.social a[href*='reddit.com'] {
	background-image: url('../images/icons/reddit.png');
}

.social a[type$='atom+xml'],
.social a[type$='rss+xml'] {
	background-image: url('../images/icons/rss.png');
}

.social a[href*='slideshare.net'] {
	background-image: url('../images/icons/slideshare.png');
}

.social a[href*='speakerdeck.com'] {
	background-image: url('../images/icons/speakerdeck.png');
}

.social a[href*='stackoverflow.com'] {
	background-image: url('../images/icons/stackoverflow.png');
}

.social a[href*='twitter.com'] {
	background-image: url('../images/icons/twitter.png');
}

.social a[href*='vimeo.com'] {
	background-image: url('../images/icons/vimeo.png');
}

.social a[href*='youtube.com'] {
	background-image: url('../images/icons/youtube.png');
}

/*
About
*****************/
#about {
	background: #fff;
	font-style: normal;
	margin-bottom: 2em;
	overflow: hidden;
	padding: 20px;
	text-align: left;
	max-width: 760px;

	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#about .primary {
	float: left;
	max-width: 165px;
}

#about .primary strong {
	color: #C64350;
	display: block;
	font-size: 1.286em;
}

#about .photo {
	float: left;
	margin: 5px 20px;
}

#about .url:link,
#about .url:visited {
	text-decoration: none;
}

#about .bio {
	float: right;
	max-width: 500px;
}

/*
Footer
*****************/
#contentinfo {
	padding-bottom: 2em;
	text-align: right;
}

/***** Sections *****/
/* Blog */
.hentry {
	/* display: block;
clear: both; */
	/* border-top: 1px solid #eee; */
	padding: 1.5em 0;
}

li:first-child .hentry,
#content>.hentry {
	border: 0;
	margin: 0;
}

#content>.hentry {
	padding: 1em 0;
}

.hentry img {
	display: none;
}

.entry-title {
	margin-bottom: 10px;
	margin-top: 0;
	color: var(--textPurple);
}

.entry-title a {
	text-decoration: none;
}

.published {
	display: flex;
	align-items: center;
	font-family: Montserrat, sans-serif;
	font-size: normal;
	letter-spacing: 2px;
	color: var(--hr);
}

.published .icon-clock {
	padding: 0 0.4rem;
}

/* .entry-title a:link, .entry-title a:visited {text-decoration: none; color: #333;} */
/* .entry-title a:visited {background-color: #fff;} */

.entry-content {
	font-size: 110%;
}

.hentry .post-info * {
	font-style: normal;
	color: #333;
}

/* Content */
.blog-article .entry-title {
	font-size: 2.2em;
	color: var(--textTitle);
}

.blog-article .entry-title a {
	text-decoration: none;
}

.blog-article .section {
	padding-top: 3em;
}

.blog-article .tags a {
	font-size: large;
	text-decoration: none;
}

.blog-article p,
.blog-article div.line-block {
	font-size: 110%;
	line-height: 1.6;
	text-wrap: pretty;
    overflow-wrap: break-word;
}

/* Blog Index */
#posts-list {
	list-style: none;
	margin: 0;
}

#posts-list .hentry {
	padding-left: 10px;
	position: relative;
}

#posts-list footer {
	left: 10px;
	position: relative;
	float: left;
	top: 0.5em;
	max-width: 190px;
}

/* About the Author */
#about-author {
	background: #f9f9f9;
	clear: both;
	font-style: normal;
	margin: 2em 0;
	padding: 10px 20px 15px 20px;

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#about-author strong {
	color: #C64350;
	clear: both;
	display: block;
	font-size: 1.429em;
}

#about-author .photo {
	border: 1px solid #ddd;
	float: left;
	margin: 5px 1em 0 0;
}

/* Comments */
#comments-list {
	list-style: none;
	margin: 0 1em;
}

#comments-list blockquote {
	background: #f8f8f8;
	clear: both;
	font-style: normal;
	margin: 0;
	padding: 15px 20px;

	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#comments-list footer {
	color: #888;
	padding: .5em 1em 0 0;
	text-align: right;
}

#comments-list li:nth-child(2n) blockquote {
	background: #F5f5f5;
}

/* Add a Comment */
#add-comment label {
	clear: left;
	float: left;
	text-align: left;
	max-width: 150px;
}

#add-comment input[type='text'],
#add-comment input[type='email'],
#add-comment input[type='url'] {
	float: left;
	max-width: 200px;
}

#add-comment textarea {
	float: left;
	height: 150px;
	max-width: 495px;
}

#add-comment p.req {
	clear: both;
	margin: 0 .5em 1em 0;
	text-align: right;
}

#add-comment input[type='submit'] {
	float: right;
	margin: 0 .5em;
}

#add-comment * {
	margin-bottom: .5em;
}