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

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

body {
  background: #eee;
  background-image: url("https://www.transparenttextures.com/patterns/3px-tile.png");
}

header {
  background-color: #f5ba13;
  margin: auto 0px;
  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: 0px;
  width: 100%;
  height: 2.5rem;
}

footer p {
  color: #fff;
}

.journal-container {
  width: 97vw;
  margin-inline: auto;
  padding-left: 15px;
}

.journal {
  background: #fff;
  border-radius: 7px;
  box-shadow: 0 2px 5px #ccc;
  padding: 10px;
  float: left;
}

.journal h1 {
  font-size: 1.1em;
  margin-bottom: 6px;
}

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

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

.edit {
  float: left;
}

.delete {
  float: right;
}

.create-container {
  width: 97vw;
  margin-inline: auto;
}

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

.inputTitle, .inputContent {
  width: 100%;
  border: none;
  padding: 4px;
  outline: none;
  font-size: 1.2em;
  font-family: inherit;
  resize: none;
}

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

.feels-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.feels-button {
  margin-right: 5px;
}

.feels-label {
  margin-top: 5px;
  width: 100px;
}

@media (max-width: 768px) {
  form.create-journal {
    width: 80vw;
  }
}