@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300;400;700&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Alegreya Sans', sans-serif;
}

canvas {
  display: block;
}

#p5 {
  width: 100vw;
  height: 100vh;
}

#p5_loading {
  color:#ae2900;
  display: block;
  position: absolute;
  top: 40vh;
  width: 100vw;
  text-align: center;
}

#yearSlider {
  position: absolute;
  top: 30px;
  left: 10px;
  width: 200px;
  height: 2px;
}

#allToggle {
  position: absolute;
  color: gray;
  bottom: 0px;
  left: 0px;
  z-index: 1000;
  background-color: white;
  padding: 8px 11px 5px 0;
  font-size: 11px;
  border-radius: 0 4px 0 0;
  text-transform: uppercase;
  letter-spacing: .3ex;
}

#allToggle label {
  position: relative;
  left: 3px;
  top: -2px;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}