@font-face {
  font-family: "Stardew Valley Thin";
  src: url("../fonts/StardewValley_Thin.otf");
  /* font-size: 42px */
}
@font-face {
  font-family: "Stardew Valley Bold";
  src: url("../fonts/StardewValley_Bold.otf");
  /* font-size: 39px */
}
@keyframes loading {
  0% {
    content: ".";
  }
  33% {
    content: "..";
  }
  66% {
    content: "...";
  }
}
html {
  background-color: #131313;
}

body {
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background-image: url("../images/background.png"), linear-gradient(#000, #6934a9);
  background-attachment: fixed;
}
body header {
  display: flex;
  padding: 32px 16px 0 16px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
body header h1 {
  width: 100%;
  max-width: fit-content;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  font-family: "Stardew Valley Bold";
  font-size: 58px;
  border: 40px solid #b14e05;
  border-image: url("../images/border_header.png") 40;
  background-color: #ffd284;
  background-clip: padding-box;
  overflow-wrap: break-word;
  text-align: center;
  color: #56160c;
  text-shadow: #e09650 -4px 4px 0;
}
body header p {
  width: 100%;
  max-width: 635px;
  margin: 0;
  padding: 16px;
  box-sizing: border-box;
  font-family: "Stardew Valley Thin";
  font-size: 42px;
  text-align: center;
  background-color: #ffc576;
  background-clip: padding-box;
  border: 20px solid #fa9305;
  border-image: url("../images/border_info.png") 20;
  text-shadow: rgba(0, 0, 0, 0.16) 2px 2px 0;
}
body main {
  display: flex;
  padding: 0 16px 32px 16px;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  flex-grow: 1;
  gap: 32px;
  font-family: "Stardew Valley Bold";
  font-size: 39px;
  color: #56160c;
  text-shadow: #e09650 -3px 3px 0;
}
body main #upload {
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border: 24px solid transparent;
  border-image: url("../images/upload_border.png") 24;
  background-color: #ffd284;
  background-clip: padding-box;
}
body main #upload header {
  text-align: center;
}
body main #upload a {
  font-size: 26px;
  color: inherit;
  text-shadow: -2px 2px 0 #e09650;
  text-decoration: none;
}
body main #upload input[type=file] {
  padding: 8px;
  box-sizing: border-box;
  font-family: inherit;
  border: 12px solid transparent;
  border-image: url("../images/input_border.png") 12;
  font-size: 26px;
  background-color: #f9ba66;
  background-clip: padding-box;
}
body main #upload input[type=file]::file-selector-button {
  padding: 0 16px;
  margin: 0 32px 0 0;
  border: 16px solid transparent;
  border-image: url("../images/button_border.png") 16;
  font-family: inherit;
  font-size: 26px;
  color: inherit;
  cursor: pointer;
  background: #fa9305;
  background-clip: padding-box;
}
body main #upload input[type=file]::file-selector-button:hover {
  background-color: #f08003;
  border-image: url("../images/button_hovered_border.png") 16;
}
body main #upload button {
  padding: 0 16px;
  border: 16px solid transparent;
  border-image: url("../images/button_border.png") 16;
  font-family: inherit;
  font-size: 39px;
  color: inherit;
  background-color: #fa9305;
  background-clip: padding-box;
  cursor: pointer;
}
body main #upload button:hover {
  border-image: url("../images/button_hovered_border.png") 16;
  background-color: #f08003;
}
body main #upload button.loading::after {
  content: ".";
  animation: loading 1.5s infinite steps(3);
}
body main #upload p {
  margin: 0;
  font-size: 28px;
  font-family: "Stardew Valley Thin";
  color: black;
  text-shadow: -2px 2px 0 rgba(0, 0, 0, 0.16);
}
body main #upload input[type=file], body main #upload p {
  width: 100%;
  max-width: 555px;
}
body main #infos-and-upload {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body main #infos, body main #upload-button {
  background-color: #ffcb7b;
  background-clip: padding-box;
  border: 28px solid #b14e05;
  border-image: url("../images/border_meta_upload.png") 32;
}
body main #infos {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
body main #infos #farmer-pic {
  height: 192px;
  width: 128px;
  cursor: pointer;
  border: none;
  background-image: url("../images/farmer.png");
}
body main #infos .farmer-female {
  background-position: 256px 0;
}
body main #infos .farmer-male {
  background-position: 128px 0;
}
body main #infos p {
  margin: 0;
}
body main #infos #farmer-name,
body main #infos #farm-name {
  font-size: 39px;
  cursor: pointer;
}
body main #infos #farmer-name {
  height: 72px;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url("../images/farmer_name.png");
  cursor: pointer;
}
body main #infos #farmer-name::before, body main #infos #farmer-name::after {
  position: absolute;
  content: "";
  top: 0;
  height: 100%;
  width: 48px;
}
body main #infos #farmer-name::before {
  left: -48px;
  background-image: url("../images/farmer_name_decoration.png");
}
body main #infos #farmer-name::after {
  right: -48px;
  background-image: url("../images/farmer_name_decoration.png");
  background-position: 48px;
}
body main #upload-button {
  padding: 16px;
  text-align: center;
}
body main #upload-button a {
  display: block;
  padding: 0 16px;
  border: 16px solid transparent;
  border-image: url("../images/button_border.png") 16;
  text-decoration: none;
  background-color: #fa9305;
  background-clip: padding-box;
  color: inherit;
  text-shadow: none;
}
body main #upload-button a:hover {
  background-color: #f08003;
  border-image: url("../images/button_hovered_border.png") 16;
}
body main #stats {
  background-color: #ffd284;
  background-clip: padding-box;
  border: 16px solid #b14e05;
  border-image: url("../images/border_stats.png") 16;
}
body main #stats ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body main #stats ul li {
  padding-right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 20px solid transparent;
  border-image: url("../images/stat_border.png") 20;
}
body main #stats ul li::before {
  content: "";
  display: inline-block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  margin-right: 16px;
  background-image: url("../images/stat_icon.png");
}
body main #stats ul li:hover {
  border-image: url("../images/stat_hovered_border.png") 20;
  background-color: #f5b75d;
  background-clip: padding-box;
  cursor: pointer;
}
body main #stats ul li:hover::before {
  background-position: 72px;
}
body main #stats ul li:not(:first-child) {
  margin-top: -4px;
}
body main #stats ul li:first-child {
  border-image: url("../images/stat_border_first.png") 20;
}
body main #stats ul li:first-child:hover {
  border-image: url("../images/stat_hovered_border_first.png") 20;
}
body main #stats ul li:last-child {
  border-image: url("../images/stat_border_last.png") 20;
}
body main #stats ul li:last-child:hover {
  border-image: url("../images/stat_hovered_border_last.png") 20;
}
body footer {
  padding: 0 1rem;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 1rem;
  text-align: right;
  color: white;
  background-color: #131313;
}
body footer img {
  height: 1rem;
  width: 1rem;
  vertical-align: middle;
}
body footer a {
  color: white;
}

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