/* jill stout portfolio (A10) */

/* this makes the borders count inside the width so my pictures stop poking out */
* {
	box-sizing: border-box;
}

body{
	margin: 0;
	padding: 0;
	background-color: #1D211F;   /* chalkboard */
	color: #FFFFFF;
	font-family: Archivo, Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	overflow-x: hidden;
}


/* the home page is still one big grid like the wireframe */
/* 6 middle columns + a stretchy one on each side to keep it centered */
#site-wrap {
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr repeat(6, minmax(0, 160px)) 1fr;
	grid-template-rows: auto auto auto auto auto auto auto;
	grid-gap: 24px;
	grid-template-areas:
		"header header header header header header header header"
		". hero-text hero-text hero-text hero-image hero-image hero-image ."
		". welcome welcome welcome welcome welcome welcome ."
		". feat-head feat-head feat-head feat-head feat-head feat-head ."
		". feat-1 feat-1 feat-2 feat-2 feat-3 feat-3 ."
		". see-all see-all see-all see-all see-all see-all ."
		"footer footer footer footer footer footer footer footer";
}

/* the other four pages don't need all those areas, they just stack */
/* the 1fr middle row keeps the footer down at the bottom on short pages */
#site-wrap.page {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	grid-template-areas:
		"header"
		"main"
		"footer";
	padding: 0 24px;
}

.page-main {
	grid-area: main;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
}


/* ---------- header (name + menu) ---------- */
.header {
	grid-area: header;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 24px 20px 16px 20px;
	border-bottom: 1px solid #33393600;
}

/* my ransom note name, each letter is its own little paper scrap */
.logo {
	font-family: 'Permanent Marker', cursive;
	font-size: 34px;
	line-height: 1;
	text-decoration: none;
}

.logo span {
	display: inline-block;
	background-color: #FFFFFF;
	color: #1D211F;
	padding: 2px 8px;
	margin: 0 1px;
	border-radius: 2px;
}

/* tip a few of them so it looks cut out and taped down */
.logo span:nth-child(odd)  { transform: rotate(-4deg); }
.logo span:nth-child(even) { transform: rotate(3deg); }

.logo .i { color: #EC1E79; }          /* my signature little i */
.logo .kraft { background-color: #D9C7A0; }

/* the gap between my first and last name */
.logo .gap {
	background: none;
	padding: 0 6px;
}


.main-nav a {
	color: #FFFFFF;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 1px;
	text-decoration: none;
	margin-left: 22px;
	padding-bottom: 4px;
}

/* rollover, turns pink when you point at it */
.main-nav a:hover {
	color: #EC1E79;
}

/* the page you are on gets the pink underline */
.main-nav a.active {
	color: #EC1E79;
	border-bottom: 3px solid #EC1E79;
}


/* ---------- hero (home page only) ---------- */
.hero-text {
	grid-area: hero-text;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 0;
}

.eyebrow {
	color: #F7C515;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 2px;
	margin: 0 0 10px 0;
}

.hero-text h1 {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 60px;
	line-height: 1.05em;
	margin: 0 0 28px 0;
}

/* my view portfolio button */
.btn {
	align-self: flex-start;
	display: inline-block;
	background-color: #EC1E79;
	color: #FFFFFF;
	font-family: 'Permanent Marker', cursive;
	font-size: 20px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	padding: 12px 26px;
	transform: rotate(-2deg);
	box-shadow: 4px 4px 0 #00000055;
}

.btn:hover {
	background-color: #27AAE1;   /* goes blue when you hover it */
	transform: rotate(0deg);
}


.hero-image {
	grid-area: hero-image;
	position: relative;
	display: flex;
	align-items: center;
}

.hero-image img {
	width: 100%;
	height: auto;
	display: block;
	border: 6px solid #FFFFFF;
	transform: rotate(2deg);
	box-shadow: 6px 8px 14px #00000066;
}


/* the tape strips on my pictures */
.tape {
	position: absolute;
	top: -10px;
	left: 50%;
	width: 90px;
	height: 26px;
	margin-left: -45px;
	background-color: #D9C7A0;
	opacity: 0.85;
	transform: rotate(-3deg);
	z-index: 2;
}


/* ---------- welcome ---------- */
.welcome {
	grid-area: welcome;
	display: flex;
	gap: 40px;
	align-items: flex-start;
	padding: 20px 0;
}

.welcome h2 {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 40px;
	margin: 0;
	padding-bottom: 6px;
	border-bottom: 4px solid #EC1E79;
	white-space: nowrap;
}

.welcome p {
	margin: 6px 0 0 0;
	max-width: 620px;
	font-size: 17px;
}


/* ---------- art cards, these show up on almost every page ---------- */
.featured-heading {
	grid-area: feat-head;
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 36px;
	margin: 10px 0 0 0;
	padding-bottom: 6px;
	border-bottom: 4px solid #27AAE1;
	justify-self: start;
}

.feat-1 { grid-area: feat-1; }
.feat-2 { grid-area: feat-2; }
.feat-3 { grid-area: feat-3; }

.art-card {
	position: relative;
	margin: 0;
}

.art-card a {
	display: block;
}

.art-card img {
	width: 100%;
	display: block;
	border: 5px solid #FFFFFF;
	box-shadow: 4px 6px 12px #00000066;
}

/* crop the three home page ones to a matching strip so the row lines up */
.feat-1 img, .feat-2 img, .feat-3 img {
	height: 230px;
	object-fit: cover;
}

.art-card figcaption {
	padding-top: 10px;
}

.art-title {
	display: block;
	font-weight: 800;
	font-size: 17px;
}

.art-medium {
	display: block;
	color: #A9AFAB;
	font-size: 14px;
}


/* ---------- inner page headings ---------- */
.page-head {
	position: relative;
	margin: 34px 0 30px 0;
}

.page-head h1 {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 54px;
	/* marker font hangs below its line box, so this needs more than it looks like */
	margin: 0 0 32px 0;
}

.page-head p {
	margin: 0;
	max-width: 640px;
	font-size: 17px;
	color: #E4E7E5;
}

/* the paint splatter off my style guide, tucked up in the corner by the page title */
.page-head::before {
	content: "";
	position: absolute;
	top: -76px;
	right: -78px;
	width: 190px;
	height: 190px;
	background-image: url(images/paint-splat.png);
	background-size: contain;
	background-repeat: no-repeat;
	opacity: 0.65;
	z-index: -1;
}

.group-head {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 34px;
	margin: 0 0 18px 0;
	padding-bottom: 6px;
	border-bottom: 4px solid #27AAE1;
	display: inline-block;
}


/* ---------- gallery ---------- */
/* the little jump links across the top, styled like torn tape */
.cat-jump {
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.cat-jump a {
	display: inline-block;
	color: #1D211F;
	background-color: #D9C7A0;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 7px 16px;
	transform: rotate(-1deg);
}

.cat-jump a:hover {
	background-color: #F7C515;
}

.art-group{
	margin-bottom: 54px;
}

.art-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-gap: 28px;
	margin-top: 10px;
}

/* gallery pieces are all different shapes, so mat them instead of chopping them up */
.art-grid .art-card img {
	height: 300px;
	object-fit: contain;
	background-color: #FFFFFF;
	padding: 8px;
}


/* ---------- about ---------- */
.about-top {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	margin-bottom: 50px;
}

.about-photo {
	position: relative;
	margin: 0;
	flex: 0 0 320px;
}

.about-photo img {
	width: 100%;
	display: block;
	border: 6px solid #FFFFFF;
	transform: rotate(-2deg);
	box-shadow: 6px 8px 14px #00000066;
 }

.about-photo figcaption {
	padding-top: 16px;
	color: #A9AFAB;
	font-size: 14px;
	text-align: center;
}

.about-copy p {
	font-size: 17px;
	margin: 0 0 18px 0;
}

/* my artist statement, pulled out so it reads like a quote */
.statement {
	margin: 26px 0;
	padding: 4px 0 4px 22px;
	border-left: 5px solid #F7C515;
}

.statement p {
	font-family: 'Permanent Marker', cursive;
	font-size: 24px;
	line-height: 1.35em;
	margin: 0;
}


/* ---------- fact lists (about + commissions) ---------- */
.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 36px;
	margin-bottom: 50px;
}

.fact-block {
	flex: 1 1 280px;
}

.fact-block h2 {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 28px;
	margin: 0 0 12px 0;
	color: #F7C515;
}

.fact-block ul {
	margin: 0;
	padding-left: 20px;
}

.fact-block li {
	margin-bottom: 8px;
}

/* numbered steps, the marker gets my headline font */
.steps {
	margin: 0;
	padding-left: 24px;
}

.steps li {
	margin-bottom: 14px;
	padding-left: 6px;
}

.steps li::marker {
	color: #EC1E79;
	font-family: 'Permanent Marker', cursive;
	font-size: 22px;
}


/* ---------- the get in touch box ---------- */
.cta {
	margin: 46px 0 20px 0;
	padding: 30px 24px;
	border: 3px dashed #D9C7A0;
	text-align: center;
}

.cta p {
	font-family: 'Permanent Marker', cursive;
	font-size: 26px;
	margin: 0 0 20px 0;
}


/* ---------- contact ---------- */

/* spam trap, has to be gone for people but still there for bots */
.hp {
	display: none;
}

.contact-wrap {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	margin-bottom: 40px;
}

.contact-form {
	flex: 1 1 440px;
}

.contact-form p {
	margin: 0 0 20px 0;
}

.contact-form label {
	display: block;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	background-color: #FFFFFF;
	color: #1D211F;
	font-family: Archivo, Arial, Helvetica, sans-serif;
	font-size: 16px;
	border: 3px solid #FFFFFF;
	padding: 11px 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #27AAE1;
}

.contact-side {
	flex: 1 1 320px;
}

.contact-side h2 {
	font-family: 'Permanent Marker', cursive;
	font-weight: normal;
	font-size: 28px;
	margin: 0 0 12px 0;
	color: #F7C515;
}

.ig-line {
	font-size: 22px;
	font-weight: 800;
}

.ig-line a {
	color: #27AAE1;
	text-decoration: none;
}

.ig-line a:hover {
	color: #EC1E79;
}

.small-note {
	color: #A9AFAB;
	font-size: 14px;
	margin-bottom: 34px;
}

.side-links {
	list-style: square;
	padding-left: 20px;
}

.side-links li {
	margin-bottom: 8px;
}

.side-links a {
	color: #FFFFFF;
}

.side-links a:hover {
	color: #EC1E79;
}


/* the little link at the bottom of a section */
.see-all {
	grid-area: see-all;
	margin: 26px 0 10px 0;
	font-weight: 800;
	letter-spacing: 1px;
}

.see-all a {
	color: #F7C515;
	text-decoration: none;
}

.see-all a:hover {
	color: #EC1E79;
	text-decoration: underline;
}


/* ---------- footer ---------- */
.footer {
	grid-area: footer;
	margin-top: 30px;
	padding: 26px 20px 34px 20px;
	border-top: 1px solid #333936;
	text-align: center;
	color: #FFFFFF;
	font-size: 14px;
}

.footer p {
	margin: 4px 0;
}

.footer .foot-name {
	font-family: 'Permanent Marker', cursive;
	font-size: 24px;
	letter-spacing: 1px;
}

.footer a {
	color: #27AAE1;
	text-decoration: none;
}

.footer a:hover {
	color: #EC1E79;
}

.foot-nav {
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.foot-nav li {
  display: inline-block;
  margin: 0 9px;
}

.foot-nav a {
	color: #FFFFFF;
	font-weight: 600;
}

/* my little animated paint dots */
.dots {
	vertical-align: middle;
	margin-left: 6px;
}

.pin {
	width: 12px;
	height: 12px;
	vertical-align: -1px;
	margin-right: 2px;
}

.copyright {
	color: #6E7573;
	margin-top: 16px;
}


/* ---------- phone view ---------- */
/* just stack everything into one column like the mobile mockup */
@media screen and (max-width: 768px) {
	#site-wrap {
		grid-template-columns: minmax(0, 1fr);   /* let the column shrink so nothing spills off the side */
		grid-gap: 20px;
		grid-template-areas:
			"header"
			"hero-image"
			"hero-text"
			"welcome"
			"feat-head"
			"feat-1"
			"feat-2"
			"feat-3"
			"see-all"
			"footer";
		padding: 0 16px;
	}

	#site-wrap.page {
		padding: 0 16px;
	}

	.header {
		justify-content: center;
		text-align: center;
	}

	/* shrink my name so the whole thing fits on a phone */
	.logo {
		font-size: 20px;
	}

	.main-nav {
		width: 100%;
		margin-top: 14px;
		text-align: center;
	}

	.main-nav a {
		margin: 0 10px;
		display: inline-block;
	}

	.hero-text h1 {
		font-size: 44px;
	}

	/* let the welcome heading sit on top of the paragraph on a phone */
	.welcome {
		flex-direction: column;
		gap: 10px;
	}

	.page-head h1 {
		font-size: 40px;
	}

	.page-head::before {
		width: 118px;
		height: 118px;
		top: -54px;
		right: -12px;
	}

	.art-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.about-top,
	.contact-wrap {
		flex-direction: column;
		gap: 28px;
		/* flex-start is for the two column layout, stacked it just squishes the fields */
		align-items: stretch;
	}

  .about-photo {
    flex: 1 1 auto;
    width: 100%;
  }

	.statement p {
		font-size: 20px;
	}
}
