* { box-sizing: border-box; }

body
{
	/*font-family: "Avenir Next", "Calibri", "Arial", sans-serif;*/
	font-family: "SF Pro Text","Calibri","Helvetica Neue","Helvetica","Arial",sans-serif;
	font-size: 1.05em;
	font-weight: 400;
	/*letter-spacing: -.022em;*/
	margin: 0px;
	line-height: 1.5;
	text-rendering: optimizelegibility;
	background-color: white;
	color: black;
	text-align: left;
}

h1 
{ 
    font-size: 2.5em; 
	font-weight: 600;
	line-height: 1.1;
}

h2 
{ 
    font-size: 2em; 
	font-weight: 600;
	line-height: 1.125;
}

h3
{ 
    font-size: 1.4em; 
	font-weight: 500;
	line-height: 1;
}



h1, h2, h3, h4, h5, h6
{
	margin-bottom: 0.3em;
	margin-top: 1.6em;
}

h5, h6 { font-size: 1em; }
.subtitle { margin-top: 0px; }
a { text-decoration: none; }

.link-disclosure
{
	background: #eee;
	font-style: italic;
	padding: 0.8em 1.2em;
	border: 1px solid #666;
	font-weight: 400;
}

/* My modifiers */
.content h4, .title
{
	font-size: 1.25em;
	margin-bottom: 0.2em;
	font-weight: 500;
}

.command-list code
{
	font-size: 1.25em;
	font-weight: bold;
}

ul .active { font-weight: bold; }

a:hover { text-decoration: underline; }

a
{
	cursor: pointer;
	color: blue;
}

/* #MARK - */
/* #MARK Call to action styling */
section.call-to-action
{
	background: linear-gradient(to left, #6BBB6B 30%, #BBF6BB 100%);
	padding: 1.5em;
	margin-top: 1em;
	margin-left: -1.5em;
	margin-right: -1.5em;
}

section.call-to-action .title
{
	font-size: 1.5em;
	font-weight: 500;
	line-height: 1.5;
}

section.call-to-action .subtitle
{
	font-size: 1.3em;
	font-weight: 400;
	line-height: 1.2;
}

section h1:first-child { margin-top: 0em; }

/* #MARK - */

section.socials
{
	background: white;
	padding-right: 1em;
	padding-top: 0.8em;
	padding-bottom: 0em;
	padding-left: 1em;
	margin-top: 1em;
	margin-bottom: -1em;
	margin-left: -1em;
	margin-right: -1em;
}

section.socials img
{
	height: 48px;
	width: auto;
	margin-top: 0em;
	margin-right: 1.5em;
	margin-bottom: 0.6em;
}


.iframe-container
{
	overflow: hidden;
	/* 16:9 aspect ratio */
	padding-top: 56.25%;
	position: relative;
}

.iframe-container iframe
{
	border: 0;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
/* #MARK - */
/* #MARK Buttons */
button
{
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-size: 20px;
	font-weight: bold;
	padding: 6px 24px;
	text-decoration: none;
	background-color: #4A90F0;
	border-radius: 3px;
	border: 1px solid #07070e;
	text-shadow: 0px 1px 0px #263666;
}

button:hover
{
	background-color: #0688fa;
}

button.a:hover { text-decoration: none; }

button:active
{
	position: relative;
	top: 1px;
}

.longbutton
{
	width: 280px;
	max-width: 100%;
	height: auto;
}

.downloadbutton
{
	width: 420px;
	text-align: left;
	max-width: 100%;
	height: auto;
}

/* #MARK - */
/* #MARK Images */
img
{
	max-width: 100%; 
	height: auto;
}

img.low-dpi
{
	/*max-width: 100%;*/
	height: auto;
}


img.banner
{
	max-width: 100%;
}

img.controller
{
	max-width: 100%;
	padding: 10px;
	padding-left: 20px;
	padding-right: 20px;
}

img.screenshot
{
	object-fit: contain;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.img-responsive { object-fit: contain; }


/* #MARK - */
/* #MARK Footer */

footer
{
	background: linear-gradient(to bottom, #71ABF6 5%, #4A90F0 100%);
	background-color: #4A90F0;
	width: 100%;
	color: white;
	padding: 1em;
	padding-left: 0em;
	margin-top: 2em;
	--padding-bottom: 1.4em;
}

footer strong, 
footer a { color: white; }

/*	my classes */
.header-logo
{
	padding-left: .5em;
	padding-top: .5em;
}

.banner
{
	padding-left: 0em;
	padding-top: 0em;
	margin-bottom: -8px;
}

h1:first-child { margin-top: 1em; }

p
{
	margin-top: 0.4em;
	margin-bottom: 0.6em;
}

#sub-nav
{
	width: 100%;
	background-color: #4A90F0;
	font-weight: 400;
	font-size: 1em;
}

/* #MARK Menu Items */
#sub-nav ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#sub-nav ul li
{
	display: inline-block;
	padding: 10px;
	box-sizing: border-box;
}

#sub-nav ul li a
{
	color: white;
	text-decoration: none;
}

/*
Hamburger menu
*/

/* [ON BIG SCREEN] */
/* Wrapper */
#page-nav
{
	width: 100%;
	background-color: #4A90F0;
	font-size: 1.2em;
	font-weight: 600;
}

/* Hide Hamburger */
#page-nav label, #hamburger { display: none; }

/* Menu Items */
#page-nav ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#page-nav ul li
{
	display: inline-block;
	padding: 10px;
	box-sizing: border-box;
}

#page-nav ul li a
{
	color: #fff;
	text-decoration: none;
}

@media screen and (max-width: 350px)
{
	.longbutton
	{
		width: 100%;
		height: auto;
	}
}

.w360
{
	width: 360px;
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 450px)
{
	.w360
	{
		width: 80%;
		height: auto;
	}
}

div.rowitem
{
	margin: 20px;
	font-size: 1.6em;
	font-weight: 500;
	text-align: center;
}

div.card
{
	background-color: white;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin: 20px;
}

div.card p
{
	text-align: center;
	padding: 10px 20px;
	height: 68px;
	overflow: hidden;
}

#peltmade-logo
{
	width: 400px;
	height: 100px;
	margin: auto;
}

iframe.map
{
	padding: 0;
	width: 100%;
	height: 320px;
	border-bottom: 1px solid black;
}

@media screen and (max-width: 600px)
{
	#peltmade-logo
	{
		max-width: 100%;
		height: auto;
		margin: auto;
	}
}

img.icon
{
	width:	128px;
	height: 128px;
	margin: auto;
}

@media screen and (max-width: 256px)
{
	img.icon
	{
		width: 50%;
		height: 100%;
		margin: auto;
	}
}
/* [ON SMALL SCREENS] */

@media screen and (max-width: 680px)
{
	.command-list code { word-wrap: break-word; }
		
	.iframe-container { width: 100%; }
	
	img.screenshot
	{
		object-fit: contain;
		width: 80%;
	}
	
	img.controller
	{
		max-width: 100%;
		height: auto;
		margin: auto;
	}

	button
	{
		width: 100%;
	}
	
	body
	{
		text-align: left;
		font-size: 1.0em;
	}
	
	footer { text-align: left; }
	
	/* Show Hamburger */
	#page-nav label
	{
		display: inline-block;
		color: white;
		width: 30%;
		background: linear-gradient(to bottom, #71ABF6 5%, #4A90F0 100%);
		background-color: #4A90F0;
		text-align: center;
		font-size: 2em;
		padding: 0px;
	}
	
	#page-nav { text-align: center; }
	
	/* Break down menu items into vertical */
	#page-nav ul li
	{
		display: block;
		font-size: 1.2em;
		padding: 20px;
	}
	
	#page-nav ul li { border-top: 1px solid #333; }
	
	/* Toggle show/hide menu on checkbox click */
	#page-nav ul { display: none; }
	#page-nav input:checked ~ ul { display: block; }
}

.content
{
	padding: 1.5em;
	padding-bottom: 0;
	padding-top: 1em;
}

div.row
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

/* columns */
.columns { padding-left: 1em; }

.columns
{
	width: 100%;
	display: flex;
	flex-direction: row;
}

.column
{
	display: block;
	flex-direction: column;
	flex-basis: 0;
	flex-grow: 1;
	flex-shrink: 1;
	padding: 0.75rem;
}

.is-half { width: 50%; }
.column p { margin: 0; }

/* shopping */
.product-card
{
	border-radius: 20%;
	height: 400px;
	width: 400px;
	padding: 20px;
	margin: 20px;
	text-align: center;
	background: white;
}

.product-card img.product
{
	margin-top: 20px;
	margin-bottom: 0px;
}

.product-card div.title
{
	margin-top: 15px;
	font-size: 36px;
	font-weight: 600;
	line-height: 36px;
}

.product-card div.subtitle
{
	font-size: 20px;
	font-weight: 400;
	white-space: nowrap;
}

.product-card div.price
{
	margin-top: 0px;
	font-size: 42px;
	font-weight: 600;
}

.product-card button
{
	border-radius: 8px;
	font-size: 24px;
	font-weight: 600;
	width: 120px;
}

.products.columns
{
	flex-wrap: wrap;
	justify-content: space-around;
}

@media screen and (max-width: 680px)
{
	.product-card
	{
		border-radius: 60px;
		height: 460px;
		width: 100%;
		padding: 20px;
		margin-top: 20px;
		margin-left: -5px;
		margin-right: -5px;
	}
	
	.columns
	{
		display: flex;
		flex-direction: column;
	}
	
	.products.columns { justify-content: space-around; }
	.products div.column { padding: 0; }
	
	section.call-to-action.shopping .column
	{
		padding: 10px;
		margin-left: 0px;
		margin-right: 0px;
	}
	
	section.call-to-action .title
	{
		font-size: 2em;
		font-weight: 500;
		line-height: 1.5;
	}
}
