.demo_wrapper {
	width: 100%;
	margin: 0 auto;
}
        .contenedor {
  position: relative;
  overflow: hidden;
}

.imagen-zoom {
  width: 300px; /* Tamaño inicial */
  transition: all 0.5s ease; /* Suaviza el cambio */
  cursor: pointer;
}


        .miniatura {
  cursor: pointer;
  transition: 0.3s;
}

/* Estilo del modal (pantalla completa) */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 99999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0,0,0,0.9); /* Fondo negro con opacidad */
}

.contenido-modal {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

/* Mostrar el modal */
.modal.activo {
  display: flex;
  justify-content: center;
  align-items: center;
}





.container2 {
  display: grid;
  grid-template-columns: 350px;
  grid-template-rows: repeat(2, 200px);
}

.card2 {
  position: relative;
  display: flex;
}
.card2 p{
    margin: 5px 15px;
}
.boxCard{
    background: whitesmoke !important;
    margin: 5px 15px;
}

.container2 div:nth-child(1) {
  background: #e52323;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.container2 div:nth-child(1) img {
  /* width: 100px; */
  height: 180px;
  filter: grayscale(1);
  border-radius: 50%;
  box-shadow: 0 0 20px 2px #0509ee;
}

.container2 div:nth-child(2) {
  background: whitesmoke;
  color: gray;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 20px 0 gray;
  transition: 1s;
  top: -200px;
  z-index: 1;
}

.container2 div:nth-child(2) p:nth-child(1) {
  color: black;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.container2 div:nth-child(2) p:nth-child(2) {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.container2 div:nth-child(2) svg {
  width: 50px;
}

.container2:hover div:nth-child(2) {
  top: 0px;
}