.switch {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 30px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #1a0e07;
  border: 1px solid #4a2d18;
  -webkit-transition: .25s;
  transition: .25s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: #fcf6eb;
  border: 1px solid #c2a87d;
  box-shadow: 0 1px 2px #0a0402;
  -webkit-transition: .25s;
  transition: .25s;
}

input:checked + .slider {
  background-color: #b88a2e;
  border-color: #7c5816;
}

input:focus + .slider {
  outline: none;
}

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

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

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

.lang-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Georgia', serif;
  color: #eed59e;
  pointer-events: none;
}

.lang-en {
  left: 8px;
}

.lang-id {
  right: 8px;
}
