.switchSpace {
  margin-left: 2%;
  margin-top: -4%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 28px;
  margin: 1% 0 0.5% 0;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  -webkit-transition: .4s;
  transition: .4s;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: rgba(255, 255, 255, 0.4);
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
}

input:focus + .slider {
}

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

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

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

.switchText {
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  font-size: 110%;
  height: 28px;
  line-height: 0;
  margin-left: 65px;
  width: 100px;
}

@media screen and (max-width: 1080px) {
  .switchSpace {
    margin-top: -5%;
  }

  .switch {
    width: 50px;
    height: 24px;
  }

  .slider:before {
    height: 15px;
    width: 15px;
  }

  .switchText {
    font-size: 110%;
    height: 24px;
    margin-left: 60px;
  }
}

@media screen and (max-width: 800px) {
  .switchSpace {
    margin-top: -6%;
  }

  .switch {
    width: 45px;
    height: 20px;
  }

  .slider:before {
    height: 12px;
    width: 12px;
  }

  .switchText {
    height: 20px;
    margin-left: 55px;
  }
}

@media screen and (max-width: 700px) {

  .switchSpace {
    margin-top: 0;
  }

  .switch {
    margin-left: 20px;
  }
}