* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
}

.container {
  display: grid;
  grid-template-columns: 6fr 2fr;
  grid-template-rows: 650px auto 600px;
  gap: 10px;
}

header {
  background-color: #f5ba13;
  /* margin: auto -16px; */
  padding: 16px 32px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

header h1 {
  color: #fff;
  font-family: "McLaren", cursive;
  font-weight: 200;
}

footer {
  position: absolute;
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
}

footer p {
  color: #ccc;
  grid-column: span 2;
}

.note {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 5px #ccc;
  padding: 10px;
  width: 240px;
  margin: 16px;
  float: left;
}
.note h1 {
  font-size: 1.1em;
  margin-bottom: 6px;
}
.note p {
  font-size: 1.1em;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.note button {
  position: relative;
  float: right;
  text-align: center;
  /* margin-right: 1px; */
  background: #f5ba13;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  outline: none;
}

#notelist form {
  position: relative;
  width: 480px;
  margin: 30px auto 20px auto;
  background: #fff;
  padding: 15px;
  border-radius: 7px;
  box-shadow: 0 1px 5px rgb(138, 137, 137);
}
#notelist form input,
form textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1.2em;
  font-family: inherit;
  resize: none;
}
#notelist form button {
  position: absolute;
  right: 18px;
  bottom: -18px;
  background: #f5ba13;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  outline: none;
}

#todolist {
  padding: 1rem;
  width: 80%;
  height: auto;
  justify-content: center;
  min-height: 500px;
  max-width: 500px;
  min-width: 250px;
  background: #fff;
  background-image: radial-gradient(#bfc0c1 7.2%, transparent 0);
  background-size: 25px 25px;
  border-radius: 7px;
  box-shadow: 0 2px 5px #ccc;
  box-sizing: border-box;
  font-family: "Architects Daughter", cursive;
  text-align: center;
  margin: 30px auto 20px auto;
}

#todolist .heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
#todolist .heading h1 {
  transform: rotate(2deg);
  padding: 0.2rem 1.2rem;
  border-radius: 20% 5% 20% 5%/5% 20% 25% 20%;
  background-color: #fdcb6e;
  font-size: 1.5rem;
}

.todoform input {
  box-sizing: border-box;
  background-color: transparent;
  padding: 0.7rem;
  border-bottom-right-radius: 15px 3px;
  border-bottom-left-radius: 3px 15px;
  border: solid 3px transparent;
  border-bottom: dashed 3px #fdcb6e;
  font-family: "Architects Daughter", cursive;
  font-size: 1rem;
  color: hsla(260, 2%, 25%, 0.7);
  width: 70%;
  margin-bottom: 20px;
}

.todoform button {
  border: none;
  margin-left: 10px;
  font-family: "Architects Daughter", cursive;
  text-decoration: none;
  padding: 2px 10px 3px 5px;
  font-size: 1rem;
  border-radius: 5px;
  background-color: #ffeaa7;
}

#todolist ul {
  margin-inline-start: 20%;
}

#todolist li {
  text-align: left;
  position: relative;
  padding: 0.5rem;
}
