/* 
Theme Name: rodyvdkar.nl x Elementor (child theme)
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: rodyvdkar
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.custom-gallery-rvdk {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    @media only screen and (max-width: 479px) {
        grid-template-columns: repeat(2, 1fr);

    }
    grid-template-rows: 1fr;
    grid-column-gap:       24px;
    grid-row-gap:          0;

    .gallery-info {
        display:  block;
        position: relative;
    }

    img.videoThumbnail {
        position:       absolute;
        top:            0;
        left:           0;
        object-fit:     cover;
        aspect-ratio:   1 / 1;
        pointer-events: none;
    }


    a {
        display:      block;
        aspect-ratio: 1 / 1;

        .gallery-info {
            display:  block;
            position: relative;

            video {
                width:        100%;
                aspect-ratio: 1 / 1;
            }

            .overlay {
                position:         absolute;
                top:              0;
                left:             0;
                width:            100%;
                height:           100%;
                background-color: rgba(0, 0, 0, 0.4);
                backdrop-filter:  blur(3px);
                z-index:          5;
            }

            img {
                aspect-ratio: 1 / 1;
                object-fit:   cover;
            }

            span {
                position:   absolute;
                top:        50%;
                left:       50%;
                transform:  translate(-50%, -50%);
                width:      100%;
                text-align: center;
                color:      #fff;
                z-index:    99;
            }
        }

    }
}

#gallery-mixed-content-demo {
    display:               grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    @media only screen and (min-width: 480px) and (max-width: 1024px) {
        grid-template-columns: repeat(3, minmax(150px, 1fr));
    }
    @media only screen and (max-width: 479px) {
        grid-template-columns: repeat(1, minmax(150px, 1fr));
    }
    grid-gap:              16px;
    align-items:           start;
}

#gallery-mixed-content-demo a {
    position:      relative;
    display:       block;
    overflow:      hidden;
    border-radius: 8px;
    box-shadow:    0 4px 6px rgba(0, 0, 0, 0.1);
    /*transition: transform 0.2s, box-shadow 0.2s;*/
}

#gallery-mixed-content-demo a:hover {
    /*transform: scale(1.05);*/
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#gallery-mixed-content-demo img {
    display:    block;
    width:      100%;
    height:     250px;
    object-fit: cover;
}

.lg-content button {
    border-color: #C1A043;
    color:        #C1A043;
}

#gallery-mixed-content-demo a[data-poster]:hover {
    cursor: pointer;
}

#gallery-mixed-content-demo a[data-poster]:before {
    content:          "";
    width:            70px;
    height:           70px;
    position:         absolute;
    transform:        translate(-50%, -50%);
    top:              50%;
    left:             50%;
    background-image: url(/wp-content/uploads/2024/11/Play-Button-Icon.svg);
    background-size:  contain;
    z-index:          1;
    background-color: #c1a043c2;
    border-radius:    100%;
}