body {
  margin: 0;
  padding: 0;
  background-color: #f3f3f3;
  font-family: Helvetica, Arial, sans-serif;
  background-image: url("../images/bg.jpg");
  background-repeat: repeat;
  background-size: 100px;
  color: #333;
}

.item {
  padding: 9px;
  padding-bottom: 18px;
  padding-top: 18px;
  padding-left: 12px;
  margin-left: 12px;
  border-bottom: 2px solid #333;
}

.upper {
  display: flex;
}

.name {
  flex: 1;
  font-size: 1.3em;
  /* color: #333; */
  font-weight: 600;
  color: #7f0019;
}

.deadline {
  flex: 1;
  font-size: 1.1em;
  text-align: right;
}

.deadline span {
  background-color: #e7e7e7;
  color: #333;
  /* color: #7f0019;
  font-weight: 600; */
  padding: 3px;
  border-radius: 6px;
}

.lower {
  display: flex;
  padding-top: 9px;
}

.single {
  display: flex;
  flex-wrap: wrap;
}

.single > div {
  flex: 50%; /* or - flex: 0 50% - or - flex-basis: 50% - */
}

.group {
  flex: 1;
}

.taskDone {
  /* text-decoration: line-through; */
}

.done {
  opacity: 0.3;
}

#menu {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 20px;
  display: flex;
  gap: 6px;
  z-index: 9999;
}

.addBtn {
  height: 50px;
  line-height: 50px;
  width: 50px;
  font-size: 2em;
  font-weight: bold;
  border-radius: 50%;
  background-color: #333;
  color: #e7e7e7;
  text-align: center;
  cursor: pointer;
}

#formBG {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1;
}

#form {
  width: 80vw;
  height: 80vh;
  position: fixed;
  margin: auto;
  left: 10vw;
  top: 5vh;
  border: 3px solid black;
  background-image: url("../images/bg.jpg");
  background-repeat: repeat;
  background-size: 100px;
  color: #333;
}

#form > div {
  padding: 10px;
}

#form > div > label {
  padding-bottom: 5px;
  font-weight: 600;
  color: #7f0019;
}

#form > div > input,
#form > div > input[type="datetime-local"] {
  width: 90%;
  border: 0;
  outline: 0;
  color: rgb(60, 66, 87);
  background-color: rgb(255, 255, 255);
  box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px,
    rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px,
    rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px,
    rgb(0 0 0 / 0%) 0px 0px 0px 0px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  padding: 4px 8px;
  min-height: 28px;
  vertical-align: middle;
  transition: background-color 0.24s, box-shadow 0.24s;
  transition-property: background-color, box-shadow;
  transition-duration: 0.24s, 0.24s;
  transition-timing-function: ease, ease;
  transition-delay: 0s, 0s;
  :focus {
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(58 151 212 / 36%) 0px 0px 0px 4px,
      rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px,
      rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px,
      rgb(0 0 0 / 0%) 0px 0px 0px 0px;
  }
}

#form > div > textarea {
  width: 95%;
  height: 100px;
}

label {
  display: block;
}

button {
  appearance: none;
  background-color: #fafbfc;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: #24292e;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 16px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
}

button:hover {
  background-color: #f3f4f6;
  text-decoration: none;
  transition-duration: 0.1s;
}

button:disabled {
  background-color: #fafbfc;
  border-color: rgba(27, 31, 35, 0.15);
  color: #959da5;
  cursor: default;
}

button:active {
  background-color: #edeff2;
  box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
  transition: none 0s;
}

button:focus {
  outline: 1px transparent;
}

button:before {
  display: none;
}

button:-webkit-details-marker {
  display: none;
}

.buttonBar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.hidden {
  /* visibility: hidden; */
  display: none;
}

.thumbnail {
  margin-top: 9px;
  width: 30px;
  height: 30px;
  border: 1px solid black;
}

.success {
  position: fixed;
  width: 100vw;
  bottom: 0;
  border-bottom: 6px solid #4caf50;
  animation: fade 2s linear 1 forwards;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

p {
  padding: 0;
  margin: 0;
}
