/**
 * @license
 * MyFonts Webfont Build ID 4196785, 2021-10-21T15:22:47-0400
 *
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are
 * explicitly restricted from using the Licensed Webfonts(s).
 *
 * You may obtain a valid license at the URLs below.
 *
 * Webfont: Vollkorn by Posterizer KG
 * URL: https://www.myfonts.com/fonts/posterizer-kg/bajka/regular/
 * Copyright: Copyright (c) 2015 by Posterizer KG. All rights reserved.
 *
 * Webfont: Cobbler-Bold by Juri Zaech
 * URL: https://www.myfonts.com/fonts/jurizaech/cobbler/bold/
 * Copyright: Copyright &amp;#x00A9; 2015 by Juri Zaech. All rights reserved.
 *
 * Webfont: Cobbler-Medium by Juri Zaech
 * URL: https://www.myfonts.com/fonts/jurizaech/cobbler/medium/
 * Copyright: Copyright &amp;#x00A9; 2015 by Juri Zaech. All rights reserved.
 *
 *
 *
 * © 2021 MyFonts Inc
*/


/* @import must be at top of file, otherwise CSS will not work */
@import url("//hello.myfonts.net/count/4009b1");

@font-face {
  font-family: "Cobbler-Medium";
  src: url('webFonts/CobblerMedium/font.woff2') format('woff2'), url('webFonts/CobblerMedium/font.woff') format('woff');
}
@font-face {
  font-family: "Cobbler-Bold";
  src: url('webFonts/CobblerBold/font.woff2') format('woff2'), url('webFonts/CobblerBold/font.woff') format('woff');
}

:root{
  --buttonbackground: #70bf88;
  --buttontext: #000;
}


#app-root {
  background-color: #FEF4EA;
}

.grayscale-theme{
  filter: grayscale(100%);
}

.color-button{
  position: relative;
  top: .125em;
  color: #222;
  cursor: pointer;
}


#main{
    border-left: 4px double #cdd0bb;
    margin: 0em 0em 0em 2em;
    min-height: 100vh;
}


::selection{
  background: #ffefaf;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: .5em 0em .5em 0em;
  background-color: #2c614c;
  font-family: 'Cobbler-Bold';
  align-items: center;
  padding-right: 1em;
}


.journal-heading{
  padding: .25em 0em .5em 2em;
}

.journal-heading a{
  font-family: "Cobbler-Bold";
  font-size: 3rem;
  word-spacing: .1em;
  text-decoration: none;
  color: #fdfaf7;
}

.journal-heading a, h2{
    margin-left: 1px;
}


nav a:hover{
    color: #fdfaf7;
    text-decoration: underline;
}

sup {
  color: #fdfaf7;
  vertical-align: super;
  font-size: small;
  margin-left: 0.5em;
}

summary{
  font-size: 2em;
  cursor: pointer;
}


nav a {
  margin-right: 1em;
  color: #fdfaf7;
}

.landing-page{
  padding: 2vw 0vw 0vw 0em;
}

.landing-page > h2{
  display: inline;
  font-size: 2.5vw;
  font-weight: 200;
  line-height: 1.5em;
  background-color: #baf6dc;
}

.landing-page > h3{
  margin-top: 2vw;
  font-size: 2vw;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: 2vw;
}

.landing-page > button{
  font-family: 'Cobbler-Medium';
  font-weight: 400;
  padding: .2em;
  background-color: var(--buttonbackground);
  cursor: pointer;
  font-size: 2vw;
  border-radius: .5rem;
}

.intro-poem>p {
  font-size: 1.25em;
  line-height: 1.5em;
  /* margin-left: 1.5em; */
}

section.prompt {
  padding: 3em 0em 0em 0em;
}

.prompt-instruction {
  font-size: 1.5em;
}

.next-poem-button {
  margin-top: 1.5em;
  border: 1px solid pink;
  background-color: bisque;
  box-shadow: 2px 2px 2px plum;
  cursor: pointer;
}

.next-poem-button:hover {
  box-shadow: 3px 3px 3px plum;
}

.prompt>.next-poem-button {
  margin-top: 2em;
}

h2.prompt {
  font-family: "Playfair Display";
  line-height: 1.25em;
  /* margin-left: .6em; */
}

span.prompt-anchor {
  text-decoration-color: #cdd0bb !important;
  /* it solves the problem, but at what cost?! */
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: .5ch;

}

ol.reflection {
  list-style-type: decimal;
  margin-top: 7px;
}

.reflection>li {
  /* font-family: "Playfair Display"; */
  font-size: 1.25em;
  margin-bottom: .25em;
}

.affirmation {
  text-decoration-color: gold !important;
  /* it solves the problem, but at what cost?! */
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: .3ch;
}



/* Inspiration Styles */

.audio-control {
  margin-left: -.1em;
  color: #A83242;
  cursor: pointer;
  font-size: 4em !important;
  /* This is important because material-icons overrides */
}


.poem {
  margin-bottom: 3em;
  margin-left: .5em;
}

.poem-title {
  color: #228DAD;
  margin-bottom: .5em;
}

.poem-line {
  font-size: 1.5em;
  transition: all 2s ease;
  line-height: 1.25em;
}

.poem-line {
  opacity: 0;
}

.revealed {
  opacity: 1;
}

.highlighted {
  background-color: #F8EC70;
}

h2{
  font-size: 2rem;
}

summary h2{
  display: inline-block;
}

section{
}

/* Editor Styles */
#editor-root{
  padding-left: 2em;
}

.instructions{
  margin-top: .5em;
  font-size: 1em;
  position: relative;
}

.instructions-toggle{
  position: absolute;
  top: 5px;
  right: 5px;
}

#scratchpad{
  width: 90vw;
  height: 20vh;
  margin-top: .5em;
  font-size: 1rem;
  font-family: "Vollkorn";
  /* background-image: url("/img/foggy-birds.png"); */
  background-color: #FFF;
  border: 2px outset rgb(241, 241, 241);
}

.scratchpad-section{
  margin: 1.5em 1em 1.5em 0em;
}

.scratchpad-controls{
  margin-top: .75em;
}

.scratchpad-controls > button{
  background-color: var(--buttonbackground);
  color: var(--buttontext);
  margin-right: 1em;
}

.scratchpad-controls > button .material-icons{
  margin-right: .25em;
}

.editor-section, .easel-section .scratchpad-section{
  margin-top: 2.5em;
  padding-bottom: 1.5em;
}


.line {
  display: flex;
  font-size: 1.5em;
  margin-left: -1.5em;
}

.delete-line {
  cursor: pointer;
  color: #999999;
}

.delete-line,
.syllable-count {
  display: block;
}

.syllable-count{
  color: #C6C4CF;
}

.new-line-input {
  margin-top: 0;
  display: block;
  width: 100%;
  line-height: 1.25em;
  border: none;
  border-bottom: 1px solid #9AB7BB;
  background-color: #FEF4EA;
  font-family: 'Vollkorn';
  padding-top: .2em;
  padding-bottom: 0em;
  padding-left: .25em;
  padding-right: 0em;
  font-size: 1em;
}

.new-line-input:focus {
  background-color: none;
  outline: none;
  margin: none;
  color: #3e8b68;
}



.lines {
  width: 100%;
}

/* .line:first-child{
  border-top: 1px solid #b8dadf;
} */

.line-text {
  font-family: "Vollkorn";
  width: 100%;
  display: block;
  border-bottom: 1px solid #9AB7BB;
  padding-top: .2em;
  padding-bottom: 0em;
  padding-left: .25em;
  line-height: 1.25em;
}

.line-syllables {
  width: 4em;
  padding: .2em .3em 0em .3em;
  border-bottom: 1px solid #9ab7bb !important;
  border-right: .5em solid;
  line-height: 1.25em;
  transition: all .2s ease-in;
  display: flex;
  justify-content: space-between;
}


.pre {
  background-color: none;
  padding: none;
  margin: none;
  line-height: 1.25em;
}

.editor-controls{
  margin-top: .5em;
  margin-bottom: 1em;
}

.editor-controls >button {
  margin-right: 1em;
  font-family: "Cobbler-Medium";
}

.delete-all-button{
  background-color: #F08BA2;
}

.new-page-button {
  background-color: var(--buttonbackground);
  color: var(--buttontext);
}

#copy-button{
  background-color: #E6CF77;
}

#copy-button:active{
  background-color: #fff1b8;
}

#import-button{
  background-color: #e6e6e6;
}

#import-button:active{
  background-color: #b3b3b3;
}

.import-box{
  display: flex;
  flex-direction: column;
  max-width: 20em;
}

#import-poem{
  margin-bottom: .5em;
}


.delete-all-button, #copy-button, .scratchpad-controls > button, .new-page-button, #import-button, .submit-import, .scratchpad-controls > button{
  font-family: 'Cobbler-Medium';
  font-size: 1rem;
  padding: .25em;
  display: inline-flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
}


.editor-controls > button > span{
  margin-right: .25em;
}


.poem-list{
  display: flex;
  flex-wrap: wrap;
  margin-top: 1em;
}

.poem-list > li{
  display: block;
  position: relative;
  margin-right: .5em;
}

.flower-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #FE214F;
}

.flower{
  font-family: 'blumenregular';
  font-size: 5vw;
  line-height: 1em;
  cursor: pointer;
}

.rhyming-words{
  margin-top: 2em;
  padding: 1em 0em 1em 0em;
  /* background-image: url("/img/foggy-birds.png"); */
  background-color: #d2eed7;
}

.rhyming-words h3{
  font-size: 1.5rem;
  font-weight: 200;
  font-family: 'Vollkorn';
}

.rhyming-words ol{
  margin-top: .5em;
}

.rhyming-words > ol > li{
  list-style-type: none;
  display: inline-block;
  margin-right: .5em;
  margin-bottom: .5em;
}

.rhyming-words button, .rhyme-button{
  background-color: var(--buttonbackground);
  color: var(--buttontext);
  font-size: 1rem;
  font-family: 'Vollkorn';
  border-radius: 2px;
  border: none;
}

.rhyming-words button:active{
  box-shadow: 2px 2px #00000000;
}

.easel-section > div{
  display: flex;
  flex-direction: column;
  padding-bottom: 4em;
}

.drawing-controls{
  width: 340px;
  margin-top: 1em;
  display: flex;
  justify-content: space-between;
}

#color-picker{
  margin-right: 1em;
}

.easel-header{
  width: 340px;
  height: 42px;
  font-size: 28px;
  font-family: 'Vollkorn';
  font-weight: bold;
  border: none;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
  top: 20px;
  z-index: 2;
}

#drawing-pad{
  box-shadow: 0 0 0 20px #FFF;
  position: relative;
  top: 20px;
  left: 20px;
  background-color: #E85651;
}

#pen-size-slider{
  width: 200px;
}


.ghp-callout{
  border: 3px solid black;
  padding: 2em;
  max-width: 70em;
  margin: 2em;
  position: relative;
}

.callout-close{
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2em;
  cursor: pointer;
}

.ghp-callout h2 {
  margin-bottom: .5em;
}

.ghp-link{
  color: black;
  background: pink;
  padding: 0 .2em 0 .2em;
}

.ghp-link:visited{
  color: black;
}

.ghp-feature-list li{
  line-height: 2em;
  margin-left: 1em;
}

.demo{
  display: flex;
  gap: 5em;
}

.ghp-screenshot{
  max-width: 400px;
  border: 3px dotted pink;
  border-radius: 5px;
}



/* Medium screens */
@media all and (max-width: 800px) {
  header {
    /* When on medium sized screens, we center it by evenly distributing empty space around items */
    /* justify-content: space-around; */
  }

  .demo{
    flex-direction: column;
    gap: 2em;
  }

}

/* Small screens */
@media all and (max-width: 500px) {
  header {
    /* On small screens, we are no longer using row direction but column */
    flex-direction: column;
    align-items: flex-start;
    padding-left: .5em;
  }

  .journal-heading{
    padding-left: 0em;
  }

  .journal-heading a{
    font-size: 2rem;
  }

  header > nav {
    margin-top: .5em;
    width: 100%;
  }

  nav a {
    margin-left: 0em;
    margin-right: 1em;
  }

  #gram-suffix{
    display:none;
  }

  .color-button{
    font-size: 14px;
  }


  .landing-page{
    padding-top: 2vh;
    margin-left: 0em;;
  }

  .landing-page > h2{
    font-size: 4vh;
  }

  .landing-page > h3{
    margin-top: 4vh;
    margin-bottom: 4vh;
    font-size: 3vh;
  }

  .landing-page > button {
    font-size: 3vh;
  }

  #editor-root{
    padding-left: .5em;
  }

  #scratchpad{
    width: 100%;
    height: 15vh;
  }

  .scratchpad-control-name{
    display: none;
  }

  .scratchpad-controls > button .material-icons{
    margin-right: 0em;
  }

  .instructions{
    font-size: 1em;
  }

  .editor-controls > button{
    margin-right: .5em;
  }

  .lines{
    padding-left: 1em;
  }

  .lines, .syllables, .syllable-count, .delete-line, .line{
    font-size: 18px;
  }

  .line-syllables{
    border-right: .5em solid;
  }

  .flower{
    font-family: 'blumenregular';
    font-size: 10vh;
    line-height: 1em;
  }
}
