 html,body{
  overflow-x: hidden;
 }
.containers-fotos{
  position: relative;
}

.quizz-topic6 {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  grid-template-columns: repeat(4, 23%);
  cursor: pointer;
}

.signal {
  max-width: 90%;
  text-align: center;
  font-family: "Lato-Bold";
}

.containerCharacters {/**/
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  /* margin-bottom: 1vw; */
}

/**/
/* .containerCharacters img { 
  max-width: 100%;
} */

.draggable {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: move;
  transition: opacity 0.2s;
  max-width: 100%;
  overflow: hidden;
}
.containerCharacters .draggable.dragging {/**/
  width: auto ;
  height: 20rem 
}
.draggable:hover {
  opacity: 0.5;
}

.droppable {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: #92d6dd;
  /* outline: 5px dashed #282445; */
  transition: border-width 0.2s, transform 0.2s, background-color 0.4s;
  /**/
  position: relative;
    overflow: hidden;
}

.droppable span {

  font-size: 1.25rem;
  pointer-events: none;
  text-align: center;
}

.droppable p {
  max-width: 90%;
  text-align: center;
}

.droppable.droppable-hover {
  border-width: 5px;
  transform: scale(1.1);
}

.droppable.dropped {
  border-style: solid;
  color: #fff;
}

.droppable.dropped span {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.droppable.dropped i {
  pointer-events: none;
}

.draggable.dragged {
  user-select: none;
  opacity: 0;
  cursor: default;
  /**/
  position: absolute;
  z-index: 4;
}


/**agregado**/
.droppable .dragged {
  position: absolute;
  top: 50%;
  left: 50%;
  /* transform: translate(-50%, -50%); */
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  opacity: 1;
  z-index: 4;
}
.dragged {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ajusta la imagen sin distorsión */
  display: block;
}
/****/


.draggable.dragged:hover {
  opacity: 0.1;
}

.draggable-elements {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.droppable-elements {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.container-Check {
  width: 4vw;
}

.containerCharacters:hover {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  transition: .3s ease-in-out;
}



.droppable.dropped p {
  color: white;

}

.droppable.dropped p span {
  font-size: 1.25rem;
}

@media (max-width: 991px) {
  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }
}

@media (max-width: 768px) {

  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }

}

/*****************************************************/
.box-text {
  height: 30%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  background-color: #F772A9;
}


.gallery2WithText{
  display: grid;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(4, 22%);
  grid-auto-rows: 30rem;
}
.item-gallery2Text .containerImgGallery2{
  background-color: #a674d1;
  height: 60%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.item-gallery2Text .containerImgGallery2.img6_1{
  background-image: url("/work/models/memorica/recursos/img/aprender_con_memorica/topics/topics6_1.jpg");
}
.item-gallery2Text .containerImgGallery2.img6_2{
  background-image: url("/work/models/memorica/recursos/img/aprender_con_memorica/topics/topics6_2.jpg");
}

.item-gallery2Text .containerImgGallery2.img6_3{
  background-image: url("/work/models/memorica/recursos/img/aprender_con_memorica/topics/topics6_3.jpg");
}
.item-gallery2Text .containerImgGallery2.img6_4{
  background-image: url("/work/models/memorica/recursos/img/aprender_con_memorica/topics/topics6_4.jpg");
}

.item-gallery2Text {
  background-color: #a674d1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.item-gallery2Text .containerText{
  height: 40%;
  width: 100%;
  display: flex;
  background-color: #73419E;
  justify-content: center;
  align-items: center;
  padding:0.5rem;
}
.item-gallery2Text .containerText p{
  text-align: center;
  /*  */
  color: white;
}

.item-gallery2Text:hover .containerText{
  background-color: #a674d1
}

.box-text p {
  color: white;

}

.container-foto {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 250px;
  background: #73419E;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: bold;
  transition: border-width 0.2s, transform 0.2s, background-color 0.4s;
}

.container-foto p {
  width: 90%;
  color: white;
}

.flecha-izq {
  transform: rotate(180deg);
}

/**/

.galeria2-topic6 {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  grid-template-columns: repeat(4, 23%);

}


.droppable {
  position: relative;
  overflow: hidden; /* Para asegurarse de que la imagen no salga del contenedor */
}

.droppable.hovered {
  background-color: rgba(247, 114, 169, 1);
  border: 2px dashed #ff0e67;
}

.dragging {
  touch-action: none;
  opacity: 1 !important; /* Para evitar que se vuelva invisible */
}
.droppable .draggable {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.signal {
  transition: opacity 0.3s ease;
}
@media (max-width: 991px) {
  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }


  .galeria2-topic6 {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;
  }
  .gallery2WithText{
     
    grid-template-columns: repeat(2, 48%);
    grid-auto-rows: 24rem;
  }

 

}

@media (max-width: 768px) {

  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }
  .galeria2-topic6 {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;
  }

  .galeria2-topic6 {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: 16rem;
  }

  .box-text {
    height: 28%;
  }


  .containerCharacters .draggable.dragging {
    width: auto ;
    height: 17rem ;
  }

}


@media (max-width: 576px) {
  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }

  .galeria2-topic6 {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;
  }

  .box-text {
    height: 60%;
  }
  .flecha-abajo {
    max-height: 8rem;
  }
  /* .containerCharacters img {
    max-width: 45% !important;
  } */
  
  /* .draggable{
    width: 45%;
  } */
  .containerCharacters .draggable.dragging {
    width: auto ;
    height: 17rem ;
  }
}


@media (max-width: 320px) {
  .quizz-topic6 {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    grid-template-rows: auto;
  }

  .galeria2-topic6 {
    grid-template-columns: repeat(2, auto);
    grid-auto-rows: auto;

  }

  .box-text {
    height: 60%;
  }

  .container-foto{
    width: 300px;
    height: 300px;
  }
  .flecha-abajo {
    max-height: 7rem;
  }

  .containerCharacters .draggable.dragging {
    width: auto ;
    height: 17rem ;
  }
}