/* =========================================
   AFUA'S CHRONICLES
   cream • sage • blush
   ========================================= */

body {
  margin: 0;
  padding: 0;

  background-color: #FFFDF8;
  color: #35352F;

  font-family: Arial, Helvetica, sans-serif;

  min-height: 100vh;

  position: relative;
}


/* =========================================
   BOTANICAL CORNERS
   ========================================= */

body::before {
  content: "❧  ✿  ❧";

  position: fixed;

  top: 30px;
  left: 35px;

  color: #81977C;

  font-size: 22px;
  letter-spacing: 7px;

  transform: rotate(-10deg);

  opacity: 0.7;

  pointer-events: none;
}


body::after {
  content: "✿  ❧  ✧";

  position: fixed;

  bottom: 30px;
  right: 35px;

  color: #C98F9A;

  font-size: 22px;
  letter-spacing: 7px;

  transform: rotate(10deg);

  opacity: 0.65;

  pointer-events: none;
}


/* =========================================
   MAIN CONTENT
   ========================================= */

main {
  width: min(720px, calc(100% - 50px));

  margin: 70px auto;

  padding: 55px 45px;

  box-sizing: border-box;

  text-align: center;

  position: relative;
}


/* =========================================
   LITTLE CORNER FLOWERS
   ========================================= */

main::before {
  content: "❧";

  position: absolute;

  top: 18px;
  right: 18px;

  color: #81977C;

  font-size: 26px;

  transform: rotate(15deg);

  opacity: 0.65;
}


main::after {
  content: "❧";

  position: absolute;

  bottom: 18px;
  left: 18px;

  color: #C98F9A;

  font-size: 26px;

  transform: rotate(-165deg);

  opacity: 0.65;
}


/* =========================================
   SYMBOL
   ========================================= */

.symbol {
  color: #C98F9A;

  font-size: 34px;

  margin-bottom: 22px;

  letter-spacing: 8px;
}


/* =========================================
   HEADINGS
   ========================================= */

h1 {
  margin: 0 0 18px;

  color: #52664F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 52px;

  font-weight: normal;

  line-height: 1.1;

  letter-spacing: 3px;
}


h2 {
  margin: 45px 0 25px;

  color: #52664F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 30px;

  font-weight: normal;

  letter-spacing: 3px;
}


/* =========================================
   SUBTITLE
   ========================================= */

.subtitle {
  margin: 0 auto 65px;

  color: #C98F9A;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 25px;

  font-style: italic;

  line-height: 1.6;
}


/* =========================================
   NORMAL TEXT
   ========================================= */

p {
  margin: 22px 0;

  font-size: 21px;

  line-height: 1.9;
}


/* =========================================
   LINKS
   ========================================= */

a {
  color: #52664F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 23px;

  text-decoration: none;

  transition: color 0.25s ease,
              letter-spacing 0.25s ease;
}


a:hover {
  color: #C98F9A;

  letter-spacing: 1.5px;
}


/* =========================================
   DIVIDERS
   ========================================= */

hr {
  border: none;

  border-top: 1px solid #DDDCCF;

  margin: 45px 0;
}


/* =========================================
   QUOTES
   ========================================= */

.quote {
  color: #8C8B80;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 18px;

  font-style: italic;

  line-height: 1.7;
}


/* =========================================
   POETRY
   ========================================= */

.poem {
  width: min(540px, 100%);

  margin: 55px auto;

  text-align: left;
}


.poem p {
  margin-bottom: 35px;

  color: #35352F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 22px;

  line-height: 2.05;
}


/* =========================================
   VINES
   ========================================= */

.vine-left,
.vine-right {
  position: fixed;

  color: #81977C;

  font-size: 30px;

  opacity: 0.45;

  pointer-events: none;

  z-index: -1;
}


.vine-left {
  left: 3%;

  top: 38%;

  transform: rotate(-18deg);
}


.vine-right {
  right: 3%;

  top: 55%;

  transform: rotate(18deg) scaleX(-1);
}


/* =========================================
   BACK LINKS
   ========================================= */

main > p:first-child a,
main > p:last-child a {
  color: #8C8B80;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 15px;

  letter-spacing: 1px;
}


main > p:first-child a:hover,
main > p:last-child a:hover {
  color: #C98F9A;

  letter-spacing: 1px;
}


/* =========================================
   PIECE NUMBER
   ========================================= */

.piece-number {
  color: #8C8B80;

  font-size: 13px;

  letter-spacing: 3px;

  text-transform: uppercase;
}


/* =========================================
   LANDING PAGE
   ========================================= */

.landing {
  width: min(900px, calc(100% - 40px));

  min-height: 90vh;

  margin: 0 auto;

  padding: 80px 30px;

  box-sizing: border-box;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;
}


/* =========================================
   LANDING STAR
   ========================================= */

.landing-symbol {
  color: #C98F9A;

  font-size: 40px;

  margin-bottom: 25px;

  letter-spacing: 8px;
}


/* =========================================
   LANDING TITLE
   ========================================= */

.landing-title {
  margin: 0 0 25px;

  color: #52664F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 76px;

  font-weight: normal;

  line-height: 1.05;

  letter-spacing: 4px;
}


/* =========================================
   LANDING MANTRA
   ========================================= */

.landing-mantra {
  margin: 0 0 65px;

  color: #C98F9A;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 30px;

  font-style: italic;

  line-height: 1.5;
}


/* =========================================
   LANDING DIVIDER
   ========================================= */

.landing-line {
  width: 170px;

  height: 1px;

  background-color: #DDDCCF;

  margin: 10px 0 45px;
}


/* =========================================
   LANDING HEADING
   ========================================= */

.landing-heading {
  margin: 0 0 30px;

  color: #81977C;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 34px;

  font-weight: normal;

  line-height: 1.3;

  letter-spacing: 2px;
}


/* =========================================
   LANDING TEXT
   ========================================= */

.landing-text {
  width: min(650px, 100%);

  margin: 0 auto;
}


.landing-text p {
  margin: 32px 0;

  color: #35352F;

  font-family: Georgia, "Times New Roman", serif;

  font-size: 25px;

  line-height: 1.9;
}


.landing-text em {
  color: #C98F9A;

  font-style: italic;
}


/* =========================================
   READ BUTTON
   ========================================= */

.landing-button {
  display: inline-block;

  padding: 16px 36px;

  border: 1px solid #81977C;

  color: #52664F;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 19px;

  letter-spacing: 3px;

  text-decoration: none;

  transition: all 0.25s ease;
}


.landing-button:hover {
  background-color: #81977C;

  color: #FFFDF8;

  transform: translateY(-3px);

  letter-spacing: 3px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

  body::before {
    top: 15px;
    left: 15px;

    font-size: 16px;
  }


  body::after {
    bottom: 15px;
    right: 15px;

    font-size: 16px;
  }


  main {
    width: calc(100% - 30px);

    margin: 40px auto;

    padding: 40px 22px;
  }


  h1 {
    font-size: 42px;
  }


  h2 {
    font-size: 25px;
  }


  .subtitle {
    font-size: 20px;
  }


  p {
    font-size: 19px;
  }


  a {
    font-size: 21px;
  }


  .poem {
    margin: 40px auto;
  }


  .poem p {
    font-size: 20px;

    line-height: 2;
  }


  .vine-left {
    left: 0;

    top: 35%;
  }


  .vine-right {
    right: 0;

    top: 58%;
  }


  /* =====================================
     LANDING PAGE MOBILE
     ===================================== */

  .landing {
    width: calc(100% - 20px);

    min-height: 90vh;

    padding: 60px 15px;
  }


  .landing-title {
    font-size: 48px;

    line-height: 1.1;

    letter-spacing: 2px;
  }


  .landing-mantra {
    font-size: 22px;

    margin-bottom: 50px;
  }


  .landing-heading {
    font-size: 27px;
  }


  .landing-text p {
    font-size: 21px;

    line-height: 1.85;
  }


  .landing-button {
    font-size: 17px;

    padding: 13px 28px;
  }

}