.youtube-wrap {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    border: 6px solid #BFE2FF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 16px 20px rgba(0,0,0,0.2);
}
.youtube-wrap div[video] {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    cursor: pointer;
}
.youtube-wrap div[video]:before {
    content: "";  
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    border: 6px solid #BFE2FF;
    width: 80px;
    height: 80px;
    z-index: 3;
    box-shadow: 0 8px 26px rgba(0,0,0,0.4), 0 28px 30px rgba(0,0,0,0.3);
    position: absolute;
    top: 20px;
    left: 20px;
    transition: 0.5s;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 24 24' stroke='%23BFE2FF' fill='%23BFE2FF' stroke-linecap='round'%3e%3cpolygon points='5 3 19 12 5 21 5 3'%3e%3c/polygon%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 60% 50%;  
}
.youtube-wrap div[video]:hover:before {
    background-color: rgba(0, 0, 0, 0.7);
    border: 6px solid #FFF;
}
.youtube-wrap div[video].show:before {
    display: none;
}
.youtube-wrap div[video] video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}
@media screen and (max-width: 420px) {
    .youtube-wrap div[video]:before {
        width: 60px;
        height: 60px;
        border: 4px solid #BFE2FF;
    }
}
