html {
  font-size: 18px;
  font-family: "Barlow", sans-serif;
  color: #222;
  font-weight: 400;
}

body {
  padding: 1em;
}
body.night {
  background: #222;
  color: #888;
}

.timer {
  background: #e7f9ec;
  transition: all 0.6s ease;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}
.night .timer {
  background: #000;
  color: #888;
  border-bottom: 1px solid #555;
}

div:last-child .timer {
  border: none;
}

.timer:hover {
  background: #c4ecd0;
}
.night .timer:hover {
  background: #444;
}

.timer[data-starttime=""] {
  background: transparent;
}

.timer[data-starttime=""]:hover {
  background: #f7f7f7;
}
.night .timer[data-starttime=""]:hover {
  background: #000;
}

.timers {
  font-size: 1em;
  margin-bottom: 1em;
}

.fa {
  background: none;
  color: #888;
  border: none;
  font-size: 1.15em;
  line-height: 1em;
  cursor: pointer;
  padding: 0.35em;
  transition: all 0.3s ease;
}

.fa:hover {
  color: #555;
}

.time {
  margin: 0 0.5em 0 0;
  min-width: 4em;
}

input {
  padding: 0.25em;
  border: none;
  border-bottom: 1px solid transparent;
  background: none;
  font-family: "Barlow", sans-serif;
  max-width: 15rem;
  width: calc(100vw - 15em);
  font-size: 0.85em;
}
.night input {
  color: #888;
}

input:focus {
  outline: none;
  border-bottom: 1px solid #ccc;
}
.night input:focus {
  border-bottom: 1px solid #888;
}

.add {
  background: #e5e5e5;
  color: #222;
  border: none;
  cursor: pointer;
  padding: 0.5em 1em;
  border-radius: 0.25em;
  transition: all 0.3s ease;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
}
.night .add {
  background: #000;
  color: #888;
}

.add:hover {
  background: #ddd;
}
.night .add:hover {
  color: #888;
}

.convert {
  background: #fff;
  color: #222;
  border: none;
  cursor: pointer;
  padding: 0.5em 1em;
  border-radius: 0.25em;
  transition: all 0.3s ease;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
}
.night .convert {
  background: #222;
  color: #888;
}

.convert:hover {
  color: #CCC;
}

.delete-all {
  background: #fff;
  color: #999;
  border: none;
  cursor: pointer;
  padding: 0.5em 1em;
  border-radius: 0.25em;
  transition: all 0.3s ease;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
}
.night .delete-all {
  background: #222;
  color: #888;
}

.delete-all:hover {
  color: #f22;
}

button:focus {
  outline: rgba(150, 150, 150, 0.6) 1px dashed;
}

h1 {
  font-size: 1.5em;
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 600;
}
.night h1 {
  color: #ccc;
}

.remove, .edit {
  opacity: 0.5;
  transition: all 0.3s ease;
}

.timer:hover .remove, .timer:hover .edit {
  opacity: 1;
}

.total {
  margin-bottom: 1em;
  font-weight: 600;
}

.notes {
  margin-top: 5em;
  color: #444;
  position: relative;
  max-width: 27rem;
}
.night .notes {
  color: #888;
}

h2 {
  font-size: 1em;
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 600;
}
.night h2 {
  color: #ccc;
}

.notes ul {
  margin: 0 0 1em 1em;
}

.notes li {
  list-style: circle;
  font-size: 0.75rem;
  margin: 0 0 0.5em;
}

.notes p {
  font-size: 0.75rem;
}

.notes a {
  color: #444;
  text-decoration: underline;
}

.close-notes {
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  color: #999;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.85em;
}
.night .close-notes {
  background: #222;
  color: #888;
}

.daynight {
  position: absolute;
  top: 0;
  right: 0;
}

.fa-moon, .fa-sun {
  display: none;
}

.night .fa-moon {
  display: block;
  color: #888;
}

.day .fa-sun {
  display: block;
  color: #222;
}

.daynight-toggle {
  padding: 0.5rem;
  background: none;
  cursor: pointer;
  border: none;
}