$m_color: #0b2035;
$s_color: #fc7904;
$myborder: 0px;
$box_shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034),
  0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06),
  0 22.3px 17.9px rgba(0, 0, 0, 0.072), 0 41.8px 33.4px rgba(0, 0, 0, 0.086),
  0 100px 80px rgba(0, 0, 0, 0.12);
$font: -apple-system, BlinkMacSystemFont, sans-serif;


* {
  box-sizing: border-box;
}


section {
  @include flex;
  position: relative;
  margin: 75px 0;
}

a {
  color: $s_color;
  text-decoration: none;
}

.outside-border {
  background-size: cover;
  position: relative;
  width: 280px;
  height: 490px;
  border: 0.6px solid white;
  margin-right: auto;
  margin-top: -100px;
  border-radius: 35px;
  margin-left: auto;
  text-align: center;
  box-shadow: 10px 2px 11px rgba(0, 0, 0, 0.15);
}

.iphone-video {
  width: 270px;
  height: 427px;
  object-fit: cover;
  border-radius: 30px 30px 30px 30px;
  margin-top: 20px;
}


.silencer {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  width: 2px;
  height: 13px;
  left: -2px;
  top: 81.5px;
  opacity: 0.8;
}

.volume- {
  &up,
  &down {
    position: absolute;
    background-color: white;
    border-radius: 5px;
    height: 28px;
    width: 1px;
    left: -1.5px;
    opacity: 0.8;
  }
  &up {
    top: 110px;
  }
  &down {
    top: 148px;
  }
}

.button-on {
  position: absolute;
  background-color: white;
  border-radius: 5px;
  height: 45px;
  width: 2px;
  right: -2px;
  opacity: 0.8;
  top: 121px;
}

.inside-border {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 6px solid black;
  border-radius: 35px;
  background: #fff;  
}

.camera {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100px;
  height: 25px;
  background-color: black;
  border-radius: 15px;
  top: 5px;
}

.camera-dot {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  right: 12px;
  top: 10px;
}

.camera-dot-2 {
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  opacity: 0.3;
  box-shadow: $box_shadow;
  filter: blur(1px);
}

.camera-dot-3 {
  position: absolute;
  background-color: #000;
  border-radius: 50%;
  width: 1px;
  height: 1px;
  opacity: 0.7;
}

.camera-speaker {
  position: absolute;
  background-color: #fff;
  width: 28px;
  height: 1px;
  border-radius: 20px;
  top: -3px;
  opacity: 0.2;
}

.lock {
  position: absolute;
  width: 12px;
  height: 10px;
  top: 34px;
  background-color: white;
  border-radius: 2px;
}

.lock-locked {
  position: absolute;
  width: 9px;
  height: 15px;
  border: 1.5px solid white;
  border-radius: 20px;
  top: -7px;
  left: 1.7px;
}

.time {
  position: absolute;
  top: 46px;
  font-size: 42px;
  font-weight: 100;
}

.date {
  position: absolute;
  top: 92px;
  font-size: 10px;
  font-weight: 100;
}

.t-r-info {
  display: flex;
  gap: 5px;
  position: absolute;
  right: 17px;
  top: 8px;
  font-size: 10px;
}

.battery {
  position: relative;
  margin-top: 4px;
  height: 7px;
  width: 14px;
  border: 0.7px solid rgba(255, 255, 255, 0.709);
  border-radius: 2px;
  .bar {
    width: calc(80% - 2px);
    height: calc(100% - 2px);
    background-color: #fff;
    margin: 1px;
    border-radius: 1px;
  }
  .dot {
    position: absolute;
    right: -2px;
    top: 1.5px;
    width: 1px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.709);
    border-radius: 2px;
  }
}

.torch-outter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 23px;
  height: 23px;
  background-color: rgba(255, 255, 255, 0.202);
  left: 29px;
  bottom: 30px;
  border-radius: 50%;
  cursor: pointer;
   transition-duration: 250ms;
  &:hover {
    scale: 1.3
  }
  .light {
    width: 6px;
    height: 1px;
    background-color: #fff;
    border-radius: 3px;
  }
  .top {
    margin-top: 1px;
    width: 6px;
    height: 4px;
    background-color: #fff;
    border-top-left-radius: 0.5px;
    border-top-right-radius: 0.5px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
  }
  .switch-section {
    margin-top: -1px;
    width: 3px;
    height: 9px;
    background-color: #fff;
    border-radius: 1px;
  }
  .switch {
    position: absolute;
    top: 10px;
    left: 10.5px;
    border-radius: 50%;
    width: 2px;
    height: 4px;
    background-color: #000;
    .dot {
      position: absolute;
      bottom: 0.4px;
      left: 0.4px;
      width: 1.2px;
      height: 1.2px;
      background-color: #fff;
      border-radius: 50%;
    }
  }
}

.camera-outter {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 23px;
  height: 23px;
  background-color: rgba(255, 255, 255, 0.202);
  right: 29px;
  bottom: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition-duration: 250ms;
  &:hover {
    scale: 1.3
  }
  .box {
    width: 12px;
    height: 8px;
    background-color: #fff;
    border-radius: 1px;
  }
  .eye {
    position: absolute;
    background-color: #fff;
    width: 5px;
    height: 2px;
    top: 6px;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
  }
  .circle {
    position: absolute;
    top: 9px;
    width: 5px;
    height: 5px;
    border: 1px solid #000;
    border-radius: 50%;
  }
  .dot {
    position: absolute;
    width: 5px;
    height: 5px;
    top: 7px;
    right: 5.2px;
    background-color: #000;
    border-radius: 50%;
    transform: scale(0.2);
  }
}

.bottom-line {
  position: absolute;
  height: 2px;
  width: 80px;
  background-color: #fff;
  bottom: 6px;
  border-radius: 2px;
  opacity: 0.8;
}

