.az_portfolio_area {
  padding: 100px 0 90px;
}

.az_portfolio_area .witr_section_title {
  margin-bottom: 45px;
}
.port_3colmn .pstyle2 .prot_content_inner {
  /* top: 60%; */
  /* transition: all 0.3s ease-in-out 0.3s; */
  /* opacity: 0; */
}

.portfolio_style2 .port_style02 .pstyle_1 .prot_content_inner {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  z-index: 10;
}
 /*
.portfolio_style2 .prot_content {
  position: absolute; 
  text-align: center;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 9;
}
*/
/*.portfolio_style2 .prot_content h3 a {
  margin-bottom: 0;
}

.portfolio_style2 .single_protfolio:hover .prot_content {
   opacity: 1; 
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}

.portfolio_style2 .prot_content h3 a:hover {
  color: #000000;
  text-decoration: none;
}

.pstyle2 .single_protfolio:hover .prot_content_inner {
  top: 50%;
  opacity: 1;
}
*/
.pstyle_1 .prot_content p {
  margin: 2px 0 0;
}
.pstyle_1 .picon a {
  background: var(--color-primary);
  border-radius: 5px;
  display: inline-block;
  font-size: 20px;
  height: 50px;
  line-height: 50px;
  margin: 0 8px 11px;
  width: 50px;
  transition: 0.5s;
  color: var(--bg-color);
}
.picon a:hover {
  border-color: #191f2d;
  background: #191f2d;
  text-decoration: none;
}
.pstyle_1 .picon a i {
  font-size: 20px;
}
.witr_section_title {
  margin-bottom: 50px;
}

.witr_section_title_inner p {
  width: 100%;
  padding: 0;
  margin: 10px auto 0;
}
.witr_section_title_inner h1,
.witr_section_title_inner h2,
.witr_section_title_inner h3 {
  font-size: 40px;
  margin: auto;
  font-weight: 700;
  line-height: 1.4;
}
.witr_section_title_inner h2 {
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 3px;
  color: var(--color-primary);
}

.witr_section_title.text_left_h p {
  width: 100%;
  padding: 0;
  margin: 10px auto 0;
}
.az_portfolio_area .witr_section_title {
  margin-bottom: 45px;
}
.portfolio_nav {
  padding: 0 0 28px;
  text-align: center;
}
.portfolio_nav ul li {
  display: inline;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  margin: 0 5px 10px;
  padding: 10px 20px;
  position: relative;
  transition: 0.5s;
  border: 1px solid #f3eaea;
  font-family: var(--title-font-family);
}
.portfolio_nav ul li.current_menu_item,
.portfolio_nav ul li:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--bg-color);
}
.prot_thumb img {
  display: block;
  transform: scale(1);
  transition: all 0.5s ease 0s;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  height: 100%;
  object-fit: cover;
}
/*
.prot_content {
  position: absolute;
  text-align: center;
  transition: 0.5s;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 9;
  background: #fd272780;
}*/
.prot_content h3 {
  margin: 0 0 5px;
  text-transform: capitalize;
  font-size: 18px;
}
.single_protfolio:hover .prot_content h3 a{
  color: var(--color-primary);
}
.prot_content h3 a {
  font-size: 22px;
  font-weight: 100;
  text-transform: capitalize;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  color: var(--bg-color);
  margin-bottom: 0;
  display: inline-block;
  color: #333;
  font-family: var(--font-family);
  padding: 10px 0;
  /* height: 112px; */
  /* max-height: 112px; */
  /* display: block; */
}

.prot_content h3 a:hover {
  color: var(--color-primary);
}

.prot_content p {
  line-height: 1.2;
  margin: 5px 0 0;
}

.prot_content p span {
  display: inline-block;
  color: var(--bg-color);
}
.prot_content span {
  position: relative;
  margin: 0 2px;
}
.prot_content span:before {
  bottom: 0;
  content: ",";
  position: absolute;
  right: -5px;
}
 /*.prot_content span:last-child:before {
  content: "";
}
.prot_content_inner {
  left: 50%;
  position: absolute;
  top: 60%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  z-index: 10;
  -webkit-transition: all 0.3s ease-in-out 0.3s;
  transition: all 0.3s ease-in-out 0.3s;
   opacity: 0;  
} */
.single_protfolio {
  position: relative;
  overflow: hidden;
}
.single_protfolio:hover .prot_thumb img {
  transform: scale(1.1);
}
.single_protfolio:hover .prot_content_inner {
  top: 50%;
  opacity: 1;
}
.single_protfolio:hover .prot_content {
  opacity: 1;
  transform: scale(1, 1);
}
.pstyle_1 .single_protfolio {
  transition: 0.5s;
  margin-bottom: 30px;
  height: auto;
}
.grid-item{
  position: relative !important;
  top: 0 !important;
  /* width: 33.333% !important; */
  left: 0 !important;
  bottom: 0;
  min-height: 232px;
  height: auto;
}
@media (min-width: 1140px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .witr_section_title.text_left_h p {
    width: 100%;
  }
  .witr_section_title_inner h1,
  .witr_section_title_inner h3 {
    font-size: 38px;
  }
  .prot_content h3 a {
    font-size: 20px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .witr_section_title_inner h1,
  .witr_section_title_inner h3 {
    font-size: 32px;
  }
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .witr_section_title {
    text-align: center;
  }
  .witr_section_title .text-right {
    text-align: center !important;
  }
  .witr_section_title_inner h2 {
    font-size: 14px !important;
    padding-top: 10px;
  }
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 100%;
  }
  .witr_section_title_inner p {
    padding-top: 10px;
  }
  .witr_section_title_inner h1,
  .witr_section_title_inner h2,
  .witr_section_title_inner h3 {
    font-size: 20px;
  }
  .portfolio_nav ul li {
    padding: 6px 20px;
  }
  .prot_content h3 a {
    font-size: 10px;
  }
  
  .portfolio_nav ul li {font-family: var(--font-family);font-size: 11px;}

  .witr_section_title_inner h2 {letter-spacing: 1px;}
  .az_portfolio_area .witr_section_title {margin-bottom: 25px;}
  .grid-item{-ms-flex: 0 0 50%; -webkit-box-flex: 0;flex: 0 0 50%;max-width: 50%;}
}
@media only screen and (min-width: 480px) and(max-width: 767px) {
  .witr_section_title_inner h1,
  .witr_section_title_inner h2,
  .witr_section_title_inner h3 {
    font-size: 25px;
  }
  .witr_section_title_inner.text-center p,
  .witr_section_title_inner.text-left p,
  .witr_section_title_inner.text-right p {
    width: 91%;
  }
  .portfolio_nav ul li {
    margin: 0 2px 10px;
  }
}



@media screen and (max-width:992px){
.az_portfolio_area {
    padding: 20px 0 10px;
}
  .grid-item{
    height:232px;
  }
}
