#demos {
    width: 100%;
    height: 400px;
    padding-top: 0 !important;
    padding-bottom: 500px !important;
}

.carousel-item img {
    width: 100%;
    height: 400px;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
}

.portfolio-grid {
    position: relative;
    padding-top: 75px;
    padding-bottom: 400px;
}

@media (min-width: 320px) and (max-width: 767px) {
    .portfolio-grid {
        position: relative;
        padding-top: 75px;
        padding-bottom: 2100px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .portfolio-grid {
        position: relative;
        padding-top: 75px;
        padding-bottom: 825px;;
    }
}

.carousel-caption h5 {
    font-size: 16px;
    color: white;
    font-family: "Rubik", sans-serif;
    text-transform: capitalize;
    line-height: 1.5;
    margin-bottom: 0px;
}

.carousel-caption p {
    font-size: 12px;
    color: white;
    font-family: "Rubik", sans-serif;
    text-transform: capitalize;
    line-height: 1.5;
    margin-bottom: 0px;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.d-none {
    display: block !important;
}
