body{
    font-family: 'Alte Haas Grotesk', sans-serif;
    color: #333;
    background-color: #f9f9f9;
}

.imagen-header{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
    position: relative; 
    z-index: -1
}

.discontinua{
    border: none; 
    border-top: 3px dashed #000; 
    margin-left: 5%; 
    margin-right: 5%;
}

.textolegal{
    color: #050338;
}

.card-informativa {
    background-color: white;
    border-radius: 30px;
}

.card-title-informativa {
    font-size: 1.2rem;
}

.card-img-top-informativa {
    width: 40%;
    height: auto;
}
.tarjeta-sombra{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}


.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#carrusel-nosotros {
   
    overflow: hidden; 
    border-radius: 20px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    height: 80vh;
    width: 100vh;
  }

  .carousel-inner img {
    width: 100%;
    height: 80vh; 
    object-fit: cover; 
    position: relative;
    min-height: 80vh; /*Esto evita el cambio de tamaño durante la transición */
    max-height: 80vh; 
}
  
@media (min-width: 992px) {
    .card-title-informativa {
        font-size: 1.5rem;
    }
    .card-text-informativa {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px){

    #tarjetas{
        margin-top: -80px;
    }

}

@media (max-width: 524px) {

    #carrusel-nosotros { /*Ajusta el tamaño del carrusel para que se vea bien en pantallas de móvil */
        height: 30vh;
        width: 60vh;
      }
   
    .carousel-inner img {
        min-height: 30vh;
        max-height: 30vh; /*Ajusta la altura de la imagen para evitar espacios en blanco en el carrusel */
      }

  
           
}