body {
  margin: 0;
  overflow: hidden;
  font-family: "Computer Modern Serif", sans-serif;
  font-size: 1.5rem;
  background: #272727;
}


.container {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr min(calc(100vh - 10px - 55px - 10px - 10px - 100px - 10px - 10px - 10px),calc(100vw - 10px - 10px - 10px - 10px)) 1fr;
  grid-template-rows: 55px 1fr min(calc(100vh - 10px - 55px - 10px - 10px - 100px - 10px - 10px - 10px),calc(100vw - 10px - 10px - 10px - 10px)) 1fr 100px;
  gap: 10px;

  padding: 10px;
  box-sizing: border-box;
}



.header {
  grid-column-start: 1;
  grid-column-end: 4;
  color: white;
  background-color: #313131;
  border-radius: 8px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}




.menu {
  display: grid;
  position: absolute;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  opacity: 0;
  z-index: 99;
  transition: opacity 150ms ease-in-out, transform 150ms ease-in-out;
  transform: translateY(-100px);
  width: 100vw;
  pointer-events: none;
}

.grid {
  display: grid;
  grid-column: 1/1;
  grid-row: 1/1;
  padding: 40px;
  grid-template-columns: 50px 1fr 50px;
  grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  background: #313131;
  background-color: rgba(255, 255, 255, .15);
  backdrop-filter: blur(10px);
  
  gap: 20px;
  color: white;
  border-radius: 0px 0px 8px 8px;
  z-index: 100;
}

.menu.active {
  /*transition: all 0.5s ease;*/
  transform: translateY(0px);
  opacity: 1;
  pointer-events: auto;
}

.navbar__toggle .bar{
  display: block;
  cursor: pointer;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 150ms ease-in-out;
  background: white;
}

#mobile-menu {
  position: absolute;
  top: 22px;
  right: 30px;
  z-index: 100;
  cursor: pointer;
}

#mobile-menu.is-active .bar:nth-child(2) {
  opacity: 0;
}

#mobile-menu.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobile-menu.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


#N {
  grid-column: 2/3;
  grid-row: 1/2;
  background: #313131;
  color: white;
  text-align: center;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  min-width: 50px;
  font-family: inherit;
  font-size: inherit;
}

#labelN {
  grid-column: 1/2;
  grid-row: 1/2;
  display: flex;
  justify-content: right;
  align-items: center;
}

#L {
  grid-column: 2/3;
  grid-row: 2/3;
  background: #313131;
  color: white;
  text-align: center;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  min-width: 50px;
  font-family: inherit;
  font-size: inherit;
}

#labelL {
  grid-column: 1/2;
  grid-row: 2/3;
  display: flex;
  justify-content: right;
  align-items: center;
  
}

#p {
  grid-column: 2/3;
  grid-row: 3/4;
  background: #313131;
  color: white;
  text-align: center;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  min-width: 50px;
  font-family: inherit;
  font-size: inherit;
}

#labelp {
  grid-column: 1/2;
  grid-row: 3/4;
  display: flex;
  justify-content: right;
  align-items: center;
}

#delta {
  grid-column: 2/3;
  grid-row: 4/4;
  background: #313131;
  color: white;
  text-align: center;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  min-width: 50px;
  font-family: inherit;
  font-size: inherit;
}

#labeldelta {
  grid-column: 1/2;
  grid-row: 4/4;
  display: flex;
  justify-content: right;
  align-items: center;
}

#pointsize {
  grid-column: 2/3;
  grid-row: 6/6;
  background: #313131;
  color: white;
  text-align: center;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  min-width: 50px;
  font-family: inherit;
  font-size: inherit;
}

#labelpointsize {
  grid-column: 1/2;
  grid-row: 6/6;
  display: flex;
  justify-content: right;
  align-items: center;
}

.save {
  grid-column: 1/4;
  grid-row: 7/7;
  border-color: white;
  border-radius: 8px;
  border-width: 4px;
  background: #272727;
  color: white;
  font-family: inherit;
  font-size: inherit;
}


canvas {
  overflow: hidden;
  margin-left: -1.5px;
  margin-top: 1.5px;
  width: 100% !important;
  height: 100% !important;
  background-color: black;
  border-radius: 10px;
}


.content-large {
  grid-row-start: 3;
  grid-row-end: 4;
  grid-column-start: 2;
  grid-column-end: 3;

}

.footer {
  grid-column: 1/4;
  grid-row: 5/6;
  color: white;
  background-color: #313131;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 40px 1fr 40px;
}

.subfooderslider {
  display: flex;
  grid-column: 1/2;
  grid-row: 2/3;
}
.subfoodervalue {
  grid-column: 1/2;
  grid-row: 3/4;
  display: flex;
  align-items: center;
  justify-content: left;
}



.slider {
  -webkit-appearance: none;
  width: 96%;
  height: 20px;
  /*background: linear-gradient(90deg, rgb(214,214,214), 60%, rgb(214,214,214) 60%);*/
  background: #272727;
  outline: none;
  opacity: 0.7;
  border-radius: 12px;
  margin: auto;
  /*box-shadow: 0px 1px 10px 1px black;*/
}

.slider:hover {
  opacity: 1;
}

p {
  margin-left: 2%;
}



.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #FFF;
  border-radius: 50%;
  cursor: pointer;
  outline: #313131 auto;
}

.slider::-moz-range-thumb {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
}