* {
  border: solid red 0px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1 {
  font-size: 50px;
  font-weight: 700;
  text-decoration: underline;
}

body {
  display : flex;
  flex-direction: column;
  margin: 0;
  height: 100vh;
}

.body-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: monospace;
  background-color: black;
  height: 100%;
} 

.top-container {
 background-color: gainsboro;
 display: flex;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 150px;
}

.middle-container {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.control-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: solid lightgray 2px;
  border-radius: 16px;
  font-size: 16px;
}

button {
  align-self: center;
  padding: 6px;
  border-radius: 10px;
  width: 90px;
}

button:hover {
  border: solid black 2px;
}

button:active {
  box-shadow: 4px 4px lightgray;
}

.grid-container {
  display: flex;
  flex-wrap: wrap;
  box-shadow: 10px 10px lightgray;
  border: solid black 1px;
  max-width: 602px; 
  height: 602px;
  /* border: solid lightgray 1px; */
}

.toggle-grid {
  border: solid lightgray 1px;
}

.bottom-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: gainsboro;
  font-size: 16px;
}

/*******************************************/

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: gainsboro;
  -webkit-transition: .4s;
  transition: .4s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .toggle-slider {
  background-color: #2196F3;
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .toggle-slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.toggle-slider.round {
  border-radius: 9px;
}

.toggle-slider.round:before {
  border-radius: 50%;
}