#slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0px;
}
#slider .carousel-inner {
    height: 100%;
}
#slider .carousel-item
{
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: 100%;
    height: 100%;
}
.carousel-item.active, .carousel-item.carousel-item-next, .carousel-item.carousel-item-start {
    display: grid;
    align-content: center;
}
#slider .carousel-item .sc-container {
    position: relative;
}
#slider .carousel-item .carousel-item-text
{
    max-width: 494px;
    padding: 60px 30px;
    color: rgb(54, 54, 54);
}

@media(min-width:1600px)
{
    #slider .carousel-item .sc-container {
        max-width: 80%;
    }
}
@media (min-width: 992px)
{
    #slider .carousel-item .sc-container {
        margin: auto;
    }
    #slider .carousel-item .carousel-item-text{
        position: absolute;
        top: 50%;
        transform: translate(0%, -50%);
        left: 10%;
        overflow: hidden;
        background: radial-gradient(circle, rgb(255, 255, 255) 4%, rgba(255,255,255,0.7341371395196945) 59%, rgba(255,255,255,0) 83%);
    }
}
@media(max-width: 992px)
{
    #slider{
        height: 540px;
    }
    #slider .carousel-item .carousel-item-text
    {
        padding: 10px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.5);
        max-width: initial;
        margin: auto;
        text-align: center;
    }
}
@media (max-width: 575px) {
    #slider{
        height: 308px;
    }
}