/* INDEX FILE */

@import url("index.css");

/* PORTFOLIOS */

.portfolio {
    position: relative;
    padding-top: 90px;
}


/* SIDEBAR */

.portfolio .sidebar-toggle {
    color: #0a858a;
    font-size: 22px;
    cursor: pointer;
    display: none;
    padding: 7px 10px;
    margin-right: 20px;
    border: 1px solid #e9e9e9;
}

.portfolio .side-bar .side-bar-portion {
    background: #f9f9f9;
    border-radius: 10px;
    width: 70%;
    margin: 0 auto;
    padding: 20px 15px;
}

.portfolio .side-bar .side-bar-portion ul li {
    list-style-type: none;
    position: relative;
    margin: 7px 0;
    border-radius: 10px;
}

.portfolio .side-bar .side-bar-portion ul li a {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 15px;
    color: #0a858a;
    display: block;
    text-decoration: none;
}

.portfolio .side-bar .side-bar-portion ul li.active {
    background: #f3f3f3;
}

.portfolio .side-bar .side-bar-portion ul li i {
    font-size: 18px;
    right: 15px;
    top: 8px;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    color: #0a858a;
}

.portfolio .side-bar .side-bar-portion ul li.active i {
    background: #f3f3f3;
    visibility: visible;
    opacity: 1;
}

.portfolio .side-bar .side-bar-portion h6 {
    color: #0a858a;
    font-weight: 600;
}

.portfolio .side-bar .side-bar-portion .search-box {
    background: #fff;
    margin: 10px 0;
    border-radius: 8px;
}

.portfolio .side-bar .side-bar-portion .search-box input {
    background: transparent;
    border: 0;
    font-size: 13px;
    padding: 4px;
    width: 80%;
}

.portfolio .side-bar .side-bar-portion .search-box button {
    background: transparent;
    border: 0;
    color: #0a858a;
}

@media screen and (max-width: 1194px) {
    .portfolio .side-bar .side-bar-portion {
        width: 90%;
    }
}

@media screen and (max-width: 991px) {
    .portfolio .side-bar .side-bar-portion {
        width: 100%;
        padding: 20px 10px;
    }
}

@media screen and (max-width: 763px) {
    .portfolio .sidebar-toggle {
        display: inline;
    }
    .portfolio .side-bar {
        border-bottom: 1px solid #e9e9e9;
        overflow: hidden;
        background: #f8f8f8;
        margin-top: 10px;
        display: none;
    }
    .portfolio .side-bar .side-bar-portion {
        width: 45%;
        background: #f1f1f1;
        float: left;
        margin: 40px 8px;
        padding: 20px 10px;
    }
}

@media screen and (max-width: 450px) {
    .portfolio .side-bar .side-bar-portion {
        width: 100%;
        float: none;
        margin: 20px 0;
    }
    .portfolio .side-bar .side-bar-portion .search-box input {
        width: 88%;
    }
}


/* PROJECT PORTION  */

.project-portion {
    text-align: center;
}

.portfolio .project-portion .item {
    width: 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 5px #dadada;
    display: inline-block;
    margin: 10px 5px;
}

.portfolio .project-portion .item:hover {
    box-shadow: 0 0 5px #00878c;
}

.portfolio .project-portion .item .itemBanner {
    display: none;
}

.portfolio .project-portion .item .description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.8s all;
    flex-direction: column;
}


/* .portfolio .project-portion .item:hover .description {
  visibility: visible;
  opacity: 1;
} */

.portfolio .project-portion .item .description h6 {
    color: #e9e9e9;
}

.portfolio .project-portion .item .description button {
    margin: 15px;
    text-transform: uppercase;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: #e9e9e9;
    border: 0;
    padding: 6px 25px;
}

.portfolio .project-portion .item .description span {
    position: absolute;
    bottom: 5px;
    color: #e9e9e9;
    font-size: 11px;
}

@media screen and (max-width: 991px) {
    .portfolio .project-portion .item {
        width: 170px;
        margin: 10px 7px;
    }
}

@media screen and (max-width: 763px) {
    .portfolio .project-portion .item {
        width: 160px;
    }
}

@media screen and (max-width: 530px) {
    .portfolio .project-portion .item {
        width: 220px;
    }
}

@media screen and (max-width: 450px) {
    .portfolio .project-portion .item {
        width: 45%;
        margin: 10px 5px;
    }
    .portfolio .project-portion .item .description h6 {
        font-size: 13px;
    }
    .portfolio .project-portion .item .description button {
        font-size: 110px;
        padding: 4px 20px;
    }
    .portfolio .project-portion .item .description span {
        font-size: 8px;
    }
}

.image-box {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: scroll;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    justify-content: flex-start;
}

.image-box::-webkit-scrollbar {
    display: none;
}

.image-box .close-box {
    font-size: 40px;
    color: #fff;
    position: fixed;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.image-box .image {
    width: 70%;
}

.image-box .image img {
    max-width: 80%;
    display: block;
    margin: 0 auto;
}


/* Categories */

.portfolio-c .container {
    max-width: 1300px !important;
}

.cat-sec {
    padding: 100px 35px 50px;
}

.cat-sec .container-fluid .content {
    margin-top: 75px;
}

div[class*="content-"] {
    display: none;
}

.content div.active {
    display: block;
}

.cat-btns a .txt {
    font-weight: 800;
    line-height: 32px;
    text-transform: uppercase;
    color: #0a858a;
    cursor: pointer;
    position: relative;
    font-size: 17px;
    overflow: hidden;
    font-family: "raleway";
}

.cat-btns a .txt::before {
    position: absolute;
    content: '';
    width: 0%;
    height: 5px;
    left: -50%;
    bottom: 0%;
    background-image: linear-gradient(to right, #0a858a, #ffa4f3);
    border-radius: 15PX;
}

.cat-btns a .txt:hover::before {
    position: absolute;
    content: '';
    height: 5px;
    left: 100%;
    bottom: 0%;
    background-image: linear-gradient(to right, #0a858a, #ffa4f3);
    border-radius: 15PX;
    width: 100%;
    transition: width ease 1.4s, left ease 1.4s;
}

.cat-btns a.active .txt::before {
    position: absolute;
    content: '';
    height: 5px;
    left: 0%;
    bottom: 0%;
    background-image: linear-gradient(to right, #0a858a, #ffa4f3);
    border-radius: 15PX;
    width: 100%;
    transition: width ease 2s;
}

.cat-btns {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    overflow: auto;
    margin-top: 60px;
}

.cat-btns a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-img {
    text-align: center;
    margin: 15px 0;
}

.cat-img img {
    width: 100%;
    width: 90%;
    box-shadow: 0px 5px 17px #0000004d;
}

.mt-top {
    margin-top: 300px;
}

.mt-topC {
    margin-top: 100px;
}

.e-bk {
    text-align: center;
    margin-top: 100px;
}

.e-bk img {
    width: 50%;
    transition: all 0.3s ease-in-out 0s;
    box-shadow: rgba(58, 58, 58, 0.09) 2px 2px 17px 1px;
    position: relative;
    z-index: 1;
    border-radius: 25px;
}

.e-bk:hover img {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out 0s;
}

.e-bk .eImg1 {
    width: 55%;
    position: absolute;
    margin: 0px 20px;
    left: 30px;
    transition: all 0.3s ease-in-out 0s;
    z-index: 0;
    cursor: none;
}

.e-bk:hover .eImg1 {
    transform: rotate(-12deg);
    position: absolute;
    left: 0px;
}

.e-bk .eImg2 {
    width: 55%;
    position: absolute;
    margin: 0px 20px;
    right: 30px;
    transition: all 0.3s ease-in-out 0s;
    z-index: 0;
    cursor: none;
}

.e-bk:hover .eImg2 {
    transform: rotate(11deg);
    right: 0px;
    left: inherit;
}

.inneer {
    transition: transform .2s ease, opacity .2s ease;
    transform: translate(0, 0);
}

.nameB {
    margin: 0 28px;
}

.nameB h1 {
    -webkit-text-fill-color: black;
    -webkit-text-fill-color: white;
    -webkit-text-fill-color: black;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #9b9b9b;
    -webkit-text-stroke-color: black;
    font-family: "Rubik";
    font-family: "railway";
    text-transform: uppercase;
    /* background-color: black; */
    padding-left: 5px;
}


/* Inner Page Or PopUp Css */


/* .image-container {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.image-container:active img {
    transform: scale(1.1);
} */


/* Fullscreen Modal */

.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #14141470;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 1.5s ease;
    margin: 50px 0 120px;
    overflow-y: scroll;
}

.fullscreen-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    z-index: 99;
}

.fullscreen-cont {
    position: relative;
    max-width: 800px;
    margin: 50px auto 80px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.fullscreen-cont img {
    width: 100%;
}

.cont-text {
    padding: 20px;
}

.cont-text p {
    margin: 20px 0;
}

.cont-text h2 {
    text-align: left;
}

.pop-img {
    text-align: center;
}

.pop-img img {
    width: 100%;
    margin: 20px 0;
}

.pop-img video {
    width: 100%;
}

.close-btn {
    position: sticky;
    top: 12%;
    left: 90%;
    z-index: 1000;
    font-size: 30px;
    color: #ea0202;
    background: white;
    border: none;
    cursor: pointer;
    text-align: center;
    height: 42px;
    width: 40px;
}

.close-btn:hover {
    color: #000;
}


/* ==-=-=-=-=-=-=-=-=- */

.co-hidden {
    display: none;
    /* Hides the element from the page layout */
    visibility: hidden;
    /* Ensures the element is completely invisible */
}

@media screen and (max-width:991px) {
    .mt-top {
        margin-top: 3rem;
    }
    .fullscreen-cont {
        max-width: 600px;
    }
    .page-title {
        height: unset;
    }
}

@media screen and (max-width:768px) {
    .cat-btns {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .cat-btns a {
        margin: 0 5px;
    }
    .mt-topC {
        margin-top: 40px;
    }
    .fullscreen-cont {
        max-width: 450px;
    }
    .nameB h1 {
        font-size: 30px;
    }
    .p2nd {
        margin-top: 65px;
    }
}

@media screen and (max-width:530px) {
    .fullscreen-cont {
        max-width: 320px;
    }
    .close-btn {
        top: 5%;
        left: 87%;
        background-color: black;
        color: #fff;
    }
    .close-btn:hover {
        color: #ff0000;
    }
    .nameB h1 {
        font-size: 25px;
    }
}

@media screen and (max-width:380px) {
    .cat-btns {
        justify-content: center;
    }
    .nameB h1 {
        font-size: 20px;
    }
    .nameB p {
        font-size: 13px;
    }
}