/***** ART LESSON GROUPS PAGES *****/
/***** RESETS & GLOBAL VARIABLES *****/
:root {
	--color-background-html: rgba(254, 234, 199, 0.47);
	--color-background-header-footer: rgba(123, 121, 143, 0.5);

	--color-text-header-footer: rgb(76, 67, 65);
	--color-text-header-page-title: rgb(76, 67, 65);
	--color-text-header-lesson-type: #4e4e4e;

	--color-text-lesson-head: rgb(76, 67, 65);
	--color-text-lesson-subhead: #4e4e4e;

	--color-text-body: rgb(142, 0, 0);
	--drop-shadow-btn-sm: 0 3px 10px 0 rgba(0, 0, 0, .19);
	--drop-shadow-btn-lg: 0 5px 15px 0 rgba(0, 0, 0, .33);

	--color-btn-hover: #789cbc;
	--color-artpath-hover: rgb(142, 0, 0);
}
* {
	margin: 0;
	padding: 0;
}
*,
*::before,
*::after {
	box-sizing: inherit;
}
html {
	background-color: var(--color-background-html);
	box-sizing: border-box;
	font-size: 62.5%;  /* 10px for easy math; 10/16 */
}
body {
	max-width: 1200px;
	margin: 0 auto;
   color: var(--color-text-body);
   font-family: 'Cantarell', sans-serif;
	line-height: 1.5;

	/* stick footer to bottom of page */
	min-height: 100vh;
	display: flex;
	flex-direction: column; 	
}
img {
	display: block;
	width: 100%;
	height: auto;
}

/***** NEW HEADER *****/
.header {
	background-color: var(--color-background-header-footer);
	margin-bottom: 1.5rem;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
}
.header-logo-group {
	padding: 1.5rem;
	align-self: flex-start;
}
.header-h1 {
	color: var(--color-text-header-page-title);
	font-size: 3rem;
	font-family: 'Kaushan Script', cursive;
   font-weight: lighter;
	line-height: 1;
   letter-spacing: .2rem;
	padding-top: 1.5rem;
	padding-left: 1.5rem;
	margin-bottom: .7rem;
}
.header-tagline {
	font-size: 2rem;
	padding-left: 3.5rem;
	padding-bottom: 1.5rem;
	color: var(--color-text-header-lesson-type);
}
.header-contact-group {
	padding: 1.5rem;
	align-self: flex-end;
}
.header-a {
   display: inline-block;
   font-size: 1.4rem;
   text-decoration: none;
   background-color: var(--color-background-html);
	color: black;
   padding: 8px 16px;
   border-radius: 15px;
	box-shadow: var(--drop-shadow-btn-sm);
}
.header-a:hover {
	box-shadow: var(--drop-shadow-btn-lg);
   background-color: var(--color-btn-hover);
   color: white;
}


/* for "Art Path" as return to home in both header and footer */
.ret-home {
	color: var(--color-text-page-title);
	text-decoration: none;
}
.ret-home:active,
.ret-home:hover {
    color: var(--color-artpath-hover);
	text-decoration: underline;
	outline: 0;
}

/***** MAIN AREA *****/
.main-area {
	padding: 0 3rem;
}
.focus-img {
	margin-bottom: 1rem;
}

/****** TEXT EXPLANATION SECTION *****/
.art-lessons {
	margin-bottom: 1rem;
}
.art-lessons h2 {
	font-size: 1.8rem;	
	color: var(--color-text-lesson-head);
}
.art-lessons h3 {
	font-size: 1.6rem;
	font-weight: lighter;
    color: var(--color-text-lesson-subhead);
	margin-left: 1.5rem;
}
.art-lessons h3:last-of-type {
	margin-top: .5rem;
}
.art-lessons-text-descr {
	margin: 1.2rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

/***** LIST ITEM SECTION *****/
li {
	font-size: 1.2rem;
}
.scheduling,
.planning {
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 4.5rem;
}
.series, 
.e-l {
	padding-left: 2rem;
}
.e-l {
	list-style-type: none;
}

/***** IMAGES *****/
/* layouts at the various widths are in the media queries */
.card {
	margin-bottom: 1rem;	
}

/***** FOOTER *****/
.footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.3rem;

	background-color: var(--color-background-header-footer);
	color: var(--color-text-header-footer);

	/* stick to bottom of page */
	margin-top: auto;
}
.footer-artpath {
	font-family: 'Kaushan Script', cursive;
	font-weight: lighter;
	font-size: 2rem;
}
.copyright {
	font-size:1.4rem;
	color: var(--color-text-header-footer);
}

/***** MEDIA QUERIES *****/
/* 320px is where the iphones start */
@media screen and (min-width: 320px) {
	.cards {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.card {
		width: calc(50% - .5rem)
	}
}

@media screen and (min-width: 520px) {
	/* put the header back to all one row */
	.header {
		flex-direction: row;
	}
	.header-contact-group {
		display: flex;
		align-self: center;
	}
}

/* change to the two column layout */
@media screen and (min-width: 640px) {
	main {
		display: grid;
		grid-template-columns: 40% 60%;
		grid-column-gap: 1rem;
	}
	.pat-main {
		grid-column: 2 / 3;
		grid-row: 1 / 2;
		margin-right: 1rem;
	}
	.cards {
		grid-column: 2 / 3;
		grid-row: 2 / 3;
		/* margin-right: 1rem; */
	}
	.art-lessons {
		grid-column: 1 / 2;
		grid-row: 1 / 4;
	} 
} 