@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;700&display=swap");
html {
  font-size: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  overflow: hidden;
}

#tips {
  font-size: 14px;
  color: #545a83;
}

#attribution {
  font-size: 10px;
  color: #545a83;
}

#attribution a {
  color: #545a83;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: -webkit-gradient(linear, left top, left bottom, from(#57ddff), to(#c058f3));
  background: linear-gradient(#57ddff, #c058f3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #1a1b2e;
}

.dark-mode {
  background: #18182f;
  color: #dadbe1;
}

.dark-mode .bg-banner {
  background: url("../images/bg-desktop-dark.jpg");
}

.dark-mode #task-input {
  background-color: #1a1b2e;
  color: #dadbe1;
}

.dark-mode .task-display {
  background-color: #1a1b2e;
}

.dark-mode .nav-bar {
  background-color: #1a1b2e;
}

.dark-mode .delete-item {
  background: url("../images/delete_dark.svg") no-repeat;
}

.dark-mode label {
  color: #dadbe1;
}

.light-mode {
  background: white;
  color: #dadbe1;
}

.light-mode .bg-banner {
  background: url("../images/bg-desktop-light.jpg");
}

.light-mode #task-input {
  background-color: white;
  color: #181a20;
}

.light-mode .task-display {
  background-color: white;
}

.light-mode .nav-bar {
  background-color: white;
}

.light-mode .delete-item {
  background: url("../images/delete_light.svg") no-repeat;
}

.light-mode label {
  color: #181a20;
}

@media (max-width: 400px) {
  input[type=checkbox] {
    width: 1.2rem;
    height: 1.2rem;
  }
  .dark-mode .bg-banner {
    background: url("../images/bg-mobile-dark.jpg") no-repeat;
    background-size: cover;
    width: 100%;
    height: 80vw;
  }
  .dark-mode .main-container {
    width: 330px;
  }
  .light-mode .bg-banner {
    background: url("../images/bg-mobile-light.jpg") no-repeat;
    background-size: cover;
    width: 100%;
    height: 80vw;
  }
  .light-mode .main-container {
    width: 330px;
  }
}

.bg-banner {
  width: 100%;
  height: 20vw;
}

.main-container {
  text-align: center;
  position: absolute;
  height: 500px;
  width: 500px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.main-container .heading {
  position: relative;
  padding: 15px;
}

.main-container .heading h1 {
  display: inline;
  font-weight: 700;
  letter-spacing: 1rem;
  padding: 20px 0 50px;
}

.main-container .heading #toggle-mode {
  cursor: pointer;
}

.main-container .heading #toggle-mode #sun-light,
.main-container .heading #toggle-mode #moon-dark {
  position: absolute;
  right: 10px;
  top: 15px;
}

.main-container .heading #toggle-mode #moon-dark {
  display: none;
}

.main-container #task-input {
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
  width: 100%;
  height: 40px;
  outline: none;
  border: none;
  border-radius: 10px;
}

.main-container #task-input::-webkit-input-placeholder {
  color: #545a83;
}

.main-container #task-input:-ms-input-placeholder {
  color: #545a83;
}

.main-container #task-input::-ms-input-placeholder {
  color: #545a83;
}

.main-container #task-input::placeholder {
  color: #545a83;
}

.main-container .task-display {
  margin-top: 20px;
  width: 100%;
  height: 300px;
  border: 1px solid #707070;
  border-radius: 10px;
  overflow-y: auto;
}

.main-container .task-display ul {
  width: 100%;
  list-style-type: none;
  padding-left: 0;
}

.main-container .task-display ul li {
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  vertical-align: middle;
  padding: 1rem 0.2rem;
  border-bottom: 1px solid #545a83;
  overflow: hidden;
  cursor: move;
}

.main-container .task-display ul li .delete-item {
  position: absolute;
  right: 10px;
  bottom: 1rem;
  width: 30px;
  height: 30px;
  background-size: cover;
  cursor: pointer;
}

.main-container .task-display ul li input[type=checkbox] {
  position: relative;
  left: 1rem;
  margin-right: 4rem;
  opacity: 0;
  z-index: 1;
  cursor: pointer;
}

.main-container .task-display ul li input[type=checkbox]:checked ~ .delete-radio {
  background: -webkit-gradient(linear, left top, left bottom, from(#57ddff), to(#c058f3));
  background: linear-gradient(#57ddff, #c058f3);
}

.main-container .task-display ul li input[type=checkbox]:checked ~ .delete-radio::before {
  content: '';
  position: absolute;
  top: 3px;
  width: 13px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  -webkit-transform: rotate(-40deg);
          transform: rotate(-40deg);
}

.main-container .task-display ul li input[type=checkbox]:checked ~ label {
  text-decoration: line-through;
  color: #545a83;
}

.main-container .task-display ul li span {
  position: absolute;
  cursor: pointer;
  left: 1.4rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  border: 1px solid #545a83;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.main-container .task-display ul li label {
  position: relative;
  font-family: inherit;
  font-size: 1.5rem;
  cursor: inherit;
}

.main-container .nav-bar {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  border: 1px solid #545a83;
  border-radius: 10px;
  margin-top: 5px;
  width: 100%;
}

.main-container .nav-bar .active {
  color: #3a7bfd;
}

.main-container .nav-bar p {
  font-size: 12px;
  color: #545a83;
  cursor: pointer;
}

.main-container .nav-bar p:first-child {
  cursor: auto;
}

.main-container .nav-bar p:first-child, .main-container .nav-bar p:last-child {
  font-size: 8px;
}
/*# sourceMappingURL=style.css.map */