html {
  background: white;
}

outframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 380px;
  border: 5px solid;
  padding: 10px;
  background: red;
  position: relative;
  padding-bottom: 35px;
  padding-top: 25px;
  border-radius: 15px;
  aspect-ratio: 1/ 1.5;
  font-size: calc(750px * 0.025);
}
  outframe::before {
    display: block;
    position: absolute;
    background: black;
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    top: 3px;
    left: 50%;
    transform: translate(-50%);
  }
  
  outframe:after {
    content:"";
    display: block;
    width: 22px;
    height: 22px;
    position: absolute;
    border: 3px solid;
    border-radius: 50%;
    bottom: 3px;
    left: 50%;
    transform: translate(-50%);
  }
  

@media screen and (max-width: 400px) {
  outframe {
    width: calc(375px - 30px);
    font-size: calc(375px * 0.025);
  }
}

outframe .body {
  border: 3px solid;
  width: calc(100% - 10px);
  padding: 2px;
  height: calc(100% - 10px);
  background: white;
  border-radius: inherit;
}