body {
  position: relative;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #fff3e9;
  color: #c57144;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 3em;
  text-align: center;
}

.title a, .title a:hover {
  color: inherit;
  text-decoration: none;
}

article a, article a:hover{
  color: inherit;
}

article {
  margin: 0 auto;
  width: 80%;
  max-width: 800px;
}

#name {
  width: 100px;
  margin-left: 10px;
}

#export {
  display: none;
  margin: 0 auto;
  width: 1104px;
  position: absolute;
  top: 0;
  left: -2000px;
}

#bg-pic {
  width: 1024px;
  background-color: #fff;
  border: 40px #fff solid;
  border-bottom-width: 20px;
}

#export-image {
  width: 100%;
  height: auto;
}

#rendered {
  width: 90%;
  max-width: 1104px;
  margin: 0 auto;
}

#redenred-image {
  width: 100%;
  height: auto;
}

#image-details {
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  width: 1024px;
  border: 40px #fff solid;
  border-top: 0;
  border-bottom: 0;
  padding-bottom: 10px;
}

#tech-details {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: 0.9em;
  margin-bottom: 10px;
}

#input-modal {
  text-align: center;
  background-color: #fef8f5;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  margin-bottom: 40px;
  width: 80%;
  max-width: 520px;
  padding-bottom: 40px;
}

#input-modal h2 {
  margin: 0;
}

.image-upload-text {
  margin-top: 20px;
}

.image-upload-text > div {
  margin-bottom: 20px;
  font-size: 10px;
}

#input-wrapper {
  position: relative;
  background-color: #fdfcf9;
  border: 1px #dbcec6 dashed;
  border-radius: 10px;
  height: 160px;
  width: 80%;
  margin: 0 auto;
}

#input-wrapper > img {
  width: 60px;
  height: 60px;
  margin: 25px auto;
  filter: invert(78%) sepia(75%) saturate(3523%) hue-rotate(328deg) brightness(82%) contrast(86%);
}

#slider-tab img {
  width: 20px;
  height: 20px;
  filter: invert(78%) sepia(75%) saturate(3523%) hue-rotate(328deg) brightness(82%) contrast(86%);
}

#img1 {
  width: 100%;
  height: auto;
}

#download-button {
  display: none;
  background-color: #c57144;
  text-decoration: none;
  color: #fff3e9;
  width: fit-content;
  text-align: center;
  font-weight: 500;
  padding: 20px;
  font-size: 1.4em;
  border-radius: 14px;
  margin: 20px auto;
  &
}

#download-button::hover {
  text-decoration: none;
}

#camera {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5em;
}

#imginput {
  width: 100%;
  height: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.dark {
  background-color: #1f1c26!important;
  border-color: #1f1c26!important;
  color: #fff!important;
}

.hidden {
  display: none!important;
} 

#settings-tab {
  display: none;
}

#settings {
  background-color: #fdfcf9;;
  border-radius: 0 0 0 20px;
  position: relative;
  transition: margin 500ms ease-in-out;
  padding: 20px 20px 1px 20px;
  margin-top: -121px;
}
.option {
  margin-bottom: 10px;
}

.option:nth-child(3) {
  margin-bottom: 20px;
}

input[type="checkbox"]:checked + #settings {
  margin-top: 0!important;
}

#slider-tab {
  position: absolute;
  right: 0;
  background-color: inherit;
  border-radius: 0 0 0 10px;
  padding: 8px;
}

footer {
  height: auto;
  max-width: 350px;
  margin: auto auto 0;
}

footer nav{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  text-align: center;
  width: 350px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  #download-button {
    display: none!important;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #3e4558;
    color: #e9f0fb;
  }
  #input-modal {
    color: #3e4558;
    background-color: #d4dbed;
  }
  #input-wrapper {
    background-color: #e9f0fb;
    border: 1px #3e4558 dashed;
  }
  #input-wrapper > img, #slider-tab img {
    filter: invert(24%) sepia(6%) saturate(1869%) hue-rotate(186deg) brightness(101%) contrast(91%);
  }
  #download-button {
    background-color: #d4dbed;
    color: #3e4558;
  }
  #settings {
    background-color: #e9f0fb;
  }
}
