
.youtube-container {
  position: relative;
  max-width: 560px;
  margin: 0px auto 0 auto;
}

.youtube-container iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.youtube-container .video-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px;
  color: white;
}

.youtube-container .video-consent-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.youtube-container .video-consent-overlay .video-consent-overlay-text {
  isolation: isolate;
  text-align: center;
}

.youtube-container .video-consent-overlay .youtube-video-consent-overlay-accept-button {
  isolation: isolate;
  margin: 20px 0 0 0;
  padding: 8px 10px;
  background-color: red;
  cursor: pointer;
}


.vimeo-container {
  position: relative;
  max-width: 640px;
  margin: 0px auto 0 auto;
}

.vimeo-container iframe {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.vimeo-container .video-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px;
  color: white;
}

.vimeo-container .video-consent-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.vimeo-container .video-consent-overlay .video-consent-overlay-text {
  isolation: isolate;
  text-align: center;
}

.vimeo-container .video-consent-overlay .vimeo-video-consent-overlay-accept-button {
  isolation: isolate;
  margin: 20px 0 0 0;
  padding: 8px 10px;
  background-color: red;
  cursor: pointer;
}