:root {
  /* Text Colors: */
  --text-color: #272932;
  --link-color: #ffb3c6;
  --link-color-hover: #ffe5ec;

  /* Text: */
  --font: Garamond, serif;
  --heading-font: Helvetica, sans-serif;
  --font-size: 1em;

  --background-color: #a59696;
}

body
{
    display:flex;
    align-items: center;
    justify-content: center;
    background-image: url("/Images/background.jpg");
    background-repeat: no-repeat;
    background-attachment:fixed;
    color: var(--text-color);
}

p
{
    font-family: var(--font);
    font-size: 1em;
}

img
{
    max-width: 100%;
}

a
{
    color: var(--link-color);
    text-shadow: 1px 1px var(--text-color);
    text-decoration: none;
}

a:hover
{
    background-color: var(--text-color);
}

#wrapper
{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1140px;
}

#container
{
    display:flex;
    flex-direction: row;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    min-height: 800px;
    width: 100%;
}

#header 
{ 
    padding: 0;
    height: fit-content;
    margin-left: 0;
    margin-right: 0;
    border-style: solid;
    border-width: .2vw;
    border-color: var(--text-color);
    margin-bottom: .5vw;
}

#header img
{
  width: 100%;
  height: 100%;
    margin: 0;
    padding: 0;
}

#sidebar-extra 
{ 
  min-width: 10vw;
    width:11vw;
    padding: 1vw;
    margin-right: 0;
    margin-left: .5vw;
    margin-bottom: .5vw;
    border-style: solid;
    border-width: .2vw;
    border-color: var(--text-color);
    font-size: .7em;
    overflow-wrap: normal;
    background-color: var(--background-color);
}

#contact
{
  border-bottom-color: var(--text-color);
  border-bottom-style: dotted;
}

#contact-header
{
  text-align: center;
  margin: 0;
  padding: 0;
}

.contact-option
{
  font-weight: bold;
}

#contact-pgp-id
{
  font-size: .8vw;
}

#sidebar-nav 
{ 
    min-width: 10vw;
    width: 11vw;
    padding: 1vw;
    padding-top: 0;
    margin-left: 0;
    margin-right: .5vw;
    margin-bottom: .5vw;
    border-style: solid;
    border-width: .2vw;
    border-color: var(--text-color);
    font-size: var(--font-size);
    background-color: var(--background-color);

}

#sidebar-nav hr
{
    border-style: dashed;
    color:var(--text-color);
}

#nav
{
  width:100%;
}

#nav-list
{
    list-style: none;
    width: 100%;
    padding: 0;
    font-size: 1vw;
}

#nav-list li:hover
{
  background-color: var(--text-color);
}

#quote
{
    font-style: italic;
    font-weight: lighter;
    font-size: .9vw;
}

#buttons
{
  margin: .2vw;
  padding: 0;
}

#main 
{ 
    flex-grow: 1;
    padding: 1vw;
    margin-bottom: .5vw;
    overflow-wrap: normal;
    text-align: justify;
    border-style: solid;
    border-width: .2vw;
    border-color: var(--text-color);
    background-color: var(--background-color);
}

#footer
{
  text-align: center;
  border-style: solid;
    border-width: .2vw;
  border-color: var(--text-color);
  background-color: var(--background-color);
}

#pagination ul
{
  display: flex;
  justify-content: center;
  flex-direction: row;
  list-style: none;
}

#pagination li
{
  padding-left: 1vw;
  padding-right: 1vw;
}

#content-title
{
  text-align: center;
  font-family: var(--heading-font);
  font-weight: bolder;
  font-size: 2em;
}

#post-title
{
    font-family: var(--heading-font);
    font-weight: bolder;
    font-size: 1.8em;
    text-align: left;
}

#post-preview
{
    border-bottom-style: dotted;
    padding: 1vw;
}

#post-title-read
{
    font-family: var(--heading-font);
    font-weight: bolder;
    color: var(--text-color);
    font-size: 2em;
    text-align: center;
}

#page-content
{
  display: flex;
  flex-direction: column;
}

#page-content img
{
  margin: 0;
  padding: 0;
  max-height: 15em;
}

#contact-image
{
  justify-self: center;
  align-self: center;
}

@media (max-width: 800px) {
  #wrapper
  {
    max-width: fit-content;
    min-width: 0;
  }
  
  #container
    {
        flex-direction: column;
        max-width: fit-content;
        min-width: 0;

    }

    main
    {
      max-width: fit-content;
      min-width: 0;
    }

    #header
    {
      min-width: 0;
      width: auto;
      margin-left: 0;
      margin-right: 0;
    }

    #sidebar-nav
    {
      min-width: 0;
      width: auto;
      margin-left: 0;
      margin-right: 0;
    }

    #sidebar-nav hr
    {
        display: none;
    }

    #nav-list
    {
        font-size: 2.5vw;
        display: flex;
        flex-direction: row;
        border-bottom: 1px;
        border-bottom-style: dashed;
        justify-content: center;
        margin-bottom: .5vw;
    }

    #nav-list li
    {
      background-color: var(--text-color);
      padding-left: 1vw;
      padding-right: 1vw;
      padding-bottom: 1vw;
      margin-bottom: 1vw;
      margin-left: .5vw;
      margin-right: .5vw;
    }

    #sidebar-extra
    {
        display: none;
    }

    #quote
    {
      padding: 0;
      margin-top: 0;
      font-size: 2vw;
      text-align: center;
    }

    #buttons
    {
        display: none;
    }
}