/*  JavaScript 7th Edition
    Chapter 5
    Chapter Case

    Filename: styles.css
*/

/* apply a natural box layout model to all elements */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
 }
 
 /* reset rules */
 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;
    width: 1000px;
    background: white;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif; 
 }
 
 ol, ul {
    list-style: none;
 }
 
 /* article styles */
 
 article {
    width: 100%;
    height: 800px;
    margin: 0 auto;
 }
 
 article > h1 {
    font-size: 3.8em;
    text-align: center;
    color: ivory;
    text-shadow: 2px 2px 10px black;
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
    margin: 5px 0 20px 0;
 }
 
 article > p {
    font-size: 1.5em;
    line-height: 2;
 }
 
 article > ul {
    list-style-type: disc;
    font-size: 1.2em;
    line-height: 2;
    padding-left: 20px;
    padding-bottom: 40px;
    border-bottom: 3px solid gray;
 }
 #favImage{
   text-align: center;
}

#BtnAddToFav {
   background-color: #009cfd;
   border: none;
   color: white;
   padding: 15px 32px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   cursor: pointer;
   
 }

 body{
   background-color: #dcf6fc;
   margin-left: auto;
   margin-right: auto;
   
 }
 table{
   text-align: center;
   margin-left: auto;
   margin-right: auto;
 }

 figure{
   text-align: center;
 }

  
 footer{
   text-align: center;
   font-size: smaller;
   padding-bottom: 5px;
 }
 #RmvFrmFav{
   background-color: #009cfd;
   border: none;
   color: white;
  padding: 5px 5px;
   text-align: center;
   text-decoration: none;
   display: inline-block;
   font-size: 16px;
   margin: 4px 2px;
   cursor: pointer;
 }
 .favedImg{

   width: 180px;
 }

 #favTitle{

font-size: medium;
   padding-top: 20px;
   padding-bottom: 20px;
 }