:root {
  --main: #4ea8de;
  --main-dark: #2483bd;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Benton Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.container {
  display: flex;
  width: 100%;
  height: 100%;
}

.header {
  font-size: 24px;
  margin-top: 0;
}

.title {
  font-size: 18px;
}

.right {
  height: 100%;
  flex: 1;
}

.left {
  padding: 10px;
  width: 300px;
  height: 100%;
  background-color: #eef0f2;
}

.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.addImage {
  background-color: var(--main);
  padding: 10px 20px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  color: #FFF;
  margin: 10px 0px;
}

.addImage:hover {
  background-color: var(--main-dark);
}

.inputRow {
  display: flex;
  justify-content:center;
}

.inputLabel {
  margin: 0;
  font-size: 12px;
}

.textInput {
  width: 100%;
  padding: 10px;
  border-radius: 3px;
  border: 1px solid #e6e6ea;
}

.error {
  color: #de3c4b;
}

.colorPreview {
  margin-top: 10px;
  height: 30px;
  border: 1px solid #CCC;
  color: #AAA;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
}

.modalContainer {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal {
  width: 50%;
  height: 50%;
  max-width: 500px;
  max-height: 400px;
  background-color: #FFF;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.modalHeader {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.modalHeader p {
  margin: 0 0 10px 0;
}

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

.imageInput {
  border: 2px dashed #CCC;
  border-radius: 3px;
  margin-bottom: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.highlight {
  border: 2px dashed var(--main-dark);
}

.urlButton {
  background-color: var(--main);
  border: 0;
  border-radius: 3px;
  padding: 10px;
  margin-left: 5px;
  cursor: pointer;
  color: #FFF;
}

.urlButton:hover {
  background-color: var(--main-dark);
}

.close {
  cursor: pointer;
}

.color {
  margin: 1px;
  text-align: right;  
  cursor: move;
}

.deleteColor {
  margin-right:3px;
  filter: invert(100%);
  cursor: pointer;
}

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

a:hover {
  text-decoration: underline;
}

canvas {
  position: relative;
}