.ul {
        display: flex;
        flex-direction: column;
        align-items: start;
        list-style-type: none;

        li {
            padding: 6px 0;

            a {
            position: relative;
            display: block;
            padding: 4px 0;
            text-decoration: none;
            text-transform: uppercase;
            transition: 0.5s;

            &::after {
                position: absolute;
                content: "";
                top: 100%;
                left: 0;
                width: 100%;
                height: 3px;
                background: #3498db;
                transform: scaleX(0);
                transform-origin: right;
                transition: transform 0.5s;
            }

            &:hover {
                color: #95a5a6;
            }

            &:hover::after {
                transform: scaleX(1);
                transform-origin: left;
            }
            }
        }
    }
    #carousel div.prev img {
    width: 150px;
}

    .prev p,
.next p, .prevLeftSecond p,  .nextRightSecond p, .nextRightThirth p, .prevLeftThirth p, .nextRightFourth p{
    display: none;
}

.selected p {
    display: block;
}
#carousel div.prevLeftThirth img, div.nextRightFourth img {
    display: none;
}
/* .selected img{
    width: 100px;
    max-width: 20rem;
} */

@media only screen and (min-width: 992px) {
      .prev p,.selected p,
.next p, .prevLeftSecond p,  .nextRightSecond p, .nextRightThirth p, .prevLeftThirth p, .nextRightFourth p{
    display: none;
}
}

@media only screen and (max-width: 991px) {
        .prev p,.selected p,
.next p, .prevLeftSecond p,  .nextRightSecond p, .nextRightThirth p, .prevLeftThirth p, .nextRightFourth p{
    display: none;
}

 
}

@media only screen and (max-width: 799px){
          .prev p,.selected p,
.next p, .prevLeftSecond p,  .nextRightSecond p, .nextRightThirth p, .prevLeftThirth p, .nextRightFourth p{
    display: none;
}
}

@media only screen and (max-width: 399px){
        .prev p,.selected p,
.next p, .prevLeftSecond p,  .nextRightSecond p, .nextRightThirth p, .prevLeftThirth p, .nextRightFourth p{
    display: none;
}
    
}
