/* portfolio section  */


section.portfolio-sec .window {
    width: 100%;
    margin: auto;
    border: 5px solid #000;
    border-radius: 20px;
    /* box-shadow: 0px 20px 46px 2px #bcc6ff; */
    cursor: n-resize;

  
    img {
      width: 100%;
      object-fit: cover;
      object-position: top;
      height: 450px;
      border-radius: 20px;
      transition: 8s all ease;
  
      &:hover {
        object-position: bottom;
      }
    }
  }
  section.portfolio-sec{
    background: #000;
    text-align: center;
}  
section.portfolio-sec svg{
    width: 130px;
    fill: #fff;
    margin-bottom: 50px;
}
  section.portfolio-sec .credit {
    font-weight: 300;
    text-align: center;
    margin-top: 6rem;
    color: #b6bee8;
    font-size: 14px;
  
    &:hover {
      span {
        color: #e91e63;
      }
  
      a {
        color: #e91e63;
        border-color: #e91e63;
      }
    }
  
    section.portfolio-sec span {
      color: #b6bee8;
      transition: ease all 200ms;
    }
  
    section.portfolio-sec a {
      color: #b6bee8;
      transition: ease-in all 700ms;
      -webkit-text-decoration: none;
      text-decoration: none;
      border-bottom: 2px solid #b6bee8;
  
      &:hover {
        color: #fff;
        box-shadow: inset 0 -5.5rem 0 #e91e63;
        border-bottom: 2px solid #e91e63;
      }
    }
  }

  section.portfolio-sec .col-12.row{
    background: #3C4464;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  section.portfolio-sec .col-12.row:nth-child(odd){
    flex-direction: row-reverse;
  }
  section.portfolio-sec .cont{
    text-align: left;
  }
  section.portfolio-sec .cont p{
    width: 75%;
  }
  section.portfolio-sec .cont a{
    background: var(--btn-color);
    padding: 10px;
    border: 1px solid var(--btn-color);
    transition: .5s ease-in-out;
    color: var(--white-color);
  }
  section.portfolio-sec .cont a:hover{
    background: transparent;
    border: 1px solid var(--btn-color);
  }
  section.portfolio-sec .cont hr{
    background: #ffffffa2;
  }
  section.portfolio-sec .cont ul{
    display: flex;
    gap: 20px;
    margin-top: 50px;
  }
  section.portfolio-sec .cont h6{
    margin-bottom: 0;
  }
  section.portfolio-sec .cont .client{
    color: #d9712d;
    font-size: 22px;
    font-weight: 700;
    font-family: var(--secondary-font);
  }
  section.portfolio-sec .col-12.row:hover .p-img{
    object-position: bottom;
  }

  @media (max-width: 980px){
    section.portfolio-sec .col-4{
      width: 100%;
    }
    section.portfolio-sec .col-8{
      width: 100%;
    }
  }


@media (max-width: 540px){
  section.portfolio-sec .col-4{
    width: 100%;
  }
  section.portfolio-sec .col-8{
    width: 100%;
  }
  section.portfolio-sec .window img{
    height: 350px;
  }
  section.portfolio-sec .cont p{
    width: 100%;
  }
  section.portfolio-sec .cont h2{
    font-size: 25px;
    margin-top: 20px;
  }
  section.portfolio-sec .cont .client{
    font-size: 17px;
  }
  section.portfolio-sec .cont h6{
    font-size: 14px;
  }
}
  
