/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.6.1773120718
Updated: 2026-03-10 05:31:58

*/

.mmc-portfolio-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.mmc-portfolio-item{
    position:relative;
    overflow:hidden;
}

.mmc-portfolio-item a{
    display:block;
    text-decoration:none;
}

.mmc-portfolio-img{
    width:100%;
    height:500px;
    background-size:cover;
    background-position:center;
    transition:transform .5s ease;
}

.mmc-portfolio-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    opacity:0;
    transition:all .4s ease;
}

.mmc-portfolio-content{
    position:absolute;
    bottom:30px;
    left:30px;
    right:30px;
    color:#fff;
    transform:translateY(30px);
    transition:all .4s ease;
}

.mmc-portfolio-cat{
    font-family:'Baskervville', serif;
    font-size:20px;
    font-weight:700;
    line-height:1.2em;
    margin-bottom:6px;
    display:block;
}

.mmc-portfolio-title{
    font-family:'Baskervville', serif;
    font-size:40px;
    font-weight:700;
    line-height:1.2em;
    margin:0;
}

/* Hover effects */

.mmc-portfolio-item:hover .mmc-portfolio-img{
    transform:scale(1.08);
}

.mmc-portfolio-item:hover .mmc-portfolio-overlay{
    opacity:1;
}

.mmc-portfolio-item:hover .mmc-portfolio-content{
    transform:translateY(0);
}

/* Tablet */

@media (max-width:1024px){

.mmc-portfolio-grid{
    gap:20px;
}

.mmc-portfolio-img{
    height:420px;
}

.mmc-portfolio-title{
    font-size:32px;
}

}

/* Mobile */

@media (max-width:768px){

.mmc-portfolio-grid{
    grid-template-columns:1fr;
    gap:18px;
}

.mmc-portfolio-img{
    height:350px;
}

.mmc-portfolio-overlay{
    opacity:1;
    background:rgba(0,0,0,0.45);
}

.mmc-portfolio-content{
    transform:translateY(0);
    bottom:20px;
    left:20px;
}

.mmc-portfolio-title{
    font-size:26px;
}

.mmc-portfolio-cat{
    font-size:16px;
}

}