#divModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  opacity: 0;
  transition: 0.4s opacity;
  pointer-events: none;
  z-index: -1;
  background-color: white;
}
#modal {
  /* left: 50%; */
  /* top: 40%; */
  /* transform: translate(-50%, -50%); */
  display: grid;
  grid-template-columns: minmax(150px, 75%) 1fr;
}
#divModal.mostrar {
  opacity: 1;
  pointer-events: all;
  z-index: 100;
}
.proyectoExtendidoModal {
  padding: 25px 0 25px 0;
  height: 100%;
  background-color: rgb(252, 252, 252);
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: space-evenly;
  cursor: pointer;
  opacity: 1;
  pointer-events: none;
}
.proyectoExtendidoModal > * {
  padding: 1rem;
}

.imagenModal {
  top: 0;
  width: 100%;
  height: 100%;
  height: auto;
  opacity: 1;
  object-fit: cover;
}

#divCerrarModal {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 2px rgb(85, 85, 85), 0px 0px 5px rgb(94, 94, 94);
  /* background-color: aqua; */
  transform: scale(1, 0.8);
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 40px;
  font-stretch: condensed;
  /* transform: translate(0, -100%); */
  cursor: pointer;
}

.proyectoExtendidoModal {
  display: flex;
  flex-direction: column;
}

/* /// CAROUSEL */
.owl-carousel {
}
.owl-theme .owl-dots {
  position: absolute;
  bottom: 0;
  width: 100%;
}
.owl-theme .owl-nav .disabled {
  opacity: 1;
  cursor: pointer;
}
.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none;
  text-decoration: none;
}
button.owl-next {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translate(0, -50%);
  transform: scale(5);
  text-shadow: 0px 0px 1px #5c5c5c;
}
button.owl-prev {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translate(0, -50%);
  transform: scale(5);
  text-shadow: 0px 0px 1px #5c5c5c;
}
.itemCarousel {
  height: 100vh;
  width: auto;
  object-fit: cover;
  object-position: center center;
}
.owl-item {
  flex-shrink: 0;
}

.owl-stage {
  display: flex;
}

.cosasMob {
  display: none;
}

@media only screen and (max-width: 900px) {
  .itemCarousel {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .h1 {
    margin: 10px;
  }
  .h2 {
    padding: 5px;
  }
  .imagenModal {
    margin-top: 10px;
    max-height: 50vh;
  }
  .itemCarousel {
    max-height: 50vh;
  }
  #modal {
    display: flex;
    flex-direction: column-reverse;
  }

  .cosasMob {
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-content: center;
    background-color: white;
    padding: 5px;
    padding-top: 15px;
    color: black;
    justify-content: center;
    align-content: center;
    text-align: center;
  }
  #tareasMob {
    display: flex;
    flex-direction: column;
  }
  #superficiesMob {
    display: flex;
    flex-direction: column;
  }
  .lista {
    display: flex;
    flex-direction: column;
    padding: 5px;
  }
  .proyectoExtendidoModal {
    padding-top: 0;
    margin-bottom: -2rem;
  }
  .itemCarousel {
    height: 100vh;
    width: auto;
    object-fit: scale-down;
    object-position: center center;
  }
  .owl-theme .owl-dots {
    position: absolute;
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .cosas {
    display: none;
  }
}
