@import url("https://fonts.googleapis.com/css?family=Muli&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  transition: background 0.2s linear;
}


div.container {
  position: absolute;
  top: 10px;
}

body.dark {
  background: #292c35;
  color: #fafafa;
}

.checkbox {
  opacity: 0;
  position: absolute;
  /* align-items: flex-end;
  justify-content: flex-end; */
}

div.dark-toggle {
  display: flex;
  justify-content: end;
  align-items: flex-end;
}
.label {
  margin-right: 20px;
  background-color: #111;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
  position: relative;
  height: 20px;
  width: 42px;
  transform: scale(1.5);
}

.label .ball {
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  height: 18px;
  width: 18px;
  transform: translateX(0px);
  transition: transform 0.2s linear;
}

.checkbox:checked + .label .ball {
  transform: translateX(22px);
}

.fa .fa-moon,
.fa-moon::before {
  color: #f1c40f;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.fa .fa-sun,
.fa-sun::before {
  color: #f39c12;
  font-size: 13px;
  display: flex;
  align-items: center;
}

span {
  min-width: 15%;
  text-align: center;
}
input {
  min-width: 100%;
}

.button-59 {
  align-items: center;
  background-color: #fff;
  border: 2px solid #000;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  fill: #000;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  height: 48px;
  justify-content: center;
  letter-spacing: -0.8px;
  line-height: 24px;
  min-width: 140px;
  outline: 0;
  padding: 0 17px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-59:focus {
  color: #171e29;
}

.button-59:hover {
  border-color: #ff0400;
  color: #ff0400;
  fill: #ff0400;
}

.button-59:active {
  border-color: #ff0400;
  color: #ff0400;
  fill: #ff0400;
}

@media (min-width: 768px) {
  .button-59 {
    min-width: 170px;
  }
}
