@font-face {
  font-family: "Lora";
  src: url("font/alegreya-v35-latin-500.woff") format("woff"),
       url("font/alegreya-v35-latin-500.woff2") format("woff2")
       url("font/alegreya-v35-latin-500italic.woff") format("woff"),
       url("font/alegreya-v35-latin-500italic.woff2") format("woff2")
       url("font/alegreya-v35-latin-700.woff") format("woff"),
       url("font/alegreya-v35-latin-700.woff2") format("woff2");
  }

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;
}

/*---------------------------------------------*/

body, html {
  height: 100%;
  background-color: #B6B5B5;
  font-size: 20px;
  font-family: alegreya, serif;
}

h1 {
  font-size: 40px;
  text-align: center;
  padding: 1rem;
  background-color: #5F7A78;
  color: white;
  font-family: alegreya, serif;
}

.title {
  font-size: 40px;
  text-align: center;
  padding: 10rem;
  background-color: #5F7A78;
  background-image: url(images/temple.png);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.sub {
  text-align: center;
  font-size: 30px;
  padding: 1rem;
  background-color: #5F7A78;
  color: white;
}
/*sub header text naming author of the story*/

h2 {
  font-size: 30px;
  text-align: center;
  font-family: alegreya, serif;
}

p {
  margin: 0 auto;
  width: 40%;
  font-size: 23px;
  padding: 2rem;
  font-family: alegreya, serif;
}

footer {
  padding: 1rem;
  font-family: alegreya, serif;
}

.journal {
  background-color: #b39569;
  background-image: url(images/entries-background.jpg);
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 1rem;
}


.himg1 {

  background-image: url("images/narrative1.jpg");

  height: 100%;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.himg2 {

  background-image: url("images/narrative2.jpg");

  height: 100%;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.himg3 {

  background-image: url("images/narrative3.jpg");

  height: 100%;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.himg4 {
  
  background-image: url("images/narrative4.jpg");

  height: 100%;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.himg5 {

  background-color: black;
  height: 100%;

}

.himg5 video {
  margin: 0;
  height: 100%;
  width: 100%;
}

.smallscreen {
  display: none;
}

/*display settings for screen size note*/
@media screen and (max-width: 1000px) {
  .smallscreen {
    display: block; 
    text-align: center;
    background-color: #5F7A78;
    color: white;
    font-family: alegreya, serif;
    font-size: 35px;
    padding: 2rem;
  }
}