.hamb {
  --ham-width: 22px;
  cursor: pointer;
  position: relative;
  width: var(--ham-width);
  height: 22px;
  /* margin: 5px; */
}

.hamb-line:after, .hamb-line:before {
  display: block;
  content: "";
}

.hamb-line {
  top: 2px;
}

.hamb-line:before {
  top: 8px;
}

.hamb-line:after {
  top: 16px;
}

.hamb-line, .hamb-line:after, .hamb-line:before {
  position: absolute;
  width: var(--ham-width);
  height: 1.5px;
  transition-timing-function: ease;
  transition-duration: .2s;
  transition-property: transform;
  background-color: black;
}

.hamb.show .hamb-line {
  transform: translate3d(0, 8px, 0) rotate(45deg);
}

.hamb.show .hamb-line:before {
  display: none;
}

.hamb.show .hamb-line:after {
  transform: translate3d(0, -16px, 0) rotate(-90deg);
}


/* MOBILE */
@media screen and (max-width: 768px) {  
  .header {
    position: fixed;
    width: calc(100% - 1rem);
    background: var(--bg-color);
    box-shadow: 0px 0px 9px 9px var(--bg-color);
    padding: 0.5rem 0.5rem 0.25rem;
    margin-left: -0.5rem;
  }

  main {
    padding-top: 50px;
  }

  .title {
    flex-grow: 1;
  }
  
  nav {
    width: min-content;
  }

  .hamb {
    display: inline-block;
  }

  .m-nav {
    display: none;
  }

  .m-nav.show {
    display: flex;
    flex-flow: column;
    position: absolute;
    right: 0;
    width: min-content;
    align-items: flex-end;
    z-index: 99;  
    margin-top: 0.25rem;

  }  

  nav li:not(:last-of-type) {
    padding-right: 0;
  }

  .m-nav li {
    text-align: end;
    width: min-content;
    line-height: 1;
  }

  .m-nav li ul li {
    padding-left: 0.5rem;
  }

  .m-nav li ul {
    background-color: var(--bg-color);
    box-shadow: 0 0 5px 5px var(--bg-color);
    border-radius: 31px;
    padding: 8px 15px;
    height: 34px;
    line-height: 1;
  }

  .home main, .info main {
    flex-flow: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: calc(100vh - 25px);
    height: calc(100svh - 25px);
    height: calc(100dvh - 25px);
    grid-gap: 10px;
  }

  .subnav .tags li {
    padding-left: 0.75rem;
  }

  .subnav {
    overflow: auto;

    scrollbar-width: none; 
    -ms-overflow-style: none;
  }

  .subnav::--webkit-scrollbar { display: none; } 

  section.works {
    grid-template-columns: repeat(3, 1fr);
  }

  .work section > div {
    max-width: 50%;
  }

  .work section > div:nth-of-type(2n) {
    padding-right: 0;
  }

  .work main {
    display: flex;
    flex-flow: column;
    min-height: calc(100vh - 25px);
    min-height: calc(100svh - 25px);
    min-height: calc(100dvh - 25px);
  }

  .work .gallery {
    flex-grow: 1;
  }

  .row a.img {
    max-width: 300px;
    min-width: 300px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .row .date {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .row {
    flex-flow: column;
  }

  .work .heading .row, .exhibition .heading .row {
    align-items: flex-start;
  }

  .work h1 {
    margin-bottom: 0.5rem;
  }

  .exhibition section {
    grid-template-columns: repeat(2, 1fr);
  }

  .work section, .exhibition section, .work .heading, .exhibition .heading {
    padding-top: 0;
  }

  .blog article {
    width: 50%;
  }

  .blog article:nth-of-type(2n) {
    padding-right: 0;
  }

  .entry section:not(.wide) article {
    width: 100%;
  }

  .tattoos main {
    flex-flow: column;
  }

  .tattoos section {
    width: auto;
  }

  .tattoos section:first-of-type {
    padding-bottom: 1.5rem;
    border-bottom: var(--thin-border);
    margin-bottom: 1.5rem;
  }

}

/* S MOBILE */

@media screen and (max-width: 528px) {  
  section.works {
    grid-template-columns: repeat(2, 1fr);
  }

  section.tattoos img {
    height: 33.33vw;
  }
}

/* DESKTOP */
@media screen and (min-width: 769px) {  
  .header {
    padding-bottom: 1rem;
  }

  .hamb {
    display: none;
  }

  .m-nav {
    display: flex;
  }

  .info .content {
    margin-bottom: 0.75rem;
  }

  .work section > div:nth-of-type(3n) {
    padding-right: 0;
  }

  .blog article:nth-of-type(5n) {
    padding-right: 0;
  }

  .tattoos section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .tattoos section:first-of-type {
    padding-left: 0;
    border-right: var(--thin-border);
  }



}

/* TABLET */

/* 4K */