


:root {
    --main-color: #246BFD;
    --main-color2: #EE0020;
    --heading-color: #101A29;
    --paragraph-color: #353535;
    --body-font: "Plus Jakarta Sans", sans-serif;
    --heading-font: "Plus Jakarta Sans", sans-serif;
    --body-font-size: 16px;
    --line-height30: 1.7;
    --main-color-shade-1: #f1f4fc;
    --main-color-shade-2: #dae2f3;
  }













/* SECTION */
.portfolio-section {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(18, 300px);
    gap: 1em;
  }

.background-image{
  /* background-image: url(../img/bg/15.png); */
  background-repeat: no-repeat;
  object-fit: cover;
  /* background-image: linear-gradient(#F8F9FC, #D9E5FF); */
}

  .portfolio-section figure {
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
  .portfolio-section figure img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;


    /* border: 1px solid rgb(245, 242, 242); */
    /* background-color: rgb(245, 245, 245); */
    /* aspect-ratio: 1/1; */
  }
  
  .portfolio-section p{
    font-size: 14px;
  }
  
  .portfolio-section figure{
    background-color: rgb(245, 245, 245);
    border-radius: 4px;
  }
  .portfolio-section figure:hover{
    transform: scale(1.02);
    transition: all .3s ease-in-out;
  }
  .rotate-img{
    transform: rotate(30deg);
  }
  .portfolio-section .content {
    border-radius: 4px;
    padding: 1.5em;
    /* display: grid; */
    /* place-items: center; */
    background-color: var(--off-white);
    transition: background-color 0.3s;
  }
  .portfolio-section .content h2,
  .portfolio-section .content p {
    user-select: none;
  }
  .portfolio-section .content h2 {
    /* font-weight: normal; */
    font-size: 1.5rem;
    color: var(--main-color);
    text-transform: uppercase;
  }
  /* .portfolio-section .content svg {
    width: 24px;
    height: 12px;
    fill: none;
    stroke: var(--red);
    stroke-width: 2;
    translate: 0;
    transition: translate 0.3s;
  }
  .portfolio-section .content > *:not(svg) {
    scale: 1.05;
    transition: scale 0.3s;
  } */
  
  .portfolio-section .content:hover {
    background-color: var(--main-color-shade-1);
  }
  /* .portfolio-section  .content:hover > *:not(svg) {
    scale: 0.9;
  } */
  
  .portfolio-section .link__svg {
    fill: #000;
    stroke: #000;
  }
  















  .portfolio-section figure:nth-of-type(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    
  }
  .portfolio-section figure:nth-of-type(2) {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
  }
  .portfolio-section figure:nth-of-type(3) {
    border: 1px solid rgb(246, 246, 246);
    grid-column: 3;
    grid-row:  2;
  }
  .portfolio-section figure:nth-of-type(4) {
    grid-column: 2;
    grid-row:  3;
    border: 1px solid rgb(246, 246, 246);
    
  }

  .portfolio-section figure:nth-of-type(4)  img{
  object-fit: cover;
    
  }
  .portfolio-section figure:nth-of-type(5) {
    grid-column: 3/ span 2;
    grid-row:  3;
  }

  .portfolio-section figure:nth-of-type(5) img{
    object-fit: cover;
  }
  .portfolio-section figure:nth-of-type(6) {
    grid-column: 3;
    grid-row:  4;
    border: 1px solid rgb(246, 246, 246);
    
  }

  .portfolio-section figure:nth-of-type(6) img{
    object-fit: cover;
  }
  .portfolio-section figure:nth-of-type(7) {
    grid-column: 1;
    grid-row: 5 ;
    display: none;
  }
  .portfolio-section figure:nth-of-type(8) {
    grid-column: 3/ span 2;
    grid-row: 5 / span 2;
  }
  .portfolio-section figure:nth-of-type(9) {
    grid-column: 1;
    grid-row: 5;
    display: none;
  }
  .portfolio-section figure:nth-of-type(10) {
    grid-column: 1/ span 2;
    grid-row: 7;
  }
  .portfolio-section figure:nth-of-type(10) {
    grid-column: 1 / span 2;
    grid-row: 7;
  }
  .portfolio-section figure:nth-of-type(11) {
    grid-column: 2 / span 2;
    grid-row: 8;
  }

  
  .portfolio-section figure:nth-of-type(12) {
    grid-column: 1 / span 2;
    grid-row: 9/ span 2;
  }
  .portfolio-section figure:nth-of-type(13) {
    grid-column: 3;
    grid-row: 10;
  }

  
  .portfolio-section figure:nth-of-type(14) {
    grid-column: 2/span 2;
    grid-row: 11/ span 2;
  }

  
  .portfolio-section figure:nth-of-type(15) {
    grid-column: 3/span 2;
    grid-row: 13/ span 2;
  }

  
  
  .portfolio-section figure:nth-of-type(16) {
    grid-column: 1;
    grid-row: 15;
    border: 1px solid rgb(246, 246, 246);
  }

  
  .portfolio-section figure:nth-of-type(17) {
    grid-column: 4;
    grid-row: 15;
    border: 1px solid rgb(246, 246, 246);
  }
  .portfolio-section figure:nth-of-type(18) {
    grid-column:3/ span 2;
    grid-row: 17;
  }


  













  .portfolio-section .content:nth-of-type(1) {
    grid-column: 3 / 4;
    grid-row: 1 ;
  }
  .portfolio-section .content:nth-of-type(1) svg {
    justify-self: start;
  }
  .portfolio-section .content:nth-of-type(1):hover > svg {
    translate: -5px 0px 0px;
  }
  
  .portfolio-section .content:nth-of-type(2) {
    grid-column: 4;
    grid-row: 2;
  }

  .portfolio-section .content:nth-of-type(2) svg {
    justify-self: end;
  }
  .portfolio-section .content:nth-of-type(2):hover > svg {
    translate: 5px 0px 0px;
  }
  
  .portfolio-section .content:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3/ span 2;
  }
  .portfolio-section .content:nth-of-type(3) svg {
    justify-self: start;
  }
  .portfolio-section .content:nth-of-type(3):hover > svg {
    translate: -5px 0px 0px;
  }
  
  .portfolio-section .content:nth-of-type(4) {
    grid-column: 2 ;
    grid-row: 4;
  }
  .portfolio-section .content:nth-of-type(4):hover > svg {
    translate: -5px 0px 0px;
  }
  .portfolio-section .content:nth-of-type(4) svg {
    justify-self: start;
  }
  
  .portfolio-section .content:nth-of-type(5) {
    grid-column: 4;
    grid-row: 4;
  }
  .portfolio-section .content:nth-of-type(5) svg {
    justify-self: end;
  }
  .portfolio-section .content:nth-of-type(5):hover > svg {
    translate: 5px 0px 0px;
  }
  

  .portfolio-section .content:nth-of-type(6) {
    grid-column: 1 /span 2;
    grid-row: 6 ;
  }
  .portfolio-section .content:nth-of-type(6) svg {
    justify-self: end;
  }
  .portfolio-section .content:nth-of-type(6):hover > svg {
    translate: 5px 0px 0px;
  }
  
 

  .portfolio-section .content:nth-of-type(7) {
    grid-column: 2;
    grid-row: 4 ;
  }

  .portfolio-section .content:nth-of-type(8) {
    grid-column: 1;
    grid-row: 5 ;
  }

  .portfolio-section .content:nth-of-type(9) {
    grid-column: 2;
    grid-row: 5 ;
  }

  .portfolio-section .content:nth-of-type(10) {
    grid-column: 1;
    grid-row: 8;
  }
  .portfolio-section .content:nth-of-type(11) {
    grid-column: 3/ span 2;
    grid-row: 7;
  }
  .portfolio-section .content:nth-of-type(12) {
    grid-column: 1;
    grid-row: 19;
    display: none;
  }
  .portfolio-section .content:nth-of-type(13) {
    grid-column: 4;
    grid-row: 8;
  }
  
  .portfolio-section .content:nth-of-type(14) {
    grid-column: 3;
    grid-row: 9;
  }
  
  .portfolio-section .content:nth-of-type(15) {
    grid-column: 4;
    grid-row: 9;
  }
  
  .portfolio-section .content:nth-of-type(16) {
    grid-column: 4;
    grid-row: 10;
  }
  
  .portfolio-section .content:nth-of-type(17) {
    grid-column: 1;
    grid-row: 11/ span 1;
  }
  
  .portfolio-section .content:nth-of-type(18) {
    grid-column: 4;
    grid-row: 11;
  }
  
  .portfolio-section .content:nth-of-type(19) {
    grid-column: 4;
    grid-row: 12;
  }
  
  .portfolio-section .content:nth-of-type(20) {
    grid-column: 1/ span 2;
    grid-row: 13;
  }
  
  .portfolio-section .content:nth-of-type(21) {
    grid-column: 1;
    grid-row: 14;
  }
  
  .portfolio-section .content:nth-of-type(22) {
    grid-column: 2;
    grid-row: 14;
  }
  
  .portfolio-section .content:nth-of-type(23) {
    grid-column: 2 / span 1;
    grid-row: 15;
  }
  
  .portfolio-section .content:nth-of-type(24) {
    grid-column: 1;
    grid-row: 16;
  }
  .portfolio-section .content:nth-of-type(25) {
    grid-column: 2;
    grid-row: 16;
  }
  .portfolio-section .content:nth-of-type(26) {
    grid-column: 3;
    grid-row: 16;
  }
  .portfolio-section .content:nth-of-type(27) {
    grid-column: 4;
    grid-row: 16;
  }
  
  .portfolio-section .content:nth-of-type(28) {
    grid-column: 2;
    grid-row: 17/ span 1;
  }
  .portfolio-section .content:nth-of-type(29) {
    grid-column: 3;
    grid-row: 18;
  }
  .portfolio-section .content:nth-of-type(30) {
    grid-column: 4;
    grid-row: 18;
  }
  .portfolio-section .content:nth-of-type(31) {
    grid-column: 1;
    grid-row: 17;
  }
  .portfolio-section .content:nth-of-type(32) {
    grid-column: 1;
    grid-row: 18;
  }
  

  .module-Feature{
    color: #000 !important;
    text-transform: none !important;
    font-size: 18px !important;
  }
  
  .portfolio-section .owner {
    background-color: #fff;
    grid-column: 4 / 5;
    grid-row: 7 / 8;
  }
  .portfolio-section .owner img {
    width: 100px;
    border-radius: 50%;
  }
  .portfolio-section .owner p:first-of-type {
    margin-top: 0.3rem;
    font-size: 1.2rem;
    line-height: 1.2rem;
    color: var(--red);
  }
  .portfolio-section .owner p:last-of-type {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: bold;
  }
  .portfolio-section .owner ul {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
  }
  .portfolio-section .owner svg {
    width: 20px;
    height: 20px;
    stroke: var(--black);
    fill: none;
  }
  
  @media (max-width: 800px) {
    .portfolio-section {
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: repeat(9, 1fr);
      /* padding: 1em; */
    }
  
    .portfolio-section figure:nth-of-type(1) {
      grid-column: 1 / 2;
      grid-row: 1 / 2;
    }
    .portfolio-section figure:nth-of-type(2) {
      grid-column: 1 / 2;
      grid-row: 2 / 3;
    }
    .portfolio-section figure:nth-of-type(3) {
      grid-column: 2 / 3;
      grid-row: 2 / 3;
    }
    .portfolio-section figure:nth-of-type(4) {
      grid-column: 2 / 3;
      grid-row: 3 / 4;
    }
    .portfolio-section figure:nth-of-type(5) {
      grid-column: 1 / 2;
      grid-row: 4 / 5;
    }
    .portfolio-section figure:nth-of-type(6) {
      grid-column: 1 / 2;
      grid-row: 5 / 6;
    }
    .portfolio-section figure:nth-of-type(7) {
      grid-column: 1 / 2;
      grid-row: 6 / 7;
    }
    .portfolio-section figure:nth-of-type(8) {
      grid-column: 2 / 3;
      grid-row: 7 / 8;
    }
    .portfolio-section figure:nth-of-type(9) {
      grid-column: 2 / 3;
      grid-row: 8 / 9;
    }
  
    .portfolio-section .content:nth-of-type(1) {
      grid-column: 2 / 3;
      grid-row: 1 / 2;
    }
    .portfolio-section .content:nth-of-type(2) {
      grid-column: 1 / 2;
      grid-row: 3 / 4;
    }
    .portfolio-section .content:nth-of-type(3) {
      grid-column: 2 / 3;
      grid-row: 5 / 6;
    }
    .portfolio-section .content:nth-of-type(4) {
      grid-column: 2 / 3;
      grid-row: 6 / 7;
    }
    .portfolio-section .content:nth-of-type(5) {
      grid-column: 1 / 2;
      grid-row: 7 / 8;
    }
    .portfolio-section .content:nth-of-type(6) {
      grid-column: 1 / 2;
      grid-row: 8 / 9;
    }
    .portfolio-section .owner {
      grid-column: 1 / 3;
      grid-row: 9 / 10;
    }
  }
  
  

  
  @media only screen and (max-width: 991px) {
  
  
  
  
    .portfolio-section {
      display: block;
    }
  
    .scroll-progress {
      top: 64px;
    }
    .portfolio-section .content {
      display: block;
      margin: 0.5em 0;
    }
    .portfolio-section .content svg {
      display: none;
    }
    .portfolio-section .content h2 {
      margin-bottom: 10px;
      font-size: 18px;
    }
  
    .portfolio-section .figure {
      display: block;
      margin: 0.5em 0;
    }
    .portfolio-section .owner {
      display: grid;
      place-items: center;
      height: 260px;
    }
    .portfolio-section .owner ul {
      margin-top: 1em;
    }
    .portfolio-section .owner svg {
      display: block;
    }
  
  
    
  }  


  
.portfolio-section .content {
    padding: 1.5em;
    /* display: grid */
  ;
    /* place-items: center; */
    background-color: var(--main-color-shade-1);
    transition: background-color 0.3s;
  }
  
  .portfolio-section .content:hover {
    background-color:var(--main-color-shade-2)
  }
  


  .single-blog-inner .portfolio-details {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--main-color);
    border-radius: 0 30px 0 0;
    overflow: hidden;
  }
  
  .single-blog-inner .portfolio-details h5 {
    padding: 10px 30px;
    background: var(--heading-color);
    color: #fff;
  }
  
  .single-blog-inner .portfolio-details p {
    margin-bottom: 4px;
    color: #fff;
    border-bottom: 1px dashed #fff;
    padding: 5px 30px 7px 30px;
  }
  
  .single-blog-inner .portfolio-details p:last-child {
    border-bottom: 0;
  }
  
  .single-blog-inner .portfolio-details strong {
    min-width: 95px;
    display: inline-block;
    color: #fff;
  }

  
.portfolio-section .content {
    padding: 1.5em;
    /* display: grid */
  ;
    /* place-items: center; */
    background-color: var(--main-color-shade-1);
    transition: background-color 0.3s;
  }
  .portfolio-section p {
    line-height: 22px;
}