/* --- Base reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

*,
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
    "Segoe UI", "Liberation Sans", sans-serif;
}

body {
  color: black;
  background-color: #e9e9e9;
}

body .start {
  background-color: #444;
}

input[type="text"],
input[type="number"] {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0.4rem 0.6rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nav-wrapper {
  width: 100%;
  background-color: red;
  border-bottom: 0px solid #c9c9c9;
}

nav {
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 1rem;
  height: 3em;
}

.start nav {
  max-width: 900px;
  text-align: center;
  display: block;
  padding: 0.8em 0;
  color: white;
  display: none;
}

nav .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 12px;
}

.dot.green {
  background-color: #28a745;
}
.dot.orange {
  background-color: #fd7e14;
}
.dot.red {
  background-color: #dc3545;
}

nav .navbar-brand a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

nav .navbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
}

nav .navbar-links a {
  color: black;
  text-decoration: none;
}

/* --- Wrapper layout --- */
.wrapper {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .wrapper {
  }
}

.fatal-error h1,
.http-failed h1 {
  padding-top: 5rem;
  text-align: center;
}
.fatal-error h2,
.http-failed h2 {
  text-align: center;
}

/* Start page */

.start .wrapper {
  background-image: url("/assets/bg.jpg");
  background-position: top;
  background-repeat: y-repeat;
}

.start ol,
.start ul {
  font-size: 1.2rem;
  line-height: 180%;
  color: #111;
  margin: 0 1.5rem 2rem 1.5rem;
}
@media screen and (min-width: 768px) {
  .start ol,
  .start ul {
    margin: 0 6rem 2rem 6rem;
  }
}

.start li {
  margin-bottom: 0.8em;
}

.start section {
  margin-bottom: 3em;
}
@media screen and (min-width: 768px) {
  .start section {
    margin-bottom: 5em;
  }
}

.start section#hero {
  background-image: url("/assets/background.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  background-size: cover;
}

.start section#hero .logo {
  width: 100%;
  display: flex;
  justify-content: center;
}

.start section#hero .logo img {
  width: 220px;
  height: 200px`;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
  .start section#hero .logo img {
    width: 300px;
    margin-top: 5rem;
    margin-bottom: 3em;
  }
}

.start #marketplaces .mp-images {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2em;
  gap: 1em;
}

@media screen and (min-width: 768px) {
  .start #marketplaces .mp-images {
    gap: 1.5em;
    margin-bottom: 3em;
  }
}

.start #marketplaces .mp-images img {
  width: 70px;
}

@media screen and (min-width: 768px) {
  .start #marketplaces .mp-images img {
    width: 100px;
  }
}

.start #upload {
  margin: 0 1em;
}

.start .box {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  margin: auto;
  max-width: 600px;
  border-radius: 1rem;
  padding: 0.5rem;
}

.start .inner-box {
  padding: 2rem 0;
  margin: auto;
  border: 4px dashed #666;
  border-radius: 1rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .start .inner-box {
    padding: 3em 0;
  }
}

/* When dragging over the upload section  */
.start .box.hover {
  border-color: black;
}

.start .box .button {
}

.start .box .button button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.3rem;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.start .upload button:hover {
  background-color: #0056b3;
}

.start #hero .demo-link {
  display: block;
  text-align: center;
}

.start #hero .demo-link a {
  color: black;
}

.start h2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Adjusted",
    "Segoe UI", "Liberation Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.5em;
  text-align: center;
  margin: 0 auto 1.5rem auto;
  padding: 0 1em;
}
@media screen and (min-width: 768px) {
  .start h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding: 0 5em;
  }
}

.start h3 {
  margin-left: 2em;
  margin-right: 2em;
  margin-bottom: 1em;
}
@media screen and (min-width: 768px) {
  .start h3 {
    margin-left: 6em;
    margin-right: 6em;
    margin-bottom: 1.5em;
  }
}

.start p {
  font-size: 1.2em;
  line-height: 150%;
  margin: 0 2em 2em;
}
@media screen and (min-width: 768px) {
  .start p {
    margin: 0 6em 2em 6em;
  }
}

.start section#how-it-works img {
  width: 100%;
  margin: 0.5em 0 1em 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.start section#how-it-works code {
  font-family: monospace;
  /* background-color: #ffff9955; */
  border-radius: 9px;
  padding: 5px;
}

.start hr {
  width: 60%;
  border: none;
  border-top: 2px solid #444444aa;
  margin: 0 auto 3em;
}

@media screen and (min-width: 768px) {
  .start hr {
    margin: 0 auto 5em;
  }
}

.legal {
  font-size: small;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 2rem;
}

.legal a {
  text-decoration: none;
  color: black;
}

.version {
  font-size: small;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1rem;
}

.version strong {
  text-decoration: none;
  margin-right: 0.5em;
}
