@font-face {
  font-family: 'Blackberry Jam';
  src: url('fonts/BlackberryJamPersonalUse-rXOB.ttf') format('truetype')
}

@font-face {
  font-family: 'Simple Font';
  src: url('fonts/Simple-KwOp.ttf') format('truetype')
}

@font-face {
  font-family: 'Constantia';
  src: url('fonts/constan.ttf') format('truetype')
}

@font-face {
  font-family: 'Kinesis';
  src: url('fonts/fonnts.com-Kinesis-Pro-Light.otf') format('opentype')
}

body {
  /*background-color: #f6fcf5;*/
  background-color: rgba(246,252,245,0.6);
  background-image: url('images/background.png');
  background-blend-mode: screen;
  background-repeat: repeat;
  background-size: 800px 800px; /* tweak to control scale */
  opacity: 0.9; /* keeps colors soft */
  color: #304330;
  /*font-family: 'Georgia', serif;*/
  font-family: 'Constantia', serif;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

/* botanical corner frames */
.container-wrapper {
  position: relative;
  z-index: 0;
  max-width: 800px;  /* match .container */
  margin: 4em auto;
  padding: 0;
}

.container-wrapper-small {
  position: relative;
  z-index: 0;
  max-width: 700px;  /* match .container-small */
  margin: 4em auto;
  padding: 0;
}

.corner-frame {
  position: absolute;
  width: 18%;
  height: auto;
  pointer-events: none;
  opacity: 0.7;
  z-index: 3;
  max-width: 260px;
  min-width: 200px;
}

.corner-frame.top-left {
  top: -3%;
  left: -5%;
  transform: scaleX(1) scaleY(-1);
}

.corner-frame.bottom-right {
  bottom: -3%;
  right: -5%;
  transform: scaleX(-1) scaleY(1);
}
/* --- */

.container {
  max-width: 800px;
  margin: 4em auto;
  padding: 2em;
  background-color: #ffffffee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.small-container {
  max-width: 700px;
  margin: 5em auto;
  padding: 2.5em;
  background-color: #ffffffee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3em;
  letter-spacing: 0.03em;
  text-align: center;
  color: #395834;
  margin-bottom: 0.2em;
  font-family: 'Blackberry Jam', cursive;
}

h2 {
  font-size: 2.4em;
  letter-spacing: 0.02em;
  text-align: center;
  color: #395834;
  margin-bottom: 0.5em;
  font-family: 'Blackberry Jam', cursive;
}

h3 {
  font-size: 1.6em;
  color: #466747;
  border-bottom: 1px solid #adc8a7;
  padding-bottom: 0.3em;
  font-family: 'Blackberry Jam', cursive;
}

.subheader {
  font-style: italic;
  font-size: 1.25em;
  color: #638b67;
  margin-top: -0.5em;
  margin-bottom: 1.5em;
  text-align: right;
  font-family: 'Kinesis', fantasy;
}

.leaf {
  text-align: center;
  font-size: 1.2em;
  color: #7a9e7e;
  margin-top: -1em;
  margin-bottom: 2em;
  font-family: 'Simple Font', fantasy;
}

.intro {
  font-style: italic;
  text-align: center;
  font-size: 1.25em;
  color: #5b7656;
  font-family: 'Kinesis', fantasy;
}

.closing {
  font-style: italic;
  text-align: center;
  color: #6e8f6c;
  margin-top: 3em;
  font-size: 1.25em;
  font-family: 'Kinesis', fantasy;
}

p {
  font-size: 1.05em;
  margin-bottom: 1.6em;
  color: #3b4f3a;
}

.symbol-dark {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 1em;
  color: #6c9c70;
}

.symbol-light {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 1em;
  color: #7cad81;
}

.leaf-divider {
  display: block;
  /*text-align: center;*/
  margin: 0em auto;
  /*width: 300px;*/
  max-width: 20vw;
  height: auto;
  opacity: 0.35;
}

.section {
  margin-bottom: 2em;
}

.footer {
  font-size: 0.8em;
  text-align: center;
  color: #9db7a3;
  margin-top: 4em;
  padding-top: 2em;
  border-top: 1px dashed #c9dec8;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin-bottom: 0.8em;
}

a {
  color: #365f48;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: #1e3d2c;
}

.backlink {
  text-align: center;
  margin-top: 3em;
  font-size: 0.9em;
}

.backlink a {
  text-decoration: none;
  color: #7c9a86;
}

.backlink a:hover {
  text-decoration: underline;
}