/*link fonts*/

/* chivo-mono-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/chivo-mono-v11-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* chivo-mono-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/chivo-mono-v11-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* chivo-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/chivo-mono-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* chivo-mono-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/chivo-mono-v11-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* chivo-mono-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/chivo-mono-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* chivo-mono-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Chivo Mono';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/chivo-mono-v11-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* doto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Doto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/doto-v3-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* doto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Doto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/doto-v3-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* xanh-mono-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Xanh Mono';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/xanh-mono-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* xanh-mono-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Xanh Mono';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/xanh-mono-v19-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*change box sizing*/
* {
  box-sizing: border-box;
}

/*style headlines and paragraphs*/
h1 {
  font-size: 44px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  color: #fffaf1;
  margin: 0px;
  padding: 30px 30px 10px 30px;
  text-align: center;
}

h2 {
  font-size: 36px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  color: #333;
}

p {
  font-size: 22px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  color: #333;
  text-align: left;
  font-weight: 400;
}

.introductionText {
  color: #fffaf1;
  margin: 0px auto 0px auto;
  padding: 30px;
  text-align: center;
}

/*style header elements*/

nav {
  background-color: #fffaf1;
  width: 100%;
  position: sticky;
  top: 0px;
  z-index: 2;
  box-shadow: 0px 0px 15px #2a3517;
}

header {
  display: flex;
  color: #2a3517;
  margin: 0px 20px;
  text-align: center;
  z-index: 2;
}

.headerTitle {
  display: inline-flex;
  padding: 15px;
  width: 100%;
  order: 2;
  justify-content: center;
  font-size: 22px;
  color: #2a3517;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  text-decoration: none;
  font-weight: 700;
}

.headerTitle:hover {
  text-shadow: 0px 0px 10px #2a3517;
  color: #fffaf1;
}

/*style body element*/

body {
  background-image: url("../assets/background.png");
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #333;
  border: none;
  margin: 0px;
}

/*set canvas element block method*/

canvas {
  display: block;
}

/*style stories*/

article {
  background-color: #fffaf1;
  width: 66%;
  max-width: 800px;
  margin: 50px auto 50px auto;
  padding: 50px;
  border-radius: 5px;
}

/*style main page button*/

.readingStarter {
  display: flex;
  position: relative;
  justify-content: center;
  font-size: 22px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  color: #333;
  border-radius: 5px;
  border: none;
  background-color: #fffaf1;
  text-decoration: none;
  max-width: 800px;
  margin: 30px auto;
  padding: 10px 15px;
  text-align: center;
}

.readingStarter:hover {
  text-shadow: 0px 0px 10px #2a3517;
  color: #fffaf1;
}

/*style next page button in header*/

.nextPage {
  display: inline-flex;
  float: right;
  order: 3;
  padding: 8px 13px;
  align-items: center;
  margin: auto;
  font-size: 16px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  border-radius: 5px;
  border: none;
  color: #fffaf1;
  background-color: #2a3517;
  text-decoration: none;
}

.nextPage:hover {
  box-shadow: 0px 0px 15px #2a3517;
  background-color: #fffaf1;
  text-shadow: 0px 0px 5px #2a3517;
  color: #fffaf1;
}

/*style info page button in header*/

.info {
  display: inline-flex;
  float: left;
  order: 1;
  padding: 8px 10px;
  align-items: center;
  margin: auto;
  font-size: 16px;
  font-family: 'Chivo Mono','Courier New', Courier, monospace;
  border-radius: 5px;
  border: none;
  color: #fffaf1;
  background-color: #2a3517;
  text-decoration: none;
}

.info:hover {
  box-shadow: 0px 0px 15px #2a3517;
  background-color: #fffaf1;
  text-shadow: 0px 0px 5px #2a3517;
  color: #fffaf1;
}

/*style info text on info page*/

.infoText {
  text-align: center;
}

/*style main page slightly see through container*/

.glassBox {
  display: inline-block;
  padding: 30px;
  max-width: 800px;
  width: 66%;
  margin: 80px 50px 50px 50px;
  border-radius: 10px;
  background-color: #2a35174e;
  backdrop-filter: blur(10px);
  border-top: 1px solid #b0c49f;
  border-left: 1px solid #b0c49f;
  box-shadow: 1px 1px 5px #2a3517;
}

/*redefine main page to center objects*/

.mainPage {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*style different font styles*/

.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.thin {
  font-weight: 200;
}

.boldItalic {
  font-weight: 700;
  font-style: italic;
}

.thinItalic {
  font-weight: 200;
  font-style: italic;
}

.dotted {
  font-family: 'Doto','Courier New', Courier, monospace;
  font-weight: 400;
}

.dottedBold {
  font-family: 'Doto','Courier New', Courier, monospace;
  font-weight: 700;
}

.fancy {
  font-family: 'Xanh Mono','Courier New', Courier, monospace;
  font-weight: 400;
}

.fancyItalic {
  font-family: 'Xanh Mono','Courier New', Courier, monospace;
  font-weight: 400;
  font-style: italic;
}