/* A crude reset for a simple document */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




/*======= START TO CSS STYLING =======*/


/*======= LAYOUT =======*/

body {
   color: #000000;
   background-color: #fff0e0;
   font-family: Arvo, "Cambria", "Georgia", serif;
   max-width: 55rem; /*used to keep everything contained centered to the page*/
   margin: 0 auto; /*used to keep everything contained centered to the page*/
}

main { 
   max-width: 55rem; /*used to keep everything contained centered to the page*/
   margin: 0 auto; /*used to keep everything contained centered to the page*/
}


/*======= TYPOGRAPHY =======*/

header {
   font-size: 3rem;
   font-family: Arvo, "Cambria", "Georgia", serif;
   color: rgb(86, 16, 109);
   text-align: left;
   padding-top: 3rem;
   max-width: 20em;
}

h1 {
   font-size: 1.95rem;
   font-family: Arvo, "Cambria", "Georgia", serif;
   color: #f16039;
   text-align: left;
   margin-top: 2rem;
}

p {
   font-size: 1.2rem;
   font-family: Arvo, "Cambria", "Georgia", serif;
   line-height: 1.5;
   color: rgb(53, 27, 79); 
   padding-top: 1.5rem;
}


h1, p, h2 {
   margin-left: auto;
   margin-right: auto;
   padding-bottom: .5rem;  

}

/*======= IMAGES =======*/

figure{
   font-family: Arvo, "Cambria", "Georgia", serif;
   font-weight: 600;
   width: 30%;
   display: inline-block; /*aligns horizontally*/
   margin: 12px; 
   font-size: 1.5em;
   text-align: center;
   line-height: 4;
}

figure img {
  display: block;    /* I used this to ensure that the image is a block element*/      
  margin: 0 auto;   /* horizontally center the image*/       
  max-width: 100%;   /* this scaled down the image to fit in the contaniner - needed to do this becasue I wanted the images on the homepage to look differently in terms of placement and size than the other pages.*/      
  height: auto;  /*to maintain the proper ratio of the image */
}

img { 
   display: inline-block;
   height: auto;
   float: right; /* I used this to ensure that the image is floated to the right of my text*/
}


svg {
   float: right; /* I used this to ensure that the svg is floated to the right of my heading container*/
   display: inline-block;
   padding-right: 30px; /* to have it inline with my paragraphs*/
}

/*======= NAVIGATION & LINKS =======*/

a {
   color:#f16039;
}

a:hover,
a:focus-visible{
    color: rgba(39, 1, 129, 0.336);  
}

a:active{
   color: black;
}

nav ul{ 
	display: flex;
	gap: 20px; 
	list-style: none; 
   justify-content: center;
   align-items: center;
   font-size: 20px;
}

nav li + li {
	border-left: 2px solid grey;
	padding-left: 2rem;
}


/*======= FOOTER =======*/
footer {
   padding-top: 4rem; 
   padding-bottom: 4rem;
   text-align: center;
   font-family: Arvo;
   color: black;
}















