@media (prefers-color-scheme: dark) {

  /* Estilos para el modo oscuro */
  body {
    background-color: #131313;
    color: #fff;
  }

  /* Otros estilos para elementos específicos en modo oscuro */
}

@media (prefers-color-scheme: light) {

  /* Estilos para el modo claro */
  body {
    background-color: #fff;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Transición suave */
  }

  /* Otros estilos para elementos específicos en modo claro */
}

body {
  background-color: #131313;
  color: #fff;
}

body.modo-oscuro {
  background-color: #fff;
  /* Fondo claro predeterminado */
  color: #333;
  /* Texto oscuro predeterminado */
  transition: background-color 0.3s ease, color 0.3s ease;
  /* Transición suave */
}
#carouselExampleCaptions .carousel-item {
            transition-duration: 0.5s; /* 1 segundo - ajusta este valor a tu preferencia */
        }
.text-justify{
    text-align: justify;
}
.active-modelo-cotice {
  background-color: #ccc;
}

.logo-lav {
  max-height: 60px;
  border-radius: 10px;
}

.btn-modo-oscuro {
  margin-left: 35%;
  color: #ccc;
  border-color: #ccc;
  font-weight: 600;
}

.btn-calc-finance {
  background: linear-gradient(to right, #007EB5, #013473);
  font-size: 2rem;
  color: #eee;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
}

.slider_home {
    display: block;
}

.slider_home_movil {
  display: none;
}

.card {
  border-radius: 10px;
  overflow: hidden;
  border-bottom: thick solid rgba(107, 107, 107, 1);
  border-right: thick solid rgba(107, 107, 107, 1);
}

.card>p {
  margin-top: 0%;
  text-align: center;
}

.card:hover {
  filter: alpha(opacity=80);
  -webkit-box-shadow: 6px 6px 6px 3px rgba(107, 107, 107, 1);
  -moz-box-shadow: 6px 6px 6px 3px rgba(107, 107, 107, 1);
  box-shadow: 6px 6px 6px 3px rgba(107, 107, 107, 1);
  opacity: 0.8;
}

.video-container {
  position: relative;
  /* Importante para posicionar el texto */
  width: 100%;
  /* Ajusta el ancho según tus necesidades */
}

.video-container video {
  width: 100%;
  display: block;
}

.video-text {
  position: absolute;
  top: 150%;
  left: 20%;
  transform: translate(-50%, -150%);
  /* Centra el texto */
  font-weight: bold;
  font-size: 20px;
  color: white;
  text-align: left;
}

.titulo-video-text {
  font-size: 40px;
  font-family: avenirnextltpro-bold, sans-serif;
  font-weight: 600;

  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  /* Sombra para mejorar la legibilidad */
}

.nav-link {
  border-bottom: 1px solid #847155;
  border-radius: 12px;
}

.nav-link:hover {
  background-color: #ccc;
  border-radius: 12px;
}

.navbar-nav>.active>a {
  color: #fff;
  background-color: #297fb8;
}

.nombre_modelos {
  font-family: avenirnextltpro-bold, sans-serif;
  font-size: 40px;
  font-weight: 600;
}

.boton_modelos {
  background: linear-gradient(to left, #007EB5, #013473);
  font-size: 1.2rem;
  color: #eee;
  width: 100%;
  font-weight: 600;
  border-radius: 25px
}

.boton_modelos:hover {
  background: linear-gradient(to left, #013473, #007EB5, #013473);

  color: #eee;
}

.lav {
  width: 30%;
}

/* CSS hide menu*/
#mySidenav a {
  position: fixed;
  right:-70px;  
  width: 110px;    
  /*right: 0px;
  width: 60px;*/
  transition: 0.4s;
  font-size: 12px;
  padding: 13px 5px;
  text-align:left;
  text-decoration: none;
  color: #fff;
  border-radius: 5px 0 0 5px;
  opacity: 0.8;
    z-index: 2;
}
#mySidenav a strong{
    display: block;
    float: right;
    margin-right: 5px;
    text-align: left;
}
#mySidenav a svg{
    width: 30px;
    height: 30px;    
}

#mySidenav a:hover {
  right: 0px;
  opacity: 1;
}

#whatsapp {
  bottom: 185px;
  padding: -10px 0px;
  margin-left: -10px;
  width: 50px;
  background-color: #007EB5;
}

#cotice {
  bottom: 60px;
  background-color: #007EB5;
}

.oscuro {
  bottom: 60px;
  background-color: #007EB5;
}

#citas {
  bottom: 120px;
  background-color: #555;
}

#goup {
  background-color: #76aadb;
  bottom: 0px;
  text-align: center;
  height: auto;
  width: 60px;
  position: fixed;
  right: 0px;
  opacity: 0.8;
  padding: 10px 5px;
  border-radius: 5px 0 0 5px;
}

#finance {
  right: 0px;
  bottom: 245px;
  background: linear-gradient(to left, #007EB5, #013473);
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #007EB5, #013473);
  /* Degradado para la barra */
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  /* Sombra */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #007EB5;
  /* Borde alrededor del "pulgar" */
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  /* Transición para el efecto hover/active */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #007bff;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/*Fin CSS SideNav */
@media (max-width: 975px) {
  .btn-modo-oscuro {
    margin-left: 1%;
    margin-right: 0%;
  }

  .btn-calc-finance {
    font-size: 1.5rem;
    border-radius: 30px;
  }

  .logo-lav {
    max-height: 50px;
    border-radius: 10px;
  }

  .slider_home {
    display: none;
  }

  .slider_home_movil {
    display: block;
    width: 100%;
  }
    
    .carousel-indicators{
        margin-bottom: -1.2rem;
    }    

  .video-text {
    position: relative;
    width: 100%;
    left: 50%;
    transform: translate(-50%, -0%);
    /* Centra el texto */
    font-weight: 600;
    font-size: 18px;
    text-align: center;
  }

  .titulo-video-text {
    font-size: 25px;
    font-family: avenirnextltpro-bold, sans-serif;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Sombra para mejorar la legibilidad */
  }

  /* CSS hide menu*/
  #mySidenav a {
    position: fixed;
    width: 20%;
    transition: 0.4s;
    text-align: center;
    text-decoration: none;
    color: #fff;
    opacity: 1;
    background: linear-gradient(to left, #013473, #007EB5, #013473);
    border-radius: 5px;
    padding: 5px 5px;
    margin: 0%;
    border-bottom: thick solid rgba(107, 107, 107, 1);
    border-right: thick solid rgba(107, 107, 107, 1);
  }
  #mySidenav a strong{
    display: block;
    float: none;
    margin-right: 0px;
    text-align: center;
      font-weight: 400;
      font-size: 10px;
      padding-top: 3px;
  }
#mySidenav a svg{
    width: 24px;
    height: 24px;    
}    
  #mySidenav a:hover {
    right: none;
    opacity: 0.9;
  }

  #cotice {
    left: 0%;
    bottom: 0px;
  }

  #citas {
    left: 20%;
    bottom: 0px;
  }

  #whatsapp {
    left: 40%;
    bottom: 0px;
  }

  #finance {
    left: 60%;
    bottom: 0px;
    padding: 5px 0px;
  }

  #goup {
    left: 80%;
    bottom: 0px;
  }

  /*Fin CSS SideNav */
  .oscuro {
    left: 0%;
    bottom: 0px;
    z-index: 999;
  }

  .imagen_modelos {
    max-width: 150%;
    /* Amplía la imagen un 50% más */
  }

  .lav {
    width: 29%;
  }
    .footer-lav{
        margin-bottom: 30px;
    }    
}