@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800;900&display=swap');
@import url("/assets/libs/FontAwesome_v6.4.0/css/all.css");

/* font-family: 'Poppins', sans-serif" */

@tailwind base;
@tailwind components;
@tailwind utilities;


@layer utilities {
  .scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    transition:all 0.3s ease;
  }
  .scrollbar::-webkit-scrollbar-track {
    border-radius: 100vh;
    background-color: transparent;
    transition:all 0.3s ease;
  }
  .scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 100vh;
    transition:all 0.3s ease;
  }
  .scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.7);
  }
  
  .scrollbar-0::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
  .scrollbar-1::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
  }
  .scrollbar-1::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
  }
  .scrollbar-1::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
  }

  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
}

*,*:focus{outline:none;}

html,
body {
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.swiper-slide {
  position: relative;
  z-index: -1;
}

.mySwiper2 {
  height: calc(100vh - 156px);
  width: 100%;
}

.mySwiper {
  height: auto;
  box-sizing: border-box;
  padding: 10px 0;
  max-width: 1080px;
  margin: 5px auto;
}

.mySwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}
.mySwiper .swiper-slide-thumb-active .entry-title{
  color: #003cff;
}
.mySwiper .swiper-slide-thumb-active .bar{
  background-color: #003cff;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*---------------*/

.mySwiperStock .swiper-slide{
  color: #fff;
  height: auto;
}
.mySwiperStock .swiper-button-prev.swiper-button-disabled, .mySwiperStock .swiper-button-next.swiper-button-disabled{
  opacity: 0;
}

/*---------------*/
.swiper-button-prev, .swiper-button-next{
  color: #fff !important;
}
/*----------Loader---------*/
.loader-circle {animation: pulse 1.5s ease-in-out infinite;}

.loader-circle:before {
  content: ""; display: block; width: 70px; height: 70px; border-radius: 50%; border: 8px solid #003cff; border-color: #003cff transparent #003cff transparent; animation: loader 1.2s linear infinite;}

  @keyframes loader {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes pulse {
     0% {
       transform: scale(0.8);
       opacity: 0.5;
     }
     50% {
       transform: scale(1);
       opacity: 1;
     }
     100% {
       transform: scale(0.8);
       opacity: 0.5;
     }
   }  
/*----------Menu-----------*/

.customSidebarmenu li>.submenu{ transform: translateX(100%) }
.customSidebarmenu  li:hover>.submenu{ transform: translateX(-100%); width: 100%;  }
.customSidebarmenu  li > button svg{ transform: rotate(-90deg) }
.customSidebarmenu  li:hover > button svg{ transform: rotate(-270deg) }
.group:hover .group-hover\:scale-100 { transform: scale(1) }
.group:hover .group-hover\:-rotate-180 { transform: rotate(180deg) }
  /* .scale-0 { transform: scale(0) } */
.min-w-32 { min-width: 8rem }
.podcastSwiper.swiper {
  width: 100%;
}

.podcastSwiper .swiper-slide {
  display: flex;
  opacity: 0 !important;
  /* transition: opacity 1s ease-in-out; */
}
.podcastSwiper .swiper-slide-active {
  opacity: 1 !important;
}
.podcastSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.podcastSwiper .swiper-pagination{display: flex; flex-direction: column; gap: 8px;}
.podcastSwiper .swiper-pagination-bullet{width: 10px; height: 10px; background: #999999;}
.podcastSwiper .swiper-pagination-bullet-active{background: #fff;}

  


@media only screen and (max-width: 1024px) {
    .customSidebarmenu  li:hover>.submenu{ transform: translateX(0); width: 100%;  }
}
@media only screen and (max-width: 480px) {
    .mySwiperStock .swiper-button-prev, .mySwiperStock .swiper-button-next{display: none !important;}
    .mySwiper2{height: 240px}
    .mySwiper .swiper-pagination{display: flex; top: 0 !important; z-index: 99; padding: 0 12px !important;}
    .mySwiper .swiper-pagination-bullet{width: 25%; border-radius: 0; height: 4px;}
    .mySwiper .swiper-slide-active{opacity: 1;}
    .mySwiper .swiper-slide-active .entry-title{color: #003cff !important;}
    .toparticle .swiper-pagination-bullet{width: 20px; height: 4px; border-radius: 0;}
    .toparticle .swiper-pagination-bullet-active{width: 40px; height: 4px; border-radius: 0;}
    .mySwiper{padding: 0 12px !important;}
}