/* prompt-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/prompt-v10-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* prompt-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Prompt';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/prompt-v10-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* prompt-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Prompt';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/prompt-v10-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  box-sizing: border-box;
  font-family: 'Prompt', Helvetica, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  height: 100%;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html.with-featherlight {
  overflow: visible;
}

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

body {
  background-image: url(pencil.png);
  background-repeat: repeat-y;
  background-position: center;
  background-size: 10px auto;
  background-color: #f1f8ff;
  font-weight: 300;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

img {
  height: auto;
  vertical-align: top;
  width: 100%;
}

.gallery-wrapper {
  opacity: 0;
  transition: opacity 0.65s ease-out;
}

.gallery-wrapper.visible {
  opacity: 1;
}

.gallery-elem img {
  opacity: 0;
  transition: opacity 0.65s ease-out, transform 0.3s ease-out;
}

.gallery-elem img.loaded {
  opacity: 1;
}

a:hover img {
  transform: scale(1.05);
}

a:active,
a:focus {
  outline: none;
}

p {
  margin-top: 0;
}

.gallery {
  align-self: flex-start;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0 auto;
  max-width: 1080px;
  padding-bottom: 10rem;
}

@media (min-width: 769px) {
  .gallery {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1441px) {
  .gallery {
    max-width: 70vw;
  }
}

.gallery-container {
  flex: 1 1 100%;
}

.gallery-container--medium {
  flex: 0 1 80%;
}

.gallery-container--small {
  flex: 0 1 30%;
  margin-top: 2rem;
}

.gallery-elem {
  margin-bottom: 3rem;
  padding: 0.4rem 0.75rem;
}

.gallery-headline {
  margin: 10em 0 6em -0.35em;
}

.gallery-headline span {
  margin-left: -0.225em;
}

.gallery-final-headline {
  margin: 6em 0 3em;
}

.gallery-final-headline span {
  margin-left: -0.15em;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.3em;
  text-align: center;
}

@media (min-width: 336px) {
  h1 {
    font-size: 3.35rem;
  }
}

@media (min-width: 568px) {
  h1 {
    font-size: 9vw;
  }
}

@media (min-width: 1441px) {
  h1 {
    font-size: 8.8rem;
  }
}

.gallery-text {
  background-color: #fff;
  margin: 0 auto;
  max-width: 520px;
  padding: 3rem 2rem;
}

.gallery-image {
  background-color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.gallery-image--square {
  margin-top: -3rem;
}

.gallery-image--video {
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  width: 100%;
}

iframe {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
