body {
  font-family: 'Ubuntu', sans-serif;
  margin: 0;
}

#user_input {
  margin: 1em 2em;

}

#content {
  display: flex;
}


.lsystem_controller>div {
  margin-top: 0.6em;
  margin-bottom: 0.6em;
}

.controller_title {
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
  margin: 1.4em 0 !important;
}

.complete_value {
  display: flex;
}

.alphabet_member .complete_value input {
  width: 4em;
}

.alphabet_member {
  display: flex;
  flex-direction: row;
}

.alphabet_member>* {
  margin: 0 0.3em;
  align-self: center;
}

.production_sign {
  width: 3em;
}

#iterations_count {
  width: 3em;
}

#axiom {
  width: 8em;
}

input,
select {
  padding: 7px 15px;
  border: 1px solid #ccc;
  position: relative;
  background: transparent;
}

input:focus {
  transition: 0.5s;
  border-color: #ccc;
  background-color: #ccc;
  outline: none;
}

input[type=number] {
  text-align: right;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


select {
  border: 1px solid #ccc;
  background-color: white;
}

select:hover {
  cursor: pointer;
}

option {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Add your custom styles here */
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.custom-select option {
  /* Add your custom styles for option elements here */
  background-color: #fff;
  color: #333;
}

button:hover {
  cursor: pointer;
}

.rm_btn {
  font-size: 1.5em;
  border: 1px solid transparent;
  color: #f51c1c;
  background-color: transparent;
  font-weight: bolder;
}


.add_element {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 0.3em;
  background-color: transparent;
  margin: 0.5em 0;
  margin-left: auto;
  display: block;
}

.add_element:hover {
  border-color: black;
}


.generate_btn {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.generate_btn {
  width: 150px;
  height: 50px;
  margin: 0 auto;

  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: black;
  background: white;
  border: 2px solid black;
  box-shadow: 5px 5px 0 black,
    -5px -5px 0 black,
    -5px 5px 0 black,
    5px -5px 0 black;
  transition: 500ms ease-in-out;
}

.generate_btn:hover {
  box-shadow: 20px 5px 0 black, -20px -5px 0 black;
}

.generate_btn:focus {
  outline: none;
}

.generate_btn:active {
  transition: color 0ms;
  color: #ccc;
}


#lsystem_canvas{
  height: 100%;
  width: 100%;
  object-fit: contain;
}