/* BLOQUE 1: LEY 2089 DE 2021 */

.ley-2089 {
    margin-top: 5%;
}

.ley-2089 #carouselLaLey {
    height: 450px;
}

.ley-2089 .carousel-control-next,
.ley-2089 .carousel-control-prev {
    width: 80px;
}

.ley-2089 .carousel-control-prev span,
.ley-2089 .carousel-control-next span {
    position: relative;
    background-color: greenyellow;
}

.ley-2089 .carousel-inner,
.ley-2089 .carousel-item,
.ley-2089 .ley-2089-info_container,
.ley-2089 .ley-2089-info {
    height: 100%;
}

.ley-2089 .carousel-item .ley-2089-info_container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: 6px solid blue;
    border-radius: 60px;
    align-items: center;
}

.ley-2089 .carousel-item .ley-2089-info_container figure {
    width: 280px;
    position: absolute;
    right: 50px;
    bottom: -40px;

}

.ley-2089 .ley-2089-info {
    background-color: #bc0000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 55px;
    width: 62%;
    padding: 2% 5%;
}

 .ley-2089 .ley-2089-info p {
    color: #FFF;
    font-size: 18px;
    line-height: 22px;
    text-align: justify;
}

.ley-2089 .ley-2089-info p span {
    font-family: "Alphakind";
}

@media only screen and (max-width: 1100px) {

    .ley-2089 .ley-2089-info {
        padding: 2% 7%;
    }

     .ley-2089 .ley-2089-info p {
        font-size: 16px;
        line-height: 20px;
    }

    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 260px;
        right: 60px;
    }
}

@media only screen and (max-width: 1000px) {
    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 250px;
        right: 55px;
    }
}

@media only screen and (max-width: 900px) {

    .ley-2089 .ley-2089-info {
        border-radius: 25px;
    }

    .ley-2089 .carousel-item .ley-2089-info_container {
        border-radius: 30px;
    }

    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 230px;
        right: 50px;
    }
}

@media only screen and (max-width: 800px) {
    .ley-2089 #carouselLaLey {
        height: auto;
    }

    .ley-2089 .carousel-item .ley-2089-info_container {
        flex-direction: column-reverse;
        gap: 0;
    }

    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 250px;
        position: relative;
        left: 0;
        right: 0;
        bottom: -37px;
    }

    .ley-2089 .ley-2089-info {
        padding: 5%;
        width: 100%;
    }

    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .ley-2089 .carousel-control-next, .ley-2089 .carousel-control-prev {
        top: -40px;
    }
}

@media only screen and (max-width: 600px) {
    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 220px;
        bottom: -32px;
    }

    .ley-2089 .carousel-control-next, .ley-2089 .carousel-control-prev {
        top: -20%;
    }
}

@media only screen and (max-width: 500px) {
    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 200px;
        bottom: -28px;
    }

    .ley-2089 .carousel-control-next, .ley-2089 .carousel-control-prev {
        top: -40%;
    }
}

@media only screen and (max-width: 400px) {
    .ley-2089 .carousel-item .ley-2089-info_container figure {
        width: 60%;
    }
}