/*

TABLE OF CONTENTS

# GLOBAL RESETS
# TYPOGRAPHY
# BUTTONS 
# MEDIA
    # RESPONSIVE IMAGES
# LAYOUT
    # CONTAINER
    # MEDIA QUERIES
    # SEMANTIC GRID SYSTEM
# STRUCTURE
    # SITE HEADER
    # SITE NAV
    # MAIN
        # SECTIONS
    # SITE FOOTER


*/
/* GLOBAL RESETS */
* {
		box-sizing: border-box;
}

#about.scroll-triggered[data-sectionstate=active] {
		background-color: #000;
		transition: all 1s ease-out;
}
#about.scroll-triggered[data-sectionstate=active] .jd-contentblock-text {
		opacity: 1;
		transform: translateY(0px);
		transition: all 1s ease-out;
		background-color: rgb(250, 220, 167);
		padding: 3em;
		border-radius: 25px;
}

/* BASE TEXT COLORS */
body {
		color: rgb(80, 54, 42);
}

h1, h2, h3, h4, h5, h6 {
		color: rgb(80, 54, 42);
}

/* BASE TEXT FONTS */
body {
		font-family: input-serif-condensed, serif;
}

h1, h2 {
		font-family: puffin-arcade-liquid, sans-serif;
}

h3 {
		font-family: input-serif-narrow, serif;
}

/* BASE TYPOGRAPHY */
body {
		font-size: 100%;
		line-height: 1.4;
}

h1, h2, h3, h4, h5, h6, p {
		margin: 0 0 0.5em 0;
}

/* TRADITIONAL TYPOGRAPHIC SCALE */
h1 {
		font-size: 3em;
		line-height: 1;
}

h2 {
		font-size: 2.25em;
		line-height: 1.1;
}

h3 {
		font-size: 1em;
		line-height: 1.2;
}

/* LIMIT NUMBER OF CHARACTERS PER LINE */
p {
		max-width: 40em;
}

/* HORIZONTAL LINE */
hr {
		border: 0;
		height: 1px;
		background-color: rgba(0, 0, 0, 0.1);
		margin: 3em 0;
}

/* TYPE SPECIMEN */
.headline {
		font-size: 4em;
		font-weight: 400;
		line-height: 1;
		margin: 0;
		color: rgb(250, 220, 167);
}

.subheadline {
		font-size: 2.5em;
		font-weight: 400;
		line-height: 1.1;
		margin: 0.25em 0;
		color: rgba(0, 0, 0, 0.5);
}

/* HELPERS */
.hide-visually {
		position: absolute;
		top: -9999px;
		left: -9999px;
}

.full-width {
		width: 100%;
}

/* SITE STRUCTURE */
.site-header {
		position: absolute;
		width: 100%;
		padding: 1em;
		display: flex;
		justify-content: space-between;
		align-items: left;
}
.site-header .site-id {
		display: flex;
		align-items: center;
}
.site-header a {
		color: white;
		text-decoration: none;
}
.site-header h1 {
		font-size: 1.5em;
		margin: 0;
}

/* SITE-FOOTER */
.site-footer {
		background: rgb(80, 54, 42);
		display: flex;
		padding: 1em;
		justify-content: center;
}
.site-footer a {
		color: white;
		text-decoration: none;
}

section {
		padding: 4em 0;
		min-height: 100vh;
		display: flex;
		align-items: center;
}

/* HERO SECTION */
.hero {
		background-image: url("../img/KawaiiCaps_Hero.jpg");
		background-position: center;
		background-size: cover;
		text-align: left;
		min-height: 100vh;
		display: flex;
}
.hero .container {
		margin: 15em;
}
.hero h1 {
		margin-bottom: 0.25em;
		color: rgb(80, 54, 42);
}
.hero p {
		margin: 1em auto;
}

/* SECTION HEADING */
.section-heading {
		font-size: 1em;
		font-family: input-serif-condensed, serif;
		font-weight: normal;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		border-bottom: 5px solid rgb(250, 220, 167);
		display: table;
		padding: 0 0 0.5em 0;
		margin: 1em auto 3em auto;
}

.site-main {
		display: flex;
		flex-direction: column;
}

/* FEATURED PRODUCTS */
.featured {
		text-align: center;
		background: rgb(252, 228, 208);
		background: linear-gradient(180deg, rgb(254, 218, 196) 0%, rgb(0, 0, 0) 100%);
}

/* ABOUT US */
.aboutus {
		background-image: url("../img/KawaiiCaps_Hero3.jpg");
		background-position: center;
		background-size: cover;
		font-family: input-serif-condensed, serif;
		color: rgb(80, 54, 42);
		text-align: left;
		min-height: 100vh;
		display: flex;
}

/* PRODUCTS */
.products {
		background: rgb(255, 245, 228);
}

.product-cards {
		display: flex;
		justify-content: space-between;
		list-style: none;
}
.product-cards img {
		margin: 25px;
		border-radius: 25px;
		transition: all 0.2s ease-in;
}
.product-cards img:hover {
		transform: scale(1.5);
}

/* FOOTER */
.site-footer {
		color: white;
		display: flex;
		flex-direction: column;
}
.site-footer h2 {
		color: rgb(250, 220, 167);
}

/* BUTTONS */
.button {
		position: relative;
		font-family: input-serif-condensed, serif;
		font-weight: 500;
		display: inline-block;
		background-color: rgb(255, 245, 228);
		color: rgb(80, 54, 42);
		text-decoration: none;
		padding: 1em;
		border-radius: 25px;
		text-transform: uppercase;
		transform-style: preserve-3d;
		border: 3px solid rgb(80, 54, 42);
		transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button::before {
		position: absolute;
		content: "";
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgb(174, 137, 128);
		border-radius: inherit;
		box-shadow: 0 0 0 2px rgb(80, 54, 42), 0 0.625em 0 0 rgb(80, 54, 42);
		transform: translate3d(0, 0.75em, -1em);
		transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.button:hover {
		background-color: rgb(250, 220, 167);
		transform: translate(0, 0.25em);
}
.button:hover::before {
		box-shadow: 0 0 0 2px, 0 0.5em 0 0;
		transform: translate3d(0, 0.5em, -1em);
}
.button:active {
		background: rgb(80, 54, 42);
		color: rgb(255, 245, 228);
		transform: translate(0em, 0.75em);
}
.button:active::before {
		box-shadow: 0 0 0 2px, 0 0;
		transform: translate3d(0, 0, -1em);
}

/* ARROWS */
.arrow {
		position: relative;
		font-size: 3em;
		display: inline-block;
		background-color: rgb(255, 245, 228);
		color: rgb(80, 54, 42);
		text-decoration: none;
		padding: 0.2em 0.25em 0 0.3em;
		border-radius: 25px;
		text-transform: uppercase;
		transform-style: preserve-3d;
		border: 3px solid rgb(80, 54, 42);
		transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), 150ms cubic-bezier(0, 0, 0.58, 1);
}
.arrow::before {
		position: absolute;
		content: "";
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgb(174, 137, 128);
		border-radius: inherit;
		box-shadow: 0 0 0 2px rgb(80, 54, 42), 0 0.2em 0 0 rgb(80, 54, 42);
		transform: translate3d(0, 0.25em, -1em);
		transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}
.arrow:hover {
		background-color: rgb(250, 220, 167);
		transform: translate(0, 0.2em);
}
.arrow:hover::before {
		box-shadow: 0 0 0 2px, 0 0.1em 0 0;
		transform: translate3d(0, 0.1em, -1em);
}
.arrow:active {
		background: rgb(80, 54, 42);
		color: rgb(255, 245, 228);
		transform: translate(0em, 0.75em);
}
.arrow:active::before {
		box-shadow: 0 0 0 2px, 0 0;
		transform: translate3d(0, 0, -1em);
}

/* RESPONSIVE IMAGES */
img {
		max-width: 100%;
		height: auto;
}

/* RESET BODY */
body {
		margin: 0;
}

/* CONTAINER */
.container {
		max-width: 1000px;
		margin: 0 auto;
		padding: 0 1em;
}

/* MEDIA QUERIES */
/* RESPONSVIE TYPE */
body {
		font-size: 87.5%;
}

@media (min-width: 768px) {
		body {
				font-size: 100%;
		}
}
@media (min-width: 1050px) {
		body {
				font-size: 112.5%;
		}
}
/* SEMANTIC GRID */
.row {
		display: flex;
		flex-wrap: wrap;
		margin-left: -1%;
		margin-right: -1%;
		align-items: center;
		margin-bottom: 3em;
}
.row > * {
		margin: 1%;
		flex-grow: 1;
}
.row.centered {
		justify-content: center;
}
.row.swapped {
		flex-direction: row-reverse;
}
.row.stacked {
		flex-direction: column;
}
.row.align-top {
		align-items: flex-start;
}
@media (min-width: 768px) {
		.row > * {
				flex-grow: 0;
		}
		.row .one-whole {
				width: 98%;
		}
		.row .one-half {
				width: 48%;
		}
		.row .one-third {
				width: 31.333%;
		}
		.row .two-thirds {
				width: 64.666%;
		}
		.row .one-fourth {
				width: 23%;
		}
		.row .three-fourths {
				width: 73%;
		}
		.row .push-one-fourth {
				margin-left: 26%;
		}
		.row .push-one-third {
				margin-left: 34.333%;
		}
		.row .push-one-half {
				margin-left: 51%;
		}
		.row .centered {
				margin-left: auto;
				margin-right: auto;
		}
}

.demo .row {
		margin-bottom: 0;
}
.demo .row > * {
		background-color: rgba(0, 0, 0, 0.1);
		padding: 1%;
}

/* SITE-HEADER SITE-NAV */
.site-header .site-nav .menu-button {
		position: absolute;
		top: 0.75em;
		right: 0.75em;
		color: rgb(80, 54, 42);
		margin: 0;
		font-size: 1.5em;
		line-height: 1;
		z-index: 500;
		cursor: pointer;
}
.site-header .site-nav .menu-button svg {
		fill: rgb(80, 54, 42);
}
.site-header .site-nav .menu-button svg rect {
		transition: all 0.3s ease-out;
}
.site-header .site-nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
		background-color: rgb(80, 54, 42);
		color: rgb(255, 245, 228);
		position: fixed;
		top: 0;
		right: 0;
		width: 50%;
		height: 100vh;
		border-radius: 25px 0 0 25px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: flex-start;
		transform: translate(100%, 0);
		transition: all 0.3s ease-out;
}
.site-header .site-nav li {
		font-size: 4vw;
		min-width: 20vw;
		transform: translate(10%, 0);
		transition: all 0.3s ease-out 0.3s;
		opacity: 0;
		margin-left: 10vw;
}
.site-header .site-nav a {
		color: rgb(255, 245, 228);
		font-family: puffin-arcade-liquid, sans-serif;
}
.site-header .site-nav a:hover {
		color: rgb(250, 220, 167);
}
.site-header .site-nav[data-navstate=open] .menu-button {
		position: fixed;
}
.site-header .site-nav[data-navstate=open] .menu-button svg {
		fill: rgb(255, 245, 228);
}
.site-header .site-nav[data-navstate=open] #menubar-top {
		transform-origin: center;
		transform: translate(7px, 7px) rotate(-45deg);
}
.site-header .site-nav[data-navstate=open] #menubar-mid {
		opacity: 0;
}
.site-header .site-nav[data-navstate=open] #menubar-bottom {
		transform-origin: center;
		transform: translate(0, -4px) rotate(45deg);
}
.site-header .site-nav[data-navstate=open] ul {
		transform: translate(0, 0);
}
.site-header .site-nav[data-navstate=open] li {
		transform: translate(0, 0);
		opacity: 1;
}

/* FOOTER SITE-NAV */
.site-footer .site-nav ul {
		margin: 0;
		padding: 0;
		list-style: none;
		display: flex;
}
.site-footer .site-nav a {
		display: inline-block;
		padding: 1em;
		line-height: 1;
}

form {
		max-width: 1000px;
		margin: 2em auto;
}

form label,
form input,
form textarea {
		box-sizing: border-box;
		display: block;
		width: 100%;
		font-size: 1em;
}

form input[type=text],
form textarea {
		border: 1px solid #ccc;
		padding: 0.5em;
		color: #666;
}

form textarea {
		min-height: 10em;
		line-height: 1.5;
}

form label {
		margin-top: 1em;
		margin-bottom: 0.5em;
}

form input[type=submit] {
		margin-top: 1.5em;
		width: auto;
}