 #todo{
        background-color: lightgoldenrodyellow;
        padding: 1em;
      }

      body{
        padding: 0em 2em;
        font-family: sans-serif;
        font-size: 16px;
        max-width: 70vw;
        font-family: Karla;
        color: #242424;
        margin: auto;
      }

      h1{
        margin: 2rem auto 1rem auto;
        width: fit-content;
      }
      li{
        padding: 0.15em;
      }
      button{
        font-size: 12pt;
        padding: 0.25em;
        cursor: pointer;
        border-radius: 22px;
        transform: translate(-1px, -1px);
        transition: all 0.05s ease;

        /*
        border: 1px solid black;
        */

        box-shadow: 2px 1px 4px gray;
      }
      button:active{
        transform: translate(0px, 0px);
        box-shadow: none;
      }



/* help button styles */

#help-button{
  border-radius: 18px;
  border: 2px solid #242424;
  width: fit-content;
  position: fixed;
  top: 1em;
  right: 2em;
  background-color: white;
  padding: 0.5rem;
  cursor: pointer;
}


#help-button > span {
  border-radius: 100%;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #C61F42;
  display: inline-block;
  text-align: center;
  color: white;
}


#help-button:hover{
  box-shadow: 0px 0px 10px #242424;
}


/* end help button styles */



/* help popup styles */

#help-popup-container{
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(36, 36, 36, 0.6);
  display: flex;
  flex-direction: row;
  z-index: 3;
  visibility: hidden;
  font-size: 1.3rem;
}

#inner-help-popup{
  padding: 2rem;
  border-radius: 8px;
  background-color: white;
  flex: 1 0;
  align-items: center;
  height: 
  width: calc(100vh - 8rem);
  width: calc(100vw - 8rem);
  margin: 6rem;
  background-color: white;
  opacity: 1;
  position: relative;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
}

#top-row-of-help{
  width: 100%;
  flex: 0 0 auto;
  margin-bottom: 0.5rem;
  padding: 0rem 2rem;
}


#top-row-of-help > h2{
  width: fit-content;
  margin: 0px;
  box-shadow: none;
  padding: 2rem 2rem 0rem 2rem;
}

#close-help-popup{
  position: absolute;
  top: 1rem;
  right: 1em;
  padding: 0px;
  border-radius: 8px;
  width: fit-content;
  height: fit-content;
  background-color: unset;
  box-shadow: none;
  border: none;
}

#help-text-body-container{
  flex: 0 1 auto;
  overflow-y: scroll;
  padding: 0rem 2rem 2rem 2rem;
  line-height: 1.3;
}

#help-text-body-container > p{
  line-height: 1.3;
}


#inner-help-popup > div > h3{
  text-decoration: underline;
}
#inner-help-popup > div > div > h3{
  text-decoration: underline;
}

#inner-help-popup > div > div > h4{
  text-decoration: underline;
  margin-bottom: 0px;
}

#inner-help-popup > div > div > ol{
  margin: 0px;
}

#inner-help-popup > div > .indented-block{
  margin-left: 4rem;
}


#help-interior-steps-table{
  border-collapse: collapse;
}

#help-interior-steps-table > tbody> tr > td{
  border: 1px solid black;
  width: 40%;
  padding: 1rem;
}


/* end help popup styles */


/* start wrench popup styles */


#info{
  background-color: white;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 4;
  border-radius: 1em;
  margin: calc(1em + 2px);
  padding: 1em;
  transition: 0.2s ease all;
}

#info.collapsed:hover > #toggle-info-state{
  opacity: 1;
}

#info.collapsed{
  width: fit-content;
  height: fit-content;
  margin: 0px;
  padding: 0px;
  position: absolute;
  top: 0px;
  left: 0px;
}

#info.expanded{
  width: 400px;
  border: 2px solid black;
  margin: 1em 1em 0em 1em;
  opacity: 1;
}

#toggle-info-state{
  cursor: pointer;
  background-color: transparent;
  border: 0px;
  box-shadow: none;
  position: absolute;
  top: 0em;
  left: 0em;
  width: 40px;
  height: 40px;
}


#info.collapsed > #toggle-info-state{
  padding: 0px;
  margin: 0px;
  position: absolute;
  top: 0px;
  left: 0em;
  opacity: 0.3;
  border-radius: 1em;
}

#info.expanded > #toggle-info-state {
  transform-origin: center;
  transform: rotate(180deg);
} 

#info.collapsed 
> *:not(#toggle-info-state){
  display: none;
}

.info-grid {
  display: grid;
  grid-template-columns: 100px 3fr 80px;
  gap: 4px;
}

.info-grid > *{
  /* border: 1px solid gray; */
}

.info-grid > .label{
  text-align: center;
  padding-top: 0.25em;
}

#info > #info-title-bar {
  display: block;
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 0.5em;
}

.copy-to-clipboard{
  background-color: transparent;
  border-radius: 0px;
  box-shadow: 2px 2px 0px gray;
  border: 1px solid gray;
  transition: 1s linear background-color;
}

.copy-to-clipboard:active{
  background-color: lightgreen;
  transition: 0s linear all;
}



#info-grid-container{
  margin: 1em 0em 0em 0em;
}


/* end wrench popup styles */



      #load-picture{
        background-color: #C1FFD5;
      }
      #game-container{
        border-radius: 22px;
        /* margin: auto; */
        margin: 2em 0em 8em 0em;
        display: flex;
        flex-direction: row;
        gap: 4em;
        max-width: 70vw;
        align-items: flex-start;
        justify-content: space-between;
        /* 
        box-shadow: 0px 0px 24px gray;
        border: 1px solid black;
        */
      }

      #top-text-bar{
        border: 4px solid #d9d9d9;
        border-radius: 8px;
        padding: 0px 1rem;
        margin: auto;
        width: 100%;
        text-align: center;
      }

      #top-text-bar > p {
        padding: 0.4em 0.2em;
        margin: 0.2em 0em 0em 0em;
        padding-left: 4px;
        display: block;
        font-size: 18px;
        /*
        border: 1px solid black;
        */
      }

      #think-container{
        transition: all 0.25s ease-in;
      }

      #top-text-bar > p.hidden-think{
        height: 0px;
        padding: 0px;
        overflow: hidden;
        margin: 0px;
      }

      #top-text-bar > p.hidden-prompt{
        height: 0px;
        padding: 0px;
        overflow: hidden;
        margin: 0px;
      }


      #game-instructions{
        outline: 1px solid red;
        float: right;
        padding: 4px;
        margin: -4px;
        margin-right: 0px;
        font-style: italic;
        display: none;
      }
      #game-canvas{
        background-size: cover;
        width: fit-content;
        margin: auto;
        /*
        border: 1px solid black; 
        */
      }
      #canvas-container{
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 0.2em;
      }
      #option-palette{
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        width: 125px;
        padding: 0em;
        justify-content: flex-start;
        gap: 1em;
      }

      .option-palette-option{
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-between;
        display: flex;
        gap: 0.25em;
        flex-direction: column;
        border-radius: calc(22px - 0.5em);
        padding: 0.75em 0.75em 0.25em 0.75em;
        width: 100%;
        cursor: pointer;
        font-family: Grandstander;
        font-size: 1.3em;
        background-color: #d9d9d9;

        /*
        border: 1px solid black;
        */
        border: none;
      }

      .option-palette-option > img{
        width: 60px;
      }

      #save-crop-button{
        background-color: #C61F42;
        color: white;
      }

      .option-palette-option > *{
        flex: 0 0 auto;
        margin: 0px;
      }

      #add-notes-button{
        background-color: #24539C;
        color: white;
      }

      #new-crop-button{
        background-color: #C61F42;
        /*
        background-color: #24539C;
        */
        color: white;
      }


      #toggle-zoom-button{
        background-color: #e48100;
        z-index: 3;
        color: white;
      }

      #create-pdf-button{
        background-color: #e48100;
      }

      #floating-zoom-canvas{
        position: absolute;
        display: block;
        border: 1px solid black;
      }

      .greyed-out{
        filter: contrast(20%);
        cursor: not-allowed;
      }
      .greyed-out:active{
        box-shadow: 2px 1px 4px gray;
        transform: translate(-1px, -1px);
      }

      .encouraged{
        box-shadow: 0px 0px 22px green;
        border: 1px solid green;
        animation: pulse 2s infinite;
      }

@keyframes pulse {
  0% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 22px rgba(0, 255, 0, 0);
  }
  
  100% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

      #the-notes{
        border: 1px solid black;
        background-color: white;
        padding: 1em;
        position: absolute;
        width: 15em;
        transition: 0.1s all ease-in-out;
        z-index: 1;
        display: flex;
        flex-direction: column;
      }

      #the-notes > textarea{
        width: inherit;
        height: 4em;
      }


      #the-notes.hidden-notes{
        visibility: hidden;
        opacity: 0%;
      }


      #crops-list{
        border-radius: 8px;
        height: calc(100% - 4px);
        /* full width minus padding */
        width: 100px;
        overflow-x: hidden;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        flex: 0 0 auto;
        background-color: #d9d9d9;
        /*
        border: 1px solid black;
        */
      }

      .saved-crop{
        width: 100%;
        height: 100px;
        border-radius: 8px;
        border-top: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        background-position: center;
        background-size: cover;
        cursor: pointer;
        flex: 0 0 auto;
        margin: 0px;
      }

      .saved-crop > p > canvas{
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: -1;
      }

      .saved-crop > p{
        border: 1px solid white;
        overflow: hidden;
        border-radius: 8px;
        width: calc(100% - 2px);
        height: calc(100% - 2px);
        font-size: 1em;
        backdrop-filter: blur(4px);
        margin: 0px;
        transition: all 1s ease;
        position: relative;
      }

      .saved-crop > p > span{
        background-color: white;
        padding: 0.2em 0.2em;
        border-radius: 0.2em;
        display: flex;
        align-items: center;
        gap: 0.2em;
        margin-top: 0.25em;
        margin-left: 0.25em;
        width: fit-content;
      }

      /* checkbox */
      .saved-crop > p > span > img{
        height: 1em;
        flex: 0 0 auto;
        display: none;
      }

      /* the number */
      .saved-crop > p > span > p{
        height: 1em;
        flex: 1 0 auto;
        padding-top: 0.1em;
        margin: 0px;
      }

      .saved-crop:hover > p , 
      .selected:hover > p {
        text-decoration: underline;
        text-decoration-thickness: 2px;
      }
      
      .selected > p{
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .selected > p > span{
        margin: auto;
      }

      .selected > p > span, 
      .selected:hover > p > span{
        background-color: lightgreen;
      }

      /* 
          BEGIN PDF STYLING
      */

      .printable-pdf{
        width: 750px;
        height: 1000px;
        padding: 2em;
        letter-spacing: 0px;
      }

      .pane-parent{
        display: flex;
        margin-bottom: 2%;
        min-height: 150px;
        height: fit-content;
      }

      .pane-parent > div{
        flex: 1 1 auto;
        max-width: 50%;
        min-height: 100%;
        /*height: fit-content;*/
        border: 1px solid black;
        border-collapse: collapse;
      }

      .pane-parent > div.text-pane{
        padding: 0em 1em;
        width: calc(50% - 1em);
      }

      .pane-parent > div.canvas-pane{
        display: flex;
        flex-direction: column;    
        align-items: center;
        justify-content: space-evenly;    
      }

      .pane-parent > div > canvas{
        flex: 0 0 auto;
        height: auto;
        width: auto;
        max-height: 90%;
        max-width: 90%;
      }

      .title-pane{
        padding: 1em 0em;
      }

      .title-pane > u{
        text-underline-offset: 4px;
      }

      .title-pane > img{
        margin: auto;
        display: block;
      }

      .big-text{
        font-size: 1.5em;
      }

      .pane-parent > canvas {
        margin: auto;
        width: 75%;
      }
