
/* DO NOT EDIT THIS CSS FILE! */

/* Responsive (Media Query) ------------------------------------------------- */

@media screen and (max-width:800px) {
  main section {
    visibility: hidden;
  }

  #popup, #popupCover{
    visibility: hidden;
  }

  #openPopup {
    display: none;
  }

  main::before {
    content: "This page only works on viewports wider than 800px";
    width: 100vw;
    text-align: center;
    position: absolute;
    top: 50%;
  }
}

/* Overall / Resets -------------------------------------- */

html  {
  margin: 0;
  padding: 0;
  max-height: 100vh;
  max-width: 100vw;
  overflow-y: hidden;
  overflow-x: hidden;
  font-family: 'Times New Roman', Times, serif;
}

body  {
  margin: 0;
  padding: 0;
  height: 100%;   
  width: 100%;     
}

*   { 
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p {
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: normal;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;

}

h2 {
  font-weight: normal;
  margin: 0;
  padding: 0;
  font-size: 15px;

}



/* Header + Main ------------------------------------------------- */

header {
  width: 100%;
  height: 30px;
  padding: 5px;
  border-bottom: 0.5px solid black;
  display: flex;
  gap: 10px;
  background-color: white;
  position: relative;
  z-index: 20;
}

main  {
  margin: 0;
  padding: 0;
  height: calc(100vh - 30px);   
  width: 100%;     
  display: flex;
  flex-direction: row;
}

/* Popup ------------------------------------------------- */

#popupCover {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  opacity: 40%;
  background-color: green;
}

#popup {
  width: 400px;
  min-width: 250px;
  max-width: 100vw;;
  position: fixed;
  height: auto;
  overflow-y: auto;
  top: 40px;
  left: 20px;
  border: 1px solid black;
  padding: 15px;
  background-color: white;
  z-index: 20;
}

#popup > ol {
  margin-left: 0;
  padding-left: 1em;
}

#popup > ul {
  margin-left: 0;
  padding-left: 1em;
}


/* Sections ------------------------------------------------- */

#input {
  width: 20%;
  min-height: 100%;
  background-color: whitesmoke;
  border-right: 0.5px solid black;
  /* overflow-y: scroll; */
  padding: 10px;
}


#output {
  width: 80%;
  min-height: 100%;
  background-color: whitesmoke;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Output Canvas ------------------------------------------------- */

#output-canvas {
  width: 600px;
  height: 600px;
  background-color: lightgrey;
  position: relative;
}

#output-canvas > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Save-Img Button ------------------------------------------------- */


#save-img {
  position: fixed;
  left:0;
  bottom: 0;
  border-radius: 0;
  border: 0.5px solid black;
  background-color: #057f38;
  color: black;
  width: 20%;
  height: 30px;
}

#save-img:hover {
  background-color: lightgreen;
}

/* Text Styles ------------------------------------------------- */

#text-1 {
  width: 100%;
  position: absolute;
  text-align: center;
  top: 20px;
  z-index: 2;
}

#text-2 {
  width: 100%;
  position: absolute;
  text-align: center;
  bottom: 20px;
  z-index: 2;
}

