.backdrop {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 47, 66, 0.4);
  transition:
    opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.backdrop.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal {
  position: absolute;
  left: 40%;
  top: 25%;
  transform: translate(-50% -50%);
  width: 408px;
  height: 584px;
  background-color: rgba(252, 252, 252, 1);
  padding: 72px 24px 24px 24px;
}
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--cloud);
}
.modal-text {
  display: block;
  margin-bottom: 16px;
  color: var(--navy-blue);
  font-family: Roboto;
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2%;
  text-align: center;
}
.modal-input {
  margin-bottom: 8px;
}
.modal-label {
  display: block;
  margin-bottom: 4px;
  color: var(--light-slate);
  font-family: Roboto;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 4%;
}
.register-field {
  position: relative;
  margin-bottom: 8px;
}
.register-input {
  display: block;
  width: 100%;
  height: 40px;
  padding-left: 38px;
  background-color: transparent;
  outline: transparent;
  border-radius: 4px;
  border: 1px solid rgba(46, 47, 66, 0.4);
}
.register-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.modal-textarea {
  margin-bottom: 16px;
}
.user-comment {
  resize: none;
  height: 120px;
  padding: 8px 16px;
}
.modal-checkbox {
  margin-bottom: 24px;
}
.register-checkbox:checked + .register-sign > .register-sign-image {
  background-color: var(--iris);
  fill: var(--dairy);
}
.register-sign {
  font-family: Roboto;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 4%;
  color: rgba(117, 117, 117, 1);
}
.register-sign-image {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  fill: transparent;
  border: 1px solid black;
}
.register-sign-link {
  color: var(--iris);
}
.register-button {
  border-radius: 4px;
  padding-top: 16px;
  padding-right: 32px;
  padding-bottom: 16px;
  padding-left: 32px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--iris);
  color: var(--white);
  font-size: 16px;
  min-width: 169px;
  min-height: 56px;
}
