


body {
  font-family: 'Orbitron', sans-serif;
  background-color: black;
  color: white;

}


#main {
  display: flex;
  flex-direction: row;
  height:92vh;
  border: 1px solid white


}


#canvasParent{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 80%;

}


#controlParent{
  width: 20%;
  border: 1px solid white
}



canvas {
  max-width: 100%;

}

.zoom{
  display: none;
}


.title{
  display: block;
}

img {
  width: 3rem;
}

h1 {
  text-align: center;
}

#imageHolder {
  display: flex;
  flex-direction: row;
  text-align: center;
  flex-wrap: wrap;
}

#gosperGlider {
  width: 20rem;
}

#upperSection {
  display: flex;
  flex-direction: column;
}

#randomSection {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%; 
}

#title1 {
  margin: 0px;
}

#drawingSection {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#title2 {
  margin-bottom: 0.5rem;
}

#watchAlgoirthm,
#playAlgorithm {
  font-weight: bold;
  text-decoration: underline;
}

.drawExample {
  width: 5rem;
  margin: 0.5rem;
}

#holder {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.imageTitle {
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.buttons {
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  border-bottom:1px solid white;
}

#IncreaseCanvas,
#DecreaseCanvas {
  width: 2rem;
  height: auto;
  border: 1px solid black;
}

#gol {
  margin: 0.5rem;
}

#centralPicture {
  width: 4rem;
}


.buttonElement {
  margin: 1rem;
  cursor: pointer;

}

.inputLabel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

ol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

li:first-of-type {
  margin-bottom: 2rem;
}

li {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
}

#buttons p {
  margin-right: 1rem;
}

button {
  font-family: "Inconsolata", monospace;
}

#zoom {
  display: flex;
  flex-direction: column;
}

#buttons div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  margin-top: 2rem;
  text-decoration: none;
  color: black;
}

#colorPickers div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#run_pause {
  width: 10rem;
  height: auto;
  display: flex;
  flex-direction: row;
}


@media (max-width: 980px) {
  #main {
    flex-direction: column;
    height: auto;
    
  }

  #canvasParent{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    width: 100%;
    height:90vh;
    border: 1px solid white
  
  }

  canvas {
    margin-top: 3rem;
    width: 95%;
    height:50vh;
  }


  #controlParent{
    width: 100%;
    border: 4px solid white
  }

  .title{
    display: none;
  }

  .mobile{
    display: none;
  }

  .zoom{
    display: block;
  }
  
  
  
}