.cross{
  width: 80px;
  height: 80px;
/*  background: rgba(255, 255, 255, 0.8);*/
  position: absolute;
  top: 0px;
  text-align: right;
  padding: 7px;
  cursor: pointer;
  right: 0px;
  font-size: 40px;
  padding-top: 6px;
  padding-right: 12px;
  color: #fff;
/*  font-family: cursive;*/
}
.cross:hover{
  opacity: .8;
}
.cross::before{
  content: "X";
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  background-color: transparent;
  width: 100%;
  margin: 0;
  padding: 0px;
}
.gallery-item {
/*  flex-basis: 25%;*/
  opacity: 1;
  cursor: pointer;
}
.gallery-item:hover {
  opacity: 0.85;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-content {
  font-size: 1.8em;
}

.lightbox {
  position: fixed;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  z-index: 99999;
  overflow: auto;
  top: 0;
  left: 0;
}
.lightbox-content {
  position: relative;
  width: 90%;
  height: 90%;
  margin: 2% auto;
  background-color: transparent;
  text-align: center;
}
.lightbox-content img {
  box-shadow: 0 0 3px 0 rgba(225, 225, 225, 1);
  max-height: 100%;
  width: auto;
  max-width: 100%;
  height: auto\9;
  object-fit: cover;
  margin: auto !important;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
/*  background-color: rgba(255, 255, 255, 0.8);*/
  color: #fff;
  padding: 7px;
  top: 45%;
  cursor: pointer;
  font-size: 4em;
}
.lightbox-prev {
  left: 0;
}
.lightbox-next {
  right: 0;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: .8;
}

@media (max-width: 767px) {
  .gallery-container {
    width: 100%;
  }
  .gallery-item {
    flex-basis: 49.80%;

  }
  .lightbox-content {
    width: 80%;
    height: 60%;
    margin: 15% auto;
  }
}
@media (max-width: 480px) {
  .gallery-item {
    flex-basis: 100%;

  }
  .lightbox-content {
    width: 100%;
    margin: 20% auto;
  }
  .cross{
    position: absolute;
    top: -50px;
    right: 0px;

  }
}

