* {
  box-sizing: border-box;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

body {
  background: #F9F9F7;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.block-body {
  height: 100vh;
  overflow-y: hidden;
  padding-right: 15px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  width: 100%;
}

.timing-bar {
  margin-top: 20px;
  margin-bottom: 20px;
}

.timing-bar__words {
  font-weight: 700;
}

.main-header {
  position: absolute;
  right: 9999px;
}

.header {
  margin-bottom: 70px;
}

.main-content__block {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.header__add-name-logo {
  font-size: 12px;
}

.header__logo {
  margin-right: 10px;
}
.header__name-logo {
  margin-bottom: 8px;
}

.main-content__main-input {
  width: 100%;
  height: 346px;
  border: 1px solid rgba(0, 87, 255, 0.25);
  box-shadow: 0px 0px 19px rgba(0, 87, 255, 0.25), 0px 7px 16px rgba(107, 107, 107, 0.06);
  border-radius: 10px;
  outline: none;
  transition: border .3s ease;
  padding: 30px;
  padding-right: 50px;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400px;
  margin-bottom: 33px;
  resize: none;
}

.main-content__main-input:focus {
  border: 1px solid rgb(0, 87, 255);
}

.main-content__main-input::placeholder {
  color: #000;
}

.main-content__main-input:focus::placeholder {
  color: #fff;
}

.main-content__language {
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border: none;
  background: none;
  margin-right: 60px;
  color: #448AFE;
  font-size: 20px;
  text-decoration: underline;
}

.main-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #BCBCBC;
  border-radius: 5px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border .3s ease;
}

.main-btn svg path{
  transition: fill .3s ease;
}

.main-btn:hover svg path{
  fill: #448AFE;
}

.main-btn:hover {
  border: 1px solid #448AFE;
}

.delete-file {
  cursor: pointer;
  padding: 0;
  padding-top: 2px;
  background: none;
  border: none;
}

.main-content__timing {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.btn-prev {
  margin-right: 11px;
}

.main-content__required-timekeeping {
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border: 1px solid #BCBCBC;
  background-color: none;
  border-radius: 2px;
  transition: background .3s ease;
}

.main-content__paragraph-timing {
  color: #505050;
  margin: 0;
  margin-right: 24px;
}

.time-input {
  color: #505050;
  width: 30px;
  height: 30px;
  border: 1px solid #BCBCBC;
  border-radius: 2px;
  margin-right: 12px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  transition: border .3s ease;
}
.time-input:focus {
  border: 1px solid #818181;
  outline: none;
}

.timeInputActive {
  color: #000;
}

.time-paragraph {
  color: #505050;
  margin: 0;
  margin-right: 24px;
}

.main-content__words {
  margin: 0;
  margin-bottom: 30px;
}

.min-time {
  margin: 0;
  margin-bottom: 30px;
}

.normal-time {
  margin: 0;
  font-weight: 700;
  margin-bottom: 40px;
}

.main-content__btn-voice {
  position: relative;
  bottom: 5px;
  width: 203px;
  height: 50px;
  background: #BCBCBC;
  border-radius: 10px;
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  border: none;
  transition: background .15s ease, box-shadow .15s ease;
}

.btn-voice-text {
  margin-left: 12px;
}

.live-internet-text {
  margin: 0;
}

.mobile {
  display: none;
}

.main-content__main-info {
  margin: 0;
  padding: 0;
  width: 100%;
}
.btn__active {
  cursor: pointer;
  background: #448AFE;
  box-shadow: 0px 0px 19px rgba(0, 87, 255, 0.25);
}

.btnChronomActive {
  background: #448AFE;
}

.btnChronomActive svg path {
  fill: #fff;
}

.email-block__choice-record {
  position: relative;
}

.email-block__cross {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0;
  background: none;
  border: none;
}

.email-block {
  background-color: #fff;
  padding-top: 61px;
  padding-bottom: 45px;
}

.email-block__mini-header {
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 22px;
}

.email-block__btn-record {
  cursor: pointer;
  margin-right: 20px;
  padding: 14px 27px;
  background: #EDEDED;
  font-weight: 500;
  border-radius: 30px;
  border: none;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  transition: background .3s ease;
}

.activeBtnRecord {
  background: #FFCF00;
}

.email-block__choice-gender {
  margin-bottom: 40px;
}

.email-block__comment {
  width: 100%;
  max-width: 753px;
  height: 313px;
  resize: none;
  border: 1px solid #BCBCBC;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  padding: 30px;
  font-size: 18px;
  color: #000;
  margin-bottom: 40px;
}

.email-block__comment, .email-block__email-input {
  transition: box-shadow .3s ease;
}

.email-block__comment:focus, .email-block__email-input:focus {
  outline: none;
  box-shadow: 0px 0px 19px rgba(114, 114, 114, 0.25);
}

.email-block__comment::placeholder {
  color: #000;
}

.email-block__comment:focus::placeholder {
  color: #fff;
}

.email-block__check-file {
  position: relative;
  bottom: 10px;
  padding: 14px 27px;
  background: #EDEDED;
  border-radius: 30px;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
}

.email-block__email-input {
  width: 100%;
  max-width: 400px;
  height: 50px;
  border: 1px solid #BCBCBC;
  border-radius: 10px;
  padding-left: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  margin-bottom: 40px;
}

.email-block__email-input::placeholder {
  color: #000;
}

.email-block__data-processing {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.email-block__cost-work {
  background: #448AFE;
  padding: 14px 22px;
  margin-right: 56px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0px 0px 19px rgba(0, 87, 255, 0.25);
}

.main-content__input-cross {
  padding: 0;
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.main-content__block-main-input {
  position: relative;
}

.fade-enter-active, .fade-leave-active {
  transition: transform 1s, opacity 1s;
}

.fade-leave-to {
  transform: scale(0.2, 0.2);
  opacity: 0;
}

.fade-enter {
  transform: rotate(1turn) scale(0.2, 0.2);
  opacity: 0;
}

.email-enter-active, .email-leave-active {
  transition: opacity 2s;
}

.email-leave-to {
  opacity: 0;
}

.email-enter {
  opacity: 0;
}

.blackText {
  color: #000;
}

.email-block__download-file, .email-block__new-download-file {
  position: absolute;
  right: 9999px;
}

.input__wrapper {
  position: relative;
  margin-right: 38px;
  display: flex;
  align-items: center;
}

.email-block__text-input {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 20px;
}

.email-block__text-input svg {
  margin-right: 13px;
}

.email-block_download {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.downloaded-files {
  display: flex;
  flex-wrap: wrap;
}

.downloaded-file {
  margin-right: 42px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  line-height: 20px;
}

.downloaded-file span {
  margin-right: 6px;
}

.email-block__fake-check {
  min-width: 28px;
  min-height: 28px;
  border-radius: 2px;
  border: 1px solid #448AFE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: background .4s ease;
  cursor: pointer;
}

.email-block__new-input {
  cursor: pointer;
}

.user-agreement {
  color: #448AFE;
}

.check:checked ~ .email-block__fake-check {
  background-color: #448AFE;
}

.email-block__fake-check svg {
  display: none;
}

.check:checked ~ .email-block__fake-check svg {
  display: block;
}

.check {
  position: absolute;
  right: 9999px;
}

.back-for-message {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content:center;
  top: 0;
  z-index: 10;
  background: rgba(68, 68, 68, 0.65);
  width: 100vw;
  height: 100vh;
}

.main-message {
  width: 558px;
  height: 354px;
  background: #FFFFFF;
  border-radius: 5px;
  position: relative;
}

.main-message__header {
  color: #323239;
  padding-top: 47px;
  margin: 0 auto;
  margin-bottom: 29px;
  text-align: center;
}

.main-message__image {
  margin: 0 auto;
  display: block;
  margin-bottom: 29px;
}

.main-message__paragraph {
  text-align: center;
}

.main-message__close {
  cursor: pointer;
  padding: 0;
  position: absolute;
  top: 25px;
  right: 25px;
  border: none;
  background: none;
}

.mobile-time {
  font-weight: 700;
  font-size: 16px;
}

.mobile-block-time {
  display: flex;
  justify-content: space-between;
}

.mobile-info-bar {
  display: none;
}

.mobile-all-time-info {
  margin: 0;
}

.email-block-btn-block {
  display: flex;
  align-items: center;
}

.email-block__error-message {
  color: #FD5A53;
  margin: 0;
}

.inputError {
  border: 1px solid #FD5A53;
}

@media (max-width: 1000px) {

  .header {
    margin-bottom: 30px;
  }
  
  .timing-bar__words, .mobile-time {
    margin: 0;
    margin-bottom: 17px;
  }

  .main-content__words, .min-time, .normal-time, .main-content__language, .main-btn, .timing-bar {
    display: none;
  }

  .all-time {
    font-weight: 700;
    text-align: center;
  }

  .email-block__cross svg {
    width: 20px;
    height: 20px;
  }

  .main-content__btn-voice {
    float: none;
    margin-bottom: 38px;
  }

  .main-content__main-info {
    margin-bottom: 28px;
  }

  .mobile, .mobile-info-bar {
    display: block;
  }

  .all-time {
    font-size: 15px;
    line-height: 18px;
  }

  .main-content__paragraph-timing {
    margin-right: 12px;
    font-size: 16px;
  }

  .time-paragraph {
    font-size: 16px;
    margin-right: 12px;
  }

  .main-content__btn-voice {
    margin-top: 22px;
  }

  .main-content__input-cross {
    top: 11px;
    right: 11px;
  }
  
  .main-content__main-input {
    padding-right: 30px;
    margin-bottom: 25px;
  }

  .timing-bar__words {
    font-size: 16px;
  }

  .email-block__btn-block {
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
  }

  .email-block__btn-record {
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 14px;
    height: 50px;
    width: 45%;
  }

  .email-block__text-input {
    font-size: 16px;
  }

  .main-content__required-timekeeping {
    width: 30px;
    height: 30px;
  }

  .time-input {
    margin-right: 8px;
    width: 25px;
    height: 25px;
    font-size: 14px;
  }

  .user-agreement-paragraph {
    font-size: 16px;
  }

  .email-block {
    padding-top: 34px;
  }

  .email-block__cross {
    top: -6px;
  }

  .email-block__mini-header {
    font-size: 20px;
  }

  .header__logo {
    margin-right: 0;
  }

  .main-message {
    margin: 0 auto;
    width: 90%;
  }
  
  .main-message__header {
    width: 185px;
  }
  
  .main-message__paragraph {
    font-size: 16px;
  }
  
  .main-message__close {
    top: 22px;
    right: 22px;
  }
}
