body {
  margin: 0;
  font-family: sans-serif;
  display: grid;
  
}

#canvas {
  border: 1px solid black;
  /* margin: 0px 20px; */
}


li {
  list-style-type: none;
  padding: 0px 10px;
  
}

a {
  text-decoration: none;
  color: white;
}
#mod {cursor: pointer;
}
.nav-container {
  background: black;
  color: white;
}
.nav {
  width: 50%;
  display: flex;
  justify-content: space-between;
  height: 20px;
  
}
.buttons {
  display: flex;
  flex-direction: column;
}
.ccontainer {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  width: 80%;
}
.controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding:0 40px;
}

.slider {
  padding: 20px 0;
  
}

/*modal stuff */
.modal {
  display: none;
  position: fixed; 
  z-index: 200; 
  width: 100%; 
  height: 100%; 
  overflow: auto;
  background-color: rgba(0,0,0,0.2); 
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid black;
  width: 60%; 
}
#close {
  color: gray;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#close:hover{
  color: black;
  cursor: pointer;
}

h2{
  margin-top: 20px;
  margin-bottom: 0;
}
#gen {
  margin: 5px auto;
}

button {
  padding: 5px;
  margin-bottom: 10px;
  width: 130px;
  border: 1px solid black;
  border-radius: 10px;
  background: white;
}
button:hover {
  background: rgba(34, 33, 33, 0.878);
  color: white;
}

