body {
    margin: 0;
    background-image: url('../mapa_mujeres/Mapa_files/Fondo.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 70%;
}
body.fondo{
    background-position-y: 95%;
}

.opa_0 {
    opacity: 0;
}

.d-none {
    display: none;
}

svg#escena-04 {
    width: auto;
    height: 100vh;
    margin-bottom: -5px;
    position: fixed;
    top: 0;
}

.mujer-cartel {
    transform: scale3d(0, 0, 0);
    opacity: 0;
    pointer-events: none;
}

.mujer-hover {
    transition: all .2s;
    transform-origin: center;
}

.mujer-hover:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.grupo-hover:hover .mujer-cartel {
    display: block;
    z-index: 500;
}

.secuencia-gif {
    width: 100%;
    height: auto;
    position: fixed;
}

.animacion-secuencia {
    position: fixed;
    height: 100vh;
    width: auto;
    left: 0;
    top: 0;
    z-index: 1000;
}

@-webkit-keyframes move-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes move-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@-webkit-keyframes bg-move-up {
    0% {
        background-position-y: 0%;
    }

    100% {
        background-position-y: 100%;
    }
}

@keyframes bg-move-up {
    0% {
        background-position-y: 0%;
    }

    100% {
        background-position-y: 100%;
    }
}

div#video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.width-100 {
    width: 100%;
}

.width-50 {
    width: 50%;
}

.container-grid,
.grafica_container {
    display: flex;
}

.col1 {
    display: flex;
    flex-direction: row;
}

div#paquete {
    margin: 6%;
    width: auto;
    height: 75vh;
    background-image: url(img/fondo_caja.png);
}

.titulo {
    position: relative;
    min-height: 12vh;
}

.titulo img {
    max-width: 300px;
    width: 15vw;
    top: -6vh;
    left: -2vw;
    position: absolute;
}

.items {
    position: relative;
}

.items>div.obj>img {
    width: 4vw;
    margin-left: 10%;
}

div#instrucciones img {
    width: 13vw;
}

.display-flex {
    display: flex;
    flex-direction: row;
}

.caja {
    position: relative;
    width: 26vw;
    max-width: 50%;
}

.caja >div#zona-destino {
    position: absolute;
    bottom: 0px;
    right: 0px;
    max-width: 300px;
    height: 19vh;
    width: 12vw;
}

.caja>div>img {
    width: 10vw;
    max-width: 240px;
    position: absolute;
    top: 0px;
    left: 0px;
}

div#instrucciones {
    position: absolute;
    top: 10vh;
    left: 35vh;
}

#zona-destino > img:nth-child(2) {
    z-index: 2;
}

div#cons,
div#grafica,    
div#pros {
    width: 30%;
}

div#grafica {
    text-align: center;
}

div#cons,
div#pros {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

div#cons img,
div#pros img {
    max-width: 230px;
}

#grafica img {
    max-height: 550px;
    height: 60vh;
}

div#zona-destino .draggable {
    position: absolute !important;
}

div#zona-destino img.draggable  {
    transform: scale(2);
    width: 5vh;
}

div#zona-destino .draggable.img1 {
    margin-left: 20px;
}

div#zona-destino .draggable.img2 {
    margin-left: 40px;
}

div#zona-destino .draggable.img3 {
    margin-left: 60px;
}

div#zona-destino .draggable.img4 {
    margin-left: 80px;
}

div#zona-destino .draggable.img5 {
    margin-left: 100px;
}

div#zona-destino .draggable.img6 {
    margin-left: 120px;
}

html, body {
    height: 100vh;
    overflow: hidden;
}

.boton-gif {
    position: fixed;
    bottom: 3vh;
    right: 3vw;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.boton-gif img {
    width: 100px;
    height: auto;
}

.hidden {
    display: none;
}

/* Estilo específico para el botón de galería */
#btnGaleria {
    position: fixed;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: auto;
    z-index: 1000;
    cursor: pointer;
}

#btnGaleria img {
    width: 100%;
    height: auto;
}


/* Fondo oscuro semitransparente */
#overlayGaleria {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(77, 13, 54, 0.9);
  z-index: 1001;
}

/* Contenedor de la galería */
#galeriaFotos {
  position: fixed;
  bottom: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 40vh;
  background: transparent;
  z-index: 1002;
  overflow: hidden;
}

#galeriaFotos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#galeriaFotos ul li {
  display: inline-block;
  margin: 0 10px;
}

#galeriaFotos img {
  height: 100px;
  border-radius: 6px;
  transition: transform 0.3s;
}

#galeriaFotos img:hover {
  transform: scale(1.1);
  cursor: pointer;
}

#cerrarGaleria {
  position: fixed;
  top: 2vh;
  right: 3vw;
  font-size: 3rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1003;
  font-family: Arial, sans-serif;
}