html,
body {
  position: relative;
  width: 100%;
  height: 100%;
}

@font-face {
  font-family: "SometypeMono Bold";
  src: url("./fonts/SometypeMono-Bold.woff") format("woff");
}

@font-face {
  font-family: "SometypeMono Regular";
  src: url("./fonts/SometypeMono-Regular.woff") format("woff");
}

.font-bold {
  font-family:
    "SometypeMono Bold",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
}

body {
  color: var(--primary);
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 20px;
  font-family:
    "SometypeMono Regular",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen-Sans,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
}

h1,
h2,
p {
  margin: 0;
}

/* stylelint-disable */
:root {
  --green: #e0ff4f;
  --bg-color: #0e1419;
  --blue: #0ad3ff;
  --primary: #f2f2f2;
  --toastBorderRadius: 9px;
  --toastBorder: rgb(255 73 73) 2px solid;
  --toastColor: var(--primary);
  --toastBackground: var(--bg-color);
  --toastBarBackground: rgb(255 73 73);
  --toastContainerTop: 1rem;
  --toastContainerRight: 1rem;
}

/* stylelint-enable */

.wrap {
  font-size: 14px;
}

a {
  color: rgb(0 100 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0 80 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em;
  box-sizing: border-box;
  border: 0;
}

input:disabled {
  color: #ccc;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:focus {
  border-color: #666;
}

button:not(:disabled):active {
  background-color: #ddd;
}

main {
  display: flex;
  flex-direction: column;
  height: 100%;
}

footer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

header {
  background-color: #0e1419;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.button {
  background-color: var(--blue);
  color: var(--bg-color);
  border-radius: 9px;
  padding: 1rem;
  width: 300px;
  cursor: pointer;
}

.button-inverse {
  background-color: var(--bg-color);
  color: var(--blue);
  border: 1.8px solid var(--blue);
}

.button-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--bg-color);
  background-color: var(--primary);
}

.button-circle-sm {
  width: 2px;
  height: 2px;
  color: #ff470a;
  background-color: var(--bg-color);
  border: #ff470a 2px solid;
}

.button-disabled {
  opacity: 0.3;
  cursor: auto;
}

input[type="file"] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

input[type="file"]:focus + label {
  outline: 1px dotted var(--primary);
  outline: -webkit-focus-ring-color auto 5px;
}

#drop-zone {
  border-color: var(--primary);
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke='%23F2F2F2FF' stroke-width='3' stroke-dasharray='9%2c9' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
  border-radius: 9px;
}

#drop-zone.hovered {
  background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='9' ry='9' stroke='%23E0FF4FFF' stroke-width='3' stroke-dasharray='9%2c9' stroke-dashoffset='0' stroke-linecap='round'/%3e%3c/svg%3e");
}

.chk {
  appearance: none;
  background-color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 1px 2px rgba(0 0 0 5%), inset 0 -15px 10px -12px rgba(0 0 0 5%);
  padding: 9px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  margin: 0;
}

.chk:checked {
  background-color: var(--bg-color);
  border: 1px solid var(--primary);
  color: #99a1a7;
}

.chk:checked::after {
  content: "\2714";
  font-size: 14px;
  position: absolute;
  top: 0;
  left: 3px;
  color: var(--green);
}

@media (max-width: 640px) {
  .button {
    width: 200px;
  }

  body {
    font-size: 18px;
  }

  .button-circle {
    width: 20px;
  }

  .button-circle-sm {
    width: 2px;
  }
}

@media (max-width: 400px) {
  .button {
    width: 150px;
  }

  body {
    font-size: 16px;
  }

  .button-circle {
    width: 20px;
  }

  .button-circle-sm {
    width: 2px;
  }
}
