.youtube-datenschutz {
    position: relative;
}

.youtube-datenschutz .text {
  position: absolute;
  left: 1.5%;
  bottom: 2.2%;
  font-size: 0.9em;
  border-radius: var(--border-radius-images);
  text-align: center;
  background: rgba(0, 0, 0, 0.61);
  color: white;
  z-index: 1;
  padding: 10px 15px;
  margin-bottom: 10px;
}

.youtube-datenschutz .text a{
    color: lightblue;
}

/* Einbinden von Videos in PHPWCMS */
#links .col-sm-6, #links .col-md-6{
  float: left;
}

#rechts .col-sm-6, #rechts .col-md-6 {
  float: right;
  }

video{
  border-radius: var(--border-radius, 4px);
  max-width: 100%;
  height: auto;
}

.youtube-player, .youtube-player-02 {
  position: relative;
  padding-bottom: 56.23%;  /* Use 75% for 4:3 videos */
  margin-bottom: 10px !important;
  overflow: hidden;
  background: #000;
  border-radius: var(--border-radius, 4px);
  width: 100% !important;
}

#links .youtube-player, #links .youtube-player-02{
  float: left !important;
  border-radius: var(--border-radius-images);
  margin-right: 15px !important;
  margin-left: 0;
}

#rechts .youtube-player, #rechts .youtube-player-02{
    margin-right: 0;
    margin-left: 35px;
}

.youtube-player a, .youtube-player-02 a{
  color: skyblue;
}

.youtube-player a , .youtube-player-02 a{
  /* added for broken/no JS */
  display: block;
  text-align: center;
  color: #fff;
}

.youtube-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: transparent;
}

.youtube-player img, .youtube-player-02 img {
  aspect-ratio: 1 / 0.78;
  bottom: 0;
  display: block;
  left: 0;
  max-width: 101%;
  width: 101%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: 101%;
  cursor: pointer;
  -webkit-transition: .4s all;
  -moz-transition: .4s all;
  transition: .4s all;
}

.youtube-player img:hover , .youtube-player-02 img:hover {
  -webkit-filter: brightness(25%);
}

.youtube-player .play, .youtube-player-02 .play {
  position: absolute;
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  background: url(../images/buttons/play_72x72.png) no-repeat;
  cursor: pointer;
  z-index: 2;
}

@media (orientation: portrait) {
  .youtube-player .play, .youtube-player-02 .play {
    height: 32px;
    width: 32px;
    left: 50%;
    top: 50%;
    margin-left: -16px;
    margin-top: -16px;
    background: url(../images/buttons/play_32x32.png) no-repeat;
  }
}

/* https://codepen.io/ashrafulsarkar/pen/GRQPaZQ --------------------------------------------------------------------- */
@keyframes shadowPulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(21, 219, 150, 0.4);
    box-shadow: 0 0 0 0 rgba(21, 219, 150, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 40px rgba(21, 219, 150, 0);
    box-shadow: 0 0 0 40px rgba(21, 219, 150, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(21, 219, 150, 0);
    box-shadow: 0 0 0 0 rgba(21, 219, 150, 0);
  }
}

.video-btn {
  position: absolute;
  text-align: center;
  height: 80px;
  width: 80px;
  line-height: 80px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  font-size: 25px;
  background: #6c5ce750;
  color: #fff !important;
  -webkit-animation: shadowPulse 2s linear infinite;
  animation: shadowPulse 2s linear infinite;
  -webkit-box-shadow: 0 0 0 10px rgba(108, 92, 231, 0.4);
  box-shadow: 0 0 0 10px rgb(108, 92, 231, 0.4);
}
