/*
 * @title 			Legitimate Interest
 *
 * @date			2021
 *
 * @artist			Cadie Desbiens-Desmeules <contact@push1stop.com>
 *					https://desbiens-desmeules.com
 *
 *					Hicetnunc: https://www.hicetnunc.xyz/tz/tz1Q5kA2FxYJAVV8DXrTcmFwqejc1T5iTfqb
 *					Tezos Public Key: tz1Q5kA2FxYJAVV8DXrTcmFwqejc1T5iTfqb
 *
 * @author			Code written by Michael Gary Dean <contact@michaeldean.ca>
 * 					https://michaelgarydean.com
 *					github.com/michaelgarydean
 * 
 * @description		Toggle switch created for Cadie Desbiens-Desmeules <contact@push1stop.com>
 *					for her artworks based on privacy and personal data.
 */
/* GLOBAL VARIABLES */
/* blue */
/* black */
/* HICETNUNC */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  background: #ffffff;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* CONTAINERS */
.container-main {
  width: 100vw;
  height: 100vh;
}

.toggle-switch {
  width: 65px;
  height: 34px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

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

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

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

input:checked + .slider {
  background-color: #3b81eb;
}

input:focus + .slider {
  /* box-shadow: 0 0 1px #ffffff; */
}

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

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

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

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

/* Text labels*/
.slider:after {
  content: "OFF";
  color: white;
  font-size: 12px;
  font-family: Helvetica, sans-serif;
  /* position the text */
  position: absolute;
  /* vertically */
  top: 50%;
  transform: translateY(-50%);
  /* horizontally */
  left: auto;
  right: 9%;
}

input:checked + .slider:after {
  content: "ON";
  /* horizontally */
  left: 13%;
  right: auto;
}

/*# sourceMappingURL=style.css.map */
