@font-face {
  font-family: 'Input'; /*a name to be used later*/
  src: url('Input.ttf'); /*URL to font*/
}

body {
  margin: 0px;
  min-width: 500px;
  max-height: 900px;
}

#navbar {
  width: auto;
  height: auto;
  position: relative;
  z-index: 2;
  top: 0;
  height: 40px;
  background-color: white;
}

#p5canvas {
  position: relative;
}

canvas:focus {
  outline: 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}

li {
  font-family: 'Input';
  font-size: 14;
  float: left;
  flex-grow: 1;
  padding: 1px;
}

li:first-child {
  flex-grow: 8;
  white-space: nowrap;
}

li a {
  font-family: 'Input';
  display: block;
  color: #1A1A1A;
  text-align: right;
  text-decoration: none;
}

a:hover {
  color: #999999;
  -webkit-transition: color 0.3s; /* Safari */
  transition: color 0.3s;
}
