.speech-to-text {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  display: none;
}
.speech-to-text .stt-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 50px 0 100px;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.speech-to-text .stt-box .stt-content {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.speech-to-text .stt-box .stt-content .stt-tips-text {
  font-size: 30px;
  color: #666;
  padding-bottom: 100px;
}
.speech-to-text .stt-box .stt-content .close-stt {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.speech-to-text .stt-box .stt-content .close-stt span {
  width: 100%;
  display: block;
  height: 3px;
  position: relative;
  transition: 0.4s;
}
.speech-to-text .stt-box .stt-content .close-stt span::before,
.speech-to-text .stt-box .stt-content .close-stt span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #666666;
}
.speech-to-text .stt-box .stt-content .close-stt span::before {
  transform: rotate(45deg);
}
.speech-to-text .stt-box .stt-content .close-stt span::after {
  transform: rotate(-45deg);
}
.speech-to-text .stt-box .stt-content .stt-icon {
  width: 120px;
  height: 120px;
  position: relative;
}
.speech-to-text .stt-box .stt-content .stt-icon::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 120px;
  height: 120px;
  border: 1px solid #666;
  box-shadow: 0px 0px 6px 0px #666;
  border-radius: 50%;
  animation: move 1.5s infinite;
}
.speech-to-text .stt-box .stt-content .stt-icon::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 120px;
  height: 120px;
  top: 50%;
  left: 50%;
  margin-top: -60px;
  margin-left: -60px;
  border: 1px solid #333;
  box-shadow: 0px 0px 6px 0px #333;
  border-radius: 50%;
  animation: move 1.5s 0.5s infinite;
}
.speech-to-text .stt-box .stt-content .stt-icon img {
  width: 100%;
}
@keyframes move {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .speech-to-text .stt-box {
    padding: 25px 0 60px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }
  .speech-to-text .stt-box .stt-content .stt-icon {
    width: 80px;
    height: 80px;
  }
  .speech-to-text .stt-box .stt-content .stt-icon::before {
    width: 80px;
    height: 80px;
  }
  .speech-to-text .stt-box .stt-content .stt-icon::after {
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
  }
}
