@font-face {
  font-family: "Sen";
  src: url("/styles/fonts/sen_regular.ttf");
}

:root {
  --background: #ffffff;
  --foreground: #171717;
  /* --bs-font-sans-serif: "Sen", system-ui, -apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" */
}

*,
*:before,
*:after {
  box-sizing: border-box;
  outline: none;
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --background: #0a0a0a;
        --foreground: #ededed;
    }
} */

body {
  width: 100vw;
  overflow-x: hidden;
  margin: 0;
  color: var(--foreground);
  background: black;
  font-optical-sizing: auto;
  font-family: "Sen", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.muted {
  color: #777;
}

.work-date {
  font-size: 100%;
}

.work-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 1em;
  margin-bottom: 2em;
  gap: 0.5em;
}

.work-thumbs .thumbnail {
  object-fit: cover;
  display: inline-block;
  /* vertical-align: middle; */
}

.work-thumbs .thumbnail img {
  width: 80px;
  height: 80px;
}

.work-thumbs .thumbnail:hover {
  border-color: #777;
}

.work-image {
  margin-bottom: 0.5em;
}

#workimg {
  height: 500px;
}

.work-image img {
  max-width: 100vw;
  max-height: 600px;
}

.work-material,
.work-finish,
.work-dimension {
  font-size: 80%;
  margin-bottom: 0px;
}

.work-dimension {
  margin-bottom: 1em;
}

main {
  background-color: white;
  padding: 4em 1em;
  min-height: 30em;
}

.imgtitle {
  display: flex;
  flex-direction: row;
}

.card {
  position: relative;
  border-color: #eee;
  border-width: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 0;
  border-width: 0;
  overflow: clip;
}

.card:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12), 0 2px 5px rgba(0, 0, 0, 0.11);
}

.card img {
  width: 100%;
}
.card .cap {
  /* (B1) PLACE AT BOTTOM */
  position: absolute;
  bottom: 0;
  left: 0;

  /* (B2) DIMENSIONS + COLORS */
  width: 100%;
  padding: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.card .cap {
  visibility: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover .cap {
  visibility: visible;
  opacity: 1;
}

.workcontainer {
  display: flex;
  flex-direction: row;
}

.workcontainer div {
  flex: 1;
}

.nodot {
  list-style-type: none;
  padding-left: 0;
}

.social-icons a,
.social-icons a:hover,
.social-icons a:visited {
  color: inherit;
}

.carousel {
  width: 600px;
}

.card .img-overlay {
  /* font-size: 80%; */
  color: white;
  background-color: rgba(192, 192, 192, 0.4);
  font-weight: 100;
  font-size: 18px;
  padding: 0.8em;
  width: 100%;
  display: inline-block;
  z-index: 1;
  position: absolute;
  bottom: 0;
  width: 100;
  left: 0;
}

footer {
  padding: 1em;
  background: black;
  color: #ccc;
}

footer a,
footer a:visited {
  color: #ccc;
}

.work-list .work {
  width: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  color: black;
  margin: 0.5em 0;
}

.work-list .work .imgholder {
  margin-right: 0.5em;
}

.work-list .work img {
  height: 120px;
  width: 120px;
  object-fit: contain;
}

.work-list .work .material {
  font-size: 80%;
  color: #aaa;
}

.work-list .work h4 {
  margin-bottom: 0.2em;
  margin-top: 0;
  font-size: 120%;
}

.work-list .work .price {
  height: 100%;
}

.work .details a {
  text-decoration: none;
  color: #000;
}

.work-list .work .details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-0 {
  right: 0;
}

h3.groupby {
  margin-top: 3em;
}

.carousel {
  width: 600px;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1em;
  grid-auto-flow: dense;
}

.masonry img {
  display: block;
}

.masonry .item-wide {
  grid-column: span 3;
  grid-row: span 2;
}

.masonry img {
  width: 100%;
}

.masonry .item-tall {
  grid-column: span 2;
  grid-row: span 3;
}

.masonry .item-square {
  grid-column: span 2;
  grid-row: span 2;
}

.masonry-root {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.masonry-cell {
  flex: 1;
  overflow: clip;
}

.masonry-cell a {
  display: block;
}

.masonry-inner {
  padding: 10px;
}

.noimg {
  padding: 1em;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a:has(div.noimg) {
  text-decoration: none;
}

.checkout-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  color: rgb(48, 49, 61);
  font-size: 14.88px;
  font-weight: 400;
  line-height: 17.1167px;
  margin-bottom: 4px;
}

.checkout-input {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
    sans-serif;
  line-height: 20px;
  padding: 12px;
  color: rgb(33, 37, 41);
  font-weight: 400;
  margin-bottom: 12px;
}

.buybutton {
  margin: 0.5em;
}

.container {
  max-width: 1138px;
  margin: 0px auto;
}

.exhibitionbanner img {
  object-fit: contain;
  width: 100%;
}

.checkoutprice {
  /* font-size: 120%; */
  padding: 0.75em;
  margin: 0.5em;
}

.purchaseoptionlist {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5em;
}

.purchaseoptionlist .checkoutprice {
  border: 1px solid #eee;
  border-radius: 5px;
}

h1 {
  font-size: 140%;
}

h2 {
  font-size: 120%;
}

h3 {
  font-size: 110%;
  font-weight: bold;
  line-height: normal;
  margin-top: 1em;
  margin-bottom: auto;
}

.sitelogo {
  height: 60px;
}

.list-inline {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  gap: 0.5em;
}

ul.list-unstyled,
ol.list-unstyled {
  list-style-type: none;
  padding-left: 0;
}

.row {
  display: flex;
  flex-direction: row;
}

footer .thanks {
  display: grid;
  column-gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.btn {
  align-items: center;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(0.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  /* transition: all 250ms; */
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
  margin: 0.5em;
}

.btn:disabled {
  color: rgba(0, 0, 0, 0.25);
  cursor: auto;
}

.btn:hover:enabled {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: rgba(0, 0, 0, 0.65);
}

.btn:active:enabled {
  background-color: #f0f0f1;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color: rgba(0, 0, 0, 0.65);
}

/* Carousel  */
.carousel {
  position: relative;
}

.carousel .work-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 1em;
}

.carousel .mainimgholder {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
}

.carousel .mainimgholder button {
  background: rgba(255, 255, 255, 0.5);
  background: none;
  border: 0;
  padding: 0.2em;
  position: absolute;
  z-index: 10;
}
.carousel .mainimgholder button.act_dec {
  left: 0;
}
.carousel .mainimgholder button.act_inc {
  right: 0;
}

.carousel .mainimgholder button:hover {
  background: rgba(0, 0, 0, 0.1);
}

.carousel .mainimgholder button:active {
  /* background: rgba(0, 0, 0, 0.2); */
  color: #777;
}

.carousel .mainimg {
  overflow-x: hidden;
  width: 100%;
}

.carousel .inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: transform 0.3s;
}

.carousel .inner .item {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}
.carousel .item img {
  display: block;

  object-fit: contain;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.carousel .thumbnail {
  border: 3px solid transparent;
  border-radius: 4px;
}

.carousel .thumbnail img {
  display: block;
}

.carousel .thumbnail:hover {
  border-color: #777;
}

/* Navigation */

:root {
  --base-duration: 300ms;
  --color-1: #444;
  --nav-width: 274px;
}

.menu {
  position: fixed;
  top: 0px;
  left: 0px;
  transition: transform var(--nav-width) ease;
  cursor: pointer;
  z-index: 200;
  display: flex;
  flex-direction: row;
}

.menu div {
  margin: 10px 10px;
  width: 50px;
  height: 50px;
  display: flex;
  border-radius: 50%;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: white;
}

.menu span {
  position: relative;
  display: block;
  width: 50%;
  height: 2px;
  background-color: var(--color-1);
  float: left;
  transform-origin: center center;
  transition: transform var(--base-duration) ease;
  z-index: 200;
}

.menu span:nth-of-type(1) {
  transform: translateY(-5px);
}

.menu span:nth-of-type(3) {
  transform: translateY(5px);
}

#menu {
  display: none;
}

#menu:checked ~ div .menu {
  background-color: transparent;
  transform: rotate(360deg);
  transition: transform var(--base-duration) ease;
}

#menu:checked ~ .menu div span {
  /* background-color: black; */
  transition: transform var(--base-duration) ease;
}

#menu:checked ~ .menu div span:nth-of-type(1) {
  transform: translateY(1px) rotate(45deg);
}

#menu:checked ~ .menu div span:nth-of-type(2) {
  display: none;
}

#menu:checked ~ .menu div span:nth-of-type(3) {
  transform: translateY(-1px) rotate(-45deg);
}

#menu:checked ~ .nav {
  left: 0px;
  transition: left var(--base-duration) ease;
}

#menu:checked ~ main,
#menu:checked ~ footer {
  width: calc(100% - var(--nav-width));
  /* width: 100%; */

  transform: translateX(var(--nav-width));
  transition: all var(--base-duration) ease;
}

.nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  left: calc(-1 * var(--nav-width));
  width: var(--nav-width);
  height: 100vh;
  z-index: 10;
  margin: 0;
  color: white;
  font-size: 14px;
  background-color: var(--color-1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);

  transition: left var(--base-duration) ease;
  box-sizing: border-box;
}

.nav .spacer {
  height: 58px;
}

.nav .links {
  padding: 1em 1em 1em 1em;

  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}

.nav summary {
  text-transform: uppercase;
}

.nav summary h3 {
  display: inline-block;
  margin-bottom: 0;
}

.nav ul {
  padding: 0;
  list-style-type: none;
}

.nav ul li {
  position: relative;
  display: block;
  border-bottom: 5px solid rgba(white, 1);

  position: relative;
  display: block;
  margin: 0;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 20px;
  text-transform: none;
  font-weight: normal;
}

.nav ul li a {
  color: white;

  text-decoration: none;
}

.nav ul li a:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  transition: width var(--nav-width) ease;
  z-index: -1;
}

.nav ul li a:hover {
  color: #ccc;
}

.nav ul li a:hover:before {
  width: 100%;
  height: 100%;
  background-color: rgba(white, 1);
  transition: width var(--nav-width) ease;
}

.nozoom {
  touch-action: manipulation;
}

.statementcont {
  display: grid;
  gap: 10px;
  grid-template-columns: 4fr 8fr;
  max-width: 100%;
}

@media only screen and (max-width: 500px) {
  .work-list .work {
    align-items: start;
    flex-direction: column;
    margin-bottom: 3em;
  }

  .carousel {
    width: 100%;
  }

  .carousel-img {
    width: 100%;
  }

  div.statementcont {
    grid-template-columns: 8fr;
  }

  .statementcont .exhibitionbanner {
    width: 100%;
  }

  table.table {
    table-layout: fixed;
    width: 100%;
  }

  table.table th {
    font-size: 80%;
  }

  table.table td {
    font-size: 80%;
    overflow: hidden;
  }

  main.cart {
    padding: 4em 0;
  }

  #menu:checked ~ main,
  #menu:checked ~ footer {
    width: 100%;
  }

  .fullbleed {
    margin-left: -1em;
    margin-right: -1em;
    width: 100vw;
  }
}

@media print {
  .noprint {
    visibility: hidden;
  }

  .btn {
    background-color: transparent;
    border: 1px solid transparent;
  }

  .keep-on-page {
    page-break-inside: avoid;
  }

  #menu:checked ~ main,
  #menu:checked ~ footer {
    width: 100%;
    /* width: 100%; */

    transform: translateX(0);
    transition: all var(--base-duration) ease;
  }
}
