/*-----------------------------------------  banner  --------------------------------------*/

.slider{
    margin-top: -40px;
  }
  
  .carousel-item{
    height: calc(100vh - 220px);
  }
  
  .carousel-item img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  } 
  
  .carousel-item::after{
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.411);
    position: fixed;
    top: 0;
  }
  
  
  /*--------------------------------------- Animación Slider ----------------------------------------------*/
  
  .text-box{
    z-index: 1;
    position: relative;
    height: calc(100vh - 220px);
    display: flex;
    align-items: end;
    padding-bottom: 60px;
  }
  
  /* Caja de título, subtítulo, y botón */
  .title-box, .subtitle-box, .button-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    margin: 10px 0;
    width: auto;
    display: inline-flex; 
    max-width: 500px;
    justify-content: center;
  }
  .title-box, .subtitle-box, .button-box h2{
    color: #b11d27;
  }
  
  .message{
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    max-width: 800px;
  }
  
  .separator{
    height: 140px;
    width: 100%;
  }
  
  .separator-inside{
    height: 40px;
    width: 100%;
  }
  
  .img-info{
    box-sizing: content-box;
    height: 100%;
  }
  .img-info img{
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
  }
  
  
  @media (min-width: 992px) {
    .img-info {
      box-sizing: content-box;
      height: 100%;
      position: absolute !important;
    }
  }