.iphone {
  margin: auto;
  border: 10px solid black;
  border-radius: 40px;
  width: 290px;
  height: 500px;
  position: relative;
  box-shadow: 0px 20px 15px #33333335;
  overflow: hidden;
}

.screen {
  z-index: 10;
  position: absolute;
  background: #f2f2f2;
  background-size: cover;
  width: 100%;
  height: 100%;
  border-radius: 30px;
}

.screen .name-row {
  width: 100%;
  height: 40px;
  background-color: #0a81ff;
  position: absolute;
  top: 45px;
  left: 0;
}
.screen .name-row #sender-id-name {
  color: white;
  padding: 8px 6px;
  font-size: 15px;
}
.screen .name-row .phone-row-icon {
  display: inline-block;
  color: white;
  font-size: 18px;
  margin: 10px 6px;
}
.screen #textmsg,
.screen .circle {
  top: 110px;
}

.screen .circle {
  width: 30px;
  height: 30px;
  background: #0a81ff;
  border-radius: 50%;
  border: 1px solid grey;
  position: absolute;
  left: 5px;
}

.screen .circle img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.screen #textmsg {
  min-width: 18px;
  max-width: 180px;
  min-height: 35px;
  max-height: 350px;
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid rgb(184, 180, 180);
  position: absolute;
  left: 40px;
  box-shadow: 4px -4px 20px 4px rgba(0, 0, 0, 0.1),
    -4px 4px 20px -4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    padding: 8px 8px;
}
/* 
 #textmsg::before {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 100px;
    left: 10px;
    background-color: #cd3a3a;

} */

.notch {
  z-index: 50;
  top: 0;
  left: 58px;
  position: absolute;
  background: #000000;
  width: 160px;
  height: 28px;
  border-radius: 0px 0px 20px 20px;
}

.camera {
  position: absolute;
  bottom: 12px;
  right: 20px;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 0.2rem solid #1e1f22;
  background: #447bb5a6;
}

.speaker {
  position: absolute;
  right: 3.3rem;
  width: 5rem;
  height: 0.5rem;
  background: #333;
  border-radius: 0.2rem;
}
