@font-face {
  font-family: "diatype";
  src: url("../fonts/diatypepre-medium.woff") format('woff');
}

body {
  font-size: 12.3px;
  margin: 36px 42px;
  padding-bottom: 104px;
  font-family: diatype, sans-serif;
  font-kerning: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
  scroll-behavior: smooth;
  line-height: 1.5;
  color: black;
}

strong {
  font-size: 11.6px !important;
  letter-spacing: 0.01em !important;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  color: #f20d0d;
}

.nav-gap {
  height: 1.56em;
}


.hanger,
.hanger2 {
  margin: 0px;
  padding: 0px 0px;
  z-index: 2;
}

.hanger2 a.current,
.hanger2 a:hover {
  color: #f20d0d;
}




.drawer {
  max-width: 46vw;
  position: absolute;
  top: 73px;
  left: 0;
  right: 0;
  margin: auto;
}

.box {
  margin-bottom: 156px;
}

.room {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 46vw;
  object-fit: cover;
  z-index: 2;
}

.room img {
  width: 100%;   
  height: auto;   
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.text-content {
  padding-bottom: 24px;
}


.work-block {
  margin-bottom: 105px;
}

.press {
  position: absolute;
  top: 73px;
  right: 42px;
  max-width: 21vw;
  font-size: inherit;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.cross {
  position: fixed;
  top: 33px;
  right: 42px;
  font-size: 1.33em;
  margin: 0;
  padding: 0;
  z-index: 1000;
}

img {
  max-width: 100%;
  margin: auto;
  display: block;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: #f20d0d;
}

.drawer a {
  text-decoration: underline;
  text-decoration-color: black;
  color: black;
}

.drawer.info a {
  font-style: italic;
  color: black;
  text-decoration: underline;
  text-decoration-color: black;
}

.drawer.info a:hover {
  color: #f20d0d;
  text-decoration-color: black;
}




.drawer.contact a {
  text-decoration: none;
}

.text-content a:hover {
  color: #f20d0d;
}

p {
  margin: 0px;
  padding: 0px;
}

.mark {
  color: #f20d0d;
}

.image-container img {
  display: none;
}

.image-container img.active {
  display: block;
}

.image-caption {
  margin: 12px 0px 36px;
}


@media screen and (max-width: 980px) {

  body {
    margin: 24px;
  }

  .cross {
    top: 22px;
    right: 24px;
    font-size: 1.2em;
  }


  .hanger2 .nav {
    display: none;
  }

    body.home .hanger2 .nav {
    display: block !important;
  }


  .drawer {
    position: relative;
    /* normal flow */
    top: 80px;
    left: auto;
    right: auto;
    margin: 0 30px 0 30px;
    /* keep some spacing */
    max-width: 96vw;
  }

  .room {
    display: none;
  }

  .press {
    position: relative;
    /* normal flow */
    top: auto;
    right: auto;
    max-width: 96vw;
    /* full width */
    margin: 52px 0 0 0;
    /* spacing from works */
    float: none;
  }


}