main {
  position: relative; }

#mainMenu {
  background-color: var(--cream); }

.template__portfolio {
  position: relative;
  padding-bottom: 50px; }
  .template__portfolio .filters-wrap {
    grid-column: 1/6;
    position: sticky;
    top: 150px;
    left: 0;
    height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    justify-content: space-between; }
    .template__portfolio .filters-wrap .filter-by-mobile {
      display: none; }
    .template__portfolio .filters-wrap .tags-wrap {
      padding-top: 40px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px; }
      .template__portfolio .filters-wrap .tags-wrap .tag.active {
        background-color: var(--chocolate);
        color: var(--cream); }
  .template__portfolio .articles-wrap {
    grid-column: 7/19;
    display: flex;
    flex-direction: column;
    gap: 120px; }
    .template__portfolio .articles-wrap article {
      position: relative;
      opacity: 0; }
      .template__portfolio .articles-wrap article:hover img, .template__portfolio .articles-wrap article:hover video {
        transform: scale(1.07); }
      .template__portfolio .articles-wrap article .img-wrap .aspectholder {
        width: 100%;
        aspect-ratio: 16/11;
        overflow: hidden; }
        .template__portfolio .articles-wrap article .img-wrap .aspectholder img, .template__portfolio .articles-wrap article .img-wrap .aspectholder video {
          height: 100%;
          transition: all .8s ease-in-out; }
      .template__portfolio .articles-wrap article .info {
        display: flex;
        gap: 8px;
        padding-bottom: 8px;
        padding-top: 20px; }
      .template__portfolio .articles-wrap article a {
        z-index: 5; }
  .template__portfolio .mobile__filters-heading, .template__portfolio .mobile-dark-overlay {
    display: none; }

@media (max-width: 960px) {
  .template__portfolio .filters-wrap, .template__portfolio .articles-wrap {
    grid-column: 1/-1; }
  .template__portfolio .mobile-dark-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    opacity: 0;
    z-index: 50;
    transition: all 1s ease-in-out; }
    .template__portfolio .mobile-dark-overlay.show {
      opacity: 1; }
  .template__portfolio .filters-wrap {
    height: unset;
    position: static; }
    .template__portfolio .filters-wrap .filter-by-desktop {
      display: none; }
    .template__portfolio .filters-wrap .filter-by-mobile {
      display: block; }
    .template__portfolio .filters-wrap .btm-section .top {
      padding-top: 40px; }
    .template__portfolio .filters-wrap .btm-section .filter-by-mobile {
      border: 1px solid var(--chocolate);
      padding: 8px; }
    .template__portfolio .filters-wrap .btm-section .tags-wrap {
      background-color: var(--cream);
      position: fixed;
      bottom: 0;
      gap: 0;
      transform: translateY(100%);
      left: 0;
      z-index: 99;
      padding-top: 0;
      padding-bottom: 0px;
      width: 100vw;
      flex-direction: column; }
      .template__portfolio .filters-wrap .btm-section .tags-wrap .tag {
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 16px 20px; }
      .template__portfolio .filters-wrap .btm-section .tags-wrap .mobile__filters-heading {
        font-family: "DM Sans";
        padding: 16px 20px;
        display: block;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        letter-spacing: 1.2px;
        text-transform: uppercase; }
  .template__portfolio .articles-wrap {
    gap: 40px;
    position: relative;
    z-index: 1; } }
