/* Padding on mobile is good 
 padding around paragraphs could be a little more  */


a {
  font-variant-caps: normal;
}

h3 {
  text-align: center;
  font-variant-caps: small-caps;
  font-weight: bold;
}

.landcraft article section h2 {
  border-bottom-color: red;
}

section {
  margin-bottom: 2em;
}

figure {
  padding-bottom: 3em;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-height: 90vh;
}

figcaption {
  text-align: center;
}


/* BASIC TEXT FILE */

/* GOAL: to get up a text-based blogpost asap, with an elegant and traditional look */

* {
  box-sizing: border-box;
}

body {
  background-color: rgb(111, 79, 111);
  font-family: "Source Serif Pro", serif;
  line-height: 1.5;
  font-size: 1rem;
}

article {
  background-color:#fcf9f0;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  padding: 15px;
  padding-bottom: 1rem;
}

section {
  padding-bottom: 1.5em;
}

section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0;
}


/* TEXT TYPES */

h2, h3, h4, h5, h6 {
  font-family: "Headland One", Times, serif;
  font-weight: normal;
}

section h1, article h1 {
  font-size: 3em;
  font-family: 'Macondo Swash Caps', Times, serif;
}

h2 {
  font-size: 1.5em;
  text-align: center;
  display: block;
  border-bottom: green dotted 5px;
  margin-bottom: 1.5em;
}

ul {
  list-style-type: '◆ ';
}

li {
  margin-bottom: 8px;
}


img {
  max-width:100%;
}


a {
  color: green;
  text-decoration: underline dotted; 
  font-variant-caps: small-caps;
}


/* Blockquotes */

blockquote p {
  font-family: 'Libre Baskerville';
  font-size: 0.8em;
}

blockquote cite {
  font-weight: bold;
  text-align: right;
  margin-top: 0.5em;
}

blockquote, ul, ol {
  margin: 2.5em;
}

/* Attractive Quotes */

q::before {
  content: "‘"
}

q::after {
  content: "’"
}

q {
  font-style: italic;
}

  /* Title of a book or film */

q-t, cite {
  font-variant-caps: small-caps;
}

p {
  text-indent: 1em;
}


.doms {
  display: block;
  font-style: normal;
  font-size: 2rem;
  text-align: center;
}

/* Admonitions */

/* from http://boundedinfinity.github.io/2017/09/admonitions-in-css/ */

ad-monition {
  display: block;
  padding: 15px;
  margin-bottom: 21px;
  border-left: 10px solid transparent;
}

ad-monition h4 {
  margin: 0;
  text-transform: uppercase;
  padding-left: 3px;
  border: 1px solid;
  border-style: hidden hidden solid;
}

ad-monition p {
  padding-left: .75em;
  padding-right: .75em;
  padding-top: 0.5em;
  margin-left: 0;
  border-left: 0;
  border-top: 0;
  min-height: 0;
}

.hint {
  border-color: olive;
  background-color: #f6fffe;
}

.hint h4 {
  color: olive;
  border-color: olive;
}

.note {
  border-color: orangered;
  background-color: #fffeec;
}

.note h4 {
  color: orangered;
  border-color: orangered;
}

/*
.tip {
  border-color: blue;
  background-color: #f6fcff;
}

.tip .title {
  color: blue;
  border-color: blue;
}


.important {
  border-color: red;
  background-color: #fffbfb;
}

.important .title {
  color: red;
  border-color: red;
}
*/



/* Admonitions */

/* from http://boundedinfinity.github.io/2017/09/admonitions-in-css/ */

aside {
  display: block;
  padding: 15px;
  margin: 2em;
  border-left: 10px solid transparent;
}

aside h4 {
  margin: 0;
  text-transform: uppercase;
  padding-left: 3px;
  border: 1px solid;
  border-style: hidden hidden solid;
}

aside p {
  padding-left: .75em;
  padding-right: .75em;
  padding-top: 0.5em;
  margin-left: 0;
  border-left: 0;
  border-top: 0;
  min-height: 0;
}

.hint {
  border-color: olive;
  background-color: #f6fffe;
}

.hint h4 {
  color: olive;
  border-color: olive;
}

.note {
  border-color: orangered;
  background-color: #fffeec;
}

.note h4 {
  color: orangered;
  border-color: orangered;
}

/*
.tip {
  border-color: blue;
  background-color: #f6fcff;
}

.tip .title {
  color: blue;
  border-color: blue;
}


.important {
  border-color: red;
  background-color: #fffbfb;
}

.important .title {
  color: red;
  border-color: red;
}
*/



img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-height: 90vh;
	width: auto;
  }

  figcaption {
	text-align: center;
  }


  .redact {
    display: none;
  }

/*wikipedia style nav boxes */

  .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-top: double black 5px;
    list-style: upper-roman;   
    margin: 0;
    margin-top: 3rem;
    padding-top: 1rem;
  }

  .nav li {
    margin-inline: 1.2rem;
  }


  .nav a, .nav a:visited {
    color: black;
  }


  .walking {
    background-color: rgb(30, 126, 30);
  }


  .disco {
    background-color: black;
  }

  

  .disco h2 {
    border-bottom: black dotted 5px; 
  }

  .links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-inline: 3rem;
    font-size: 1.9rem;
  }

  a.go-back {
    display: block;
    text-align: center;
    font-size: 1.8rem;
  }

  
n-q::before {
  content: "‘"
}

n-q::after {
  content: "’"
}
