@import url("https://rsms.me/inter/inter.css");
@media (max-width: 720px) {
  #hide-on-mobile {
    display: none;
  }
}

@media (min-width: 720px) {
  #hide-on-desktop {
    display: none;
  }
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  line-height: 100%;
}

html {
  font-family: "Inter", sans-serif;
}

html {
  background-color: white;
}

img {
  background-color: black;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-bottom: -1px;
}

a:link, a:visited {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

button.burger {
  height: 3.5rem;
  width: 6rem;
  border: none;
  position: fixed;
  right: 2rem;
  bottom: 3rem;
  z-index: 10;
  display: flex;
  flex-direction: row;
}
button.burger div.ua-marker {
  background-color: #ffd700;
  width: 1rem;
  height: 100%;
}
button.burger div.ua-marker div {
  height: 50%;
  width: 100%;
  background-color: #0057b7;
}
button.burger div.burger-canvas {
  background-color: white;
  height: 100%;
  width: 100%;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
button.burger div.burger-canvas div {
  transition: ease all 0.3s;
  background-color: black;
  height: 0.5rem;
}
button.burger div.burger-canvas div:nth-child(1) {
  margin-left: 1rem;
}
button.burger div.burger-canvas div:nth-child(2) {
  margin: 0 0.5rem;
}
button.burger div.burger-canvas div:nth-child(3) {
  margin-right: 1rem;
}
button.burger div.burger-canvas.clicked div {
  width: 4rem;
  position: absolute;
  top: calc(50% - 0.25rem);
  margin: 0;
}
button.burger div.burger-canvas.clicked div:nth-child(1) {
  transform: rotate(45deg);
}
button.burger div.burger-canvas.clicked div:nth-child(2) {
  transform: rotate(135deg);
}
button.burger div.burger-canvas.clicked div:nth-child(3) {
  transform: rotate(-45deg);
}
button.burger:focus-visible {
  outline: 8px solid black;
}
button.burger:focus-visible div.burger-canvas {
  filter: invert(1);
}
@media (min-width: 1120px) {
  button.burger {
    display: none;
  }
}

a.buy-button {
  background-color: black;
  display: inline-block;
  width: auto !important;
  padding: 0.5rem 1rem;
  color: white !important;
  font-weight: 800;
  letter-spacing: -0.1rem;
  font-style: italic;
  font-size: 2rem;
}
a.buy-button:focus {
  transform: scale(1.05);
}

nav.nav-shared {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 100%;
  gap: 0.25rem;
  padding: 2rem;
}
nav.nav-shared a {
  font-size: 1.8rem;
  width: 100%;
}
nav.nav-shared span {
  margin-top: 1.5rem;
}
@media (min-width: 1120px) {
  nav.nav-shared {
    gap: 0;
  }
}

nav.nav-desktop {
  position: fixed;
  right: 0;
}
@media (max-width: 1120px) {
  nav.nav-desktop {
    display: none;
  }
}

nav.nav-drawer {
  z-index: 5;
  max-height: 100vh;
  top: -1px;
  overflow-y: scroll;
  position: fixed;
  background-color: white;
  right: -100%;
}
nav.nav-drawer * {
  display: none;
}
nav.nav-drawer.open {
  right: 0;
  transition: right 0.3s ease;
}
nav.nav-drawer.open * {
  display: block;
}
@media (min-width: 1120px) {
  nav.nav-drawer {
    display: none;
  }
}

main.blur {
  filter: blur(4rem);
  transition: ease all 0.3s;
  pointer-events: none;
}

div#backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
}

nav.nav-bottom {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}
@media (min-width: 720px) {
  nav.nav-bottom {
    display: none;
  }
}

p, a, figcaption {
  font-size: 1.3rem;
  line-height: 130%;
}

.logo:hover {
  text-decoration: none;
}
.logo h1 {
  font-size: clamp(3rem, 19vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.3rem;
  margin: 1rem;
}
@media (min-width: 720px) {
  .logo h1 {
    margin: 2rem;
  }
}

h2 {
  font-size: clamp(4rem, 25vw, 6.5rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.3rem;
  margin: 4rem 0;
}
@media (min-width: 720px) {
  h2 {
    margin: 4rem;
    text-align: center;
  }
}

h3 {
  font-size: 4rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.2rem;
  margin: 4rem 2rem;
}
@media (min-width: 720px) {
  h3 {
    margin: 4rem;
    text-align: center;
  }
}

a:focus {
  background-color: white;
  filter: invert(1);
  outline: 4px solid white;
  transition: all 0.1s ease;
}

a:focus.buy-button {
  background-color: black;
}

html, body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

body {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1120px) {
  body {
    align-items: center;
    margin-right: 20rem;
  }
}
@media (min-width: 1920px) {
  body {
    margin-right: 0;
  }
}

main.content-column {
  display: flex;
  flex-direction: column;
  width: calc(100vw + 2px);
}
@media (min-width: 1120px) {
  main.content-column {
    width: 68vw;
    max-width: calc(100vmin + 2rem);
  }
}

section.images {
  width: 100%;
  display: flex;
  flex-direction: column;
}
section.images img {
  width: 100%;
  aspect-ratio: 2/3;
}
section.images img.h {
  aspect-ratio: 3/2;
}
section.images img.sq {
  aspect-ratio: 1/1;
}
@media (min-width: 720px) {
  section.images {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 8rem;
  }
  section.images img {
    width: calc(50% - 1rem);
  }
  section.images img.h {
    width: 100%;
  }
  section.images img.sq {
    width: 100%;
  }
  section.images.centered {
    justify-content: center;
  }
}

section.two-col-mobile {
  flex-direction: row;
}
section.two-col-mobile img {
  width: 50%;
}
@media (min-width: 720px) {
  section.two-col-mobile img {
    width: calc(50% - 1rem);
  }
  section.two-col-mobile img.h {
    width: 100%;
  }
}

section.text-description {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 2rem;
}
@media (min-width: 720px) {
  section.text-description {
    flex-direction: row;
    padding: 0;
    margin-bottom: 8rem;
  }
}

html:has(body.inverted) {
  background-color: black;
}

body.inverted a:focus {
  filter: invert(0) !important;
  color: black;
}
body.inverted nav.open {
  background-color: black;
}
body.inverted button.burger:focus-visible {
  outline-color: white;
}
body.inverted button.burger:focus-visible div.burger-canvas {
  filter: invert(0) !important;
}

main.press {
  width: 100%;
  max-width: 1600px;
}
main.press h2 {
  margin-left: 1rem;
}
main.press section {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
}
main.press section img {
  width: 100%;
  aspect-ratio: 4/3;
}
main.press section p {
  padding: 1rem 1rem 3rem 1rem;
}
main.press section a:hover, main.press section div:hover {
  text-decoration: none;
}
main.press section a:hover img, main.press section div:hover img {
  transform: scale(1.01);
  transition: all ease-out 0.1s;
}
main.press section a:focus {
  filter: invert(0);
  background-color: black;
  color: white;
  border: 4px solid black;
}
@media (min-width: 720px) {
  main.press section {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

main.cv, main.contacts, main.shop {
  width: 100%;
  max-width: 1600px;
  margin-bottom: 8rem;
  display: flex;
  flex-direction: column;
}
main.cv section, main.contacts section, main.shop section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem;
}
main.cv section h3, main.contacts section h3, main.shop section h3 {
  text-align: left;
  margin-left: 0;
  margin-bottom: 1rem;
}
main.cv section .event-series > p, main.cv section .event-series > a, main.contacts section .event-series > p, main.contacts section .event-series > a, main.shop section .event-series > p, main.shop section .event-series > a {
  margin-left: 4rem;
}
@media (min-width: 720px) {
  main.cv section, main.contacts section, main.shop section {
    margin: 2rem;
  }
}

div.shop-books-wrapper div.book-item {
  width: 100%;
  display: inline-block;
  margin-bottom: 4rem;
}
div.shop-books-wrapper div.book-item p {
  margin-bottom: 1rem;
}
div.shop-books-wrapper div.book-item p:first-child {
  font-weight: 600;
}
div.shop-books-wrapper div.book-item a.buy-button {
  margin-top: -4rem;
}
@media (min-width: 720px) {
  div.shop-books-wrapper div.book-item {
    width: 400px;
  }
}
div.shop-books-wrapper div.book-item #lgw-gif, div.shop-books-wrapper div.book-item #backspaces-gif {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
}
div.shop-books-wrapper div.book-item #lgw-gif {
  background-image: url("../icons/lgw book static.png");
}
div.shop-books-wrapper div.book-item #lgw-gif:hover {
  background-image: url("../icons/lgw.gif");
}
div.shop-books-wrapper div.book-item #backspaces-gif {
  background-image: url("../icons/backspaces book static.png");
}

img#flag {
  width: 400px;
  margin: 2rem 0 0 4rem;
}

html:has(body.vapno) {
  background-color: #F8F8F8;
}

.vapno img {
  background-color: #E7DAC2;
}
@media (max-width: 1120px) {
  .vapno main h2 {
    margin: 1rem;
  }
  .vapno main h3 {
    font-size: 3.5rem;
  }
}
.vapno main section {
  display: flex;
}
.vapno main section.vapno-spread {
  background-color: white;
  border: 1px solid #E8E8E8;
  margin-bottom: 2rem;
  width: calc(100% - 2rem);
  margin-left: 1rem;
  flex-direction: column;
}
.vapno main section.vapno-spread div {
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
}
.vapno main section.vapno-spread div img {
  width: 100%;
  border: 1px solid #E8E8E8;
}
.vapno main section.vapno-spread div p {
  margin: 1rem 0.5rem;
  font-size: 0.8rem;
}
.vapno main section.vapno-spread div:first-child {
  padding-bottom: 0;
}
.vapno main section.vapno-spread div:last-child {
  padding-bottom: 6rem;
}
@media (min-width: 720px) {
  .vapno main section.vapno-spread {
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    aspect-ratio: 16/10;
  }
  .vapno main section.vapno-spread div:last-child {
    border-left: 1px solid #F0F0F0;
    align-items: flex-end;
    text-align: right;
  }
  .vapno main section.vapno-spread div {
    padding: 1.2rem;
    width: 50%;
  }
  .vapno main section.vapno-spread div img.vapno-v {
    width: 62%;
  }
  .vapno main section.vapno-spread div img.vapno-h {
    width: 85%;
  }
  .vapno main section.vapno-spread div p {
    font-size: 0.6rem;
  }
}
.vapno main section.vapno-frame {
  justify-content: center;
  margin-bottom: 3rem;
}
.vapno main section.text-description p {
  font-size: 1.1rem;
}
@media (min-width: 720px) {
  .vapno main section.text-description.styled-text p {
    margin-right: 3rem;
    margin-left: 3rem;
  }
}
.vapno img.vapno-h-framed {
  aspect-ratio: 1828/1419;
  box-shadow: 0px 24px 44px 0px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-width: calc(100vw - 2rem);
}
@media (min-width: 720px) {
  .vapno img.vapno-h-framed {
    max-width: calc(70% - 8rem) !important;
  }
}
@media (min-width: 720px) {
  .vapno img.vapno-h-framed {
    max-width: 900px;
  }
}
.vapno img.vapno-v-framed {
  aspect-ratio: 900/1158;
  box-shadow: 0px 24px 44px 0px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-width: calc(100vw - 2rem);
}
@media (min-width: 720px) {
  .vapno img.vapno-v-framed {
    max-width: calc(70% - 8rem) !important;
  }
}
@media (min-width: 720px) {
  .vapno img.vapno-v-framed {
    width: 42%;
    max-width: calc(100vw - 4rem);
  }
}

body.index img.index-image {
  align-self: center;
  z-index: -10;
  max-height: 100vh;
  aspect-ratio: 2/3;
  margin-top: -12rem;
  -o-object-fit: contain;
     object-fit: contain;
  background-color: white;
}
@media (max-width: 720px) {
  body.index img.index-image {
    margin-top: -8rem;
  }
}
body.index .nav-bottom {
  margin-top: -22rem;
  margin-bottom: 4rem;
}
@media (min-width: 1120px) {
  body.index main {
    overflow: hidden;
  }
}

.noparking-imagebox {
  width: calc(100vw + 2px);
  margin-bottom: 4rem;
}
@media (min-width: 1120px) {
  .noparking-imagebox {
    width: 68vw;
    max-width: calc(100vmin + 2rem);
  }
}
.noparking-imagebox img {
  margin: -0.3vw -0.3vw;
}
@media (min-width: 720px) {
  .noparking-imagebox img {
    margin: 0;
    padding: 8px;
    background-color: white;
  }
}
.noparking-imagebox .noparking-image-v {
  width: 33.8%;
  aspect-ratio: 2/3;
}
@media (min-width: 720px) {
  .noparking-imagebox .noparking-image-v {
    width: 20%;
  }
}
.noparking-imagebox .noparking-image-h {
  width: 50.4%;
  aspect-ratio: 3/2;
}
@media (min-width: 720px) {
  .noparking-imagebox .noparking-image-h {
    width: 33.33%;
  }
}

@media (max-width: 720px) {
  .noparking-h2 {
    font-size: clamp(3.5rem, 16vw, 5rem);
    letter-spacing: -0.2rem;
  }
}

unbroken {
  background-color: #DADADA;
}

html:has(.unbroken) {
  background-color: #DADADA;
}