.modal {
  z-index: 999;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0,0,0,0.8);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}
.modal-active{
  opacity: 1;
  pointer-events: all;
  overflow: hidden;
}
.modal__content {
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05), 0px 4px 14px rgba(0, 0, 0, 0.15);
  background: rgba(121, 18, 33, 1);
  border: 4px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  box-sizing: border-box;
  position: relative;
}
.close_icon{
  position: absolute;
  cursor: pointer;
  transition: transform 0.5s;

}
.close_icon:hover{
  transform: scale(1.8);
  transition: transform 0.5s;
}
.input-form {
  background: none;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 100px;
  margin-bottom: 15px;
  font-family: Open Sans;
  font-weight: 600;
  line-height: 28px;
  text-align: left;
  color: #ffffff;
  outline: none;
}
.input-form::placeholder{
  color: #ffffff;
}
.input-form:focus::placeholder{
  opacity: .2;
}
.textarea-fixed {
  resize: none;
}
.input-form:focus {
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  color: #ffffff;
}
.input-form-title{
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #4e4e4e;
  opacity: 0.5;
  margin-bottom: 6px;
}
.main_hidden {
  overflow: hidden;
}
.btn_modal {
  background: none;
  color:  #ffffff;
  font-family: Open Sans;
  font-weight: 400;
  border: 5px solid #ffffff;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 32px;
  transition: all .5s;
}
.btn_modal:hover{
  scale: 1.05;
  transition: all .5s;
}
.title_text_modal{
  color: #ffffff;
  line-height: 38px;
  overflow: hidden;
}
.modal_block_title{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.modal_form{
  display: flex;
  flex-direction: column;
  align-items: center;

}
.input-form_check_box{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 15px;
}

.input-form_check_text{
  font-family: Open Sans;
  font-weight: 400;
  text-align: left;
  color: #ffffff;
  margin-left: 16px;
}
.input-form_check_anim{
  animation: animate_pulse 1.5s;
}

.answer__content{
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05), 0px 4px 14px rgba(0, 0, 0, 0.15);

  background: rgba(121, 18, 33, 1);
  border: 4px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  box-sizing: border-box;
}
.answer__content_text{
  font-family: Open Sans;
  font-weight: 400;
  text-align: center;
  color: #FFFFFF;

}


@keyframes animate_pulse {
   0% {
     transform: translate(0px) rotate(0deg);
   }
   20%{
     transform: translate(-5px) rotate(25deg);
   }
   40%{
     transform: translate(5px) rotate(-50deg);
   }
   80% {
     transform: translate(-5px) rotate(25deg);
   }
   100% {
     transform: translate(0px) rotate(0deg);
   }
 }
@media (min-width: 320px) {
  .modal__content {
    padding: 12px;
    width: 300px;
  }
  .close_icon {
      top: 16px;
      left: 248px;
    }
  .title_text_modal{
    margin-bottom: 30px;
    font-size: 18px;
  }
  .input-form{
    font-size: 16px;
    padding: 12px 14px;
  }
  .input-form_check_text{
    font-size: 12px;
    line-height: 16px;
  }
  .btn_modal {
    padding: 12px 30px;
    font-size: 20px;
  }

  .answer__content{
    padding: 30px;
  }
  .answer__content_text {
    font-size: 18px;
    line-height: 20px;
  }
  .input-form_check{
    width: 30px;
    height: 30px;
  }

  }
@media (min-width: 610px) {
  .modal__content {
    padding: 50px;
    width: 500px;
  }
  .title_text_modal{
    margin-bottom: 50px;
    font-size: 32px;
  }
  .answer__content{
    padding: 80px 80px;
  }
  .answer__content_text {
    font-size: 24px;
    line-height: 26px;
  }
}
@media (min-width: 710px) {
}
@media (min-width: 768px) {
  .modal__content {
    padding: 50px;
    width: 602px;
  }
  .close_icon{
    top: 16px;
    left: 548px;
  }
  .title_text_modal{
    margin-bottom: 40px;
  }
  .input-form{
    font-size: 19px;
    padding: 22px 24px;
  }
  .input-form_check_text{
    font-size: 20px;
    line-height: 28px;
  }
  .btn_modal {
    padding: 18px 46px;
    font-size: 24px;
  }
  .answer__content{
    padding: 114px 128px;
  }
  .answer__content_text {
    font-size: 32px;
    line-height: 30px;
  }
  .input-form_check{
    width: 50px;
    height: 50px;
  }
}
@media (min-width: 810px) {
}
@media (min-width: 910px) {
}
@media (min-width: 992px) {
}
@media (min-width: 1010px) {
}
@media (min-width: 1110px) {
}
@media (min-width: 1210px) {
}
@media (min-width: 1810px) {
}

