html {
  overflow: hidden;
}

html,
body {
  width: 100%;
  height: 100%;
}

main {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  position: fixed;
  left: 0;
  top: 0;
}

.container {
  width: 100%;
  height: 100%;
}

#stairs {
  width: 100%;
  position: relative;
  overflow: visible;
}
#stairs .inner {
  width: 100%;
  margin: 50vh 0 0 0em;
  display: block;
  overflow: hidden;
}

.project {
  background-color: black;
  display: none;
  position: relative;
  overflow: visible;
}

.project.show, .project.about {
  display: block !important;
}

.project .stair {
  pointer-events: all;
  width: 25em;
  height: 100%;
  background-color: white;
  border: solid black;
  border-width: 2px 2px 0 2px;
  overflow: hidden;
}

.project .stair:hover {
  cursor: pointer;
}

.project .stair .gap {
  height: 2px;
  position: absolute;
  left: 0;
  top: 0;
  background-color: black;
}

.project .stair .gap.hide {
  display: none;
}

.project .content .block {
  width: 100%;
  padding: 0 15px 15px 15px;
}

.project .content .block p {
  margin: 0 0 15px 0;
}

.project .content .block p:last-child {
  margin-bottom: 0;
}

.project .content .block.press a:not(:hover) {
  color: black !important;
}
          
.project .content .toggle {
  display: table;
  padding-bottom: 0;
}

.project .content .toggle:hover {
  cursor: pointer;
}

.project .content .toggle:not(:hover) {
  color: black !important;
}

.project .content .togglee {
  height: 0;
  overflow: hidden;
}

.project .content .togglee .inner {
  margin: 0;
}

.project .content .togglee .inner a:not(:hover) {
  color: black !important;
}

.project .content .togglee.toggled {
  height: auto;
}

.project.first .gap {
  display: none !important;
}

.project.open .title, .project.open .title:hover {
  opacity: 1 !important;
  color: black !important;
  background-color: white !important;
}

.project.open .content {
  overflow-y: auto;
  height: auto;
}

.project:not(.closed) a.title {
  background-color: white !important;
}

.project.opened .title {
  opacity: 1 !important;
}

.project.closing .title, .project.closing:hover .title, .project.opening .title, .project.opening:hover .title {
  background-color: white !important;
}

.project .close {
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  display: none;
}

.project.open .close {
  display: block;
}

#stairs .inner .togglee .inner {
  margin: 0;
}

.medium-zoom-overlay {
  z-index: 3;
}

.medium-zoom-image--opened {
  z-index: 3;
}


html .container {
  transition: -webkit-filter 0.3s;
  transition: filter 0.3s;
  transition: filter 0.3s, -webkit-filter 0.3s;
}

html.slbActive .container {
  -webkit-filter: blur(6px);
  filter: blur(6px);
  transition-delay: 0s;
  transition-duration: 0.6s;
}

.door {
  position: absolute;
  bottom: 0;
  right: 6rem;
  width: 192px;
  height: 192px;
  padding: 0;
  display: flex;
  justify-content: center;
  display: none;
}

.left-door, .right-door {
  border: 2px solid black;
  height: 100%;
  width: 33%;
  margin: 0 1%;
}

.door:hover .left-door, .door:hover .right-door {
  background: black !important;
}

@media only screen and (max-width: 480px) {
  .door {
    display: none;
  }
  .content .gallery {
    height: 200px;
  }
  .project .title {
    width: 100%;
    font-size: 0.9rem;
    padding: 10px;
    background-color: white !important;
  }
  .project .title:hover {
    opacity: 0;
  }
  .project .stair {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }
  .project .content .block {
    width: 100%;
  }
}