/* FLIP CARD */
.flip_card {
  width: 250px;
  height: 250px;
  text-align: center;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  margin: auto;
}

.flip_card img{
  width: 250px;
  height: 250px;
  border: 2px #f0f2f5 solid;
}

/* This container is needed to position the front and back side */
.flip_card_inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip_card:hover .flip_card_inner {
  cursor: pointer;
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip_card_front, .flip_card_back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip_card_front {
  background-color: #fff;
  color: black;
}

/* Style the back side */
.flip_card_back {
  background-color: #fff;
  color: white;
  transform: rotateY(180deg);
}




/* GALLERY */
.gallery_wrapper{
  margin-bottom: 40px;
}
.gallery_name{
  padding-top: 30px;
}

.gallery_element{
  margin-top: 30px;
  padding-bottom: 120px;
}



/* LIGHTBOX */
#lightbox{
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: none;
}

.lightbox_image{
  position: relative;
  display: block;
  float: left;
  width: 50vw;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 80px;
}

.lightbox_image img{
  background-color: white;
  margin-top: 20px;
  width: 100%;
  height: auto;
  
}

#lightbox_name{
  color: white;
  position: relative;
  display: block;
  float: left;
  width: 100vw;
  margin-top: 30px;
  text-align: center;
}














