.bilibili-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 50%;
  margin: auto;
  text-align: center;

  iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}