* {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, ul, li, video {
  font-size: 0;
}

h1, h2, p, a {
  font-size: 1rem;
  line-height: 1.3125rem;
  font-weight: normal;
}

strong {
  font-weight: normal;
  text-decoration: underline;
}

a {
  color: blue;
  word-wrap: break-word;
}
a.nav-elem {
  text-decoration: underline;
}
a.nav-elem.active {
  text-decoration: none;
  cursor: default;
  color: black;
}
a.nav-elem.fix {
  position: fixed;
  top: 5%;
  right: 5%;
}

main {
  padding: calc(5vw - 5px) 0 5vw 5vw;
}

.cover {
  width: 100%;
  height: 100%;
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  padding: 5%;
}
.cover h1 {
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%);
}

nav ul {
  margin-bottom: 1.3125rem;
  padding-right: 5%;
  text-align: center;
}
nav ul li {
  display: inline;
  margin-right: 0.5rem;
}

ul#text-list.hidden {
  display: none;
}
ul#text-list .contact {
  padding-right: 5%;
  text-align: right;
}
ul#text-list .contact.hidden {
  display: none;
}

ul#image-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
ul#image-list.hidden {
  display: none;
}
ul#image-list:after {
  content: "";
  flex: auto;
}
ul#image-list li {
  width: calc((90vw / 2) - (1rem - 1rem/2));
  height: calc(((90vw / 2) - (1rem - 1rem/2)) / 1 * 1);
  margin-bottom: 1rem;
  overflow: hidden;
}
ul#image-list li:nth-child(2n+0) {
  margin-right: 5vw;
}
ul#image-list li a {
  height: 100%;
  width: 100%;
  display: block;
  font-size: 0;
  line-height: 0;
  position: relative;
}
ul#image-list li a img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
ul#image-list li a img.landscape {
  width: 100%;
}
ul#image-list li a img.portrait {
  width: auto;
  height: 100%;
}
@media (min-width: 992px) {
  ul#image-list li {
    width: calc((90vw / 3) - (1rem - 1rem/3));
    height: calc(((90vw / 3) - (1rem - 1rem/3)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(3n+0) {
    margin-right: 5vw;
  }
}
@media (min-width: 1280px) {
  ul#image-list li {
    width: calc((90vw / 4) - (1rem - 1rem/4));
    height: calc(((90vw / 4) - (1rem - 1rem/4)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(4n+0) {
    margin-right: 5vw;
  }
}
@media (min-width: 1681px) {
  ul#image-list li {
    width: calc((90vw / 5) - (1rem - 1rem/5));
    height: calc(((90vw / 5) - (1rem - 1rem/5)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(5n+0) {
    margin-right: 5vw;
  }
}
@media (min-width: 2560px) {
  ul#image-list li {
    width: calc((90vw / 6) - (1rem - 1rem/6));
    height: calc(((90vw / 6) - (1rem - 1rem/6)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(6n+0) {
    margin-right: 5vw;
  }
}
@media (min-width: 3440px) {
  ul#image-list li {
    width: calc((90vw / 7) - (1rem - 1rem/7));
    height: calc(((90vw / 7) - (1rem - 1rem/7)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(7n+0) {
    margin-right: 5vw;
  }
}
@media (min-width: 4096px) {
  ul#image-list li {
    width: calc((90vw / 8) - (1rem - 1rem/8));
    height: calc(((90vw / 8) - (1rem - 1rem/8)) / 1 * 1);
  }
  ul#image-list li:nth-child(1n) {
    margin-right: 0;
  }
  ul#image-list li:nth-child(8n+0) {
    margin-right: 5vw;
  }
}

section {
  margin-bottom: 1rem;
  width: 95%;
}
@media (min-width: 1280px) {
  section {
    width: calc((((90vw - 3 * 5vw) / 4) * 3) + 10vw);
    max-width: 1113px;
  }
}
section.titleblock .nav-elem {
  display: block;
  text-align: right;
  width: 90vw;
}
section.titleblock h2:first-of-type {
  margin-top: 1.3125rem;
}
section.titleblock h2:first-of-type span {
  font-style: italic;
}
section.titleblock div {
  margin-bottom: calc(2rem - 6px);
}
section.imageblock, section.videoblock {
  font-size: 0;
}
section.imageblock img, section.videoblock img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}
section.imageblock img.preload, section.videoblock img.preload {
  opacity: 0;
}
section.imageblock img.zoom, section.videoblock img.zoom {
  width: auto;
  min-width: 100vw;
  min-height: 100vh;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}
section.imageblock img.portrait, section.videoblock img.portrait {
  width: calc((((90vw - 3 * 5vw) / 4) * 2) + 5vw);
  max-width: 714px;
}
@media (max-width: 1279px) {
  section.imageblock img.portrait, section.videoblock img.portrait {
    width: calc((((90vw - 2 * 5vw) / 3) * 2) + 5vw);
    max-width: none;
  }
}
@media (max-width: 992px) {
  section.imageblock img.portrait, section.videoblock img.portrait {
    width: 100%;
  }
}
section.imageblock img.portrait.zoom, section.videoblock img.portrait.zoom {
  width: auto;
  min-width: 100vw;
  min-height: 100vh;
  height: auto;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}
section.imageblock .video-container, section.videoblock .video-container {
  position: relative;
  display: inline-block;
  /*
  &:hover > div{
    //display: block;
    opacity: 1;
  }
  */
}
section.imageblock .video-container video, section.videoblock .video-container video {
  width: 100%;
  height: auto;
}
section.imageblock .video-container video.portrait, section.videoblock .video-container video.portrait {
  width: calc((((90vw - 3 * 5vw) / 4) * 2) + 5vw);
  max-width: 714px;
}
@media (max-width: 1279px) {
  section.imageblock .video-container video.portrait, section.videoblock .video-container video.portrait {
    width: calc((((90vw - 2 * 5vw) / 3) * 2) + 5vw);
    max-width: none;
  }
}
section.imageblock .video-container .muteclick, section.videoblock .video-container .muteclick {
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
@media (max-width: 768px) {
  section.imageblock .video-container .muteclick, section.videoblock .video-container .muteclick {
    display: none;
  }
}
section.imageblock .video-container .video-controls, section.videoblock .video-container .video-controls {
  opacity: 1;
  position: absolute;
  z-index: 9;
  bottom: 1rem;
  left: 0;
  width: 100%;
}
section.imageblock .video-container .video-controls > *:nth-child(-n+2), section.videoblock .video-container .video-controls > *:nth-child(-n+2) {
  opacity: 0;
}
section.imageblock .video-container .video-controls.portrait, section.videoblock .video-container .video-controls.portrait {
  width: calc((((90vw - 3 * 5vw) / 4) * 2) + 5vw);
  max-width: 714px;
}
@media (max-width: 1279px) {
  section.imageblock .video-container .video-controls.portrait, section.videoblock .video-container .video-controls.portrait {
    width: calc((((90vw - 2 * 5vw) / 3) * 2) + 5vw);
    max-width: none;
  }
}
@media (max-width: 992px) {
  section.imageblock .video-container .video-controls.portrait, section.videoblock .video-container .video-controls.portrait {
    width: 100%;
  }
}
section.imageblock .video-container .video-controls > *:nth-child(1), section.videoblock .video-container .video-controls > *:nth-child(1) {
  width: 7.5%;
}
section.imageblock .video-container .video-controls > *:nth-child(2), section.videoblock .video-container .video-controls > *:nth-child(2) {
  height: 1rem;
  transform: translateY(0.2rem);
  width: 85%;
}
@media (max-width: 768px) {
  section.imageblock .video-container .video-controls > *:nth-child(2), section.videoblock .video-container .video-controls > *:nth-child(2) {
    width: 80%;
  }
}
section.imageblock .video-container .video-controls > *:nth-child(3), section.videoblock .video-container .video-controls > *:nth-child(3) {
  width: 7.5%;
}
section.imageblock .video-container .video-controls > *:nth-child(4), section.videoblock .video-container .video-controls > *:nth-child(4) {
  display: none;
  width: 15%;
}
section.imageblock .video-container .video-controls button, section.videoblock .video-container .video-controls button {
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  outline: none;
}
section.imageblock .video-container .video-controls button:focus, section.videoblock .video-container .video-controls button:focus {
  outline: 0;
}
section.imageblock div.caption, section.videoblock div.caption {
  padding: calc(1rem - 4px) 0 calc(1rem - 6px) 0;
  font-size: 1rem;
}
section.textblock {
  padding: 2rem 0;
}
section.textblock p:not(:last-child) {
  margin-bottom: 1rem;
}
section.listblock {
  padding: 2rem 0 0 0;
  margin-bottom: 0;
}

.ghost {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  display: none;
}
.ghost.show {
  display: block;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: white;
  display: none;
}

#overlay.show {
  display: block;
}

/*# sourceMappingURL=app.css.map */
