/* canvas for captcha */
canvas {
  pointer-events: none;
  border: 1px solid var(--bs-border-color-translucent);
  text-align: center;
  height: calc(3.5rem + 2px);
  width: 100%;
}

#messageStatusModal .modal-content {
  border: 4px solid var(--bs-secondary);
  border-radius: 0;
}

#messageStatusModal .modal-footer {
  text-align: center !important;
}

#captchaError {
  background: var(--bs-dark);
  color: var(--bs-danger);
  width: 100%;
  text-align: center;
  padding: 0.7rem;
  font-weight: bolder;
}

#floatingTextarea {
  min-height: 100px;
}

.envelope {
  width: 110px;
  margin: 5px auto;
  height: 60px;
  position: relative;
  background: rgb(164.7459016393, 200.9221311475, 254.2540983607);
  cursor: pointer;
  box-shadow: 0px 4px 6px -3px rgba(68, 68, 68, 0.8235294118);
}

.top, .ebottom {
  border-left: 55px solid transparent;
  border-right: 55px solid transparent;
  width: 0;
  height: 0;
  position: relative;
}

.top {
  border-bottom: 40px solid rgb(114.1639344262, 170.6147540984, 253.8360655738);
  top: -40px;
  transform-origin: bottom;
  z-index: 3;
  transition: all 0.8s ease;
  transform: rotateX(0deg);
}

.ebottom {
  border-bottom: 40px solid rgb(164.7459016393, 200.9221311475, 254.2540983607);
  top: -20px;
  z-index: 4;
}

.left, .right {
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  top: 0;
  z-index: 4;
}

.left {
  border-left: 55px solid rgb(215.3278688525, 231.2295081967, 254.6721311475);
  position: absolute;
  left: 0;
}

.right {
  border-right: 55px solid rgb(215.3278688525, 231.2295081967, 254.6721311475);
  position: absolute;
  right: 0;
}

.back {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all 1s ease;
  z-index: 3;
  transition-delay: 0.4s;
  top: -35%;
}

.paper {
  width: 90%;
  height: 90%;
  background: #f6f8e7;
  margin: 6px auto 0;
  box-shadow: 0px 0px 2px 0px #909090;
  transition: all 0.5s ease-out;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.envelope.fold .back {
  z-index: 3;
  transition-delay: 0.3s;
  top: 0;
}

.envelope.fold .top {
  transition-delay: 0.6s;
  transform: rotateX(180deg);
  z-index: 6;
}

.paper .line {
  height: 2px;
  background: #999;
  width: 10%;
  margin: 4px 0;
}

.paper .line.one {
  width: 50%;
}

.paper .line.two {
  width: 30%;
}

.paper .line.three {
  width: 80%;
}