body {
  /* font-family: "josefin Sans"; */
  font-family: "Work Sans", sans-serif;
  height: 100vh;
  /* background-color: #bc783b; */
}

/* Estilos generales para todas las resoluciones */
.header-logo {
  max-height: 1rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 1rem 2rem;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e3e3e3;
}

.header-item {
  display: flex;
  align-items: center;
}

.header-item img {
  /* margin-right: 0.6rem; */
}

.header-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: start;
  color: black;
  font-size: 0.9rem;
  margin-right: 5rem;
}

.header-item a img {
  width: 5rem;
}

.header-search {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.header-search input {
  max-width: 18.75rem;
}

.contacto {
  /* Clase del logo de contacto */
  display: inline-block;
  font-size: 1.2rem;
}

.contacto-label {
  align-self: center;
}

.redesSociales img {
  width: 2.2rem;
  margin-bottom: 0.3rem;
}

.redesSociales {
  font-size: 0.8rem;
  text-decoration: none;
}

.img-rastrear {
  width: 8em;
}

.carousel-inner {
  width: 100%;
  height: 625px;
  /* Ajusta esta altura según tus necesidades */
  overflow: hidden;
  /* Asegura que las imágenes no se salgan del contenedor */
}

.carousel-item {
  text-align: center;
  /* Centra la imagen horizontalmente */
}

.carousel-item img {
  max-height: 625px;
  max-width: 100%;
  object-fit: contain;
  /* Ajusta la imagen para que se vea completa dentro del contenedor */
}

.inputInicio {
  width: 75%;
}

.btn-InicioSesion {
  background-color: darkblue;
  color: white;
  font-weight: bold;
}

main {
  min-height: 60vh;
}

.txt_girado {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  /* white-space: nowrap; */
}


.tarjetaIndex a {
  text-decoration: none;
  color: Black;
}

.tarjetaIndex a:hover {
  text-decoration: underline;
  color: grey;
}

/* Pantallas grandes (PCs con más de 1400px) */
@media (min-width: 1400px) {
  .header-logo {
    max-height: 6rem;
  }

  .header-container {
    /* padding: 2.5rem 5rem; */
  }

  .header-search input {
    max-width: 32rem;
  }
}

/* Portátiles (1024px a 1400px) */
@media (min-width: 1024px) and (max-width: 1399.98px) {
  .header-logo {
    max-height: 5rem;
  }

  .header-container {
    /* padding: 1.8rem 3.75rem; */
  }

  .header-search input {
    max-width: 25rem;
  }
}

/* Tabletas (768px a 1023px) */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .header-logo {
    max-height: 3.75rem;
  }

  .header-container {
    /* padding: 1.25rem 2.5rem; */
  }

  .header-search input {
    max-width: 18.75rem;
  }

  .header-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-item img {
    margin-right: 0;
    margin-bottom: 0.3rem;
  }

  .header-item:not(:last-child) {
    margin-bottom: 0.6rem;
  }
}

/* Móviles (menos de 768px) */
@media (max-width: 767.98px) {
  .header-logo {
    max-height: 3.1rem;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    padding: 0.6rem;
  }

  .header-item {
    flex-direction: column;
    align-items: center;
  }

  .header-item img {
    margin-right: 0;
    margin-bottom: 0.3rem;
  }

  .header-item:not(:last-child) {
    margin-bottom: 0.6rem;
  }

  .header-search input {
    max-width: 100%;
  }
}