/* Start state */
.note-modal {
  border-radius: 4px;
  overflow: hidden;
  transform: translateY(-50px);
  transition: all 0.7s;
}
.note-modal .title, .note-modal .form {
  transform: translateY(-50px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 0.4s;
}
.note-modal .title {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.note-modal .title .icon {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.note-modal .textarea {
  margin-top: 15px;
  width: 350px;
  max-width: 100%;
  height: 100px;
  border-radius: 4px;
  -webkit-appearance: none;
          appearance: none;
}
.note-modal .textarea:focus {
  outline: none;
}
@media screen and (min-width: 768px) {
  .note-modal .textarea {
    font-size: 16px;
    width: 400px;
    height: 150px;
    padding: 10px;
  }
}
.note-modal .button {
  margin-top: 15px;
  background-color: #333333;
  color: #ffffff;
  box-sizing: border-box;
  position: relative;
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  min-width: 64px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.fancybox-content {
  padding: 20px;
}

/* Final state */
.fancybox-slide--current {
  /* Reveal content with different delays */
}
.fancybox-slide--current .note-modal, .fancybox-slide--current .note-modal .title, .fancybox-slide--current .note-modal .form {
  transform: translateY(0);
  opacity: 1;
}
.fancybox-slide--current .note-modal .title {
  transition-delay: 0.1s;
}
.fancybox-slide--current .note-modal .form {
  transition-delay: 0.3s;
}