/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .carousel-caption {
        position: absolute;
        background: rgb(0 0 0 / 0%);
        padding: 0px 0px;
        line-height: 8px;
        font-size: 11px;
    }
    h5.caro-head {
        font-size: 14px;
        color: white;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .carousel-caption {
        position: absolute;
        background: rgb(0 0 0 / 0%);
        padding: 0px 0px;
        line-height: 8px;
        font-size: 11px;
    }
    h5.caro-head {
        font-size: 14px;
        color: white;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .carousel-caption {
    position: absolute;
    background: rgb(0 0 0 / 0%);
    padding: 0px 0px;
    line-height: 8px;
    font-size: 11px;
    }
    h5.caro-head {
        font-size: 39px;
        color: white;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .carousel-caption {
        position: absolute;
        background: rgb(0 0 0 / 0%);
        padding: 0px 0px;
        line-height: 8px;
        font-size: 11px;
    }
    h5.caro-head {
        font-size: 56px;
        color: white;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .carousel-caption {
        position: absolute;
        background: rgb(0 0 0 / 0%);
        padding: 0px 0px;
        line-height: 8px;
        font-size: 45px;
    }
    h5.caro-head {
        font-size: 56px;
        color: white;
    }
}