@import "./fonts.css";

div.collection {
  position: relative;
  top: 0;
  left: 0;

  margin: 0;
  padding: 0;

  width: 100%;
  height: 100%;
  background-color: #f1f1f1;
  display: none;
}

img.paper-edge {
  position: relative;
  top: 0;
  left: 0;
  margin: -1em 0 0;
}

img.bottom-edge {
  margin: 2em 0 0;
}

div.close-collection {
  position: absolute;
  top: 0;
  right: 0;

  z-index: 100;
}

div.close-collection:hover {
  cursor: pointer;
}

div.close-collection:hover svg{
  transform: translate(-10%, 10%) scale(1.2);
}

div.wrapper {
  position: relative;
  top: 0;
  left: 0;

  height: 100%;
  width: 100%;
  background-color: #F1F1F1;
}

.item {
  position: relative;
  display: block;
  width: 100%;
  height: 65vh;

  margin: 0;
}

.lightbox-link {
  width: 100%;
  height:100%;
}

.lightbox-link:hover {
  cursor: zoom-in;
}

.current-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin-right: auto;
  margin-left: auto;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(120, 120, 120, 1);
  opacity: 0;
  -webkit-transition: opacity .5s ease-in-out;
  -moz-transition: opacity .5s ease-in-out;
  -o-transition: opacity .5s ease-in-out;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
  z-index:300;
}

a.lightbox-img-wrapper {
  cursor: zoom-out;
}

a.lightbox-img-wrapper img {
  display: block;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-close {
  display: block;
  width: 40px;
  height: 40px;
  background: #ddd;
  text-decoration: none;
  position: fixed;
  top: 0;
  right: 0;
  margin: 10px;
  z-index: 400;
}

.lightbox-close .icon {
  fill: #111;
  opacity: 0.5;
}

.lightbox-close:hover .icon {
  opacity: 1;
}

#lightbox:target {
  display: block;
  opacity: 1;
}

.before {
  position: absolute;
  top: 0;
  left: 0;

  width: 15%;
  height: 100%;

  z-index: 100;
  text-align: left;
}

.before:hover {
  cursor: pointer;
}

.before .icon, .next .icon {
  fill: #666;
  opacity: 0.2;

  position: relative;
  top: calc(50% - 22px);
  left: 0;
  margin: 0 .4em;
}

.before:hover .icon {
  opacity: 0.5;
}

.next {
  position: absolute;
  top: 0;
  right: 0;

  width: 15%;
  height: 100%;

  z-index: 100;
  text-align: right;
}

.next:hover {
  cursor: pointer;
}

.next:hover .icon {
  opacity: 0.5;
}

.item-info {
  position: relative;
  font-family: "GARET BOOK", sans-serif;
  font-size: .7em;
  font-weight: bolder;

  text-align: center;

  margin: .5em 0;
}


