/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face {
    font-family: 'OptimusPrinceps';
    src: url('fonts/OptimusPrinceps.woff') format('woff'),
        url('fonts/OptimusPrinceps.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans-Regular.woff') format('woff'),
        url('fonts/JosefinSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond 12';
    src: url('fonts/EBGaramond12-Regular.woff') format('woff'),
        url('fonts/EBGaramond12-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
  height: 100%;
  background-color:#d0e1e6;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      rgba(0,0,0,0.1) 100px,
      transparent 0px,
      transparent 200px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      rgba(0,0,0,0.1) 100px,
      transparent 0px,
      transparent 200px
    );
}

body {
  background-color: #fcfbfb;
  box-shadow: 2px 4px 16px #000000;
  color: black;
  font-family: 'EB Garamond 12';
  margin: 1em auto;
  max-width: 40em;
  padding: 0 0.62em;
}

h1 {
  text-align: center;
  font: 40px 'OptimusPrinceps';
  padding-top: 0.62em;
}

h2 {
  text-align: center;
  font: 20px 'Josefin Sans';
}

hr {
  height: 1px;
  border-style: none;
  background-image: linear-gradient(
    90deg,
    transparent,
    rgba(191, 155, 48, 0.5) 20%,
    rgba(255, 191, 96, 1) 50%,
    rgba(191, 155, 48, 0.5) 80%,
    transparent 100%
  );
}