:root {
    /* Color */
    --primary_color: #333333;
    --secondary_color: #44B39E;
    /* BG */
    --primary_bg: #FFFFFF;
    /* Border Radius */
    --primary_radius: 15px;
    /* font */
    --primary_font: "Montserrat Alternates", sans-serif;
    --secondary_font: "Poppins", sans-serif;
    /* Height */
    --primary_height: 272px;
    --secondary_height: 560px;
}

.d2c_gallery_wrapper {
    padding: 100px 0;
    font-family: var(--primary_font);
}

.d2c_gallery_wrapper h2 {
    color: var(--primary_color);
    font-family: var(--secondary_font);
}

/* nav-tab start */

.d2c_gallery_wrapper ul li button {
    text-transform: capitalize;
}

.nav-pills .nav-link {
    color: var(--primary_color);
    border-radius: 0;
    transition: all ease-in 0.1s;
}

.nav-pills .nav-link.active {
    color: var(--secondary_color);
    background: none;
    border-bottom: 1px solid var(--secondary_color);
}

.nav-pills .nav-link:hover {
    color: var(--secondary_color);
    transform: scale(1.03);
    transition: all ease-in 0.1s;
}

/* nav-tab end*/

.d2c_gallery_wrapper .d2c_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 15px;
}

.d2c_gallery_wrapper .d2c_image_wrapper {
    width: 100%;
    overflow: hidden;
}
.d2c_gallery_wrapper .d2c_radius1 {
    border-radius: 12px 0 0 12px;
    transition: all ease 0.4s;
}

.d2c_gallery_wrapper .d2c_radius2 {
    border-radius: 12px 0 0 120px;
    transition: all ease 0.4s;
}

.d2c_gallery_wrapper .d2c_radius3 {
    border-radius: 0 120px 12px 0;
    transition: all ease 0.4s;
}

.d2c_gallery_wrapper .d2c_radius4 {
    border-radius: 0 12px 12px 0;
    transition: all ease 0.4s;
}


.d2c_height_measurement_1 {
    height: var(--primary_height);
}

.d2c_height_measurement_2 {
    height: var(--secondary_height);
    grid-row: span 2;
}

.d2c_gallery_wrapper .d2c_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: all ease 0.4s;
}

.d2c_gallery_wrapper .d2c_image_wrapper:hover img {
    transform: scale(1.15);
    transition: all ease 0.4s;
}





/* 
    Template Name: {{10 gallery section bootstrap Free}}
    Template URL: {{https://designtocodes.com/product/10-responsive-bootstrap-gallery-section}}
    Description: {{Don't miss out on the opportunity to level up your website with our 10 Responsive Bootstrap Gallery Section. Download now and watch your website come to life!}}
    Author: DesignToCodes
    Author URL: https://www.designtocodes.com/
    Text Domain: {{ Gallery Section UI Kits }}  
*/