@import "./fonts.css";

.gallery {
  position: relative;
  top: 0;
  left: 0;

  margin: 0;
  padding: 0;

  width: 100%;

  display: block;
}

div.collection-list {
  margin-top: 1em;
  margin-left: 3em;
  margin-right: 3em;
  padding-bottom: 1em;
  width: calc(100% - 6em);

  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: flex-start;
  gap: 1em 1em;
}

div.gallery-item {
  position: relative;
  aspect-ratio : 1 / 1;
  width: calc(50% - 1em);
  overflow: hidden;

  cursor: pointer;

  flex: 0 0 auto;
}

div.gallery-item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background-image:
    linear-gradient(
      to right,
      rgba(76, 53, 73, 0.20) 0%,
      rgba(76, 53, 73, 0.10) 100%
    );
}

div.gallery-item > img {
  width: 100%;
}

div.gallery-item .overlay {
  height: 100%;
}

div.gallery-item:hover .overlay {
  width: 100%;
  opacity: 0.9;
}

div.gallery-item:hover p{
  left: 0;
}

div.wrapper {
  position: relative;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
}

video {
  width: 100%;
}

div.header-overlay {
  width: 100%;
  height: 100%;

  position: absolute;
  top: 0;
  left: 0;

  overflow: hidden;
  display: none;
}

div.typewriter {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
}

span.letter {
  color: #f1f1f1;
  background-color: #f1f1f1;
}

div.brush {
  height: 100%;
  width: 100%;

  position: absolute;
  top: 0;
}

#left-brush {
  left: -100%;
  opacity: 0.9;
  animation: brush .5s 1 forwards;
}

#right-brush {
  left: 100%;
  opacity: 1;
  background-color: #f1f1f1;
  animation: brush .5s .5s 1 forwards;
}

@keyframes brush {
  to {
    left: 0;
  }
}

@keyframes type {
  from {
    width: 0
  }
  to {
    width: 100%
  }
}

@media screen and (max-width: 800px) {

  .headline_name {
    font-size: 1em;
  }

  .header_first_row {
    font-size: 1em;
  }

  .headline_ornament {
    font-size: 2em;
  }

}
