
/* header styles */


nav > *{
  margin-right: 1rem;
  font-weight: bold;
  font-size: 1.1em;
}


nav > h1{
  display: inline-block;
  width: fit-content;
  font-size: 1.5em;
}

/* end header styles */


/* 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: 100;
  visibility: hidden;
}

#inner-help-popup{
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background-color: white;
  flex: 1 0;
  align-items: center;
  height: calc(100vh - 8rem);
  width: calc(100vw - 8rem);
  margin: 4rem;
  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;
}


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

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

#help-text-body-container{
  flex: 0 1 auto;
  overflow-y: scroll;
  padding-bottom: 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;
}

/* end help popup styles */


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


p{
  line-height: 1.5;
  margin: 0px;
}

h3{
  margin-bottom: 0.5rem;
}


h2{
  display: block;
  width: fit-content;
  box-shadow: 0px 1px 0px black;
}

button{
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border: none;
  border-radius: 1rem;
  transition: 0.02s ease all;
  background-color: #C61F42;
  font-size: 1rem;
  font-weight: bold;
  color: white;
}

button:active{
  transform: translate(2px, 2px);
}


#paste-link-here-handler-container > button{ 
  /* width: 600px; */
  font-size: 0.5em;
}

#load-picture{
}

/* styles for choosing a picture */

.option-buttons-container{
  display: flex;
  gap: 1rem;
}

.option-buttons-container{
  display: flex;
  gap: 1rem;
}

.option-buttons-container > button{
  flex: 1 0;
  font-size: 1.1rem;
  background-color: #d9d9d9;
  color: #242424;
}

.picture-option{
  margin-top: 0.5rem;
  min-height: 12rem;
}


.picture-option > p:not(p:nth-child(1)){
  text-align: center;
}

.picture-option > p > input{
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid #adadad;
  margin-top: 1rem;
}

.hidden-picture-option{
  display: none;
}

.option-buttons-container > button.active-option{
  background-color: #24539C;
  color: white;
}

#classroom-materials-select-container{
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

#pick-a-collection-gallery {
  padding: 0.5rem;
  border-radius: 1rem;
  border: 3px solid #adadad;
  background-color: white;
  font-size: 1rem;
}

legend {
  font-weight: bold;
  font-family: Grandstander;
}

/* end styles for choosing a picture */


/* 

BEGIN QUESTION & REORDERING CSS

*/

.question-container{
  padding: 0.25em;
  height: fit-content;
  display: flex;
  gap: 0.55em;
  align-items: center;
  border-radius: 1em;
  transition: 1s linear all;
}

.pop{
  background-color: lightblue;
}

.question-container > img{
  cursor: pointer;
  transition: 0.02s ease all;
  padding: 3px;
}

.question-container > img:hover{
  transform: scale(1.2);
  filter: saturate(300%) brightness(95%);
}

.textarea-type{
  display: inline-block;
  padding: 0.5em 0em 0.5em 0.5em;
  box-shadow: -1px 0px 0px lightslategray, 
  0px 1px 0px lightslategray, 
  0px -1px 0px lightslategray;
  line-height: 1.1;
}

.question-container > .prompt-think-container {
  background-color: #f3f3f3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #242424;
  flex-direction: column;
  width: 100%;
  max-height: fit-content;
  row-gap: 0em;
  display: grid;
  grid-template-columns: 2em 6rem 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 
  "number prompt prompt-textarea" 
  "number think think-textarea";
  align-items: center;
}


.number{
  grid-area: number;
  text-align: center;
  background-color: #adadad;
  padding: 82% 0%;
  border-right: 1px solid #242424;
}

.think-label{
  grid-area: think;
  border-right: 1px solid #242424;
}

.prompt-label{
  grid-area: prompt;
  border-bottom: 1px solid #242424;
  border-right: 1px solid #242424;
}

.prompt-textarea{
  grid-area: prompt-textarea;
  border-bottom: 1px solid #242424;
}

.think-textarea{
  grid-area: think-textarea;
}

.think-label, .prompt-label{
  font-weight: bold;
}

.think-label, .prompt-label, .pseudo-textarea{
  padding: 0.5em;
}

.pseudo-textarea{
  cursor: text;
  transition: 0.05s linear all;
  height: fit-content;
}

 .pseudo-textarea:focus{
  background-color: lightyellow;
  box-shadow: 0px 0px 4px blue;
}

#type-a-question{
  border: 2px dashed lightblue;
}

#type-a-question > img.reorder-symbol{
  filter: opacity(0%);
}

#type-a-question > img:not(reorder-symbol){
  background-color: lightgreen;
}

#type-a-question > div.pseudo-textarea{
  font-style: italic;
}

#type-a-question > div.pseudo-textarea:focus{
  font-style: initial;
}

fieldset{
  margin: 2em 0em 4em 0em;
  border: 2px solid gray;
  padding: 1em;
  /* flex stuff */
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

fieldset > legend{
  font-size: 1.2em;
  padding: 0em 1em;
}

fieldset > p{
  margin-top: 0px;
}


#pick-a-picture-gallery{
  padding: 1em;
  border: 2px solid gray;
  height: 400px;
  overflow: scroll;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1em;
  margin-bottom: 1em;
  border-radius: 0.5em;
  background-color: lightgray;
}

#pick-a-picture-gallery > img {
  flex: 0 0 auto;
  height: 175px;
}

#pick-a-picture-gallery > .progress-updater{
  flex: 0 0 auto; 
  width: 100px;
  height: fit-content;
  background-color: white;
  padding: 1em;
  /* border-radius: 1em; */
  box-shadow: none;
}

#pick-a-picture-gallery > .progress-updater.full {
  box-shadow: calc(100px + 2em) 0px 0px inset lightgreen;
}

#pick-a-picture-gallery > img:hover{
  box-shadow: 0px 0px 10px gray;
  outline: 1px solid black;
  cursor: pointer;
}

.question-container > .number{
  display: inline-block;
}

.question-container > img{
  height: 20px;
  display: inline-block;
  border-radius: 35%;
}

/*
img.reorder-symbol{
  background-color: lightblue;
}
*/

img.cancel-symbol{
  background-color: pink;
}

.pin{
  width: 40px;
}

#canvas-container{
        margin: auto;
      }

canvas{
  border: 1px solid black;
  background-size: cover;
  width: fit-content;
}


#link-family-container{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

#link-family-container > *{
  width: fit-content;
  flex: 1 1;
}

#buttons-container{
  width: fit-content;
  text-align: center;
}

#buttons-container > button{
  margin: 0.5rem 0rem;
  width: 100%;
}


#link-slot{
  flex: 3 1;
  margin: 0.5rem 0rem;
  padding: 0px 4px;
  font-size: 0.8em;
  line-height: 1.5;
  cursor: text;
  display: block;
  min-height: 3rem;
  border: 1px solid #adadad;
  word-wrap: anywhere;
}

footer{
  margin: 2em 0em 4em 0em;
  border-top: 2px dotted #adadad;
  padding-top: 1em;
}

#about-partner-program{
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr;
  grid-template-areas: 
  "par img";
  column-gap: 1rem;
}

#about-partner-program > p {
  grid-area: par;
}

#about-partner-program > img {
  grid-area: img;
}