@font-face{
    font-family: 'Nexa';
    src: url(nexa/Nexa-Regular.ttf);
    font-style: normal;
}
@font-face{
    font-family: 'Nexa-bold';
    src: url(nexa/Nexa-XBold.ttf);
    font-style: normal;
}
/* slider css starts from here*/
.bodyx{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 35px;
    height: 350px;
    margin-bottom: 50px;
}
.carousel .dragging .cards{
    cursor: grab;
    user-select: none;
}
.carousel .cards{
    height: 250px;
    width: 250px;
    list-style: none;
    background: #fff;
    border-radius: 30px;
    padding-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    scroll-snap-align: center;
    margin-top: 10%;
    transition: all ease-in-out .1s;
 }
.carousel .cards .title{
    width: 100%;
    height: 100%;
}
.carousel .cards .title .name p{
    font-size: 15px !important;
    padding: 0;
    cursor: pointer;
    font-family: 'Nexa';
    font-weight: 500;
    margin-bottom: 0;
}
.carousel .cards .title .name{
    height: auto;
    cursor: pointer;
}
abbr{
    text-decoration: none;
}
.carousel .cards .title img{
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 10px;
    object-fit: cover;
    margin-bottom: 20px;
    pointer-events: none;
    filter: grayscale(100%);
}
 
.carousel .cards:last-child {
    margin-right: 50px;
}

 
 
@media(max-width: 700px){
    .body{
        padding: 0 0;
       height: 600px;
       margin-bottom: 150px;
    }
    .carousel .cards .title .name p{
        font-size: 20px;
        text-align: center;
        padding: 0;
        margin-bottom: 0;
    }
    .carousel .cards{
        height: 280px;
        width: 300px;
        background-color: #ED1C24;
    }
    .carousel .cards .title img{
        height: 120%;
    }
    .carousel .cards:nth-child(2) {
        margin-left: -25%;
    }
    .carousel .cards:nth-child(3) {
        margin-left: -50%;
    }
    .carousel .cards:nth-child(4) {
        margin-left: -75%;
    }
    .carousel .cards:nth-child(5) {
        margin-left: -100%;
    }
    .carousel .cards:nth-child(6) {
        margin-left: -125%;
    }
   
    .wraper .carousel{
        height: 40vh;
    }
 
 
}
.wraper{
    max-width: 1060px;
    width: 100%;
    position: relative;
    margin-top: 200px;
}
.wraper .fa-solid{
    text-align: center;
    align-items: center;
    justify-content: center;
}
.navs-tab{
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    transform: translateY(-800%);
    display: flex;
    margin-bottom: 50px;
     
}
#right{
    left: 55%;
    top: 65%;
}
#left{
    left: 48%;
    top: 65%;
}
 .navs-tab i{
    height: 50px;
    width: 50px;
    background: #fff;
    color: #000;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    border: 1px solid rgba(199, 199, 199, 0.376);
    font-size: 1.25rem;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-left: -10px;
}
.wraper i:hover{
    background-color: #ED1C24;
    color: #FFF;
}
 
 
@media(min-width: 701px) and (max-width: 1080px){
    .wraper{
        max-width: 800px;
    }
 
}
.carousel::-webkit-scrollbar{
    display: none;
}
.wraper .carousel{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% / 2) - 12px;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: 0;
    height: 500px;
}
@media(max-width: 700px){
    .navs-tab{
        transform: translateY(-100%);
        display: flex;
 
    }
    .navs-tab i{
        margin-left: -20px;
    }
    #right{
        left: 70%; 
    }
    #left{
        left: 50%;
        
    }
    .wraper .carousel{
        grid-auto-columns: calc(100% / 4) - 12px;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    .carousel .cards{
        height: 270px;
        width: 75%;
        list-style: none;
        background: #fff;
        border-radius: 30px;
        padding-bottom: 15px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        scroll-snap-align: center;
        margin-top: 10%;
        transition: all ease-in-out .1s;
     }
}

@media(max-width: 700px) {
    .wraper .carousel{
        grid-auto-columns: 100%;
    }
   
    .body{
        padding: 0 0;
        width: 90%;
        margin-left: 5%;
    }
}




 
/*slider starts*/
.bodys-text{
    margin: 0;
    padding: 0;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slider-text{
    width: 800px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    transform: translateX(0);
    margin-top: 400px;
    margin-left: 0;
    padding: 0;
}
.slides-text{
    width: 500%;
    height: 500px;
    display: flex; 
}
.slides-text input{
    display: none;
}

.slide-text{
    width: 20%;
    transition: .2s;
    text-align: center;
    align-items: center;
    height: 150px;
    left: 0;
    margin-left: 0;
    padding: 0;
    
}
.slide-text h1{
    color: #fff;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 30px;
}
.slide-text p{
    color: #fff;
    width: 80%;
    margin-left: 0;
    font-size: 15px !important;
}
.navigation-manual-text{
    position: absolute;
    width: 800px;
    margin-top: -300px;
    margin-left: -70px;
    display: flex;
    justify-content: center;
    display: none;
}
.manual-btn-text{
    border: 2px solid #ffffff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn-text:not(:last-child){
    margin-right: 40px;
}
.manual-btn-text:hover{
    background: rgb(255, 255, 255);
}
#radio1:checked ~ .first {
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;
}
 
.navigation-auto-text{
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    margin-top: 200px;
    display: none;
    margin-left: -70px;
}
.navigation-auto-text div{
    border: 2px solid #ffffff;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.navigation-auto-text div:not(:last-child){
    margin-right: 40px;
}

#radio1:checked ~ .navigation-auto-text .auto-btn1-text {
    background-color: #fff;
}
#radio2:checked ~ .navigation-auto-text .auto-btn2-text {
    background-color: #fff;
}
#radio3:checked ~ .navigation-auto-text .auto-btn3-text {
    background-color: #fff;
}
 
 
@media(min-width: 701px) and (max-width: 1080px){
    .navigation-auto-text{
        margin-left: 0;
    }.navigation-manual-text{
        margin-left: 0;
    }
    .bodys-text{
        height: 200px;
        width: 100%;
        padding: 10px 0;
    }
    .slider-text{
        margin-top: 10px;
        height: 200px;
        margin-left: 0;
    }
    .slide-text p{
        margin-top: 50px;
        font-size: 22px;
        width: 95% !important;
        margin-left: 0;
    }

}
@media(max-width: 700px){
    .bodys-text{
        height: 250px;
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }
    .slider-text{
        margin-top: 240px;
    }
    .slider-text{
        height: 250px;
        padding: 10px 0;
        margin-left: 0;
        margin-top: -100px;
    }
 
    .slide-text p{
        margin-top: 60px !important;
        margin-left: 0;
        font-size: 1rem !important;
        width: 95% !important;
    }
 
}
 /*slider  ends*/

 