:root[color-mode="dark"] {
  --color-black: #212128;
  --color-white: #ffffff;
  --color-primary: #f17500;
  --color-primary-hover: #ff9028;
  --color-grey-secondary: #4a4a58;
  --color-grey-secondary-hover: #292931;
  --color-grey-tertiary: #32323b;
  --color-grey-tertiary-hover: #3e3e49;
  --color-grey-lines: #575664;
  --color-grey-dark: #e9e9e9;
  --default-font-weight: 200;
}

:root[color-mode="light"] {
  --color-black: #eeeeee;
  --color-white: #000000;
  --color-primary: #00a1ff;
  --color-primary-hover: #28b0ff;
  --color-grey-secondary: #eeeeee;
  --color-grey-secondary-hover: #ffffff;
  --color-grey-tertiary: #d7dce2;
  --color-grey-tertiary-hover: #d1d6dd;
  --color-grey-lines: #9c9c9c;
  --color-grey-dark: #313131;
  --default-font-weight: 400;
}

.header {
  padding: 20px;
}

.header > a {
  font-weight: 300;
  font-size: 44px;
  text-decoration: none;
}

body {
  background-color: var(--color-black);
  font-family: "Assistant", sans-serif;
  color: var(--color-white);
  font-size: 16px;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
}

h1,
h2,
h3,
p,
button,
a,
li {
  font-weight: var(--default-font-weight);
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 18px;
}

.siteWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.root {
  width: 100%;
}

.main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1290px;
  flex: 1;
}

.uploadBox {
  background-color: var(--color-grey-tertiary);
  border-radius: 10px;
  height: 215px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
}
.uploadBox.highlight {
  background-color: var(--color-grey-tertiary-hover);
  border-color: white;
}
.dragText {
  margin: 0;
  align-self: center;
}
.content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin-top: 30px;
}
.howTo,
.description {
  flex: 1 1 auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 500px;
}
#fileInput {
  display: none;
}
.fileInputLabel {
  margin-top: 20px;
  padding: 10px;
  background: var(--color-primary);
  cursor: pointer;
  border-radius: 5px;
  max-width: 200px;
  width: 70%;
  text-align: center;
}
.fileInputLabel:hover {
  background: var(--color-primary-hover);
}

.footer {
  background-color: var(--color-grey-tertiary);
  display: flex;
  width: 100%;
  justify-content: flex-end;
  font-size: 13px;
  position: fixed;
  bottom: 0;
}

.footer > div {
  padding: 10px;
}

a {
  color: var(--color-white);
}
a:visited {
  color: var(--color-grey-dark);
}

.questions {
  border-top: 1px solid var(--color-grey-lines);
  max-width: 600px;
  margin-top: 120px;
  margin-bottom: 60px;
  padding: 20px;
}
.question-container {
  margin-top: 40px;
}

#root {
  display: flex;
  flex: 1;
}

/* The switch - the box around the slider */
.switch {
  position: absolute;
  display: inline-block;
  width: 40px;
  height: 25px;
  top: 10px;
  right: 10px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--color-primary);
}

input:checked + .slider:before {
  -webkit-transform: translateX(14px);
  -ms-transform: translateX(14px);
  transform: translateX(14px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media screen and (max-width: 503px) {
  .header > a {
    font-weight: 300;
    font-size: 30px;
    text-decoration: none;
  }
  .footer {
    justify-content: space-around;
    flex-wrap: wrap;
    position: static;
  }

  .switch {
    display: none;
  }
}
