﻿body {
    margin: 0;
    padding: 0;
    
    font-family: "Montserrat", sans-serif;
}

h2 {
    font-size: 2rem;
}

h1,
h2 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

h4 {
    color: white;
    text-transform: capitalize;
    font-size: 1.5rem;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    h4 {
        font-size: 20px;
    }
    span,
    p,
    li,
    a {
        font-size: 14px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    h4 {
        font-size: 20px;
    }
    span,
    p,
    li,
    a {
        font-size: 14px;
    }
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.template-btn {
    color: white;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12px 20px;
    display: inline-block;
    background: transparent;
    cursor: pointer;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
}

.template-btn:hover {
    
    background: #f28500;
}

.portfolio-section {
    padding-top: 30px;
    transition: 1.3s;
    box-sizing: border-box;
    height: auto;
}

.portfolio-tab ul {
    text-align: center;
    
}

.portfolio-tab ul li {
    
    background: transparent;
    display: inline;
    font-weight: 500;
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 5px solid #e9b72f;
    margin: 0 5px;
    cursor: pointer;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -o-transition: 0.2s;
    transition: 0.2s;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 575.98px) {
    .portfolio-tab ul li {
        display: block;
        margin: 2px 2px !important;
        border: none;
        border: 1px solid;
        background: transparent;
        border-radius: 30px;
        max-width: 200px;
        margin: auto;
    }
}

.portfolio-tab ul li:hover {
    background: #e9b72f;
    color: #fff
}

.portfolio-tab ul .active {
    background: #e9b72f;
    color: #fff
}

.clearfix:after {
    display: table;
    content: " ";
    clear: both;
}

.portfolio-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
}

.portfolio-grid .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    display: none;
    overflow: hidden;
    margin: 20px;
    border-radius: 10px;
    
    box-shadow: 0px 10px 30px -20px black;
}

.portfolio-grid .portfolio:hover {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    display: none;
    overflow: hidden;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 20px 30px -20px black;
}

.portfolio-wrapper {
    overflow: hidden;
    position: relative !important;
    cursor: pointer;
}

.portfolio-bg {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: cover;
    transition: 1s;
    transform: scale(1.2)
}

.portfolio:hover .portfolio-bg {
    transform: scale(1.1)
}

.portfolio .label {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    transition: 0.5s;
    opacity: 0;
    visibility: hidden
}

.portfolio .label-bg {
    background: #232323;
    opacity: 0.7;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 1px;
}

.portfolio .label-text {
    
    position: relative;
    z-index: 500;
    padding: 70px 50px 0 50px;
}

.label-text h4 {
    margin: 10px 0;
}

.portfolio:hover .label {
    opacity: 1;
    visibility: visible;
}

.portfolio .text-category {
    display: block;
    color: white;
}

.portfolio .template-btn {
    background: #e9b72f;
    border: 1px solid #e9b72f;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500
}

#shreelite-model-here img {
    width: auto;
    height: 100vh !important;
}

.popup-single-image {
    background-size: contain;
    background-position: center;
    height: 90vh;
    width: 100%;
    background-repeat: no-repeat;
}

.modal-content {
    padding: 0;
    background: transparent;
    border: none;
}

.modal-dialog {
    width: 100% !important;
}

.modal-body {
    padding: 0 !important;
}

.close {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: black;
    color: white;
    border-radius: 30px;
    position: fixed;
    right: 5px;
    top: 5px;
    z-index: 100;
    font-size: 30px !important;
}

.close:hover {
    color: blanchedalmond;
}

.modal {
    right: 10px;
}

dl,
ol,
ul {
    padding: 0 !important;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid .portfolio {
        margin: 5px !important;
        height: 290px;
    }
}

@media (max-width: 400px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }
    .portfolio-grid .portfolio {
        margin: 5px !important;
        height: 230px;
    }
}

@media only screen and (min-width: 768.1px) and (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 576px) {
    .close {
        width: 20px;
        height: 20px;
        line-height: 10px;
        font-size: 30px !important;
    }
    .modal-dialog {
        max-width: auto !important;
    }
    ul {
        margin: auto !important;
    }
    ul li {
        width: 150px;
        
        float: left;
    }
    .portfolio-tab ul {
        text-align: center;
        margin-top: 50px;
        width: 310px;
    }
}

@media only screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 1000px !important;
        border: none;
    }
}