:root {
  --mpya-turqoise: #00b2aa;
  --mpya-pink: #e34586;
  --mpya-pink-light: #f4a9c5;
  --mpya-turqoise-light: #97d2d4;
  --mpya-beige: #c8bcaf;

  --border-radius: 5px;
  --padding-small: 0.5em;
}

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

body {
  background: white;
  color: white;
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

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

label {
  display: block;
  color: var(--mpya-turqoise);
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}

input {
  background: #ffffff;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
}

input:disabled {
  color: #ccc;
}

button {
  cursor: pointer;
  background: var(--mpya-turqoise);
  color: white;
  border: none;
  outline: none;

  box-shadow: 0px 3px 0px var(--mpya-pink);
}

button:hover {
  background: var(--mpya-turqoise-light);
}

button:disabled {
  opacity: 0.45;
  cursor: auto;
}

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

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

/* Utilities */
.width--full {
  width: 100%;
}

.height--full {
  height: 100%;
}

.flex--column {
  display: flex;
  flex-direction: column;
}

.flex--row {
  display: flex;
  flex-direction: row;
}

.hidden {
  visibility: hidden;
}

.truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-align-center {
  text-align: center;
}

/* CSS for removing arrows in inputs when type=number */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
