@import '../../../font/font.scss';

.record-emitter {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 30rpx 80rpx;
  box-sizing: border-box;
  background-color: #f7f7f7;
}

.record-emitter .record-hint {
  text-align: center;
  margin: 30rpx auto;
  color: #333;
  line-height: 44rpx;
  font-size: 32rpx;
}

.record-emitter .record-wrapper {
  position: relative;
  height: 220rpx;
  width: 220rpx;
}

.record-emitter .record-button {
  position: absolute;
  top: 30rpx;
  left: 30rpx;
  width: 160rpx;
  height: 160rpx;
  line-height: 160rpx;
  border-radius: 160rpx;
  background-color: #1890ff;
  text-align: center;
}

.record-emitter .record-button .icon-item {
  color: #fff;
  display: inline-block;
  font-size: 30px;
}

.record-emitter .record-background-animation {
  position: absolute;
  top: 20rpx;
  left: 20rpx;
  width: 180rpx;
  height: 180rpx;
  line-height: 180rpx;
  border-radius: 50%;
  background-color: #1890ff;
  opacity: 0.1;
  text-align: center;
  z-index: 1;
  animation: recode-bg-animation 1s infinite;
}

.circleProgress_wrapper {
  width: 204rpx;
  height: 204rpx;
  position: absolute;
  top: 8rpx;
  left: 8rpx;
}

.circleProgress_wrapper .wrapper {
  width: 102rpx;
  height: 204rpx;
  overflow: hidden;
}

.circleProgress_wrapper .left {
  float: left;
}

.circleProgress_wrapper .right {
  float: right;
}

.circleProgress {
  width: 204rpx;
  height: 204rpx;
  border-radius: 50%;
  transform: rotate(45deg);
  box-sizing: border-box;
  border: 2px solid transparent;
}

.rightcircle {
  border-top: 2px solid #4ea5f0;
  border-right: 2px solid #4ea5f0;
  float: right;
  animation: circleProgressLoad_right 2s linear infinite;
}

.leftcircle {
  border-bottom: 2px solid #4ea5f0;
  border-left: 2px solid #4ea5f0;
  float: left;
  animation: circleProgressLoad_left 2s linear infinite;
}

@keyframes circleProgressLoad_right {
  0% {
    transform: rotate(-135deg);
  }

  50%,
  100% {
    transform: rotate(45deg);
  }
}

@keyframes circleProgressLoad_left {

  0%,
  50% {
    transform: rotate(-135deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

.dialog-content {
  background: black;
  z-index: 999;
  position: relative;
}

@keyframes recode-bg-animation {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(1.2);
  }
}
