@media screen and (max-width: 960px) {
  :root {
    --black: #000000;
    --white: #ffffff;

    --fg: var(--white);
    --bg: var(--black);
    --fg50: rgba(255, 255, 255, 0.5);
    --fg25: rgba(255, 255, 255, 0.25);

    --black50: rgba(0, 0, 0, 0.5);
    --grey50: rgba(255, 255, 255, 0.5);

    /* padding base */
    --Pg: 10px;
    --Pm: 10px;

    /* font sizes */
    --fl: 15px;
    --fm: 11px;
    --fs: 9px;
    --size: var(--fs);
  }
  /* mobile project nav  */

  /* Project-Nav Details Element */

  .mobile-project-nav summary,
  .mobile-project-nav summary:focus {
    outline: none;
    list-style-type: none;
    position: relative;
    cursor: pointer;
    opacity: 1;
  }

  .mobile-project-nav details summary::marker,
  .mobile-project-nav details summary::-webkit-details-marker {
    content: "";
    visibility: hidden;
    position: absolute;
    z-index: -10;
    list-style-type: none;
    display: none;
  }

  .mobile-project-nav summary > * {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-project-nav summary > *::after {
    content: "+";
    margin-left: var(--Pm);
  }

  @media (hover: hover) {
    .mobile-project-nav details summary:hover {
      opacity: 1;
    }
  }

  .mobile-project-nav details[open] summary {
    opacity: 1;
    padding-bottom: calc(var(--Pg) * 2);
  }

  .mobile-project-nav details[open] summary > *::after {
    content: "-";
  }

  .mobile-project-nav details[open] .project-link p {
    padding-block: calc(var(--Pg)) !important;
  }

  .mobile-project-nav details[open] {
    padding-bottom: 15px;
  }

  .mobile-project-nav details[open] summary ~ * {
    animation: appear 0.4s ease-in;
    -webkit-animation: appear 0.4s ease-in;
  }

  .mobile-project-nav details.closing summary ~ * {
    animation: close 0.4s ease-out;
  }

  @keyframes appear {
    0% {
      opacity: 0;
      max-height: 0;
    }
    100% {
      opacity: 1;
      max-height: calc(var(--vh, 1vh) * 100);
    }
  }
  @keyframes close {
    0% {
      opacity: 1;
      max-height: calc(var(--vh, 1vh) * 100);
    }
    100% {
      opacity: 0;
      max-height: 0;
    }
  }
  .media_block {
    width: 100vw;
    height: auto;
    max-height: 900px;
  }
  .media_block .aspectholder {
    width: 100%;
    height: 100%;
  }
  .media_block .aspectholder * {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Nav */

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
  }

  .hamburger svg {
    transition: all 0.3s ease-in-out;
    fill: var(--fg);
  }

  .hamburger.active svg:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }
  .hamburger.active svg:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hamburger-menu-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--fg);
    background-color: var(--bg);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: 1001;

    padding-right: calc(var(--Pg) * 2);
    padding-bottom: calc(var(--Pg) * 2);
    padding-top: 118px;
  }

  .hamburger-menu-container .dark-light-toggle {
    padding-left: calc(var(--Pg) * 2);
  }

  .hamburger-menu-container.active {
    pointer-events: all;
    opacity: 1;
  }

  .menu-wrapper {
    display: flex;
    width: 200vw;
    height: fit-content;
  }

  .menu-one,
  .menu-two {
    padding-left: calc(var(--Pg) * 2);
    padding-right: calc(var(--Pg) * 2);
    width: 100vw;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  header {
    z-index: 1001;
  }

  header .center {
    justify-items: start;
    z-index: 1002;
  }

  header .left {
    display: none;
  }

  .left.project.active {
    display: none !important;
  }

  .left.top.active {
    display: none !important;
  }

  header .right {
    display: none;
  }

  header.hamburger-active {
    color: var(--fg) !important;
  }

  footer {
    gap: 40px;
  }

  footer .center-left {
    justify-items: end;
  }

  footer .center-right {
    justify-items: start;
  }

  footer .left {
    display: none;
  }

  footer .right {
    display: none;
  }

  footer .center {
    display: none;
  }

  .featured-project-grid {
    padding-left: unset;
    padding-right: unset;
    padding: 20px;
    grid-template-columns: repeat(1, 1fr);
  }

  .featured-project-grid figure {
    object-fit: cover;
    aspect-ratio: 1.4;
  }

  .featured-project-info {
    position: static;
    opacity: 1;
    transform: unset;
    align-items: start;
    padding-top: var(--Pg);
    padding-bottom: calc(var(--Pg) * 4);
  }

  .grid-11 {
    overflow: scroll;
    padding-top: 74px;
    padding-left: calc(var(--Pg) * 2);
    padding-right: calc(var(--Pg) * 2);
    grid-template-columns: repeat(6, 1fr);
  }

  /* Contact Page */
  body[data-template="contact"] .grid-11 li:nth-child(odd) {
    grid-column: 1 / -1;
    grid-row: var(--index);
    text-align: center;
    padding-bottom: calc(var(--Pg) * 4);
  }

  body[data-template="contact"] .grid-11 li:nth-child(even) {
    grid-column: 1 / -1;
    grid-row: var(--index);
    text-align: center;
    padding-bottom: calc(var(--Pg) * 4);
  }

  body[data-template="contact"] .grid-11 li:nth-child(odd) .flex {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
  }

  body[data-template="contact"] .grid-11 li:nth-child(even) .flex {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Privacy Policy */

  body[data-template="privacypolicy"] .grid-11 {
    align-self: start;
    padding-top: 215px;
  }

  body[data-template="privacypolicy"] .grid-11 .privacy-policy-container {
    grid-column: 1 / -1;
  }

  /* video Styles  */

  .full-btn {
    display: none !important;
  }

  .full-btn-mobile {
    display: inline !important;
  }

  .video-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    bottom: 0px;
    gap: 16px;
    color: var(--white);
    transition: 0.5s opacity ease;
  }
  .video-controls.do-not-show {
    opacity: 0;
    pointer-events: none;
  }

  .video-controls button {
    grid-row: 2;
  }

  .video-controls button.full-btn-mobile {
    justify-items: end;
  }

  .video-controls button.play-btn {
    justify-content: start !important;
  }

  .progress {
    grid-column: 1/-1;
    grid-row: 1;
  }

  [data-fullscreen="true"] div.video-controls-holder {
    bottom: 0px;
    top: unset;
  }

  /* Project Info */

  body[data-template="project"] .project-info-section {
    z-index: 1001;
    position: fixed;
    top: 0;
    left: 0;
    padding-left: 0px;
    padding-right: 0px;
    backdrop-filter: blur(50px);
    background-color: var(--black50);
    opacity: 0;
    transition: 0.5s opacity ease;
    pointer-events: none;
    color: var(--white);
  }

  body[data-template="project"] .project-info {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
  }

  body[data-template="project"] .project-info-section .grid-11 {
    height: 100vh;
  }

  body[data-template="project"] .gallery-grid {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    column-gap: calc(var(--Pm) / 2);
    row-gap: calc(var(--Pm) / 2);
    padding-bottom: calc(var(--Pg) * 2);
  }

  .modal .lightbox-container {
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(3, 1fr);
    padding-left: calc(var(--Pg) * 2);
    padding-right: calc(var(--Pg) * 2);
  }

  .modal .left {
    margin-top: calc(var(--Pg) * 2);
    grid-column: 1/2;
    grid-row: 2;
    display: flex;
    justify-content: start;
    padding: 0;
    margin-left: 0;
  }

  .modal .center {
    margin-top: calc(var(--Pg) * 2);
    display: block;
    grid-column: 2/3;
    grid-row: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 0;
  }

  .center .slash {
    margin-left: 4px;
    margin-right: 4px;
  }

  .modal .right {
    margin-top: calc(var(--Pg) * 2);
    grid-column: 3/-1;
    grid-row: 2;
    display: flex;
    justify-content: end;
    padding: 0;
    margin-right: 0;
  }

  .modal .lightbox {
    grid-column: 1/-1;
    grid-row: 1;
    width: 100%;
  }

  .modal .close {
    display: none;
  }

  .modal .mobile-close {
    display: block;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .pbl {
    padding-bottom: calc(var(--Pg) * 2);
  }

  .pbl2 {
    padding-bottom: calc(var(--Pg) * 4);
  }
}
