﻿#videoGridContainer {
    display: grid;
    padding: 18px;
    gap: 1rem;
}

.video-card {
    border: solid 1px gray;
    cursor: pointer;
}

.video-card img {
    width: 100%;
    max-width: 100%;
}

.video-card-body {
    padding: 1rem;
}

.video-card-body h5 {
    font-weight: bold;
    cursor: pointer;
    margin-bottom: .5rem;
}

@media only screen and (min-width: 576px) {
    #videoGridContainer {
        padding: 0;
    }
}

@media only screen and (min-width: 768px) {
    #videoGridContainer {
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (min-width: 992px) {
    #videoGridContainer {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 1400px) {
    #videoGridContainer {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 1320px;
    }
}

#customModal {
    position: fixed;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.7);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#modalVideoContainer {
    width: 100%;
    max-width: 768px;
}

#modalVideoContainer > iframe {
    width: 100%;
    aspect-ratio: 16/9;
}
