body{
  width: 200%;
  height: 200%;
  background-image: url("../imgs/galeria/bg.jpg");
  background-size: cover cover;
  background-repeat: repeat;
}

/*VHS*/
.videoFrame {
  opacity: 0;
  margin: 2vmin;
  margin-top: 10vmin;
  position: relative;
  width: 30vmin;
  height: 35vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.videoFrame.visible {
  opacity: 1;
}
.videoFrame:hover {
  transform: rotate(0deg);
 /* Revert back to normal position on hover */
}
.videoFrame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../imgs/galeria/video/vhsTape.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
 /* Set the z-index to 0 */
}

/*VIDEO INFO*/
.videoTittle{
  font-family: Arial, Helvetica, sans-serif !important;
  position: absolute;
  font-size: 1.5vmin;
  top: 45%;
 /* Adjust the bottom position as needed */
  left: 20%;
 /* Adjust the left position as needed */
  z-index: 1;
 /* Set the z-index to 2 */
}
.videoDate{
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1vmin;
  position: absolute;
  top: 55%;
 /* Adjust the bottom position as needed */
  right: 20%;
 /* Adjust the left position as needed */
  z-index: 1;
 /* Set the z-index to 2 */
}



/*POLAROID*/
.rotateRight{
  transform: rotate(-10deg);
}
.rotateLeft{
  transform: rotate(10deg);
}
.photoFrame {
  opacity: 0;
  margin: 2vmin;
  margin-top: 10vmin;
  position: relative;
  width: 25vmin;
  height: 30vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.photoFrame.visible {
  opacity: 1;
}
.photoFrame:hover {
  transform: rotate(0deg);
 /* Revert back to normal position on hover */
}
.photoFrame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../imgs/galeria/foto/polaroidDirty.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 0;
 /* Set the z-index to 0 */
}
.photo {
  position: absolute;
  top: 15%;
 /* Adjust the top position as needed */
  left: 11%;
 /* Adjust the left position as needed */
  width: 75%;
 /* Adjust the width as needed */
  height: 61%;
 /* Adjust the height as needed */
  background-size: cover;
  background-position: center;
  z-index: -1;
 /* Set the z-index to 1 */
}
/*PHOTO INFO*/
.tittle{
  font-family: Arial, Helvetica, sans-serif !important;
  position: absolute;
  font-size: 1.7vmin;
  bottom: 14%;
 /* Adjust the bottom position as needed */
  left: 10.5%;
 /* Adjust the left position as needed */
  z-index: 1;
 /* Set the z-index to 2 */
}
.date{
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.2vmin;
  position: absolute;
  bottom: 9%;
 /* Adjust the bottom position as needed */
  right: 11%;
 /* Adjust the left position as needed */
  z-index: 1;
 /* Set the z-index to 2 */
}
/*PAPER PIN*/
.paperPin {
  position: absolute;
  top: 0.1%;
 /* Adjust the top position as needed */
  left: 50%;
 /* Adjust the left position as needed */
  transform: translateX(-50%);
 /* Center the pin horizontally */
  width: 5vmin;
  height: 5vmin;
  background-image: url("../imgs/galeria/foto/paperPin.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
 /* Set the z-index to 2 */
}
/* Enlarged Photo Modal */
#enlargedPhotoModal .modal-dialog {
  max-width: 90%;
  margin: 30px auto;
}
#enlargedPhotoModal .modal-content {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
#enlargedPhotoModal .modal-body {
  position: relative;
  padding: 0;
}
#enlargedPhotoModal .modal-body img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out;
}
#enlargedPhotoModal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s ease-in-out;
}
#enlargedPhotoModal .close:hover {
  opacity: 0.7;
}
#enlargedPhotoModal .modal-dialog, #enlargedPhotoModal .modal-content, #enlargedPhotoModal .modal-body, #enlargedPhotoModal .modal-body img, #enlargedPhotoModal .close {
  pointer-events: auto !important;
}
.modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 40px);
 /* Adjust the value (40px) to leave space on top and bottom */
}
.modal-body img {
  max-height: calc(100% - 40px);
 /* Adjust the value (40px) to leave space on top and bottom */
  max-width: 100%;
  object-fit: contain;
}
