.ae-media {
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
}
.ae-media a {
  color: white;
  text-decoration: initial;
  border-bottom: 1px solid;
}

/*html5video --------------------------------------------------*/

.ae-media .html5video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
}

.ae-media .video-fluid {
  max-width: 100%;
  height: auto;
}

/*video dsgvo embed -----------------------------------------  */

.ae-media .media-trigger {
  height: 100%;
}
.ae-media .media-trigger .media-play-icon {
  font-size: 9rem;
  @media (max-width: 576px) {
    max-height: 50%;
    font-size: 6rem;
    padding-bottom: 33%;
  }
}

.ae-media .media-trigger .warning-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-size: 1rem;
}
.ae-media .media-trigger .warning-container [id*="play-media-icon-"] {
  width: auto;
  cursor: pointer;
  margin: 1rem;
  max-height: 150px;
}

.ae-media .media-trigger .warning-container .warning-disclaimer {
  --font-min: 10;
  --font-min-px: 10px;
  --font-max: 36;
  --viewport-min: 400;
  --viewport-min-px: 400px;
  --viewport-max: 3840;
  /* Ref: https://www.madebymike.com.au/writing/precise-control-responsive-typography/ */
  font-size: calc(
    var(--font-min-px) + (var(--font-max) - var(--font-min)) *
      (
        (100vw - var(--viewport-min-px)) /
          (var(--viewport-max) - var(--viewport-min))
      )
  );
}

.ae-media .media-layer {
  position: relative;
  display: none;
  height: inherit;
  width: inherit;
  margin: auto;
}

.ae-media .media-layer iframe {
  border: 0px none transparent;
  height: inherit;
  width: inherit;
}

.ae-media .embed-events-agenda {
  border: 1px solid rgb(238, 238, 238);
  margin: 0px;
  padding: 20px;
  width: 100%;
  display: block;
  height: calc(-100px + 100vh);
  display: flex;
  align-items: center;
}
