  
  /* input {
    display: none;
    opacity: 0;
    height: 0;
    width: 0;
    visibility: hidden;
    pointer-events: none;
  }
   */
  .page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
  }
  
  .content {
    position: relative;
    width: 100%;
  }
  
  .page {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    top: 20px;
    left: 0px;
    gap: 20px;
    width: 100%;
  }
  
  .page .item {
    height: auto;
    width: 20%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    position: relative;
  }

  .page .item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  
  
  .page .item.item:nth-child(3n) {
    margin-right: 0;
  }
  
  .navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgb(231, 231, 231);
    height: 60px;
    padding: 10px 60px;
    width: 100%;
    max-width: 991px;
    box-shadow: 0 0 3px -7px black inset;
    user-select: none;
  }
  
  .navigation-wrapper {
    display: flex;
  }
  
  .navigation-wrapper .nav-item div {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3f3f3;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.322), 0 0 2px #000000, 0 0 2px #000000, 0 0 1px #000000, 0 0 1px #000000, 0 0 1px #000000, 0 0 1px #000000;
    height: 36px;
    width: 36px;
    background-color: #626fbf;
    border-radius: 50%;
    margin: 0 6px;
    font-weight: 600;
    transition: background-color 0.21s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
  .navigation:before {
    content: '';
    position: absolute;
    background-color: rgb(231, 231, 231);
    border-radius: 50%;
    height: 80px;
    width: 78px;
    left: 0;
    top: -10px;
    right: 0;
    margin: 0 auto;
  }
  
  .navigation .nav-item {
    position: relative;
    cursor: pointer;
    z-index: 1;
  }
  
  .navigation .nav-item div {
    transition: background-color 0.135s ease-out;
  }
  
  .navigation .nav-item:hover div,
  .navigation .arrow:hover {
    background-color: rgb(127, 127, 219);
  }
  
  .navigation .arrow {
    background-color: #626fbf;
    color: #ffffff;
    position: absolute;
    height: 60px;
    width: 60px;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.21s cubic-bezier(0.23, 1, 0.320, 1);
    z-index: 1;
  }
  
  .navigation .arrow span {
    transform: scale(1, 1.82);
    font-weight: 600;
    font-size: 17px;
    text-shadow: 0 0 1px #000000;
  }
  
  .navigation .arrow label {
    height: 100%;
    width: 100%;
    position: absolute;
    cursor: pointer;
    left: 0;
  }
  
  .navigation .arrow-left {
    left: 0;
  }
  
  .navigation .arrow-right {
    right: 0;
  }
  
  #page1-input:checked ~ .page-wrapper .nav-page1 div,
  #page2-input:checked ~ .page-wrapper .nav-page2 div,
  #page3-input:checked ~ .page-wrapper .nav-page3 div,
  #page4-input:checked ~ .page-wrapper .nav-page4 div,
  #page5-input:checked ~ .page-wrapper .nav-page5 div {
    background-color: #38448d;
    transform: scale(1.06);
  }
  
  .blocker {
    position: absolute;
    background: red;
    opacity: 0.5;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
  
  .page .item:nth-child(1) {
    animation: hidePageItem1 0.86s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem1 {
    0% {
      transform: none
    } 48% {
      background-color: white;
    } 100% {
      transform: skew(8deg, 10deg) rotate(-40deg) translate(-80%, 150%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  .page .item:nth-child(2) {
    animation: hidePageItem2 0.86s 0.09s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem2 {
    0% {
      transform: none
    } 48% {
      background-color: white;
    } 100% {
      transform:  translate(0, 150%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  .page .item:nth-child(3) {
    animation: hidePageItem3 0.86s 0.18s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem3 {
    0% {
      transform: none;
    } 48% {
      background-color: white;
    } 100% {
      transform: skew(-8deg, -10deg) rotate(40deg) translate(80%, 150%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  .page .item:nth-child(4) {
    animation: hidePageItem4 0.86s 0.27s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem4 {
    0% {
      transform: none;
    } 48% {
      background-color: white;
    } 100% {
      transform: skew(8deg, 10deg) rotate(-40deg) translate(0, 75%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  .page .item:nth-child(5) {
    animation: hidePageItem5 0.86s 0.36s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem5 {
    0% {
      transform: none;
    } 48% {
      background-color: white;
    } 100% {
      transform:  translate(0, 75%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  .page .item:nth-child(6) {
    animation: hidePageItem6 0.86s 0.45s forwards;
    opacity: 1;
  }
  
  @keyframes hidePageItem6 {
    0% {
      transform: none;
    } 48% {
      background-color: white;
    } 100% {
      transform: skew(-8deg, -10deg) rotate(40deg) translate(0, 75%) scale(0.12);
      background-color: white;
      opacity: 0;
    }
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item,
  #page2-input:checked ~ .page-wrapper .page2 .item,
  #page3-input:checked ~ .page-wrapper .page3 .item,
  #page4-input:checked ~ .page-wrapper .page4 .item,
  #page5-input:checked ~ .page-wrapper .page5 .item {
    opacity: 0;
    pointer-events: initial;
    z-index: 0;
    animation: showPageItem 0.38s forwards
  }
  
  @keyframes showPageItem {
    0% {
      opacity: 0;
      transform: translate(0, 20px);
    } 88% {
      opacity: 1;
    } 100% {
      opacity: 1;
      transform: translate(0, 0);
      z-index: 999999;
    }
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(1),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(1),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(1),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(1),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(1) {
    animation-delay: 0.45s;
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(2),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(2),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(2),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(2),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(2) {
    animation-delay: 0.52s;
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(3),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(3),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(3),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(3),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(3) {
    animation-delay: 0.59s;
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(4),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(4),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(4),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(4),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(4) {
    animation-delay: 0.66s;
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(5),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(5),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(5),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(5),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(5) {
    animation-delay: 0.73s;
  }
  
  #page1-input:checked ~ .page-wrapper .page1 .item:nth-child(6),
  #page2-input:checked ~ .page-wrapper .page2 .item:nth-child(6),
  #page3-input:checked ~ .page-wrapper .page3 .item:nth-child(6),
  #page4-input:checked ~ .page-wrapper .page4 .item:nth-child(6),
  #page5-input:checked ~ .page-wrapper .page5 .item:nth-child(6) {
    animation-delay: 0.8s;
  }
  
  .page-wrapper .navigation .arrow label {
    display: none;
  }
  
  #page1-input:checked ~ .page-wrapper .navigation .arrow-right label[for="page2-input"] {
    display: block;
  }
  
  #page2-input:checked ~ .page-wrapper .navigation .arrow-left label[for="page1-input"],
  #page2-input:checked ~ .page-wrapper .navigation .arrow-right label[for="page3-input"] {
    display: block;
  }
  
  #page3-input:checked ~ .page-wrapper .navigation .arrow-left label[for="page2-input"],
  #page3-input:checked ~ .page-wrapper .navigation .arrow-right label[for="page4-input"] {
    display: block;
  }
  
  #page4-input:checked ~ .page-wrapper .navigation .arrow-left label[for="page3-input"],
  #page4-input:checked ~ .page-wrapper .navigation .arrow-right label[for="page5-input"] {
    display: block;
  }
  
  #page5-input:checked ~ .page-wrapper .navigation .arrow-left label[for="page4-input"] {
    display: block;
  }
  
  @media (max-width: 480px) {
    .navigation .arrow {
      display: none;
    }
  }
  
.grid{
    display: flex;
    height: 700px!important;
    overflow: auto;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 100%;
}

.grid-item {
    width: 225px !important;
    margin: 5px !important;
    overflow: hidden;
    height: 220px !important;
}

@media(min-width: 768px) {
  .grid{
      display: flex;
      height: 690px!important;
      overflow: auto;
      flex-direction: column;
      flex-wrap: wrap;
      max-width: 100%;
  }

  .grid-item {
    /* width: calc(33.333% - 20px) !important; */
    /* height: calc(50% - 20px) !important;  */
    width: 407px !important;
    height: 286px !important;
    margin: 10px !important;
    margin-left: 0 !important;
    overflow: hidden;
  }

  .projects_filter .button-group {
    margin-top: -55px;
  }
}

@media(min-width: 2000px) {
  .grid{
    padding-top: 100px;
      height: 80vh!important;
  }

  .grid-item {
    width: 645px !important;
    height: 430px !important;
  }

  .grid-nav {
    margin-top: 0 !important;
  }

  .projects_container {
    padding-left: 182px;
  }

}

.filters_dropdowns{
     display: none;   
}

/* .grid {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.grid::-webkit-scrollbar {
  display: none;
} */