@font-face {
  font-family: MontserratVF;
  src: url(/fonts/Montserrat-VF.woff2);
}

@font-face {
  font-family: MontserratVF;
  font-style: italic;
  src: url(/fonts/Montserrat-Italic-VF.woff2);
}

:root {
  --dark: #333;
  --cyan-1: #26bcd2;
  --cyan-2: #26a5d1;
  --cyan-2-1: linear-gradient(90deg, var(--cyan-2), var(--cyan-1));
  --orange-1: #fa0;
  background: var(--cyan-1);
  --max-body-width: min(800px, calc(100% - 1rem));
}

body>* {
  font-family: MontserratVF;
  font-size: 20px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-sizing: border-box;
}

p {
  font-size: 0.99rem;
}

body {
  font-family: MontserratVF;
  font-size: 20px;
  color: var(--dark);
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 8rem 1fr 4rem;
  grid-template-areas:
    'header'
    'main-content'
    'footer';
}

header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

main {
  width: 100%;
  background-color: #f1f1f1;
  grid-area: main-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

main>* {
  width: 100%;
  max-width: var(--max-body-width);
}

footer {
  grid-area: footer;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--dark);
}

a {
  text-decoration: none;
}

footer a {
  font-size: 0.8rem;
  padding: 0 2rem;
  color: white;
}

a:hover {
  text-decoration: underline;
}

.title-bar {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-width: var(--max-body-width);
}

.title-bar img {
  padding-right: 1rem;
}

.card {
  margin-bottom: 3rem;
  padding: 0 2rem 2rem 2rem;
  border-radius: 4px;
  background-color: #fafafa;
  box-shadow: 0 10px 6px -6px #bbb;
  transition: all 0.2s ease-in-out;
}

#create-proposal form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-bottom: 0;
}

#create-proposal .form-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#create-proposal label {
  display: flex;
  flex-direction: column;
  min-width: 20rem;
  margin-right: 2rem;
}

#create-proposal label span {
  font-size: 0.9rem;
  padding: 1rem 0 0.5rem 0;
}

#create-proposal button {
  background-color: var(--cyan-1);
  color: white;
  border-radius: 4px;
  margin-top: 1rem;
  width: 8rem;
  height: 2.5rem;
}

input {
  padding: 0.5rem;
}

#create-proposal select {
  padding: 0.5rem;
}

h3 {
  margin-top: 1.3em;
}

h4 {
  margin: 0;
}

#chaos-monkey-odds-input {
  width: 5em;
  margin-right: 0.4em;
}

#chaos-monkey-error {
  color: red;
  display: none;
}