.container-breadcrumb {
  margin-top: 14vh;
}

.breadcrumb {
  display: flex;
  justify-content: flex-start;
  margin-left: 10px;
  margin-bottom: 2.5rem;
  margin-top: 0.5rem;
}

.breadcrumb li a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
}

.breadcrumb-item.active {
  text-transform: capitalize;
  /* Convierte la primera letra de cada palabra en mayúscula */
  color: #a8aaad;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #a3a5a9;
}

.container__presentacion__project img {
  max-height: 500px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.container__presentacion__project {
  max-width: 100%;
  width: 100%;
  margin-bottom: 100px;
  margin-top: 10vh;
}

.grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 15vh;
}

.card {
  width: 100%;
  height: 300px;
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); */
  border: none;
  background-color: transparent;
  transition: box-shadow 0.3s ease;
}

.card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0px;
}

.card-img img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  ;
}

.card-img:hover img {
  transform: scale(1.1);
}

.card-title {
  text-transform: uppercase;
  padding: 20px 0px;
}

.card .card-title h1 {
  font-size: 1.5rem;
}


.mySwiper2 {
  width: 100%;
  height: 30vh !important;
}


.apresentation__slide__title-container {
  display: none;
}

.apresentation__slide__title-containerMobile {
  margin-top: 10px;
  text-align: center;
}

.apresentation__slide__title-container h1,
.apresentation__slide__title-containerMobile h1 {
  font-family: var(--font-small);
  font-size: 2rem;
  font-weight: bold;
  line-height: normal;
  text-transform: uppercase;
}

.contenedor_title_proyect {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

/* Splide Carousel proyect */
.slick-track {
  display: flex;
  justify-content: center;
  margin: auto;
  width: 100%;
  gap: 19px;
  opacity: 1;
}

.slick-dotted.slick-slider {
  margin-bottom: 30px;
  margin-top: 15px;
}

.slick-list .draggable {
  margin: auto;
}

.slider-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.slick-slide img {
  width: 100%;
  height: 275px;
  object-fit: cover;
}

/* .slider-for {
  margin-top: 80px;
} */

.slider-for .slick-slide {
  max-width: 500px;
  /* Tamaño máximo en pantallas de escritorio */
  margin: 0 auto;
}

.slider-nav {
  margin-top: 20px;
  max-width: 500px;
  /* Tamaño máximo en pantallas de escritorio */
  margin: 0 auto;
}

.slick-prev,
.slick-next {
  display: none;
}

.slick-dots {
  position: absolute;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots button {
  font-size: 1rem;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slick-dots button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slick-dots .slick-active button {
  background-color: rgba(255, 255, 255, 0.8);
}


.project-info__detail {
  margin-top: 50px;
}

.contenedor_title_proyect h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
}

.project-info__title {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 4.4rem);
  font-weight: 500;
  line-height: normal;
}


.contenedor_about_project {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.project-info__detail h2 {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  font-size: 1.7rem;
}

.about__project__img img {
  width: 100%;
  height: 100%;
}


/* DETAILS Y TAG */
.apresentation__info {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px 30px
}

.apresentation__info__title {
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.apresentation__info__title {
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.apresentation__info__details,
.apresentation__info__tags {
  width: 80%;
  margin: 1rem 0rem;
}

.apresentation__info__details ul,
.apresentation__info__tags ul {
  list-style: none;
  padding: 0px;
  margin-top: 20px;
}

.apresentation__info__list {
  display: flex;
  gap: 20px;
}

.apresentation__info__tags .apresentation__info__list {
  flex-wrap: wrap;
}

.apresentation__info__list li {
  font-size: 1rem;
}

.apresentation__info__tags .apresentation__info__list .liTags {
  background-color: #202122;
  color: #d0d1d2;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  font-size: 1rem;
}


.liTags::first-letter {
  text-transform: capitalize;
}

.project-info__text::first-letter {
  text-transform: capitalize;
  font-size: clamp(3rem, 4vw + 1rem, 4.5rem);
  font-weight: bold;
  font-family: 'Bitter', serif;
}

/* Paginacion */
/* Modificado en bootstrap-4.blade que es donde esta el pagination de laravel */
#pagination {
  margin-bottom: 4rem;
}

.cursor-not-allowed {
  cursor: not-allowed !important;
}

/* ----------------------- */

@media (min-width:640px) {

  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    /* 240px es el ancho mínimo de cada columna */
    grid-gap: 20px;
    /* Espacio entre las columnas */
    justify-items: center;
  }

  .apresentation__slide__title-container {
    display: block;
    background-color: var(--bg-dark);
    bottom: 0;
    left: 0;
    padding: 16px 40px;
    position: absolute;
    z-index: 2;
    color: white;
  }

  .apresentation__slide__title-containerMobile {
    display: none;
  }

  .apresentation__info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 85%;
    margin: auto;
  }

  .apresentation__info__details,
  .apresentation__info__tags {
    width: 50%;
    margin: 2rem 0rem;
  }

  .apresentation__info__title,
  .apresentation__info__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .apresentation__info__tags .apresentation__info__list li {
    font-size: 1.1rem;
  }

  .liTags {
    font-size: 1.2rem;
  }

  .mySwiper2 {
    margin-top: 20px;
    width: 100%;
    height: 550px !important;
  }

  .apresentation__info__list li {
    font-size: 1.1rem;
  }

  .project-info__detail h2 {
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    font-size: 1.8rem;
  }

  .apresentation__slide__title-container h1,
  .apresentation__slide__title-containerMobile h1 {
    font-size: 2.2rem;
  }

}


@media (max-width: 1000px) {
  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .swiper {
    width: 100%;
    max-height: 550px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
  }

  .mySwiper {
    width: 94%;
    height: 110px;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 10px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    /* display: none; */
  }

  .mySwiper .swiper-slide {
    width: 100%;
    height: 100%;
    opacity: 0.4;
  }

  .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media only screen and (min-width:1000px) {
  .breadcrumb {
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
  }

  .breadcrumb li a {
    font-size: 1.1rem;
  }

  .projects_container {
    width: 80%;
    margin: auto;
  }

  .card {
    width: 450px;
    height: 400px;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
    grid-gap: 0px 40px;
    height: 100%;
    width: 100%;
  }

  .mySwiper2 {
    width: 100%;
    height: 500px;
  }

  .apresentation__info__list li {
    font-size: 1.2rem;
  }

  .apresentation__info__tags .apresentation__info__list .liTags {
    background-color: #202122;
    display: inline-block;
    padding: 0.5rem 1rem;
    width: -moz-fit-content;
    width: -webkit-fit-content;
    width: fit-content;
    font-size: 1.1rem;
  }
}

/* Estilos para dispositivos de escritorio */
@media (min-width:1500px) {
  .grid-container {
    width: 65% !important;
  }

  .contenedor-swiper-wraper {
    width: 60% !important;
    margin: auto;
  }

  .mySwiper2 {
    width: 100%;
    height: 550px !important;
  }

}

@media (min-width: 1001px) {
  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    grid-auto-flow: dense;
    grid-gap: 0px 40px;
    height: 100%;
    width: 100%;
  }

  #item-0 {
    grid-row-end: span 2;
    grid-column-end: span 2;
    height: 500px;
    /* 290x2 de la img chica*/
  }

  #item-1,
  #item-2,
  #item-3,
  #item-4,
  #item-5,
  #item-6,
  #item-7,
  #item-8 {
    grid-row-end: span 1;
    grid-column-end: span 1;
    height: 250px;
  }

  .card {
    width: 100%;
  }

  .swiper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: clamp(2rem, 4vw, 4.8rem);
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .swiper {
    width: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .swiper-slide {
    background-size: cover;
    background-position: center;
  }

  .contenedor-swiper-wraper {
    width: 80%;
    margin: auto;
  }

  .mySwiper2 {
    margin-top: 20px;
    width: 100%;
    height: 600px;
  }

  .mySwiper {
    height: 150px;
    box-sizing: border-box;
    padding: 10px 0;
    margin-top: 20px;
    cursor: grab;
  }

  .mySwiper .swiper-slide {
    width: 25%;
    /* Tamaño para dispositivos de escritorio */
    height: 100%;
    opacity: 0.4;
  }

  .swiper-slide-active {
    cursor: grab;
  }

  .mySwiper .swiper-slide-thumb-active {
    opacity: 1;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  .contenedor_about_project {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 10rem;
    margin-bottom: 10rem;
    gap: 100px;
  }

  .about__project__img,
  .project-info__detail {
    width: 50%;
  }

  .project-info__detail {
    margin-top: 0px;
  }

  .project-info__detail h2 {
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 3rem;
  }

  .about__project__img img {
    width: 100%;
    height: 100%;
  }

  .apresentation__info {
    display: flex;
    flex-direction: row;
    width: 100%;
  }

  div .paginator a.button {
    max-width: 10.5rem;
  }

  .button__icon {
    width: 30px;
    height: 30px;
  }

  .location__title {
    font-size: 2.8rem;
  }

}

/* Mapa */
.location__title {
  margin-bottom: 2rem;
  font-family: var(--font-small);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-left: 2%;
  /* para celu poner margin 0 */
}

#map {
  width: 100%;
  height: 300px;
  /* cambiar tamaño para PC*/
  margin: 0 auto;
  max-width: 1000px;
}

.location__address {
  margin: 0 auto;
  max-width: 1000px;
  margin-top: 10px;
  color: #a8aaad;
}

.leaflet-control {
  display: none;
}

/* Btn pagination */
nav.paginator {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10rem;
}

.paginator a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  gap: 10px;
  border: none;
  max-width: 8.5rem;
  padding-bottom: .5rem;
  padding-top: .5rem;
  transition: .25s cubic-bezier(.68, .16, .3, .84);
  margin-top: 5rem;
  border-radius: 1px;
  font-weight: bold;
}

.paginator .btn-previus,
.paginator .btn-previus:hover {
  background-color: #202122;
  color: #fff;
}

.paginator .btn-next,
.paginator .btn-next:hover {
  background-color: #fff;
  color: #101010;
}

.paginator .btn-next svg path {
  fill: black;
}

/* Anulo <a> cuando no tiene next o previus */
.button.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}