/* ! >> Variables and Mixins
==============  =========================================== */
.background-cover,
.bg-cover {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/* ! >> CSS
========================================================= */
/* Portfolio Module (royalstudio-portfolio) */
.royalstudio-portfolio,
.royalstudio-portfolio-content {
    display: block;
    width: 100%;
}
.royalstudio-portfolio-filter {
    text-align: center;
    padding-bottom: 20px;
}
.royalstudio-portfolio-filter .portfolio-filter-item {
    border: 0;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    margin-right: 3px;
    margin-bottom: 3px;
    font-size: 13px;
    outline: none!important;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.royalstudio-portfolio-filter .portfolio-filter-item:hover {
    background: #555;
    opacity: 0.9;
}
.royalstudio-portfolio-filter .portfolio-filter-item.item-active {
    background: #555;
    opacity: 0.8;
    outline: none!important;
}
.royalstudio-portfolio-content:after {
    content: '';
    clear: both;
}
.royalstudio-portfolio-content .portfolio-item-wrapper {
    float: none;
    margin-bottom: 0;
    width: 100%;
    /*min-height: 100vh;*/
    position: relative;
}
.royalstudio-portfolio-content .portfolio-item {
    display: block;
    position: relative;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}
.portfolio-item-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    -webkit-transition: transform .7s cubic-bezier(0.05, 0.5, 0.45, 1);
    -moz-transition: transform .7s cubic-bezier(0.05, 0.5, 0.45, 1);
    transition: transform .7s cubic-bezier(0.05, 0.5, 0.45, 1);
    overflow: hidden;
    transform: translateY(0px) scale(1.6) translateZ(0px);
}
.portfolio-item-bg::before {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    content: '';
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    will-change: transform;
    z-index: -1;
}
.royalstudio-portfolio-content .portfolio-item:hover .portfolio-item-infos-wrapper:after {
    opacity: 0.6;
}
.royalstudio-portfolio-content .portfolio-item:hover .portfolio-item-infos {
    opacity: 1!important;
    transform: translateY(0px) !important;
    -webkit-transform: translateY(0px) !important;
    -moz-transform: translateY(0px) !important;
}
.royalstudio-portfolio-content .portfolio-item-infos-wrapper {
    position: relative;
    width: 100%;
    /*min-height: 100vh;*/
    opacity: 1;
    color: #fff;
    z-index: 9;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.royalstudio-portfolio-content .portfolio-item-infos-wrapper > * {
    z-index: 2;
    position: relative;
}
.royalstudio-portfolio-content .portfolio-item-infos-wrapper:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 1);
    opacity: .4;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    z-index: 1;
}
.royalstudio-portfolio-content .portfolio-item-category {
    font-size: 11px;
    font-style: italic;
    display: inline-block;
    opacity: 0.7;
    line-height: 1;
}
.royalstudio-portfolio-content.royalstudio-portfolio-style-box .portfolio-item img {
    display: none;
}
.portfolio-item-title {
    font-size: 4vw;
    line-height: 1.4;
    display: inline-block;
    /*border-bottom: .02em solid #fff;*/
}
.elementor-heading-title {
    color: #eee;
}
.project-logo {
    max-height: 30px;
}

@media (max-width: 1400px) {
    .portfolio-item-title {
        font-size: 6vw;
    }
}
@media (max-width: 992px) {
    .portfolio-item-title {
        font-size: 8vw;
    }
}
@media (max-width: 768px) {
    .project-logo {
        max-height: 20px;
    }
    .portfolio-item-title {
        font-size: 10vw;
    }
  
}