body {
  background: url(http://www.inggez.com/img/bg-pattern.png),
    linear-gradient(to left, #00a88f, #0d2042);
  text-align: center;
}
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga", "kern";
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100%;
  background: linear-gradient(210deg, lighten(#4fc08d, 20%), #4fc08d);
}
#todocontainer {
  align-items: center;
}
form {
  display: inline-block;
}
ul {
  display: inline-block;
}
todo-container {
  width: 100%;
}
input[type="button"],
input[type="submit"] {
  font-size: 14px;
  margin: 0 0.5em;
  border-radius: 2em;
  padding: 0.75em 1.5em;
  cursor: pointer;
  border: 1px solid;
  letter-spacing: 1px;
  font-family: $font-family;
  color: #4fc08d;
  border: $color-main 1px solid;
  transition: 250ms ease-out;
  &:hover,
  &:focus {
    color: #fff;
    background: $color-main;
  }
}
input[type="text"] {
  border: 2px solid #00a88f;
  border-radius: 4px;
}
input[type="text"]:focus {
  background-color: lightblue;
}

.marked {
  text-decoration: line-through;
  height: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

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

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

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

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

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

ul {
  list-style-type: none;
}

span {
  color: white;
  font-size: 20px;
}
