/*
 * Font faces generated using Google Webfonts Helper https://gwfh.mranftl.com/fonts
 */

/* literata-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: 'Literata';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/literata-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* literata-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: 'Literata';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/literata-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* literata-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: 'Literata';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/literata-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    font-family: Literata, "Segoe UI", Helvetica, Arial, sans-serif;
    padding: 20px; /* Padding between border of window to content. */
    background-color: #D67D61;
}

body {
    max-width: 800px;
    margin: 0 auto; /* Keep body centered */
    color: #2D1B17;
    line-height: 1.7;
}

div.contentbox {
    /* Padding between text and box. */
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;

    /* Rounded border with shadow. */
    border-radius: 10px;
    box-shadow: 0 0 5px 5px rgba(0,0,0,.5);

    background-color: White;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
}

/* Code text inline in normal text. */
code {
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    padding: 3px;
    background-color: FloralWhite;
    border-radius: 3px;
    font-family: "Source Code Pro", Consolas, monospace;
    font-size: smaller;
}

/* Code listing block. */
pre {
    overflow: auto;
}

blockquote {
    background-color: WhiteSmoke;
    padding-left: 10px;
    padding-right: 10px;
    border-left: 5px solid #D67D61;
    border-radius: 3px;
}

img {
    max-width: 100%;
}

figure img {
    border-radius: 5px;
    box-shadow: 0 0 3px 3px rgba(0,0,0,.5);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figcaption {
    text-align: center;
    font-size: small;
    font-style: italic;
    padding: 10px;
}

a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: #FFD369; /* Switches to Gold on hover */
    text-decoration-thickness: 2px;
}

div.header {
    text-align: center;
}

a.header {
    font-size: 300%;
    color: Black;
    text-decoration: none;
    text-shadow: 3px 3px 2px #D67D61;
}

a.header:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

a.header2 {
	font-size: 150%;
    color: Black;
    text-decoration: none;
    border-bottom: none;
    text-shadow: 2px 2px 1px #D67D61;
}

a.header2:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

p.date {
    font-size: medium;
    padding-bottom: 20px;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
