@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
img {
  image-rendering: pixelated;
}
img.clickable:hover {
  cursor: pointer;
  filter: brightness(0.8);
}

input.stardew[type=text], input.stardew[type=number], input.stardew:not([type]) {
  background-color: #F9BA66;
  outline: none;
  border: 12px solid transparent;
  border-image: url("../assets/textbox_border.png") 16 round;
  border-radius: 20px;
}

body {
  font-family: "Ubuntu", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  height: auto;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  --font-factor: 1;
}

@media (max-width: 885px) {
  body {
    margin-top: 5vh;
    margin-bottom: 5vh;
  }
}
@media (max-width: 1000px) and (hover: none) {
  body {
    --font-factor: 2;
  }
  #columns {
    flex-direction: column;
  }
}
body {
  backdrop-filter: blur(8px);
  background-image: url("../assets/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.horizontal-border {
  width: calc(100% + 10px * 2);
  height: 0px;
  margin: 0;
  padding: 0;
  border-top: 12px solid transparent;
  border-image: url("../assets/border-oneside.png") 16 round;
  border-radius: 12px;
}

p:not(#bottom-attr-text), label, input {
  font-size: calc(1em * var(--font-factor));
}

h2 {
  font-size: calc(1.5em * var(--font-factor));
}

h3 {
  font-size: calc(1.3em * var(--font-factor));
}

#main {
  z-index: 2;
  width: 80vw;
  min-height: 80vh;
  height: auto;
  border: 16px solid transparent;
  border-image: url("../assets/border.png") 16 round;
  border-radius: 20px;
  background-clip: padding-box;
  background-color: wheat;
  padding: 30px;
}
#main #title h1 {
  font-size: calc(3rem * var(--font-factor));
  font-weight: 700;
  text-align: center;
}
#main #title h3 {
  text-align: center;
  margin: 0;
  margin-bottom: 1em;
}
#main #title h3 a {
  color: inherit;
}
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
  color: #524b3f;
}
#main #columns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 20px;
}
#main #columns .file-uploader-area#mod-file-uploader-area {
  position: absolute;
  top: 20px;
  right: 20px;
}
#main #columns .file-uploader-area .file-input {
  opacity: 0;
  width: 0;
}
#main #columns .column {
  padding: 0 10px;
  flex: 1 1 300px;
  min-width: 0;
  min-height: 55vh;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  border: 12px solid transparent;
  border-image: url("../assets/border.png") 16 round;
  border-radius: 20px;
}
#main #columns #manifest-form .form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
#main #columns #manifest-form .form-row label {
  margin-right: 0.5em;
}
#main #columns #manifest-form .form-row .form-input {
  width: 70%;
}
#main #done {
  width: 100%;
  height: 50px;
  margin: 1em 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#main #done button {
  outline: none;
  border: none;
  background: none;
}
#main #file-list {
  overflow-y: scroll;
  scrollbar-width: none;
  min-height: 30vh;
  max-height: 30vh;
  max-width: 100%;
}
#main #file-list ::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
#main #file-list #file-table {
  border-collapse: collapse;
}
#main #file-list #file-table th {
  top: 0;
  position: sticky;
  background-color: rgb(190, 173, 139);
}
#main #file-list #file-table tr, #main #file-list #file-table th, #main #file-list #file-table td, #main #file-list #file-table thead, #main #file-list #file-table tbody {
  border: 1px solid black;
}
#main .file-area-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#main .file-area-bottom .download-a {
  text-decoration: none;
  cursor: default;
}
#main .file-area-bottom .download-a .download-h {
  cursor: text;
}
#main .file-area-bottom .download-a .download-btn {
  cursor: pointer;
}
#main .file-area-bottom .download-a .download-btn:hover {
  cursor: pointer;
  filter: brightness(0.8);
}

.file-disabler {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  inset: 0;
  height: 100vh;
  width: 100vw;
  z-index: 998;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}
.file-disabler .file-disabler-margin {
  margin-bottom: 50px;
}
.file-disabler *::selection {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}
.file-disabler .file-cancel-btn, .file-disabler .file-cancel-btn-overlay {
  position: absolute;
  top: var(--top);
  left: var(--left);
}

.hidden {
  display: none;
}

@keyframes move-onscreen {
  0% {
    margin: 0;
  }
  100% {
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
}
@keyframes move-offscreen {
  0% {
    margin-right: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }
  100% {
    margin: 0;
  }
}
.credits-overlay {
  z-index: 10;
  overflow: hidden;
}
.credits-overlay .corner-link a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.credits-overlay .corner-link i {
  font-size: calc(5rem * var(--font-factor));
  position: fixed;
  bottom: -1.5rem;
  rotate: var(--rotation);
}
.credits-overlay .corner-link i:hover {
  animation: move-onscreen 0.5s ease-in-out forwards;
}
.credits-overlay .corner-link i.leave {
  animation: move-offscreen 0.5s ease-in-out forwards;
}
.credits-overlay .github-link i {
  --rotation: -45deg;
  right: -1.5rem;
}
.credits-overlay .language-btn i {
  --rotation: 45deg;
  left: -1rem;
}
.credits-overlay .language-btn button {
  outline: none;
  border: none;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}
.credits-overlay .text-credits {
  position: absolute;
  width: calc(80vw + 20px);
  top: calc((100vh - 80vh) / 2 + 80vh + 48px);
  left: calc((100vw - 80vw) / 2);
  color: black;
  text-align: center;
}
.credits-overlay .text-credits p#bottom-attr-text {
  font-size: 1.3em;
}
.credits-overlay .text-credits a {
  color: rgb(12, 12, 12);
}
.credits-overlay .background-credits {
  z-index: 10;
  position: absolute;
  top: calc((100vh - 80vh) / 2);
  left: calc(100vw - 0.8em);
  width: 0.8em;
  height: 80vh;
  text-align: center;
  color: black;
}
.credits-overlay .background-credits a {
  color: rgb(12, 12, 12);
}
.credits-overlay .background-credits p {
  margin: 0;
  width: 100%;
  height: 100%;
  writing-mode: vertical-rl;
}

#language-popup {
  z-index: 100;
  position: absolute;
  left: 2em;
  bottom: 2em;
  width: 10em;
  height: 20em;
  overflow-y: scroll;
  scrollbar-width: none;
  border: 16px solid transparent;
  border-image: url("../assets/border.png") 16 round;
  border-radius: 20px;
  background-color: wheat;
  padding: 30px;
  text-align: center;
}
#language-popup #languages {
  list-style-type: none;
  padding-left: 0;
  font-size: calc(1.5em * var(--font-factor));
}
#language-popup #languages li:not(:last-child) {
  margin-bottom: -1em;
}
#language-popup #languages li {
  cursor: pointer;
}
#language-popup #languages li:hover {
  filter: brightness(0.8);
}

#image-diff-holder {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.waitingspinner {
  font-size: calc(3em * var(--font-factor));
  animation: spin 3s ease-in-out infinite;
}

/*# sourceMappingURL=index.css.map */
