#settingsPopup {
  display: none;
  background-color: var(--modal-bg-color);
  position: absolute;
  right: 2%;
  padding: 5px 25px 25px 25px;
  border-radius: 5px;
  transition-duration: var(--theme-transi-dura);
  z-index: 2;
  width: 315px;
}

#settingsHeader {
  color: var(--modal-font-color);
  margin-top: 10px;
  font-size: 2em;
  text-align: center;
  font-weight: normal;
}

/* slider stuff from w3schools */

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

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

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

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

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

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

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

.slider.round {
  border-radius: 34px;
}

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

#settingsContent {
  display: block;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;

  /* border-top: 1px solid black;
  border-bottom: 1px solid black; */

  /* place-items: center; */
  column-gap: 10px;
  row-gap: 25px;
}

#settingsContent h2 {
  color: var(--modal-font-color);
  font-size: 1.5em;
  font-weight: normal;
  margin: 15px 0;
}

#settingsContent label {
  color: var(--modal-font-color);
}

#settingsContent select {
  color: black;
  padding: 2px 0;
}

#timerLengthText {
  padding-top: 15px;
  margin-top: 0;
  border-top: 1.5px grey solid;
}

#customTimeGroup {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1.5px gray solid;
}

#customTimeGroup input {
  color: black;
  width: 6em;
  padding: 2px 2px;
}

#soundGroup {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1.5px gray solid;
}

#soundsHeaderGroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

#soundsHeader {
  /* grid-row: 1; */
  grid-column: 1;

  /* display: flex; */
  justify-self: left;
  align-self: center;
}

#muteGroup {
  /* grid-row: 1; */
  grid-column: 2;
  display: flex;
  justify-self: right;
  align-items: center;
}

#muteText {
  margin-right: 5px;
}

#colorHeaderGroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

#colorHeader {
  grid-column: 1;
  justify-self: left;
  align-self: center;
}

#darkModeGroup {
  grid-column: 2;
  display: flex;
  justify-self: right;
  align-items: center;
}

#darkModeText {
  margin-right: 5px;
}

#colorPickerContent {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto auto;
  row-gap: 1rem;
  color: var(--modal-font-color);
  transition-duration: var(--theme-transi-dura);
  border-bottom: 1.5px gray solid;
}

.colorSelectorDiv {
  font-size: 14px;
  text-align: center;
  transition-duration: var(--theme-transi-dura);
}

.colorPicker {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  margin-top: 0.5rem;
  border-radius: 2px;
  height: 2rem;
  width: 4.5rem;
  border: 0;
  padding: 0;
  cursor: pointer;
}

#workSettingsGroup {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1.5px gray solid;
}
