@-webkit-keyframes pulse {
    0% {
       transform: scale(1);
    }
    70% {
        transform: scale(1);
      box-shadow: 0 0 0 50px rgba(0,0,0,.2)
    }
      100% {
        transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0,0,0,.2)
    }
  }
body {
    background-color: #F0F0F3;
}
.page-header {
    position: relative;
    color:#fff;
}
.page-header:after {
    content: '';
    height: 65%;
    width: 100%;
    background: rgb(240, 240, 243);
    background: linear-gradient(180deg, rgba(240, 240, 243, 0) 0%, rgba(240, 240, 243, 1) 77%);
    position: absolute;
    bottom: 0;
}
.video-row {
    position: relative;
    border-radius: 2.8rem;
}
.portfolio video {
    border-radius: 2.8rem;
    display: block;
    height:auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.portfolio {
    transition: all ease .3s;
}
.video-row .overlay {
    position:absolute;
    top:0;
    bottom:0;left:0;
    right:0;
    background: rgba(0,0,0,0.5);
    border-radius: 3rem;
    display: flex;
    justify-content:center;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}
.portfolios .portfolio .title{
    font-size: 1.8rem;
    font-weight: 700;
}
.portfolios .portfolio .title a {
    color: #000;
    text-decoration: none;
}
.portfolios .portfolio .title:hover a {
   text-decoration: underline;
}
.portfolios .portfolio:hover {
    transform: scale(1.02);
}
.tag-link-wrap {
    display: flex;
    align-items: center; 
    justify-content: space-between
}
.tag {
    border-radius: 3em;
    padding: .5rem;
    border: 1px solid #6C6C6C;color: #6C6C6C;
}
.portfolios .portfolio:hover .inner-link{
    transform: translate(5px, -5px);
}
.inner-link  {
    transition: all ease .3s;
}
.inner-link img {
    display: block;
}
.portfolios {
    display: flex;
    gap:4rem;
    flex-wrap: wrap;
}
.portfolios > .portfolio {
    flex:0 0 calc(50% - 2rem);
    width: calc(50% - 2rem);
}

.play-btn img {
    max-width: 7rem;
    -webkit-animation: pulse 1.5s infinite; 
    border-radius: 50%;
}
.tag-link-wrap .inner-link img {
    max-width: 3rem;
}
.portfolio-section {
    padding-top: 0;
    margin-top: -10%;
    z-index: 2;
    position: relative;
    
}
.portfolio-section .container {
    max-width: 1400px;
}
.companies {
    text-transform: initial;
}
.portfolio > .text-col {
    text-decoration: none;
    color: #000;
}
.portfolio-cats  {
    position:relative;
    display:flex;
    justify-content:center;
}
.portfolio-cats .cat {
    padding: .5rem;
    color: #000;
    text-decoration: none;
    margin-left: 1rem;
    margin-right: 1rem;
    font-weight: bold;
    transition:all ease .3s;
    border-radius: 10px;
}
.portfolio-cats .cat.active,.portfolio-cats .cat:hover {
    background:#00F2B2;
}
.not-found {
    padding:5% 0;
    text-align:center;
}
@media screen and (max-width: 991px){
.page-header:after {
    height:35%;
}
}
@media screen and (max-width: 767px){
 .page-header {
     background-position:40% 50%;
 } 
    .portfolios > .portfolio {
        flex:0 0 100%;
        width: 100%;
    }
    .portfolio-cats {
        flex-wrap: wrap;
    }
    .portfolio-cats .cat {
        width: 100%;
        text-align:center;
    }

}