/* `xxxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1579.98px) {

}

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}
/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {


}
@media(min-width: 1024.98px) and (max-width: 1199.98px) {

}
/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 1024.98px) {
    .ultime-news {
        min-height: auto;
    }
    .ultime-news .bg-red {
        height: 40vh;
    }
    .ultime-news .triangle-white {
        height: 40vh;
    }
    .ultime-news .red-line {
        top:8%;
    }

    .ultime-news .title-ultime-news {
        top: 18%;
    }
    .home-demo .item {
        min-height:12rem;
    }
    .home-demo .center .item {
        transform: translateY(-1rem);
        height: 14rem;
    }


}
@media(min-width: 767.98px) and (max-width: 991.98px) {

    .home-demo h4 {
        font-size: 20px;
    }
    .home-demo p {
        font-size: 14px;
    }

}
/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 768.98px) {
    .home-demo h4 {
        font-size: 16px;
    }
    .home-demo p {
        font-size: 12px;
    }
    .home-demo .item {
        min-height:10rem;
    }
    .home-demo .center .item {
        transform: translateY(-1rem);
        height: 12rem;
        border: 0.5rem solid #df1a2d;
    }

}
/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .ultime-news .triangle-white {
        height: 30vh;
    }
    .ultime-news .bg-red {
        height: 30vh;
    }
    .ultime-news .title-ultime-news {
        top: 15%;
    }
    .ultime-news .title-ultime-news .titolo h1 {
        font-size: 32px;
        text-align: center;
    }
    .ultime-news .title-ultime-news .titolo {
        padding-right: 0;
    }
    .ultime-news .title-ultime-news .descrizione {
        padding-left: 0;
    }
    .ultime-news .title-ultime-news .descrizione h5 {
        margin-top: 0.5rem;
        font-size: 14px;
        text-align: center;
    }
    .ultime-news .red-line {
        display: none;
    }
}
