
/* css mynewslider */
.mynewslider{
    height: 500px;
    /*margin-top: -50px;*/
    position: relative;
}
.mynewslider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.mynewslider .list .item img{
    width: 100%;
    height: 100%;
    /*object-fit:  cover;*/
    background-size: 100% 100%;
}
.mynewslider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    /*background-image: linear-gradient(
        to top, rgba(0, 0, 0, .7) 20%, transparent
    );*/
}
.mynewslider .list .item .content{
    position: absolute;
    left: 10%;
    top: 25%;
    width: 650px;
    max-width: 85%;
    z-index: 1;
    color: #fff;
}
.mynewslider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
    color: #fff;
}
.mynewslider .list .item .content p{
    color: #fff;
    font-size: 23px;

}
.mynewslider .list .item .content h2{
    font-size: 40px;
    margin: 0;
    color: #fff;
}
.mynewslider .list .item.active{
    opacity: 1;
    z-index: 10;
}

#prev,
#next {
  width: 35px;
  height: 35px;
  line-height: 25px;
  font-size: 15px;
  display: inline-block;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  /*border-radius: 50%;*/
  opacity: 1;
  transition: all .3s;
}

#prev {
  position: absolute;
  left: 0;
}

#next {
  position: absolute;
  right: 0;
}

#prev:hover,
#next:hover {
  opacity: 1;
  /*background-color: rgba(255, 255, 255, 0.5);*/
}



@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.mynewslider .list .item.active p:nth-child(1),
.mynewslider .list .item.active h2,
.mynewslider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s .7s ease-in-out 1 forwards;
}
.mynewslider .list .item.active h2{
    animation-delay: 1s;
}
.mynewslider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 50%;
    right: 0px;
    left: 0;
    z-index: 99;
    
    opacity: 0;
  
}
.arrows button:before {
    /*content: "\f105";
    font-family: Font Awesome\ 5 Pro;*/
    color: #fff;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 15px;
    line-height: 35px;
    height: 100%;
    width: 100%;
}

.arrows button {
    width: 35px;
    height: 35px;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 20;
    display: inline-block;
    margin-top: -21px;
    font-size: 0;
    cursor: pointer;
    /*background-color: rgba(0, 0, 0, .3);*/
    text-align: center;
    opacity: 10;
}

/*.arrows button{
    background-color: #eee5;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: #eee;
    transition: .5s;
}*/
.arrows button:hover{
    background-color: #eee;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 0px;
    right: 5px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: auto;
    height: 50px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 10px;
    height: 10px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: white;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: none;
}
.thumbnail .item.active{
    filter: brightness(1.5);
    background-color: red;
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 800px) {
    .thumbnail{
        justify-content: start;
    }
    /*.mynewslider .list .item .content h2{
        font-size: 60px;
    }*/
    .arrows{
        top: 50%;
    }

    .mynewslider{
        height: 600px;
        
        background-color:var(--secondary-clr);
    }

    .mynewslider .list .item img{
    /*object-fit:  cover;*/
    /*background-size: 100% 100%;*/
    width: 100%;
    height: 250px;
}

    .mynewslider .list .item .content{
        left: 0%;
        top: 240px;
        width: 100%;
        margin: 15px auto;
        padding: 0 5%;
        padding: 5px 40px ;
        text-align: center;
        min-width: 100%;
    }

    .mynewslider .list .item .content p{
        color: #fff;
        font-size: 16px;
        margin: 7px 15px;
        margin-bottom: 25px;
    
    }
    .mynewslider .list .item .content h2{
        font-size: 27px;
        margin: 7px 15px;
        color: #fff;
    }
}
