body, html {
  display: block;
  flex-direction: column;
  margin: 0 10px 0 0;
}

p {
  margin: 0;
}

button {
  display: block;
}

#canvas {
  cursor: crosshair;
  width: 1000px;
  height: 600px;
  margin-right: 5px;
}

#intro {
  display: flex;
  justify-content: center;
  margin: 8px;
}

#main {
  display: flex;
  justify-content: center;
  margin: 8px;
}

#viz {
  width: 1020px;  
}

#sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 1000px;
  height: 200px;
}

#buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

.explanation {
  display: flex;
  flex-direction: column;
  word-wrap: normal;
  max-width: 500px;
}

h2, h3 {
  align-self: center;
  color: #4acaa8;
}

a.viz-button {
  align-self: center;
}

.normal-button {
  color: #fff!important;
  cursor: pointer;
  background-color: #4acaa8;
  padding: 6px;
  border-radius: 2px;
}

.normal-button:hover {
  color: #fff!important;
  background-color: #39c29d;
  border-bottom: 1px solid #39c29d;
}

.warning-button {
  border: 1px solid #c00040;
  color: #c00040!important;
  cursor: pointer;
  padding: 6px;
  border-radius: 2px;
}

.greyer-canvas {
  background-color: #f0f0f0;
}

@media (min-width: 1200px) {
  #viz {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
  }

  #sorry {
    display: none;
  }
}

@media (max-width: 1200px) {
  #sorry {
    display: block;
  }

  #viz {
    display: none;
  }
}
