* {
  padding: 0;
  margin: 0;
}
:root {
  /* light theme */
  --background-color: linear-gradient(45deg, #def4ff, #ffeafd);
  --text-color-a: #333;
  --text-color-b: #555;
  --text-color-c: #111;
  --shell: rgba(200, 200, 200, 0.1);
  --border-color: #aaaaaa;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --button-background: #555;
  --button-hover-background: rgba(0, 0, 0, 0.2);
  --button-active-background: rgba(0, 0, 0, 0.4);
  --button-disabled-background: #aaaaaa;
  --status-ok: #2cbb4e;
  --status-err: #ed3f51;
  --button-shadow:
    inset 0 10px 100px rgba(0, 0, 0, 0.1), 0 5px 5px rgba(0, 0, 0, 0.05),
    0 15px 15px rgba(0, 0, 0, 0.2), inset 0 -10px 15px rgba(255, 255, 255, 0.5);
}
[data-theme="dark"] {
  /* dark theme */
  --background-color: linear-gradient(45deg, #1e1e1e, #2c2c2c);
  --text-color-a: #eee;
  --text-color-b: #ccc;
  --text-color-c: #fff;
  --shell: rgba(200, 200, 200, 0.1);
  --border-color: #d2d2d2;
  --shadow-color: #676767;
  --button-background: #555;
  --button-hover-background: #333;
  --button-active-background: #111;
  --button-disabled-background: #aaa;
  --status-ok: #23ff56;
  --status-err: #ff0019;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  background: var(--background-color);
}
.background {
  background: var(--background-color);
}
h1 {
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--text-color-a);
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}
h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-color-b);
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}
h3 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-color-a);
}
p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-color-a);
}
.hint {
  color: var(--text-color-b);
  font-size: 0.8rem;
  margin-top: -0.5rem;
}
.NavigationBar {
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10;
}
.NavigationBar nav {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--shell);
}
.NavigationBar a {
  text-decoration: none;
  color: var(--text-color-b);
  transition:
    color 0.3s ease,
    transform 0.1s ease;
}
.NavigationBar a:hover {
  color: var(--text-color-a);
}
.NavigationBar a:active {
  color: var(--text-color-c);
  transform: scale(0.96);
}
.NavigationBar button {
  display: none;
}
label {
  font-size: 1rem;
  display: block;
  margin-bottom: 0rem;
  font-weight: 400;
  color: var(--text-color-a);
}
footer {
  margin-top: 10rem;
  text-align: center;
  padding: 20px;
}

@media (max-width: 820px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  p {
    font-size: 0.8rem;
  }
  label {
    font-size: 0.8rem;
  }
  input[type="text"],
  input[type="file"] {
    font-size: 0.8rem;
  }
  .NavigationBar a {
    font-size: 0.7rem;
  }
}
