
.container-hover-secom {
  width: 304px;
  height: 505px; /* quedaba mal el alto RO*/
  display: block;
  align-content: center;
  position: relative;
}
@media (max-width: 575.98px) { 
  .container-hover-secom {
  width: 100%;}
  }

.container-hover-secom:hover {
  background-color: #AA3240;
  cursor: pointer;
  /* transform: scale(1); */
  opacity: 1;
  /* transition: all linear 0.2s; */
  transition: all 1s;
  color: #FFFFFF !important;
}

.container-hover-secom:hover img {
  background-color: #AA3240;
  mix-blend-mode: overlay;
}

.container-hover-secom:hover #ppp,
.container-hover-secom:hover #text-p p {/*sume p porq sino no toma el hover RO*/
  color: #FFFFFF;
}
a#ppp:hover {
    text-decoration: none;
    opacity: 50%;
}
.image-c {
  display: flex;
  justify-content: center;
  position: relative; /* Para el overlay */
  /*width: 275px;*/ 
  height: 324px;
  /* overflow: hidden; */
  top: -5%;
  left: 2%; /* quedaba desplazado RO*/
}

.container-hover-secom:hover .overlay {
  opacity: 1; /* Muestra el overlay al hacer hover */
}

.container-hover-secom:hover .middle {
  opacity: 1; /* Muestra el texto al hacer hover */
}

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {
  opacity: 1;
  /* height: 220px; */
}

.image-h {
  position: absolute;
  width: 275px;
  height: 300px;
  transition: height 0.3s;
  top: 57%; /*se superponía RO*/
  left: 50%;
  transform: translate(-50%, -50%);
}

.paraghrap-l {
  font-family: 'Exo 2', sans-serif; 
  font-size: 14px;
  font-weight: 400;
  color: #b3b3b3;
}

.title-l #ppp { /*sino no toma los estilos de tt RO*/
  font-family: 'Exo 2', sans-serif; 
  font-size: 19px;
  font-weight: 700;
  color: #AA3240;
  line-height: 16.8px;
  padding-top: 15px;
}

.text-end {
  display: block;
  text-align: center;
  /* padding-top: 2vw; */
  color: #FFFFFF !important;
  /* position: absolute; */
}


.slash {
  width: 100%; /* puse porcentanje... porque una medida fija no se adapta RO*/
  height: 4px;
  background-color: #AA3240;
}


.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.modal-content,
#caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.close {
  position: absolute;
  top: 60px; /*para que pueda cerrarse RO*/
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.middle {
  opacity: -1;
  position: absolute;
  top: 64%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  background-color: transparent;
}

.text {
  width: 62px;
  height: 62px;
  background-color: transparent;
  border: #FFFFFF solid 2px;
  color: white;
  font-size: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container-hover-secom:hover .middle {
  opacity: 1;
}