body {
  color: white;
  font-family: sans-serif;
}

input {
  color: white;
  text-align: center;
  border: none;
  border-bottom: 2px solid #555;
  outline: none;
  background: transparent;
  padding: 8px 0;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input::placeholder {
  color: lightgray;
}

.input-name {
  font-size: 40px;
  width: 50%;
}

.input-todo {
  font-size: 28px;
  width: 600px;
}

input:focus {
  border-bottom: 2px solid #00bfff;
}

.fade-out {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.8s ease;
}

.hidden {
  display: none;
}

.background-image {
  position: fixed;
  inset: 0;
  z-index: -1;

  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.center {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title {
  font-size: 60px;
  font-weight: bold;
  line-height: 0;
}

.sub {
  font-size: 16px;
  line-height: 1;
}

.todo-list {
  list-style: none;
  padding: 0; /* remove default left space in ul */
  margin: 1; /* default top-bottom space */
}

.vertical-scroll {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.todo-list li {
  position: relative;

  padding: 10px 20px;
  margin-bottom: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  width: 560px;
  border-radius: 8px;
}

.todo-list li button {
  position: absolute;
  right: 20px;

  background-color: transparent; /* erase bg color */
  border: 0; /* no border */
}

#clock {
  font-size: 120px;
  line-height: 0;
}

#weather {
  font-size: 20px;
  position: absolute;
  top: 30px;
  right: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#quote {
  font-size: 16px;
  position: absolute;
  bottom: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

#quote span:last-child {
  font-size: 12px;
}

#change-btn {
  position: absolute;
  top: 40px;
  left: 40px;
  font-size: 18px;
  padding: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 18px;
  border-color: white;
}
