body {
  margin: 0rem 0rem 5rem 0rem;
  padding: 1rem;
  background-color: rgb(43, 48, 58);
  color: white;
  font-family: sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.main-heading {
  font-size: clamp(2rem, 5vw, 5rem);
  display: flex;
  text-align: center;
  justify-content: center;
  padding: 1rem;
  margin: 0rem;
  color: rgb(238, 229, 233);
  text-shadow: 4px 2px 7px #5e5e5e;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #ffffff00;
}
::-webkit-scrollbar-thumb {
  background: rgb(161, 161, 161);
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(112, 112, 112);
}

#input-div {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

#submit-field {
  padding: 0.4rem;
  position: relative;
  font-size: clamp(10px, 5vw, 30px);
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: rgb(37, 43, 55);
  outline: 1px solid rgb(238, 229, 233);
  color: rgb(238, 229, 233);
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    0px 22px 9px -7px rgba(0, 0, 0, 0.23);
  box-shadow: 0px 10px 13px -7px #000000, 0px 22px 9px -7px rgba(0, 0, 0, 0.23);
}

#submit-field:focus {
  background-color: rgb(23, 27, 35);
  transition: 0.4s;
}

::placeholder {
  color: rgb(238, 229, 233);
  opacity: 0.6;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgb(238, 229, 233);
  opacity: 0.6;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgb(238, 229, 233);
  opacity: 0.6;
}

#submit-btn {
  font-size: clamp(10px, 5vw, 30px);
  border-radius: 5px;
  background-color: rgb(238, 229, 233);
  border: none;
  cursor: pointer;
  color: rgb(43, 48, 58);
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    0px 22px 9px -7px rgba(0, 0, 0, 0.23);
  box-shadow: 0px 10px 13px -7px #000000, 0px 22px 9px -7px rgba(0, 0, 0, 0.23);
}

#submit-btn:hover {
  color: rgb(238, 229, 233);
  background-color: rgb(27, 31, 40);
  outline: 1px solid rgb(238, 229, 233);
  transition: ease-in-out 0.3s;
  padding: 0.2rem;
  font-size: 35px;
}

#todo-card {
  display: grid;
  justify-content: center;
  position: relative;
}

#todo-div {
  border-radius: 10px;
  margin: 1rem;
  padding: 0.2rem;
  background-color: rgb(214, 73, 51);
  display: grid;
  position: relative;
  gap: 5px;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  justify-content: center;
  justify-items: center;
  width: clamp(22rem, 25vw, 30rem);
  transition: ease-in-out 0.5s;
  -webkit-box-shadow: 0px 10px 13px -7px #000000,
    0px 22px 9px -7px rgba(0, 0, 0, 0.23);
  box-shadow: 0px 10px 13px -7px #000000, 0px 22px 9px -7px rgba(0, 0, 0, 0.23);
}

.paragraph-div {
  width: -moz-fit-content;
  display: grid;
  grid-template-columns: auto;
  block-size: fit-content;
  /* word-wrap: break-word; */
  /* background-color: crimson; */
}

.todo-paragraph-class {
  z-index: 1;
  background-color: rgba(238, 229, 233, 0.759);
  border-radius: 10px;
  margin: 0.5rem;
  padding: 0.2rem;
  color: rgb(85, 85, 85);
  position: relative;
  font-size: 30px;
  height: auto;
  text-align: left;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  resize: none;
  border: none;
  outline: none;
  /* word-wrap: break-word; */
  width: clamp(12rem, 15vw, 15rem);
}

.resize {
  height: 6rem;
  word-wrap: break-word;
  overflow-y: scroll;
}

.editBtn {
  position: relative;
  padding: 0rem;
  margin: 0rem;
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  right: 0%;
  top: 18px;
  cursor: pointer;
  font-size: 22px;
  z-index: 20;
  color: rgb(238, 229, 233);
  background-color: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.edit-top {
  align-items: flex-start;
  margin-top: 1px;
  transition: 0s;
}

.edit-hidden {
  display: none;
}

.editBtn:hover {
  color: rgb(43, 48, 58);
  font-size: 25px;
  transition: 0.2s ease-in-out;
}

.edit-focus {
  /* border: solid 3px rgb(0, 0, 0); */
  box-shadow: inset 0px 0px 0px 2.5px rgb(43, 48, 58);
}
.saveBtn {
  position: relative;
  padding: 0rem;
  margin: 0rem;
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  right: 0%;
  top: 18px;
  cursor: pointer;
  font-size: 22px;
  z-index: 20;
  color: rgb(238, 229, 233);
  background-color: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.save-top {
  align-items: flex-start;
  margin-top: 1px;
  transition: 0s;
}

.save-hidden {
  display: none;
}

.saveBtn:hover {
  color: rgb(43, 48, 58);
  font-size: 25px;
  transition: 0.2s ease-in-out;
}

.save-focus {
  /* border: solid 3px rgb(0, 0, 0); */
  box-shadow: inset 0px 0px 0px 2.5px rgb(43, 48, 58);
}

.resizeBtn {
  position: relative;
  padding: 0rem;
  margin: 0rem;
  display: flex;
  justify-items: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  right: 0%;
  cursor: pointer;
  font-size: 22px;
  z-index: 20;
  color: rgb(238, 229, 233);
  background-color: transparent;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.resize-top {
  align-items: flex-start;
  padding-top: 0.95rem;
  transition: 0s;
}

.resizeBtn:hover {
  color: rgb(43, 48, 58);
  font-size: 25px;
  transition: 0.2s ease-in-out;
}

.delete {
  /* top: 30%; */
  /* left: 12%; */
  font-size: 22px;
  color: rgb(238, 229, 233);
  float: right;
  display: flex;
  position: relative;
  text-align: center;
  margin: 0rem;
  padding: 0rem;
  float: right;
  cursor: pointer;
  justify-items: center;
  background-color: transparent;
  border: none;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.delete-top {
  align-items: flex-start;
  padding-top: 1rem;
}

.delete:hover {
  color: rgb(43, 48, 58);
  font-size: 25px;
  transition: 0.2s ease-in-out;
  /* background-color: crimson; */
}

#footer-div {
  z-index: 99;
  display: block;
  position: fixed;
  bottom: 0%;
  width: 100%;
  border-top: solid 1px rgb(238, 229, 233);
  margin: -1rem;
  padding-bottom: 1rem;
  backdrop-filter: blur(5px);
}

#footer-paragraph {
  /* display: flex; */
  font-size: clamp(1.1rem, 1.5vw, 3rem);
  text-align: center;
  justify-content: center;
  color: rgb(146, 220, 229);
}

#footer-paragraph-span {
  color: crimson;
}

.line-through {
  text-decoration: line-through;
}

.form-control {
  color: rgb(238, 229, 233);
  font-size: 22px;
  font-weight: bold;
  line-height: 1.1;
  display: flex;
  justify-content: center;
  margin: 0rem;
  padding: 0rem;
  position: inherit;
  float: left;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
}
.check-box-top {
  align-items: flex-start;
  padding-top: 0.95rem;
}

.form-control--disabled {
  color: var(--form-control-disabled);
  cursor: not-allowed;
}

input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: var(--form-background);
  /* Not removed via appearance */
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: rgb(238, 229, 233);
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0);
  transform-origin: bottom left;
  transition: 250ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  /* Windows High Contrast Mode */
  background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:disabled {
  --form-control-color: var(--form-control-disabled);

  color: var(--form-control-disabled);
  cursor: not-allowed;
}
