/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
.animation-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

/* Each video container */
.animation-item {
    width: calc(33.33% - 15px); /* 3 videos per row on large screens */
    text-align: center;
    position: relative;
}

/* Mobile responsive - 2 videos per row */
@media (max-width: 768px) {
    .animation-item {
        width: calc(50% - 15px); /* 2 videos per row */
    }
}

/* Thumbnail styling */
.video-thumbnail {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.video-thumbnail:hover {
    opacity: 0.8;
}

/* Custom Play Button */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
}
/* Lightbox Styling */
/* Lightbox Container */
#video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Lightbox Content (Video Centering) */
.lightbox-content {
    position: relative;
    background: black;
    padding: 10px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video Resizing */
#lightbox-video {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Close Button (Moved Outside Lightbox) */
.close-lightbox {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    background: rgb(60,139,219);
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s ease;
}

.close-lightbox:hover {
    background: rgba(255, 255, 255, 0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.category-item {
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-item img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 8px;
}

.category-title {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
}
