html {
  overflow-y: scroll;
}

#hr {
  width: 40%;
  border: 1px solid rgb(242,242,242);
 }
 
 
.title {
    padding-top: 30px;
    padding-bottom: 20px;
	font-size: 30px;
    font-style: italic;
    height: 40px;
    font-family: segoe-script, Helvetica, sans-serif;
	color: rgb(89,89,89);
	text-decoration: none;
    text-transform: none;
    text-align:center;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

#navi_bar {
    width: 100%;
    height: 40px;
    text-align:center;
    margin-left:auto;
    margin-right:auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(255,233,255);
}

#navi_bar a {

	font-size: 17px;
    font-family: corbel, Helvetica, sans-serif;
	color: rgb(163,163,163);
    text-decoration:none;
    margin-left: 30px;
    margin-right: 30px;
}

#navi_bar a:hover {
	text-decoration: none;
    border-bottom: 1px solid rgb(163,163,163);
    padding-bottom: 3px;
    padding-top: 4px;
}

#book_title  {
  margin-top: 30px;
  text-align:center;
  color: black;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#book_title h1 {
  font-size: 20px;
  margin-bottom: 10px;
}
  
#book_title h2 {
  width: 60%;
  font-size: 15px;
  display:inline-block;
  border-top: 1px solid rgb(242,242,242);
  padding-top: 10px;
  margin-bottom: 0px;
}

#chapter_1  {
  margin-top: 30px;
  text-align:center;
  color: black;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#chapter_1 h1 {
  font-size: 20px;
  margin-bottom: 10px;
}
  
#chapter_1 h2 {
  width: 60%;
  font-size: 15px;
  display:inline-block;
  padding-top: 10px;
  margin-bottom: 0px;
}

#chapter_1_text p {
  padding-left: 30px;
  padding-right: 30px;
}

#container img {
  height: 357px;
  width: 520px;
  margin-top: 15px;
} 

#read_first_chapter {
  margin-top: 40px;
  padding-bottom:0px;
  margin-left: -70px;
} 

#book_cover_picture {
  margin-left: -80px;
} 

#book_cover_picture img {
  height: 406px;
} 

#book_desc {
  margin-top: 30px;
  margin-left: -60px;
} 

#book_desc p {
  font-size: 15px;
  font-family: 'Corbel', Helvetica, sans-serif;
  margin-bottom: 30px;
  color: gray;
} 

#chapter_1  {
  text-align:center;
  color: gray;
  padding-top: 0px;
}

#chapter_1 a {
  font-size: 18px;
  font-family: segoe-script, Helvetica, sans-serif;
  text-decoration:none;
  color: rgb(96,96,96);
}

#chapter_1 h2 {
  font-size: 15px;
  display:inline-block;
  font-family: 'Corbel', Helvetica, sans-serif;
}

#chapter_1_rows h2 {
 margin-top: 0px;
 margin-bottom: 0px;
}

#other_books h1 {
  margin-top: 20px;
  margin-bottom: 0px;
  color: rgb(96,96,96);
}

#other_books h1 {
  font-size: 18px;
  text-align:center;
  font-family: segoe-script, Helvetica, sans-serif;
}

#book_2 {
  margin-left: 200px;
}

#book_2 h1  {
  color: black;
  font-size: 15px;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#book_2 h2  {
  color: black;
  font-size: 15px;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#book_2_cover_picture {
  margin-left: 200px;
}

#book_2_cover_picture img {
  height: 280px;
  width: 200px;
  margin-bottom: 50px;
} 

#book_3 {
  margin-right: 100px;
}

#book_3 h1  {
  color: black;
  font-size: 15px;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#book_3 h2  {
  color: black;
  font-size: 15px;
  font-family: 'albertsthal-typewriter', Helvetica, sans-serif;
}

#book_3_cover_picture {
  margin-right: 100px;
}

#book_3_cover_picture img {
  height: 280px;
  width: 200px;
  margin-bottom: 50px;
} 

#about_picture {
  margin-top: 20px;
}  

#about_picture img {
  height: 280px;
  margin-left: -50px;
} 

#about_text {
  margin-top: 20px;
  margin-left: -90px;
  padding-right: 100px;
}  

#about_text h1 {
  font-size: 18px;
  font-family: segoe-script, Helvetica, sans-serif;
  text-align: left;
  margin-bottom: 5px;
  color: rgb(96,96,96);
}
 
#about_text p {
  font-size: 15px;
  font-family: 'Corbel', Helvetica, sans-serif;
  text-align: left;
  margin-bottom: 30px;
  color: gray;
} 
 
#hear_from_fans h1 {

  font-size: 18px;
  color: rgb(96,96,96);
  text-align:center;
  font-family: segoe-script, Helvetica, sans-serif;
  margin-bottom: 0px;
  margin-top: 20px;
}


#container7  {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align:center;
  color: gray;
}

#container7 h1 {

  font-size: 18px;
  text-align:center;
  font-family: segoe-script, Helvetica, sans-serif;
  color: rgb(96,96,96);
}

#container7 h2, #container7 a {
  font-size: 18px;
  display:inline-block;
  font-family: 'Corbel', Helvetica, sans-serif;
  margin-bottom: 0px;
}

#container7 form {
 margin-top: 50px;
 }

/*Buy-Now Section*/

#buy-now {
  margin-top: 10px;
  margin-bottom: 70px;
}

#buy-now img {
  height: 20px;
  width: 75px;
  border: 1px solid #E1E1E1;
  border-radius: 7px;
  }

#buy-now table {
  margin-left:auto;
  margin-right:auto;
  width: 25%;
  text-align:center;
}

/*Subscribe Section*/

#mailing_list  {
  margin-bottom: -10px;
  text-align:center;
  color: gray;
}

#mailing_list h1 {
  font-size: 18px;
  font-family: segoe-script, Helvetica, sans-serif;
  margin-bottom: 10px;
  color: rgb(96,96,96);
}

#mailing_list h2 {
  font-size: 18px;
  font-family: 'Corbel', Helvetica, sans-serif;
  margin-bottom: 0px;
}

#subscribe {
    text-align:center;
    margin-top: 30px;
}

/*Follow Section*/

#follow  {
  margin-top: 18px;
  text-align:center;
  color: gray;
}

#follow h1 {

  font-size: 18px;
  font-family: segoe-script, Helvetica, sans-serif;
  margin-bottom: 0px;
  color: rgb(96,96,96);
}

#follow a {
  text-decoration: none;
}

#follow a img {
  margin-top: 20px;
  width:  25px;
  height: 25px;
}   

/*Copyright Section*/

#copyright p {
  margin-top: 20px;
  text-align: center;
  font-family: segoe-script, Helvetica, sans-serif;
  font-size: 12px;
  color: rgb(163,163,163);  
}

#copyright img {
  vertical-align:text-bottom;
  margin-bottom: -3px;
  margin-left: -7px;
  
}

@media (max-width: 500px) {
  #buy-now img {
  height: 25px;
  width: 90px; }
} 

/*Media Queries*/

@media (max-width: 800px) {
  #container img {height: 200px;width: 280px;} 
  #navi_bar a {margin-left: 12px; margin-right: 12px;} 
  #copyright {padding-left: 10px; padding-right: 10px;}
  #chapter_1  {margin-top: 70px;} 
  #book_2_cover_picture img {margin-left: -300px;}
  #book_3_cover_picture img {margin-right: -300px;}
  #book_2 h1, #book_2 h2 {margin-left: -300px;}  
  #book_3 h1, #book_3 h2 {margin-right: -300px;}
  #book_2_cover_picture img {margin-bottom: 0px;}
  #subscribe input {width: 300px;}
  #subscribe #submit {width: 100px;}
  #mailing_list {padding-top: 50px;}
  #follow {padding-top: 20px;}
} 

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
  #container img {height: 200px;width: 280px;}
  #container1 {width: 100%;}
  .title {padding-top: 20px; padding-bottom: 0px;}
  #navi_bar {margin-top: 10px; margin-bottom: 15px;}
  #navi_bar a {margin-left: 9px; margin-right: 9px;}
  #navi_bar a:first-child {margin-left: 4px;}  
  
} 

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px)
and (orientation : landscape) {
  #container img {height: 270px;width: 380px;}
  .title {padding-top: 20px; padding-bottom: 0px;}
  #navi_bar {margin-top: 10px; margin-bottom: 15px;}
  #navi_bar a {margin-left: 16px; margin-right: 16px;}
} 
