.project_banner{
    background-image: url("../imgs/projects_bg.png");
    height: 800px;
}
.tabs_pr{
    background-color: #eee;
    width: 900px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    margin: auto;
}
.tabs_pr li{
    width: 50%;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}
.tabs_pr li:hover{
    background-color: var(--color-black);
    color: white !important;
}
.project_modal{
   position: absolute;
   top: 6rem;
   right: -4rem;
   background-color: black;
   width: 350px;
   border-radius: 5px;
   z-index: 99;
   display: none;
}
.project_modal_active{
    display: block;
}
.project_modal::after{
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    width: 25px;
    height: 25px;
    background-color: black;
    transform: rotate(45deg);
    z-index: 99;
    z-index: -1;
}
.nav-pills .nav-link{
    color: var(--color-black);
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: transparent;
    color: white !important;
    background-color: var(--color-black);
    width: 100%;
    height: 100%;
    border-radius: 0px !important;
    text-align: start !important;
}
.tabs_pr li:hover button{
    color: white !important;
}
.color{
    color: white !important;
}
/*Grid*/
.cust_grid_project{
    display: grid !important;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 30px;
}
.border_radius_p_p{
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.project_title{
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    font-size: 26px;
    letter-spacing: 1px;
}
.project_content_p{
    background-color: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    border-radius: 5px;
}
.project_para{
    font-size: 18px;
    margin-top: 0px;
}
.project_box img{
    transition: 0.3s;
}
.project_box:hover img{
    filter: blur(1px);
}
.project_box:hover .project_content_p{
   width: 100%;
   visibility: visible;
   opacity: 1;
}
@media screen and (max-width: 1200px){
 .cust_grid_project{
    grid-template-columns: repeat(3,1fr);
 }
}
@media screen and (max-width: 1024px){
    .project_modal {
        position: absolute;
        top: 5rem;
        right: 0px;
        background-color: black;
        width: 65%;
    }
}
@media screen and (max-width: 992px){
    .tabs_pr{
        width: 100%;
    }
}
@media screen and (max-width: 768px){
    .cust_grid_project{
        grid-template-columns: repeat(2,1fr);
     }
     .nav-pills li button{
        font-size: 14px;
     }
}
@media screen and (max-width: 568px){
    .cust_grid_project{
        grid-template-columns: repeat(1,1fr);
        grid-gap: 20px
     }
     .project_title{
        font-size: 22px;
     }
     .tabs_pr {
        height: 40px;
     }
     .nav-pills li{
        font-size: 12px;
     }
     .nav-pills li span{
        font-size: 18px ;
     }
     .nav-pills li button{
        font-size: 12px;
     }
     .nav-pills li button span{
        font-size: 18px;
     }

     .back_btn span{
        font-size: 18px;
     }
     .project_modal{
        width: 100%;
        top: 3.5rem;
     }
     .project_banner{
         height: 250px;
     }
     
     
}