/*************************************************
**************************************************

Website Name: benricemccarthy.com
Website URL: benricemccarthy.com
Website Author: Ben McCarthy
Author URL: 
Copyright 2023. All Rights Reserved.

Color Guide
***************


*************************************************

Type Guide
***************


Debugging Tools
***************
border: 1px solid #fff;

*************************************************/

/************************************************
*************************************************
0. CSS Reset ------------------------ 
1. Universal Styles -----------------
2. Header & Nav Styles -------------- 
3. Main Body Styles ----------------- 
4. Sidebar Styles ------------------- 
5. Widget Styles --------------------
6. Footer Styles -------------------- 
7. Comments & Form Styles ----------- 
8. Generic Styles ----------- 
*************************************************
************************************************/

/*----------------------------------------------
------------------------------------------------
0. CSS Reset
------------------------------------------------
----------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	/* font-size: 100%; */
	/* font: inherit; */
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*----------------------------------------------
------------------------------------------------
1. Universal Styles
------------------------------------------------
----------------------------------------------*/

body {
	/* font-family: "ff-meta-serif", sans-serif; */
	/* /* font-family: ff-meta-serif-web-pro; */
	font-style: normal;
	font-size: 22px;
	color: #323232;
	background-color: #F7F7F7;
}

a {
	text-decoration: none;
}

/*----------------------------------------------
------------------------------------------------
2. Header & Nav Styles
------------------------------------------------
----------------------------------------------*/

h1 {
	font-family: ff-meta-serif-web-pro, serif;
	font-weight: 700;
	font-style: normal;
	color: #323232;
	font-size: 8rem;
}

h2 {
	font-family: ff-meta-web-pro, sans-serif;
	font-size: 1.375em;
	font-weight: 600;
}

@media only screen and (max-width: 600px) {
	h1 {
		font-size: 4.2rem;
	}
}

h3 {
	font-family: ff-meta-web-pro, sans-serif;
	font-size: 1.125em;
	font-weight: 600;
}

h4 {
	font-family: ff-meta-web-pro, sans-serif;
	font-size: 1.125em;
	font-weight: 600;
}

h5 {
	font-family: ff-meta-web-pro, sans-serif;
	font-variant-numeric: lining-nums;
	font-size: 1em;
	color: #999999;
	font-weight: 400;
}

p {
	font-family: ff-meta-serif-web-pro, sans-serif;
	font-weight: 300;
	font-style: normal;
	/* color: #323232; */
	font-size: 1em;
	line-height: 1.4em;
}

/*----------------------------------------------
------------------------------------------------
0. Navigation
------------------------------------------------
----------------------------------------------*/


.navbar {
	display: flex;
	background-color: #F7F7F7;
	position: fixed;
	width: 100vw;
	white-space: nowrap;
	flex-wrap: wrap;
	row-gap: 12px;
	column-gap: 48px;
	z-index: 10;
}

.navbar h4.home {
	padding-left: 24px;
	font-family: ff-meta-serif-web-pro, serif;
}

.navbar:first-child {
	padding-top: 24px;
	padding-bottom: 24px;
	justify-content: space-between;
}

.navbar a h4.home {
	color: #323232;
}

.navbar a {
	color: #999999;
}

.navbar .landing-nav {
	display: .inline;
}

.navbar .nav-links {
	padding-left: 24px;
	padding-right: 24px;
}

.navbar .nav-links {
	display: flex;
	gap: 24px;
	width: auto;
	overflow-x: scroll;
	padding-bottom: 6px;
	-ms-overflow-style: none;
	/* Internet Explorer 10+ */
	scrollbar-width: none;
	/* Firefox */
}

.navbar .nav-links::-webkit-scrollbar {
	display: none;
	/* Safari and Chrome */
}

.nav-links h4 {
	text-decoration: none;
	color: #999999;
}

.nav-links h4:hover {
	color: #FF7920;
}

ul.seondary-nav {
	position: absolute;
}

ul.seondary-nav li.hide {
	display: none;
}

.seondary-nav:hover li.hide,
.secondary-nav:active li.hide {
	display: block;
}

.seondary-nav:hover {
	background-color: #F7F7F7;
}

.seondary-nav-header:hover:parent {
	background-color: #F7F7F7;
}


.seondary-nav-header:hover+ul li.hide {
	display: block;
}

ul.seondary-nav li h4 {
	margin-top: 18px;
}

@media (hover: hover) {
	.touch-nav {
		display: none;
	}
}


@media (min-width: 600px) {
	.nav-links {
		display: flex;
		gap: 24px;
		width: auto;
	}
}

@media (max-width: 1300px) {
	.landing-flexbox h1 {
		font-size: 4em;
	}
}

@media (max-width: 600px) or (hover: none) {
	.cursor-nav {
		display: none;
	}

	.touch-nav {
		display: inherit;
	}
}

@media (max-width: 600px) {

	.compact-flex {
		display: flex;
		align-items: center;
		gap: 24px;
	}

	.navbar:first-child {
		padding-right: 0px;
	}

	.landing-flexbox {
		flex-direction: row;
		justify-content: center;
		align-items: center;
		height: 100vh;
	}

	.landing-flexbox h1 {
		writing-mode: vertical-lr;
		font-size: 3.5em;
		-webkit-transform: rotate(180deg);
		display: inline-block;
	}

	.landing-flexbox .nav-links {
		line-height: 2em;
	}
}

/*----------------------------------------------
------------------------------------------------
0. Landing Page
------------------------------------------------
----------------------------------------------*/

.landing-flexbox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin-left: auto;
	margin-right: auto;
	padding: 48px;
}

ul.landing-nav li a {
	text-decoration: none;
	color: #999999;
}

ul.landing-nav li ul.seondary-nav {
	display: hidden;
}


/*----------------------------------------------
------------------------------------------------
3. Main Body Styles
------------------------------------------------
----------------------------------------------*/

.blog-page {
	padding-top: 100px;
	display: flex;
}

.blog-post {
	max-width: 800px;
	margin-top: 1em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 4em;
}

.blog-post img {
	max-width: 100%;
	height: auto;
}

.blog-post h2 {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
	font-variant-numeric: lining-nums;
}

.blog-post h3 {
	margin-top: 0.4em;
	margin-bottom: 0.5em;
	font-variant-numeric: lining-nums;
}

.blog-post h4 {
	font-size: 1em;
	margin-bottom: 0.4em;
	opacity: 0.67;
}

.blog-post h5 {
	margin-top: 0.4em;
	margin-bottom: 0.8em;
	/* font-size: 1em; */
	font-variant-numeric: lining-nums;
}

.blog-post p {
	margin-bottom: 1em;
}

.app-page {
	padding-top: 100px;
	padding-right: 24px;
	padding-left: 24px;
	width: 100vw;
	overflow-x: hidden;
}

.app-info {
	margin-right: auto;
	margin-left: auto;
	max-width: 800px;
	padding-bottom: 24px;
}

.app-info h2 {
	font-size: 4.2em;
	font-weight: bold;
}

.app-media {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 24px;
}

.app-screenshot {
	width: 388px;
}

.app-screenshot h4 {
	margin-bottom: 0.5em;
}

.app-screenshot img {
	width: 100%;
	margin-bottom: 1em;
}

ul.app-links {
	display: block;
	list-style: none;
}

ul.app-links li {
	display: inline-block;
}

ul.app-links a,
ul.app-links a:visited,
ul.app-links a h4,
ul.app-links a:visited h4 {
	color: #323232;
}



ul.app-links a:hover {
	color: #FF7920;
}

.app-description {
	display: flex;
	flex-wrap: wrap;
	flex-direction: forward;
}



@media only screen and (max-width: 600px) {

	.app-page {
		padding-top: 120px;
	}
}

@media only screen and (max-width: 1200px) {

	.app-media {
		max-width: 800px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media only screen and (min-width: 1200px) {

	.app-page {
		padding-bottom: 6em;
	}

	.app-info {
		max-width: 800px;
	}

	.app-description {
		margin-left: -200px;
		display: flex;
		flex-wrap: wrap;
		flex-direction: row-reverse;
		width: 1000px;
		gap: 24px;

	}

	.app-description ul {
		max-width: 200px;
	}

	.app-description p {
		max-width: 800px;
	}

	ul.app-links {
		display: inline;
		line-height: 1.4em;
	}

	ul.app-links li {
		display: inline;
		text-align: right;
	}

	ul.app-links li.divider {
		display: none;
	}
}

ul.app-links li h4 {
	font-family: ff-meta-web-pro, sans-serif;
	font-size: 1em;
	font-weight: 600;
	margin-right: 12px;
}

.app-info h5 {
	font-style: italic;
	line-height: 1.4em;
}

.app-info p {
	margin-bottom: 1em;
}

ul.app-links li.divider {
	color: #999999;
}

.app-info li a:hover {
	color: #FF7920;
}


/* blog */

li.blog-item a, li.blog-item a:visited {
	color: #323232;
}

li.blog-item a:hover {
	color: #FF7920;
}

.blog-post img {
	margin-bottom: 1.4em;
}

.blog-post ul {
	list-style: inside;
	font-size: 1em;
	line-height: 1.4em;
	margin-bottom: 1.4em;
}

.blog-post a {
	color: #FF7920;
}

.blog-post a:hover {
	color: #DF3F0D;
}

.blog-post figure.kg-image-card {
	padding-bottom: 1em;
	text-align: center;
}

figcaption {
	font-family: ff-meta-web-pro, sans-serif;
	font-size: 0.8em;
	font-style: italic;
	color: #999999;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.blog-post p strong {
	font-family: ff-meta-web-pro, sans-serif;
	font-weight: bold;
}

.kg-button-card a {
	display: inline-block;
	font-family: ff-meta-web-pro, sans-serif;
	font-weight: bold;
	color: #E5E5E5;
	background-color: #323232;
	/* clip-path: inset(0% 45% 0% 45% round 10px); */
	padding: 8px;
	border-radius: 8px;
	margin-bottom: 1em;
}




/* dark mode */

@media (prefers-color-scheme: dark) {
	body {
		color: #E5E5E5;
		background-color: #131313;
	}

	h1 {
		color: #E5E5E5;
	}

	h5 {
		color: #888888;
	}

	.navbar {
		background-color: #131313;
	}

	.navbar a h4.home {
		color: #E5E5E5;
	}

	.navbar a {
		color: #999999;
	}

	.nav-links h4 {
		text-decoration: none;
		color: #999999;
	}

	.nav-links h4:hover {
		color: #FF7920;
	}

	.seondary-nav:hover {
		background-color: #131313;
	}

	.seondary-nav-header:hover:parent {
		background-color: #131313;
	}

	ul.landing-nav li a {
		color: #999999;
	}

	ul.app-links a,
	ul.app-links a:visited,
	ul.app-links a h4,
	ul.app-links a:visited h4 {
		color: #E5E5E5;
	}

	ul.app-links a:hover {
		color: #FF7920;
	}

	ul.app-links li.divider {
		color: #999999;
	}

	.app-info li a:hover {
		color: #FF7920;
	}
	
	li.blog-item a, li.blog-item a:visited {
		color: #888888;
	}
}



/*----------------------------------------------
------------------------------------------------
2. App Page
------------------------------------------------
----------------------------------------------*/

.app-page-container {
	padding-top: 100px;
	/* display: block; */
}

.app-page-new {
	padding-right: 24px;
	padding-left: 24px;
	display: flex;
	
	flex-direction: row;
	align-items: start;
	
	row-gap: 72px;
	column-gap: 72px;
}

.app-page-new.centered {
	justify-content: center;
}

@media only screen and (min-height: 1000px) {
	
	.app-page-container {
		height: 100%;
		display: flex;
		align-items: center;
		overflow-x: scroll;
	}

	.app-page-new {
		/* overflow-x: scroll; */
		width: 100%;
		flex-wrap: nowrap;
		
		/* position: relative; */
	}
	
	.app-page-container.consulting {
		padding-top: 0px;
		height: auto;
	}
} 

@media only screen and (max-height: 1000px) {
	.app-page-new {
		flex-wrap: wrap;
		justify-content: center;
	}
}

.app-page-new .app-page-app {
	flex-shrink: 0;
	width: 320px;
	padding-bottom: 6px;
}

.app-page-new .app-page-app a {
	color: #323232;
}

.app-page-new .app-page-app img {
	width: 100%;
	margin-bottom: 1em;
}

.app-page-new .app-page-app .store-link {
	font-family: ff-meta-web-pro, sans-serif;
	color: #FF7920;
}





.app-detail-container {
	padding-top: 100px;
	display: flex;
	justify-content: center;
	flex-direction: row;
}

.app-detail {
	width: 600px;
	max-width: 100vw;
}

.app-detail h2 {
	font-weight: 1000;
	font-size: 3em;
	
}

.app-detail h4 {
	color: #999999;
	padding-top: 0.5em;
	padding-bottom: 1em;
}





