html {
  margin: 0;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
  font-size: 1.01em;
}


p {
  font-size: 1em;
  text-align: justify; /* Para que el texto esté justificado */
  text-indent: 20px; /* Para agregar sangría en la primera línea */
}
body {
  overflow-x: hidden;
}
header {
  background-color: #0c0a10;
}
/* Sobrescribir padding del logo cuando el navbar es sticky */

/* Estilos por defecto */
/* Establece un padding y altura fijos para el logo */
.navbar-custom {
  padding-top: 10px; /* Ajusta según lo que prefieras */
  padding-bottom: 5px;
  transition: all 0.3s ease; /* Transición suave */
}

.navbar-custom.sticky-top {
  position: sticky;
  top: 0;
  width: 100%; /* Asegúrate de que el navbar ocupe todo el ancho */
  z-index: 10; /* Coloca el navbar por encima de otros elementos */
}



/* Asegura que el logo tenga un tamaño consistente */
.navbar-brand img {
  max-height: 60px; /* Ajusta según el tamaño que necesites */
  transition: all 0.3s ease;
}

.sticky .navbar-brand img {
  max-height: 50px; /* Ajusta el tamaño durante el scroll */
  transition: all 0.3s ease;
}




/* Barra de navegación */
nav.navbar {
  background-color: #0c0a10 !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.navbar-nav a.nav-link {
  display: block;
  padding: 5px 15px;
  margin: 0 10px;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  color: white;
}

.navbar-nav a.nav-link.active {
  font-weight: bold;
  color: white;
}

.navbar-nav a.nav-link:active {
  padding: 7px 10px;
  margin: 0 10px;
  font-weight: bolder !important;
  border-radius: 30px;
  transform: scale(0.7);
  transition: 0.5s;
}

.nav-link:hover {
  background: linear-gradient(
    45deg,
    rgba(245, 10, 14, 1) 40%,
    rgba(244, 252, 242, 1) 60%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

/* Asegúrate de que no haya desbordamientos en las columnas */
.row {
  margin-right: 0;
  margin-left: 0;
}

/* div rojo */
.di {
  background-color: #bf1216;
  margin: 0px;
}

.telefono_mail p {
  color: white;
  margin-left: auto;
  text-align: right;
}

/* Barra de navegación: Botón de contacto */
.btn.btn-outline-danger {
  border-color: #bf1216;
  color: #bf1216;
  padding: 2px 30px;
  border-radius: 30px;
  font-weight: 600;
}

.btn.btn-outline-danger:active {
  border-radius: 100px !important;
}

.btn.btn-outline-danger:hover {
  background: linear-gradient(
    45deg,
    rgba(245, 10, 14, 1) 40%,
    rgba(244, 252, 242, 1) 60%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
  border-radius: 50px;
  color: white;
}

/* Redes sociales */
.redes {
  background: #bf1216;
  color: #0c0a10;
}

.redes a {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  color: #0c0a10;
  margin-left: 5px;
}

.redes a i {
  font-size: 16px;
  vertical-align: middle;
}

/* Carousel */
.carousel-inner {
  max-height: 600px;
}

.carousel-item img {
  max-height: 400px;
  width: 100%;
  object-fit: contain;
  margin: auto;
  display: block;
}

img.d-block.w-100 {
  background-color: #0c0a10;
  width: auto;
  height: auto;
}

.col-md-4 > img.d-block.w-100 {
  background-color: #1f2123;
  border-radius: 20px;
}

/* Media queries para pantallas pequeñas */
@media only screen and (max-width: 600px) {
  body {
    padding: 0;
  }

  main {
    padding: 0;
  }

  div.container-fluid.entrada,
  div.container-fluid.p-5 {
    padding: 0;
  }
}

@media (max-width: 576px) {
  header.redes {
    padding: 10px 30px !important;
    text-align: center;
  }

  header.redes .d-flex.ms-5 {
    justify-content: center;
    margin-left: 0 !important;
  }

  header.redes .telefono_mail {
    justify-content: center;
    align-items: center;
    margin-top: 0px !important;
    gap: 0 !important;
    height: auto;
    line-height: 1.2;
  }

  header.redes .telefono_mail p {
    margin-bottom: 0px !important;
    margin-top: 3px !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    line-height: 1.2;
  }

  header.redes .telefono_mail p + p {
    margin-top: 2px !important;
  }
}

.btn.btn-dark.volver:active {
  box-shadow: 11px 8px 39px 13px rgba(255, 252, 252, 0.904);
}




