.video-container {
    position: relative;
    width: 560px;
    height: 315px;
    overflow: hidden;
    cursor: pointer;
}

.cover-photo {
  position: absolute;
  width: 94%;
  height: 90%;
  object-fit: cover;
  object-position: left;
  transition: opacity 0.3s ease;
  left: 0;
  border-radius: 10px;
  box-shadow: 3px 7px 10px grey;
  margin-left: 18px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(230, 33, 23, 1);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.play-button::before {
    content: "";
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent white;
}

.video-container:hover .play-button {
    background-color: rgba(255, 0, 0, 1);
}

iframe#youtubeIframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}
