:root {
  --tile-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}
body {
  font-family: "Source Sans Pro", sans-serif;
  padding: 1em;
  background: linear-gradient(180deg, #fff9e4 0%, #eeeed8 100%);
  display: flex;
  justify-content: space-around;
  color: #2f2c48;
}

.instructions {
  font-size: 0.8em;
  color: #aaa;
  text-align: center;
  margin: 0;
  margin-bottom: 16px;
}

.card {
  background: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  padding-bottom: 16px;
}

.card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
  padding: 16px;
}
.card header h1 {
  margin: 0;
}

.card header .button-as-link {
  margin-right: 1em;
}
.card header aside {
  padding-left: 16px;
  padding-right: 16px;
}

.card_body {
  display: flex;
}
.card_right-column {
  padding-right: 16px;
}

canvas {
  background: #f4f8f9;
}

.tileset-container {
  position: relative;
}
.tileset-container_selection {
  position: absolute;
  outline: 3px solid cyan;
  left: 0;
  top: 0;
  width: var(--tile-size);
  height: var(--tile-size);
}

.layers {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
button.layer {
  appearance: none;
  font-family: inherit;
  outline: 0;
  background: transparent;
  border: solid 2px black;
  padding: 5px;
  display: block;
  width: 100px;
  text-align: left;
  cursor: pointer;
}

.layers li {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: start;
}

button.active {
  font-weight: bold;
  background: #7b89db;
  border-color: #0884f1;
  color: white;
}

.button-as-link {
  appearance: none;
  text-decoration: underline;
  background: transparent;
  color: #7f808e;
  border: 0;
  outline: 0;
  cursor: pointer;
}
.primary-button {
  border: 0;
  background: #4e84fa;
  border-top: 4px solid transparent;
  border-bottom: 4px solid #3166c7;
  color: #fff;
  border-radius: 6px;
  outline: 0;
  padding: 6px 16px;
  cursor: pointer;
}

label {
  text-transform: uppercase;
  margin-bottom: 0.5em;
  font-weight: bold;
  display: block;
}

/*button.layer.active {
}
  */
