/* * {
  box-sizing: border-box;
}

body {
  background: #4E6163;
  overflow: hidden;
}
body .wrapper {
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 900px;
  height: 100vh;
}
body .wrapper .gallery-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: right;
  flex-wrap: wrap;
  width: 1000px;
}
body .wrapper .gallery-wrapper .item {
  margin: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  box-shadow: 10px 10px 1px 0 rgba(0, 0, 0, 0.15);
}
body .wrapper .gallery-wrapper .item img {
  width: 100%;
  height: 100%;
}
body a {
  text-decoration: none;
  color: #000;
}
body a:hover {
  transition: 500ms all;
  color: #CBCf9E;
}

h2 {
  font-family: Georgia, Palatino, serif;
}

a, p, span {
  font-family: Verdana, Helvetica, Arial, sans-serif;
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  flex: 1;
  margin: 25px 0;
} */

.short-animate {
  transition: .5s ease-in-out;
}

.long-animate {
  transition: .5s .5s ease-in-out;
}

.lightbox {
  position: fixed;

  bottom: 100%;
  left: 0;
  right: 0;
  background: #2F3332;
  z-index: 501;
  opacity: 0;
}
.lightbox img {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 0%;
  max-height: 0%;
}
.lightbox:target {
  top: 0%;
  bottom: 0%;
  opacity: 1;
}
.lightbox:target img {
  max-width: 100%;
  max-height: 100%;
}
.lightbox:target ~ #close-wrapper {
  top: 0;
}
.lightbox:target ~ #close-wrapper #close-lightbox:after {
  width: 50px;
}
.lightbox:target ~ #close-wrapper #close-lightbox:before {
  height: 50px;
}
.lightbox:target ~ #next-wrapper {
  right: 0;
}
.lightbox:target ~ #prev-wrapper {
  left: 0;
}

#close-wrapper {
  position: fixed;
  top: 70px;
  right: 0;
  height: 70px;
  width: 70px;
  z-index: 502;
  background: rgba(0, 0, 0, 0.1);
}
#close-wrapper #close-lightbox {
  display: block;
  position: absolute;
  overflow: hidden;
  height: 50px;
  width: 50px;
  right: 10px;
  top: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
#close-wrapper #close-lightbox:before, #close-wrapper #close-lightbox:after {
  content: "";
  display: block;
  position: absolute;
  background: #DFECEE;
  border-radius: 2px;
}
#close-wrapper #close-lightbox:before {
  height: 0;
  width: 3px;
  left: 24px;
  top: 0;
  transition: .5s 1s ease-in-out;
}
#close-wrapper #close-lightbox:after {
  width: 0;
  height: 3px;
  top: 24px;
  left: 0;
  transition: .5s 1.5s ease-in-out;
}

#next-wrapper {
  position: fixed;
  top: 40%;
  right: -70px;
  height: 70px;
  width: 70px;
  z-index: 502;
  background: rgba(0, 0, 0, 0.1);
}
#next-wrapper #next-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 50px;
  width: 50px;
}
#next-wrapper #next-lightbox:before, #next-wrapper #next-lightbox:after {
  border-right: 3px solid #DFECEE;
  content: "";
  display: block;
  height: 16px;
  position: absolute;
  background: #DFECEE;
  border-radius: 2px;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  left: 45%;
  top: 45%;
  width: 0;
}
#next-wrapper #next-lightbox:after {
  margin-top: -10px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

#prev-wrapper {
  position: fixed;
  top: 40%;
  left: -70px;
  height: 70px;
  width: 70px;
  z-index: 502;
  background: rgba(0, 0, 0, 0.1);
}
#prev-wrapper #prev-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 50px;
  width: 50px;
}
#prev-wrapper #prev-lightbox:before, #prev-wrapper #prev-lightbox:after {
  border-right: 3px solid #DFECEE;
  content: "";
  display: block;
  height: 16px;
  position: absolute;
  background: #DFECEE;
  border-radius: 2px;
  -webkit-transform: rotate(135deg);
          transform: rotate(135deg);
  left: 45%;
  top: 45%;
  width: 0;
}
#prev-wrapper #prev-lightbox:after {
  margin-top: -10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
