*,
*::before,
*::after {
	box-sizing: border-box;
}

img {
	display: block;
	max-width: 100%;
}	

/*  custom properties
-----------------------------------------------------------------------  */

:root {
	--ff-primary: Raleway, Verdana, sans-serif;
	--ff-secondary: Raleway, Verdana, sans-serif;
	
	--fw-reg: 400;
	--fw-bold: 900;
	
	--clr-light: #fff;
	--clr-dark: #303030;
	--clr-accent: #16e0bd;
	--clr-bckgrnd: #e6ffe6;
	--clr-cocobrown: #7E3817; /* #7E3817 - COCO BROWN */
	
	--fs-h1: 2.5rem;
	--fs-h2: 2.25rem;
	--fs-h3: 1.25rem;
	--fs-body: 1rem;
}

@media (min-width: 900px) {
	:root {
		--fs-h1: 3.5rem;
		--fs-h2: 3rem;
		--fs-h3: 1.5rem;
		--fs-body: 1.125rem;
	}
}

html {
	font-size: 16px; /* not really necessary if you set the font-size in the body to 1rem and use rem for all font sizes throughout your code. However, by setting font-size here, you can change this one setting and affect all the font sizes in the document. */
/*
	use em, %, or width for all other elements so they stay relative to there parent element (to avoid cascading 'problems')???
*/
}
* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 1.25rem;
	line-height: 1.6;
	font-family: var(--ff-primary);
	text-align: center;
}
ul {
	padding: 0;
}

/* TYPOGRAPHY 
----------------------------------------------------------------------------- */
/* h1 element is defined in carousel.css */

h1 {
	font-size: var(--fs-h1);
	margin: 0;
}
h2 {
	font-weight: 400;
	font-size: 1.4em;
}
h3 {
	font-weight: 400;
/*
	font-size: 1.25em;
*/
	font-size: 1em;
}

/* 
----------------------------------------------------------------------------- */

.indent-ml-01 {
	margin-left: 1em;
}

.indent-ml-02 {
	margin-left: 2em;
}

.myCenter {
	margin: 0 auto;
}

/* NAVBAR
----------------------------------------------------------------------------- */

.navbar {
	grid-area: navbar;
/*
		leave .navbar class visibility: visible; position: absolute; and background: none;
		this will put the navbar on top of the carousel
		***** this step is only necessary on index.html
		change .navbar-logo and .navbar-menu classes to visibility: hidden;
		change .navbar-toggle color to white

	visibility: hidden;
	display: none;
*/
}

/* CAROUSEL
----------------------------------------------------------------------------- */
	.main-carousel {
		grid-area: main-carousel;
	}

/* MAIN-ABOUT
----------------------------------------------------------------------------- */

	section h2 {
		padding-top: .5em;
		padding-bottom: .25em;
	}

	section h3 {
		text-align: left;
		margin: 0 1em;
	}
 			
	section ul {
		text-align: left;
		list-style-type: none;
		padding-right: .5em;
		margin-left: 2em;
	}
	
	section li {
		font-size: 0.9em;
	}

	.main-about p {
		font-size: 0.8em;
		margin-bottom: .6em;
	}

	.main-about h2 {
		margin-top: 0;
	}

img.sublogo_img {
	height: auto;
	border-radius: 50%;
	margin-bottom: .6em;
}

div.pictureWrapper {
	text-align: center;
	padding: 0;
	margin: 0 0 1em 0;
}

.pictureWrapper picture img {
	max-width: 100%;
	max-height: 100%;
	display: block; /* remove extra space below image */
	border-radius: 1.5em;
	margin: 0 auto;
}

/* SCRIPTURE MAIN-ABOUT1
----------------------------------------------------------------------------- */

#scripture {
	grid-area: main-about1;
	padding-bottom: 1.5em;
}
#scripture p {
	padding: 0 .6em;
}

/* FAMILY MAIN-ABOUT2 
----------------------------------------------------------------------------- */

	section .family-submenu {
		grid-area: familyMenu;
		padding-bottom: 1.5em;
	}
	
	#family {
		grid-area: main-about2
	}
	#family p {
		padding: 0 .6em;
	}
	#family-gallery01 div {
		display: flex;
		flex-flow: column wrap;
		align-items: center;
		padding-top: 2em;
	}

	#family-images div {
		display: flex;
		flex-flow: column wrap;
		align-items: center;
	}
	#family-images img {
		border-radius: 2em;
/*
		width: 90%;
		object-fit: cover;
*/
		margin: 1em;
	}

	.family-submenu-links {
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		list-style: none;
/*
		max-width: 90%;
*/
		max-width: 90%;
		padding-top: 0.5em;
		margin: auto;
	}
	.family-submenu-links li {
		font-size: 0.75em;
		min-width: 225px;
		text-transform: uppercase;
		border: 1px solid #808080;
		border-radius: 1em;
		padding: .3em .9em;
		margin: .2em;
	}
	.family-submenu-links li {
		background-color: rgba(51, 153, 51, 0.4); /* #339933 */
	}
	.family-submenu-links li:hover {
		background-color: rgba(252, 255, 158, 1);
	}

	.family-about {
		text-align: left;
		padding: 1em;
	}

/* CAREER MAIN-ABOUT3
----------------------------------------------------------------------------- */

	#career {
		grid-area: main-about3;
		padding-bottom: 1.5em;
	}
	#career p {
		padding: 0 .6em;
	}

/* blank page template
---------------------------------------------------------------------------- */

#blank-page {
	/* background-color: var(--clr-bckgrnd); */
	text-align: left;
	padding: .5em 2em 2em 2em;
}
#blank-page a {
	padding-left: 3em;
}
#blank-page h1 {
	text-align: center;
}

/* footer
----------------------------------------------------------------------------- */

.site-footer {
	grid-area: footer;
}

.wrapper {
	display: grid;
	grid-template-areas:
		'navbar'
		'main-about1'
/*
		'main-about2'
		'main-about3'
*/
		'footer';
}



/* I like to include this as it helps me set breakpoints 
Extra small (xs) devices (portrait phones, less than 576px)

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
*/

@media screen and (min-width:767px) {
/*
	.wrapper {
		grid-template-areas:
		'navbar navbar'
		'main-about1 main-about1'
		'main-about2 main-about3'
		'footer footer';
	}

	.main-about img {
		width: auto;
		max-width: 100px;
		height: auto;
	}
*/

	#family-images div {
		flex-flow: row wrap;
		justify-content: space-between;
	}
	#family-images img {
		width: 40%;
	}

	.family-submenu-links {
		flex-flow: row wrap;
		justify-content: space-between;
	}
}

@media screen and (min-width:991px) {
/*
	.wrapper {
		grid-template-areas:
		'navbar navbar navbar'
		'main-about1 main-about2 main-about3'
		'footer footer footer';
	}
*/

	#family-images div {
		flex-flow: row wrap;
		justify-content: space-between;
	}
	#family-images img {
		width: 30%;
	}
	
}
