html {
  box-sizing: border-box;
}
*,
::before,
::after {
  box-sizing: inherit;
}
body {
  font-family: Helvetica, sans-serif;
  min-width: 320px;
  margin: 0;
}
.wrapper {
  max-width: 700px;
  width: 100%;
  padding: 0 20px;
  margin: 100px auto 50px;
}
.form {
  padding: 25px;
  border-radius: 30px;
  background: #763fee;
}
.form__lang-block {
  position: relative;
  height: 300px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
}
.form__lang-block:last-child {
  padding-bottom: 35px;
}
.form__label {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.btn {
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  cursor: pointer;
}
.btn-clear {
  position: absolute;
  top: 57px;
  right: 25px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: none;
  transition: transform 0.2s linear;
}
.btn-clear:hover {
  transform: rotate(180deg) scale(1.2);
}
.btn-clear__line {
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #8993ad;
  transform: rotate(45deg);
  top: 50%;
  left: 5px;
  transform: width 0.15s linear;
}
.btn-clear__line:last-child {
  transform: rotate(-45deg);
}
.btn-clear:hover > .btn-clear__line {
  background: #7b7b7b;
}
.form__text {
  display: block;
  width: 100%;
  height: 87%;
  padding: 25px 30px;
  margin-top: 15px;
  border-radius: 15px;
  border: 1px solid #000;
  font-size: 18px;
  outline: none;
  resize: none;
}
.form__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 225px;
  height: 55px;
  margin: 30px auto;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: #bdbfce;
  transition: letter-spacing 0.4s linear;
}
.form__btn:hover {
  letter-spacing: 1.8px;
  background: #bababa;
}
.form__btn:after,
.form__btn:before {
  position: absolute;
  content: " ";
  width: 15px;
  height: 15px;
  transition: width 0.5s, height 0.5s linear;
}
.form__btn:after {
  top: 0;
  left: 0;
  border-top: 3px solid #000;
  border-left: 3px solid #000;
}
.form__btn:before {
  bottom: 0;
  right: 0;
  border-bottom: 3px solid #000;
  border-right: 3px solid #000;
}
.form__btn:hover:before,
.form__btn:hover:after {
  width: 100%;
  height: 100%;
}
.form__select {
  padding: 5px;
  margin-left: 3px;
  font-size: 16px;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.btn-listen {
  position: absolute;
  right: 25px;
  bottom: 27px;
  width: 30px;
  height: 30px;
  background: url("./../img/listen.png") no-repeat center;
  background-size: 20px;
  filter: opacity(0.7);
  transition: background-size 0.05s;
}
.btn-listen:hover {
  background-size: 22px;
  filter: none;
}
