body, html{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: rgb(242, 242, 247);

}

.back-hidden{
    opacity: 0;
    font-size: 21px;
}


a{
    text-decoration: none;
    color: rgb( 0, 122, 255);

}

.list-item{
    padding: 0%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.list{
    padding-left: 1.5%;
    padding-right: 1.5%;
    width: 90%;
    background-color: white;
    border-radius: 20px;
    margin-top: 5%;
}
.switch{
    display: flex;
align-items: center;
}

.back-switch{
    height: 50%;
    width: 50px;
    background-color: rgb(52, 199, 89);
    border-radius: 50px;
    
}

.front-swtich{
    height: 50%;
    width: 50px;
    background-color: #b02424;
    border-radius: 50px;
}

.list-label{
    color: rgb(142,142,147);
    margin-left: 5%;
    margin-bottom: 1%;
}

.list-title{
    font-size: 18pt;
    line-height: 5%;
    
}

.caption{
  color: rgb(142,142,147);
  font-size: 14pt;
  margin-left: 1.5%;
}



/* Checkbox body */

label {
  display: block;
  width: 54px;
  height: 32px;
  margin: 0px auto;
  border-radius: 100px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  background-color: #E6E9EC;
}

input {
  display: none;
}


/* The toggle */

i {
  height: 28px;
  width: 28px;
  background: #ffffff;
  display: inline-block;
  border-radius: 100px;
  margin-top: 2px;
  margin-left: 2px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  pointer-events: none;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

label:hover>i {
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.20);
  transform: scale(1.01);
}

input:checked+label>i {
  margin-left: 24px;
}

label:active {
  background-color: #A6B9CB;
}

label:active>i {
  width: 34px;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.20);
}

input:checked+label:active>i {
  margin-left: 18px;
}

input:checked+label {
  background-color: rgb(52, 199, 89);
}
