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

body {
  height: 100vh;
  padding: 18px;
  font-family: Nato Sans sans-serif;
  background: linear-gradient(180deg, rgba(230, 233, 240, 1) 0%, rgba(238, 241, 245, 1) 100%);
}

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

/* button */
.create-btn {
  width: 100px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0FB86E;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 2px 0 #0c995b;
}

.create-btn i {
  font-size: 24px;
}

.create-btn:active {
  opacity: 0.85;
}

/* notes */
.notes {
  margin-top: 20px;
  font-size: 0;
  
}

.note {
  display: inline-block;
  width: calc(25% - 12px);
  min-height: 120px;
  border-radius: 18px;
  margin-right: 12px;
  margin-bottom: 18px;
  vertical-align: top;
}
.note header {
  display: flex;
  height: 48px;
  padding: 0 16px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid;
}

/* note.pink */
.note.pink {
  background-color: #FCACAC;
  color: #8F6161;
  box-shadow: 3px 8px 18px -4px rgba(252, 172, 172, 0.88);
}

.note.pink header {
  border-color: rgba(143, 97, 97, 0.32);
}
/* note.green */
.note.green {
  background-color: #8FF7A1;
  color: #4F8A59;
  box-shadow: 3px 8px 18px -4px rgba(143, 247, 161, 0.88);
}

.note.green header {
  border-color: rgba(83, 143, 93, 0.32);
}

.note.yellow {
  background-color: #FFD980;
  color: #8F7A48;
  box-shadow: 3px 8px 18px -4px rgba(255, 217, 128, 0.88);
}

.note.yellow header {
  border-color: rgba(143, 122, 72, 0.32);
}

/* note.blue */
.note.blue {
  background-color: #3DCCFC;
  color: #23748F;
  box-shadow: 3px 8px 18px -4px rgba(61, 204, 252, 0.88);
}

.note.blue header {
  border-color: rgba(35, 116, 143, 0.32);
}

.note .title {
  font-size: 16px;
  font-weight: bold;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}
.content {
  padding: 12px 16px 20px;
  position: relative;
}

.textarea {
  min-height: 30px;
  width: 100%;
  border: 0;
  outline: 0;
  margin: 0;
  font-size: 14px;
  background-color: transparent;
}

@media screen and (max-width: 960px) {
  .note {
    width: calc(33% - 12px);
  }
}

@media screen and (max-width: 720px) {
  .note {
    width: calc(50% - 12px);
  }
}

@media screen and (max-width: 414px) {
  .note {
    width: 100%;
  }
}
