* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-family: "Montserrat", sans-serif;
}

body {
  background: #eee;
  padding: 0 16px;
}

header {
  background-color: #f5ba13;
  margin: auto -16px;
  padding: 16px 32px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .header-link {
  color: #fff;
  font-family: "McLaren", cursive;
  font-weight: 200;
  text-decoration: none;
  margin-right: 20px;
}

.header-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

footer p {
  color: #ccc;
}

.header-buttons {
  display: flex;
  align-items: center;
}

.header-buttons .search {
  margin-right: 10px;
}

.header-buttons div.search input,
.header-buttons button {
  border: none;
  border-radius: 5px;
  margin: 5px;
  padding: 7px;
  font-family: "Montserrat", sans-serif;
  outline: none;
}

.search button {
  cursor: pointer;
}

.header-buttons .logout {
  cursor: pointer;
  background-color: #e20f0f;
  color: #fff;
}

.delete-all {
  background-color: #f5ba13;
  color: #fff;
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  position: absolute;
  bottom: 10%;
  left: 1.5%;
}

.note,
.delete {
  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;
}

div.delete {
  position: absolute;
  bottom: 10%;
  width: 300px;
  font-size: 1rem;
}

div.delete button {
  width: 22%;
  height: 100%;
  padding: 5px;
}

.note p,
.delete p {
  font-size: 1.1em;
  margin-bottom: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.note button,
.delete button {
  position: relative;
  float: right;
  margin-right: 10px;
  color: #f5ba13;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  outline: none;
}

.no-notes {
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: rgb(202, 195, 195);
  margin-top: 10%;
}

form.create-note {
  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);
}

form.create-note input,
form.create-note textarea,
.note input,
.note textarea {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1.2em;
  font-family: inherit;
  resize: none;
}

form.create-note 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;
}

.register-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  padding: 24px;
  border-radius: 7px;
  box-shadow: 0 1px 5px #8a8989;
}

.register-title {
  color: #f5ba13;
  margin-bottom: 20px;
  text-align: center;
}

.register-input {
  margin-bottom: 12px;
  width: 100%;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #eee;
  font-size: 1em;
  font-family: inherit;
  box-sizing: border-box;
}

.register-error {
  color: red;
  margin-bottom: 10px;
  text-align: center;
}

.register-btn {
  background: #f5ba13;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 0;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
}

.r-register-link {
  margin-top: 16px;
  text-align: center;
}

.register-link {
  color: #f5ba13;
  text-decoration: none;
  font-weight: bold;
}
