html, body {
  margin: 0;
  padding: 0;
}
.feedBack-overlay {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 2fr 1fr;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}
.closeDet-form {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  color: #fff;
  background: none;
  border: none;
  outline: none;
  font-size: 45px;
  font-weight: 300;
}



.feed-back_form {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  padding: 30px 40px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background: #fff;
  border-radius: 5px;
  position: relative;

  max-width: 360px;
  margin: 0 auto;
}
.feed-back_form-close {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}
.feed-back_form-close img {
  width: 10px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.feed-back_form-title {
  color: #2575a6;
  font-size: 24px;
  text-align: center;
  font-weight: 500;
}
.feed-back_form-title p {
  margin: 0;
}

.feed-back_form-data {
  display: grid;
  grid-row-gap: 10px;
  padding-top: 20px;
}

.feed-back_form-data input {
    height: 50px;
    padding-left: 20px;
    border: 1px solid #DEE2E8;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.feed-back_form-data textarea {
  width: 100%;
  padding: 15px 0 0 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #DEE2E8;
  border-radius: 5px;
}

/* .feed-back_form-data > .textarea::after {
  display: grid;
  content: "Текст ошибки";
  font-size: 14px;
  color: red;
} */

.feed-back_form-data > .options-checkbox > .checkbox-wrap {
  font-size: 11px;
}


.feed-back_form-send {
  text-align: center;
  font-weight: 500;
  background: #ffe817;
  box-sizing: border-box;
  margin: 20px -40px -30px -40px;
}
.feed-back_form-send a {
  display: inline-block;
  width: 100%;
  padding: 20px 0;
  text-decoration: none;
  font-size: 20px;
  color: #191919;
  transition: all 200ms ease-in-out;
}

.feed-back_form-send a:hover {
  box-shadow: 0 5px 10px rgba(248, 230, 60, .5);
}


/* checkbox */
.checkbox-wrap {
  height: 20px;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  padding-left: 40px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox-wrap input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0;
  /* transform: translateY(-50%); */
  left: 0;
  height: 19px;
  width: 19px;
  border: 1px solid #D0D6DF;
  background: #EFEFF0;
  border-radius: 5px;
}
.container:hover input ~ .checkmark {
    /* background-color: #2196F3; */
}
.checkbox-wrap input:checked ~ .checkmark {
    background-color: #fff;
    border: 1px solid #D0D6DF;
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-wrap input:checked ~ .checkmark:after {
    display: block;
    background-color: #fff;
}
.checkbox-wrap .checkmark:after {
    left: 6px;
    top: 1.5px;
    width: 4px;
    height: 10px;
    border: solid #405285;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.captureMe {
  margin: 25px 0 0 0;
}

@media (max-width: 768px) {
  .feedBack-overlay {
    -webkit-overflow-scrolling: touch !important;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .feed-back_form {
    /* margin-top: 60px; */
    grid-column: 1;
    grid-row: 1;
    padding: 10px;
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .feed-back_form-send {
    text-align: center;
    font-weight: 500;
    background: #ffe817;
    padding: 20px 0;
    box-sizing: border-box;
    margin: 0;
  }
  .closeDet-form {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #2575a6;
  }
  .feed-back_form-title {
    display: grid;
    justify-content: center;
    align-items: center;
  }
  .feed-back_form-send {
    display: grid;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 735px) {
  .closeDet-form {
    top: 5px;
    right: 10px;
    color: #2575a6;
    font-size: 30px;
  }
}
