@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/NunitoVariable.woff2") format("woff2");
}
body{
  padding-top: 1.7rem;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
  padding-bottom: 0.5rem;
}
.large-button.pointer-apply{
  cursor: pointer;
}
.large-button{
  background-color: #777777;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 16px;
  flex: 0 0 auto;
  transition: color 0.25s ease-out, background-color 0.25s ease-out;
}
.large-button:hover {
  background-color: #999999;
  transition: background-color 0.1s ease-out;
}
.large-button:active {
  background-color: #444444;
  transition: background-color 0.1s ease-out;
}
.large-button:not(:hover){
  transition: background-color 0.1s ease-out;
}
.home{
  margin: 0;
}
h1{
  font-size: 32px;
}
h2{
  font-size: 24px;
}
a.heading{
  font-size: 30px;
}
a,p,label{
  font-size: 17px;
}
.live-preview, .image-stack{
  width: 140px;
  height: 140px;
}
.menu.download{
  min-height: 410px;
  opacity: 1;
  pointer-events: auto;
}
.menu.closed{
  transform: translate(-50%, -51%) scale(0.90);
  top: 48%;
  opacity: 0;
  pointer-events: none;
}
.default-button.theme{
  top: 18px;
  right: 60px;
}
.main-content{
  text-align: center;
  max-width: 800px;
  padding-top: 25px;
  margin: auto;
  flex-direction: column;
  text-align: left;
  justify-content: center;
}
.main-content.transition{
  transition: padding-top 0.25s ease-out, gap 0.25s ease-out, max-width 0.25s ease-out;
}
.default-button.openMenu{
  z-index: 5001;
  position: fixed;
  padding: 0px;
  top: 18px;
  right: 20px;
  touch-action: none;
}
.main-menu-int{
  opacity: 1;
  display: flex;
  flex-direction: column;
  position: fixed;
  background: none;
  z-index: 5001;
  gap: 2px;
  top: 70px;
  right: 10px;
  user-select: auto;
  transition: opacity 0.125s ease-out, top 0.25s ease-out, right 0.25s ease-out;
}
.main-menu-int.hidden{
  top: 64px;
}
.edit-main{
  height: 250px;
  width: 250px;
}
.logo, .logo-img{
  height: 40px;
  width: 40px;
}
.header{
  display: flex;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  background: #f3f3f3;
  width: 100%;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  gap: 20px;
  z-index: 4;
  height: 60px;
  justify-content: flex-start;
  padding: 0 20px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  z-index: 4999;
  transition: background 0.25s ease-out, box-shadow 0.25s ease-out, justify-content 0.25s ease-out, height 0.25s ease-out;
}
.edit-container{
  display: flex;
  justify-content: left;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  min-height: 340px;
  padding-top: 60px;
  transform: translateX(-50%);
  height: 80%;
  transition: top 0.5s ease-out, padding-top 0.35s ease-out, height 0.35s ease-out;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}
/* should only use below if will fit on phone screen without going to next line */
.sample-img{
  width: 140px;
  height: 140px;
}
.static-image{
  width: 170px;
  height: 170px;
}
.sample-img:hover{
  height: 160px;
  width: 160px;
}
.edit-main-controls{
  gap: 10px;
}
@media (min-width: 330px) and (min-height: 330px) {
  .edit-main{
    height: 265px;
    width: 265px;
  }
}
@media (min-width: 380px) and (min-height: 380px) {
  .edit-main{
    height: 300px;
    width: 300px;
  }
}
@media (min-width: 900px) {
  .header{
    justify-content: center;
    padding: 0 0px;
  }
  .logo, .logo-img{
    height: 45px;
    width: 45px;
  }
  .home{
    font-size: 36px;
  }
}
@media (min-height: 600px) and (min-width: 600px) {
  body {
    padding: 1.2rem;
    padding-bottom: 2rem;
  }
  .live-preview{
    width: 200px;
    height: 200px;
  }
  .image-stack {
    width: 200px;
    height: 200px;
  }
  .default-button.theme{
    top: 18px;
    right: 60px;
  }
  .edit-main{
    height: 470px;
    width: 470px;
  }
  .edit-container{
    min-height: 550px;
    padding-top: 20px;
    height: 95%;
  }
  .sample-img{
    width: 170px;
    height: 170px;
  }
  .sample-img:hover{
    height: 190px;
    width: 190px;
  }
  .static-image{
    width: 220px;
    height: 220px;
  }
  .edit-main-controls{
    gap: 10px;
  }
  .main-content.small{
    max-width: 600px;
    margin: auto;
  }
  .main-content.smaller{
    max-width: 450px;
    margin: auto;
  }
}
@media (min-height: 800px) and (min-width: 800px) {
  .edit-main{
    height: 600px;
    width: 600px;
  }
  .sample-img{
    width: 170px;
    height: 170px;
  }
  .sample-img:hover{
    height: 190px;
    width: 190px;
  }
}
@media (min-height: 1000px) and (min-width: 1000px) {
  .edit-main{
    height: 800px;
    width: 800px;
  }
  .sample-img{
    width: 190px;
    height: 190px;
  }
  .sample-img:hover{
    height: 210px;
    width: 210px;
  }
  h1{
    font-size: 36px;
  }
  h2{
    font-size: 28px;
  }
  a,p,label,.large-button{
    font-size: 19px;
  }
  .main-content.small{
    max-width: 750px;
    margin: auto;
  }
  .main-content.smaller{
    max-width: 600px;
    margin: auto;
  }
}
@media (min-height: 1200px) and (min-width: 1200px) {
  .edit-main{
    height: 1000px;
    width: 1000px;
  }
  .sample-img{
    width: 210px;
    height: 210px;
  }
  .sample-img:hover{
    height: 230px;
    width: 230px;
  }
}
#app {
  opacity: 1;
  transition: opacity 200ms ease;
}
#app.fade-out {
  opacity: 0;
}
.overscroll-none{
  overscroll-behavior: none;
}
.main-content.smaller.centered{
  display: flex;
  gap: 10px;
  justify-content: center;
}
.menu-title {
  font-size: 24px;
  margin-top: 10px;
  font-weight: 600;
}
.corner{
  transition: height 0.25s ease-out, width 0.25s ease-out;
}
.corner.rotated {
  transform: rotate(180deg);
}
body {
  transition: padding 0.25s ease-out;
}
.innerBody{
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.innerBody.loaded{
  transition: opacity 0.25s ease-out;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
h1, h2, p, a, label, .large-button{
  transition: font-size 0.25s ease-out;
}
h1.main-page {
  margin-bottom: 0;
}
h2.main-page {
  margin-top: 8px;
  margin-bottom: 25px;
}
html.dark {
  height: 100%;
  width: 100%;
  background-color: #171717;
  color: #ffffff;
}
html.dark .logo-img{
  filter: invert(1);
}
html.dark .menu-icon{
  filter: invert(0);
}
html.dark a, html.dark p{
  color: #ffffff;
}
html.dark .large-button{
  background-color: #333333;
}
html.dark .large-button:hover {
  background-color: #555555;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}
html.dark .large-button:active {
  background-color: #9e9e9e;
}
html.dark .header {
  background: #202020;
  box-shadow: 0 3px 5px rgba(195, 195, 195, 0.1);
}
html.dark .sizeSelect{
  background-color: #333333;
  color: #ffffff;
}
html {
  height: 100%;
  width: 100%;
  background-color: #f0f0f0;
}
html, button, .selector, .menuInput, .fileType, .colorInput{
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}
html.transition{
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}
a.transition, p.transition{
  transition: color 0.25s ease-out;
}
.menubutton{
  font-size: 20px;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
}
.logo, .logo-img{
  filter: invert(0);
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  transition: width 0.25s ease-out, height 0.25s ease-out, filter 0.25s ease-out;
}
a{
  text-decoration: none;
  color: #000000;
}
.under-link{
  text-decoration: underline;
}
.menu-icon{
  filter: invert(1);
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  cursor: pointer;
  transition: filter 0.25s ease-out;
}
.cursorImage{
  width: 24px;
  height: 24px;
  left: 0;
  top: 0;
  position: fixed;
  will-change: transform;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  z-index: 9999;
}
.version{
  font-size: 14px;
  opacity: 0.5;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  color: #555555;
}
html.dark .version{
  color: #9f9f9f;
}
.edit-main{
  touch-action: none;
  aspect-ratio: 1 / 1;
  order: 1;
  display: flex;
  transition: opacity 0.2s ease-out;
}
.canvasLayer{
  touch-action: none;
  transition: height 0.25s ease-out, width 0.25s ease-out;
}
.image-stack {
  position: relative;
  transition: height 0.25s ease-out, width 0.25s ease-out;
}
.image-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
div{
  align-items: center;
}
.menu {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* center both horizontally & vertically */
  background: #f0f0f0;
  width: 250px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-radius: 10px;
  z-index: 4500;
}
.menu.startup{
  height: 330px;
}
html.dark .menu{
  background: #222222;
}
.menu.transition{
  transition: opacity 0.17s ease-out, background 0.25s ease-out, height 0.25s ease-out, transform 0.2s ease, top 0.2s ease;
}
.menuInput{
  border-radius: 10px;
  font-size: 16px;
  border: none;
  background: #c5c5c5;
  color: #000000;
  max-width: 100px;
}
html.dark .menuInput{
  background: #444444;
  color: #ffffff;
}
.menuInput.transition{
  transition: background 0.25s ease-out, color 0.25s ease-out;
}
.default-button{
  background: none;
  border: none;
  cursor: pointer;
  padding: none;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  z-index: 4999;
  transition: right 0.25s ease-out, bottom 0.25s ease-out, top 0.25s ease-out;
}
.transparent-button{
  border-radius: 5px;
  background: none;
  border: none;
  z-index: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  padding: 3px 4px 0px 4px;
}
.transparent-button.transition{
  transition: background 0.125s ease-out;
}
.focus-visible {
  background-color: #c8c8c8;
}
html.dark .focus-visible {
  background-color: #444444;
}
.focus-visible.transition{
  transition: background-color 0.125s ease-out;
}
.overlay {
  position: fixed;
  inset: 0; /* top:0 right:0 bottom:0 left:0 */
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;

  /* BLOCK INTERACTION */
  pointer-events: auto;
  opacity: 1;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.overlay.transition{
  transition: opacity 0.17s ease-out, background 0.25s ease-out, filter 0.25s ease-out;
}
html.dark .overlay{
  background: rgba(0, 0, 0, 0.5);
}
.overlay.main-menu-overlay{
  z-index: 5000;
}
.overlay.editor{
  z-index: 400;
}
.overlay.loader-back {
  z-index: 9999;
}

.loader-icon {
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  animation-play-state: running;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: invert(1);
}
.loader-icon.paused{
  animation-play-state: paused;
}
html.dark .loader-icon {
  filter: invert(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.hidden {
  pointer-events: none;
  opacity: 0;
}
.colorInput{
  background: transparent;
  border-radius: 5px;
  border-color: #c8c8c8;
  border-style: solid;
  font-size: 16px;
  cursor: pointer;
}
html.dark .colorInput {
  border-color: #444444;
}
.colorInput.transition {
  transition: border-color 0.25s ease-out;
}
.selector{
  border: none;
  border-radius: 5px;
  background: #c5c5c5;
  color: #000000;
}
html.dark .selector{
  background: #444444;
  color: #ffffff;
}
.selector.transition{
  transition: background 0.25s ease-out, color 0.25s ease-out;
}
.edit-main-controls{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: gap 0.25s ease-out;
}
.edit-main-controls.left{
  padding-right: 5px;
}
.edit-main-controls.right{
  padding-left: 5px;
}
.sample-img{
  transition: height 0.2s ease-out, width 0.2s ease-out;
}
.static-image{
  transition: height 0.2s ease-out, width 0.2s ease-out;
}
.sizeSelect{
  background-color: #ffffff;
  color: #000000;
  border: none;
  font-size: 16px;
}
.sizeSelect.transition{
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*firefox*/
input[type=number] {
  -moz-appearance: textfield;
}