
    .carousel-item img {
      width: 100%;
      height: 400px; /* Ajusta la altura según tus necesidades */
      object-fit: cover; /* Esto asegura que la imagen se ajuste al tamaño sin distorsionarse */
    }
    @media (max-width: 768px) {
      .carousel-item img {
        height: 200px; /* Ajusta la altura para dispositivos móviles */
      }
    }
    /* Para resoluciones más bajas */
    @media (max-width: 1366px) {
      .carousel-item img {
        width: 100%;
        height: auto;
      }
    }

    /* Para resoluciones más altas */
    @media (min-width: 1920px) {
      .carousel-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }
    }

    .custom-bold-text {
      font-weight: bold;
      font-family: 'Montserrat', sans-serif; /* Cambia 'Montserrat' por la fuente que prefieras */
      color: #333333; /* Cambia el color por el que desees */
      font-size: 18px; /* Ajusta el tamaño de la fuente si es necesario */
    }
    .red-border {
            border: 5px solid red;
             /* Ajusta el tamaño de la imagen según sea necesario */
            height: auto;
        }
 /*------------------------------------------------------------------------*/
       
    .container2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #d1c4e9;
        padding: 50px;
        color: #000;
        height: 100vh;
    }
    .left {
        font-size: 2em;
        max-width: 50%;
    }
    .right {
        max-width: 40%;
    }
    .right p {
        margin: 0;
        font-size: 1.2em;
    }
    .right a {
        display: inline-block;
        margin-top: 20px;
        text-decoration: none;
        color: black;
        font-weight: bold;
    }
    .right a:hover {
        text-decoration: underline;
    }
    .branding {
        position: absolute;
        transform: rotate(-90deg);
        transform-origin: left bottom 0;
        left: -50px;
        bottom: 50%;
        font-size: 0.8em;
        color: #333;
        background-color: #fff;
        padding: 5px;
    }