/* 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;
}
* {
    box-sizing: border-box;
} 








/*===============My Style Sheet===============*/


/*========whole page========*/
body {
    background: #FAFAF4;
    border: 3px solid #F2B3B3;
    border-radius: 20px;
    margin: 1em;
    
    /*typography*/
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 27px;
    color: #404259;
    text-align: left;
    line-height: 1.5;
}

a{
    text-decoration: none;
    color: #404259;
} 









/*==========header style==========*/
header {
    padding-bottom: 1em;
}

 header p { /*title */
    font-size: 2.5em;
    color: #86A691;
    font-weight: 900;
    margin: 0.1em 0.4em 0.3em;
    text-decoration: underline;
    text-decoration-color: #F2B3B3;
}

ul li { /*nav*/
    float: right;
    display: block;
    padding: 0em 0.7em 2.5em;
    font-size: 1.2em;
    font-style: italic;
}
ul a:hover {
    text-decoration: underline #F2B3B3;
    font-style: normal;
    color: #F2B3B3;
}
/*==========main style==========*/
main {
    padding: 0 auto;
    width: 70%;
    margin: 4em auto 2em;

}
h1 {
    font-size: 1.5em;
    padding: 2em 0em 0.5em;
    text-align: center;
    text-decoration: underline;
}
h2 {
    font-size: 1.3em;
    padding: 1em 0 0.5em;
}
h3 {
  font-size: 1.2em;
  padding: 1em 0 0.2em;
}
figure{
    font-weight: 400;
    margin: 0 auto;
    vertical-align: top;
    font-size: 1.5em;
    text-align: center;
   
}
img{
    display: block; /*allows them to be centered*/
   border-radius: 20px;
   border: 3px solid #F2B3B3;
   margin-top: 0.8em;
   margin-bottom: 0.6em;
   max-width: 100%;
   height: auto;
   margin-left: auto;
   margin-right: auto;
}
main a{
    color: #404259;
}
main a:hover{
    color:#86A691;
;
}
main p{
    border-bottom: 2em;
}



/*==========footer style==========*/

footer {
    border-top: 3px solid #F2B3B3;
    text-align: center;
    padding: 1em ;
}
footer p:last-of-type{ 
    font-size: 0.5em;
    padding-top: 1em; 

}
footer a {
    font-size: 1em;
    font-style: italic;
    text-decoration: underline;
}
footer a:hover{
    color:#86A691;
}