/* Global styles */
body {
/* 	font-family: 'Overpass', sans-serif; */
	font-family: 'Overpass Mono', monospace;
	background-color: #f9f9f9;
	color: #2f3640;
/* 	letter-spacing: -2px; */
	letter-spacing: -1px;
}

::selection {
    background: #e8e7ff;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-family: 'Overpass', sans-serif;
	font-weight: 700;
	letter-spacing: 0px
}

h1 code,
.h1 code,
h2 code,
.h2 code,
h3 code,
.h3 code,
h4 code,
.h4 code,
h5 code,
.h5 code,
h6 code,
.h6 code {
	font-weight: 700;
}

p {
	font-weight: 300;
	line-height: 1.8;
	margin-bottom: 20px;
}

b,
strong {
    font-weight: 700;
}

code {
	font-family: 'Overpass Mono', monospace;
	background-color: #f9f9f9;
	color: #6c5ce7;
    padding: 5px 10px;
    border-radius: 5px;
    line-height: 24px;
	font-weight: 300;
	letter-spacing: 0;
}

pre code {
	padding: initial;
}

hr { 
	margin-top: 50px;
	margin-bottom: 50px;
	width: 60%;
}

.card { 
	border-radius: 5px;
	border: 1px solid rgba(0,0,0, 0.075) !important;
}

.card-title {
	font-family: 'Overpass', sans-serif;
	letter-spacing: 0px
}

.card-title a {
	font-weight: 700 !important;
}

.card--article .card-subtitle a:hover,
.card--single .card-subtitle a:hover {
	color: #b2bec3 !important;
	text-decoration: none;
}

article .size-full {
	width: 100%;
	border-radius: 5px;
	box-shadow: 0 1px 16px 0 rgba(0,0,0,.2), 0 2px 8px 0 rgba(0,0,0,.14), 0 4px 8px -1px rgba(0,0,0,.12);
}

article blockquote {
    background: #e8e7ff;
    border-radius: 10px;
    margin: 20px 0;
    padding: 30px;
}

article blockquote p {
    margin-bottom: 0;
}

article img {
	display: block;
    margin: 0 auto;
}

/* Colour scheme */
a {
	color: #6c5ce7;
	transition: color 0.15s ease;
}

a:hover {
	color: #a29bfe;
}

/* Navbar */
.navbar {
	background-color: #2f3640 !important;
}

.navbar-dark .navbar-brand {
	color: #f9f9f9;
	font-weight: 700;
}

.navbar .menu-item:first-child a { 
	color: rgba(255,255,255,.5);
	cursor: pointer;
}

.navbar .menu-item.active a {
	color: #a29bfe !important;
	font-weight: 700;
}

.navbar .navbar-nav .nav-link {
    font-weight: 300;
}

/* Button */
.btn-main {
    color: #fff;
    background-color: #6c5ce7;
    border-color: #a29bfe;
}

.btn-main:hover {
	color: #fff;
	background-color: #a29bfe;
	border-color: #a29bfe;
}

.btn:focus,
.btn-main:focus {
	box-shadow: none;
}

.btn-main--inverse {
    color: #6c5ce7;
    background-color: #fff;
    border-color: #a29bfe;
}

.btn-main--inverse:hover {
	color: #fff;
	background-color: #a29bfe;
	border-color: #a29bfe;
}

.btn:focus,
.btn-main--inverse:focus {
	box-shadow: none;
}

/* Index card (posts) */
#index-wrapper article.type-post {
	border-radius: 5px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
}

#index-wrapper article.type-post:hover {
	/* 	box-shadow: 0 5px 15px rgba(0,0,0,0.3); */
	box-shadow: 0 16px 32px 0 rgba(10,16,34,.2), 0 0 0 transparent;
	transform: translateY(-3px) translateZ(0);
}

.card--article {
	padding: 5px;
	margin-bottom: 20px;
	min-height: 325px;
/* 	min-height: 310px; */
}

.card--article .card-title {
	margin-bottom: 15px;
	max-height: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-weight: 700;
}

.card--article .card-title a {
    color: #2f3640;
	transition: color 0.15s ease;
}

.card--article .card-title a:hover {
    color: #b2bec3;
}

.card--article .card-text {
	min-height: 125px;
}

/* Post card (single) */
.card--single {
	padding: 10px;
}

.card--single .card-title {
	margin-bottom: 15px;
}

.card--single .card-subtitle  {
	margin: 10px 0;
	padding: 5px 0;
	letter-spacing: 1px;
}

.card--single ul li,
.card--single ol li {
	font-size: 18px;
	font-weight: 300;
	line-height: 1.8;
}

.card--single p {
	font-size: 18px;
}

.card--single h2,
.card--single .h2,
.card--single h3,
.card--single .h3,
.card--single h4,
.card--single .h4,
.card--single h5,
.card--single .h5,
.card--single h6,
.card--single .h6 {
	margin: 20px 0;
}

.card--single .card-title a {
    color: #2f3640;
	transition: color 0.15s ease;
}

.card--single .card-title a:hover {
    color: #b2bec3;
}

.card--single .entry-content  {
}

#single-wrapper .post-navigation {
	padding: 30px;
}

#single-wrapper .post-navigation .nav-links {
	flex-wrap: nowrap !important;
}

#single-wrapper .post-navigation a {
	color: #636e72;
	font-weight: 300;
}

#single-wrapper .post-navigation a:hover {
	color: #b2bec3 !important;
	text-decoration: none;
}

/* Page card (single) */
.card--page {
	padding: 10px;
}

.card--page h1 {
	margin-bottom: 20px;
}

.card--page .card-title {
	margin-bottom: 15px;
}

.card--page ul li,
.card--page ol li{
	font-size: 18px;
	font-weight: 300;
	line-height: 1.8;
}

.card--page p {
	font-size: 18px;
}

.card--page h2,
.card--page .h2,
.card--page h3,
.card--page .h3,
.card--page h4,
.card--page .h4,
.card--page h5,
.card--page .h5,
.card--page h6,
.card--page .h6 {
	margin: 20px 0;
}

/* Hero static */
#wrapper-static-hero {
	
}

/* Author box */
.author_bio_section {
	background: #f9f9f9;
    border-radius: 10px;
    margin: 50px 0 0;
    padding: 30px;
}

.author_bio_section .author_name {
	margin: 0 0 20px;
}

.author_bio_section  .author_details img {
	border-radius: 100%;
	margin-bottom: 20px;
}

.author_links a {
	font-weight: 700;
}

/* Single post footer */
.site-info {
    text-align: center;
    font-weight: 300;
    font-size: 14px;
    color: #636e72;
}

.site-info span {
	font-family: 'Overpass Mono', monospace;
}

/* Pagination */
.pagination { 
	border-radius: 5px;
	justify-content: center;
    align-items: center;
    align-content: center;
	margin: 30px 0 20px;
}

.page-item.active .page-link {
	background-color: #6c5ce7;
	border-color: #a29bfe;
}

.page-link {
	color: #6c5ce7;
	border-color: #a29bfe;
	font-weight: 300;
	border: 1px solid rgba(0,0,0,.125);
}

.page-link:hover {
    color: #fff;
    text-decoration: none;
    background-color: #a29bfe;
    border-color: #a29bfe;
}

.page-link:hover a {
    color: #fff;
}

.page-link a {
    color: #6c5ce7;
    text-decoration: none;
}

.page-link a:hover {
	color: #fff;
}

.page-link:focus {
	box-shadow: none;
}

/* Page footer */
#wrapper-footer-full {
	background-color: #f9f9f9;
	padding: 20px 0;
}

#footer-full-content {
	width: 100% !important;
	max-width: 100% !important;
}

#wrapper-footer-full #custom_html-3 {
	/* Mailchimp widget */
	color: #fff;
    padding: 50px 0;
    text-align: center;
    justify-content: center;
    display: flex;
    background: rgb(108,92,231);
    background: linear-gradient(90deg, rgba(108,92,231,1) 25%, rgba(162,155,254,1) 84%);
}

#wrapper-footer-full #custom_html-3 h3 {
	text-align: center;
	margin-bottom: 20px;
}

#wrapper-footer-full #custom_html-3 label {
	margin-right: 15px;
}

#wrapper-footer-full #custom_html-3 .email {
	color: #6c5ce7;
	letter-spacing: -1px;
}

#wrapper-footer-full #custom_html-3 .form-group {
	margin-bottom: 20px;
	justify-content: center;
}

/* Utility classes */
.text--meta {
	font-weight: 300;
	font-size: 14px;
	color: #636e72;
}

.text--meta a {
	color: #636e72;
}

.text--justify {
	text-align: justify;
}

.image--circle {
	border-radius: 50%;
}

/* Overwrites for PrismaJS */
:not(pre) > code[class*="language-"], pre[class*="language-"] {
    background: #2f3640 !important;
    margin: 20px 0 !important;
    font-size: 16px !important;
	border-radius: 10px !important;
}

code[class*="language-"], pre[class*="language-"] {
	font-family: 'Overpass Mono', monospace !important;
}

.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted {
/* 	color: #6c5ce7 !important; */
}

/* Instagram (embeded photos) */
.instagram-media-rendered {
	max-width: 500px !important;
	margin: 0 auto !important;
    margin-bottom: 20px !important;
}

/* Overwrites for AddThis */
.at-below-post.addthis_tool {
	background: #f9f9f9;
    border-radius: 10px;
    margin: 50px 0 0;
    padding: 30px;
}

.at-below-post.addthis_tool:before {
	display: block;
	content: 'Like the post? Share it!';
	font-family: 'Overpass', sans-serif;
	font-weight: 700;
	letter-spacing: 0px;
	font-size: 1.75rem;
	margin: 0 0 20px;
	
}

.at-resp-share-element .at-share-btn .at-label {
    font-family: 'Overpass Mono', monospace !important;
    font-size: 14px !important;
}

/* Overwrites for Related Posts plugin */
.related-posts-wrapper {
	margin-top: 50px;
}

.related-posts-wrapper h3 {
	margin: 20px 0 0px;
}

.related-posts-wrapper #related_posts_thumbnails {
	font-family: 'Overpass', sans-serif;
	display: flex;
	flex-direction: row;
	letter-spacing: 0px
}

.related-posts-wrapper #related_posts_thumbnails li {
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,.125);
	flex-grow: 1;
    flex-basis: 0;
    padding: 20px;
    margin: 20px 10px;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease;
}

.related-posts-wrapper #related_posts_thumbnails li:hover {
/*     box-shadow: 0 5px 15px rgba(0,0,0,0.3); */
	box-shadow: 0 16px 32px 0 rgba(10,16,34,.2), 0 0 0 transparent;
	transform: translateY(-3px) translateZ(0);
}

.related-posts-wrapper #related_posts_thumbnails li a {
	font-weight: 700;
	font-size: 22px;
}

.related-posts-wrapper #related_posts_thumbnails li a:hover {
    color: #b2bec3;
}

.related-posts-wrapper .relpost-thumb-wrapper .relpost-post-image {
	display: none;
}

/* Overwrites for Contact Form (Jetpack) plugin */
.contact-form {
	max-width: 600px;
}

.contact-form label {
	font-family: 'Overpass', sans-serif;
	font-size: 22px;
	letter-spacing: 0px
}

.contact-form label span {
	color: #636e72 !important;
	font-weight: 300 !important;
	font-size: 14px !important;
	font-family: 'Overpass Mono', monospace !important;
}

.contact-form .pushbutton-wide {
	cursor: pointer;
	display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	color: #fff;
    background-color: #6c5ce7;
    border-color: #a29bfe;
}

.contact-form .pushbutton-wide:hover {
    background-color: #a29bfe;
    border-color: #a29bfe;
}

.form-control:focus, .wpcf7 .wpcf7-validation-errors:focus, .wpcf7 input[type=color]:focus, .wpcf7 input[type=date]:focus, .wpcf7 input[type=datetime-local]:focus, .wpcf7 input[type=datetime]:focus, .wpcf7 input[type=email]:focus, .wpcf7 input[type=file]:focus, .wpcf7 input[type=month]:focus, .wpcf7 input[type=number]:focus, .wpcf7 input[type=range]:focus, .wpcf7 input[type=search]:focus, .wpcf7 input[type=submit]:focus, .wpcf7 input[type=tel]:focus, .wpcf7 input[type=text]:focus, .wpcf7 input[type=time]:focus, .wpcf7 input[type=url]:focus, .wpcf7 input[type=week]:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	border-color: #6c5ce7;
    box-shadow: none;
}

/* Overwrites for Yoast SEO plugin */
#breadcrumbs {
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 1px;
	color: #636e72;
}

/* Overwrites for Achored Header plugin */
h1[id]:hover a.anchorlink:before,
h2[id]:hover a.anchorlink:before,
h3[id]:hover a.anchorlink:before,
h4[id]:hover a.anchorlink:before,
h5[id]:hover a.anchorlink:before,
h6[id]:hover a.anchorlink:before {
    color: #a29bfe;
    vertical-align: baseline;
    line-height: 32px;
    height: 32px;
    width: 24px;
}

a.anchorlink {
	margin-left: 10px;
}

/* Overwrites for Disqus */
#disqus_thread {
    margin: 20px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0, 0.075);
    border-radius: 5px;
    flex: 1 1 auto;
    padding: 1.25rem;
}

/* General mobile styles */
@media only screen and (max-width: 576px) {
	.container {
		padding-right: 0;
		padding-left: 0;
	}
	
	.row {
		margin-right: 0;
		margin-left: 0;
	}
	
	.card--article {
		padding: 10px;
		min-height: 280px;
	}
	
	.card-single,
	.card--page {
		padding: 10px;
	}

	.card-body {
		padding: 5px;
	}
	
	.related-posts-wrapper #related_posts_thumbnails {
		flex-direction: column;
	}
}

/* Extend the container size */
@media (min-width: 1200px) {
	.container {
		max-width: 1400px;
	}
}
