:root {

  --white: #ffffff;
  --black: #000000;

  --background: #f7f0ee;
  --dark: #111542;
  --main: #ed7966;
  --action: #7966ED;
  --action-hover: #5138ed;

  --error: #ed4343;

  --valid: #23DC3D;

  background-color: var(--background);
  font-size: 16px;
  padding: 0px;
  margin: 0px;
  font-family: 'Roboto', sans-serif;

}

body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

#content {
  width: 70vw;
  padding: 0 15vw;
}

.alt-colour {
  color: var(--action);
}

.cat {
  color: var(--main);
  font-style: italic;
  margin: 0;
}

.bal {
  font-weight: bold;
}

.sectioner {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
}

.valid-input {
  border-bottom: 2px solid var(--valid) !important;
}

.bad-input {
  border-bottom: 2px solid var(--error) !important;
}

.large-title {
  font-size: 3.5em;
}

.error {
  font-size: 1.1rem;
  font-weight: bold;
  display: none;
  color: var(--error);
  margin: 0.5em 0 0 0;
  cursor: default;
}

.title {
  font-size: 2.5em;
  margin: 0;
}

.btn {
  background-color: var(--action);
  color: var(--white) !important;
  transition: 0.3s;
  border: 1px solid black;
  border-radius: 0.2em;
}

.btn:not([disabled]):hover {
  cursor: pointer;
  background-color: var(--action-hover);
  border: 1px solid black;
}

.alt {
  color: var(--action) !important;
  font-weight: bold;
}

.btn:disabled {
  background-color: gray;
}

input[type='radio'] {
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--black);
}


a:visited {
  color: currentColor;
}

textarea {
  resize: none;
  font-family: 'Roboto', sans-serif;
}

input[type='radio']:hover {
  cursor: pointer;
}



.header-title {
  font-size: 2rem;
  margin: 0;
}


.spinner-container {
  width: 100%;
  display: flex;
  flex-direction: row;
}


#spinngerSVG {
  margin: auto;
  background: transparent;
  display: block;
  shape-rendering: auto;
}

.finished { color: green}
.almost-done { color: rgb(253, 207, 2) }
.in-progress { color: orange }
.waiting { color: red }


@media only screen and (max-width: 1400px) {
  :root {
    font-size: 14px;
  }
}

@media only screen and (max-width: 1000px) {
  :root {
    font-size: 12px;
  }
}

@media only screen and (max-width: 500px) {
  
  #content {
    width: 85vw;
    padding: 0 7.5vw;
  }
}