@import "../../styles/base.scss";

.boxVideoWidget {
  position: relative;
  aspect-ratio: 16/9 !important;

  .boxVideo {
    width: 100%;
    position: relative;
    padding-top: 0;

    .react-player {
      overflow: hidden;
    }

    div,
    video,
    span {
      width: 100% !important;
      height: unset !important;
      aspect-ratio: 16/9 !important;
      margin: 0 auto;
    }

    span {
      height: unset !important;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      aspect-ratio: 16/9 !important;
      margin: 0 auto;
      iframe {
        margin: 0 auto;
        aspect-ratio: 16/9 !important;
        video {
          aspect-ratio: 16/9 !important;
        }
      }
    }
  }
}
