.video-grid-repeater {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 70px auto 0;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    margin-bottom: 30px;
}

.video-thumbnail > svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-image: url('https://www.gstatic.com/youtube/img/play.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.video-grid-item iframe {
    border: none;
}

@media screen and (max-width: 999px) {
    .video-grid-repeater {
        gap: 40px;
    }

    .video-grid-item {
        width: 100%;
    }
    
    .video-thumbnail {
        margin: 0 auto 30px;
    }
    
    .video-grid-item iframe {
        display: block;
        width: 100%;
        margin: 0 auto 30px;
    }
}

@media screen and (max-width: 424px) {
    .video-thumbnail {
        max-width: 345px;
        height: 195px;
    }
    
    .video-grid-item iframe {
        max-width: 345px;
        height: 194px;
    }
}

@media screen and (min-width: 425px) and (max-width: 767px) {
    .video-thumbnail {
        max-width: 394px;
        height: 222px;
    }
    
    .video-grid-item iframe {
        max-width: 394px;
        height: 222px;
    }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .video-thumbnail {
        max-width: 738px;
        height: 415px;
    }
    
    .video-grid-item iframe {
        max-width: 738px;
        height: 415px;
    }
}

@media screen and (min-width: 1000px) {
    .video-grid-repeater {
        gap: 80px;
        max-width: 1052px;
    }

    .video-grid-item {
        max-width: 486px;
    }
    
    .video-thumbnail {
        height: 274px;
    }
    
    .video-grid-item iframe {
        width: 486px;
        height: 274px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1199px) {
    .video-grid-repeater {
        column-gap: 20px;
        row-gap: 40px;
        max-width: 954px;
    }

    .video-grid-item {
        max-width: 467px;
    }
    
    .video-thumbnail {
        height: 263px;
    }

    .video-grid-item iframe {
        width: 467px;
        height: 263px;
    }
}