/*
    + ---------------------------------------+
    | Pittsburgh Radio Rosary & Consecration |
    +----------------------------------------+
    @site:     www.pittrrc.org
    @location: Pittsburgh, PA 2023

    ******************************************
    @author: Ivan Bondarenko
    @link:   www.ivanbond.tech
    @mailto: ivanbonddev@gmail.com
    ******************************************
*/

html {
    overflow: scroll;
    background-color: var(--color-navy-blue);
}

div.main-cont {
    padding: 5rem 10rem 5rem 10rem;
    color: white;
}

div.main-cont h2,h3,h4 {
    color: var(--color-gold);
}

div.main-cont a {
    text-decoration: none;
    color: lightskyblue;
}

.search-bar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar {
    width: 100%;
    max-width: 600px;
    height: 2rem;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 20px;
}

.video-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.video-item:hover {
    transform: scale(1.05);
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-details {
    padding: 10px;
}

/* .video-title {
    font-size: 18px;
    margin: 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
} */

.video-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

div.video-preview-cont {
    display: inline-block;
    width: 18rem;
    height: 10rem;
    position: relative;
    /* padding: 1rem; */
}

video.video-preview {
    /* background-color: yellow; */
    /* height: 10rem; */
    /* width: auto; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* position: relative; */
    /* padding: 1rem; */
}

img.audio-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

h3.video-title {
    color: white;
    font-style: normal;
    font-weight: 400;
    /* font-family: "IBM Plex Mono"; */
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.video-overlay {
    text-align: right;
    margin-top: 8.35rem;
}

span#video-duration {
    background-color: rgb(25,25,25);
    color: white;
    padding: 0.5rem;
    z-index: 9999;
    position: relative;
}