.carousel{
    border-top: 5px solid #d3d3d3;
    margin: 1em 0;
    padding: 1em;
}

.carousel_content h5{
    color: rgb(26, 67, 133);
    text-align: center;
    font-weight: 600;
    
}
.carousel_content h2{
    text-align: center;
    margin-top: .2em;
    padding-bottom: .2em;
    font-weight: 700;
    font-size: 33px;
}

.carousel_container{
    margin: 0 auto;
    width: 100%;
    max-width: 990px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding:  0 15px;
}

.left{
    position: absolute;
    top: 50%;
    left: 0;
    background-color: none;
    cursor: pointer;
    opacity: 0.4;
    transition: all .5s;
    background: none;
}
.right{
    position: absolute;
    top: 50%;
    right: 0;
    background-color: none;
    cursor: pointer;
    opacity: 0.4;
    transition: all .5s;
    background: none;
}

.left:hover,
.right:hover{
    opacity: 1;
}

#slider{
    max-height: 550px;
    display: flex;
    align-items: center;
    gap: 2em;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: all .5s ease-in-out;
}

#slider a img{
    filter: grayscale(100%);
    transition: all .1s ease-in;
}
#slider a img:hover{
    
    filter: grayscale(0);
}

#slider::-webkit-scrollbar{
    display: none;
}
.s-border{
    border-top: none;
}


@media screen and (max-width:1000px){
    .carousel_container{
        max-width: 750px;
    }
}
@media screen and (max-width:580px){
    .carousel_container{
        max-width: 95%;
    }
    
}
@media screen and (max-width:350px){
    .carousel_container{
        max-width: 100%;
    }
}
@media screen and (max-width:310px){
    .carousel_content h2{
        font-size: 22px;
    }
}


