@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  width: 100%;
  background-color: #e2e2e2;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html, body {
  overflow-x: hidden;
}
:root {
  --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
  --item1-filter: blur(30px);
  --item1-zIndex: 11;
  --item1-opacity: 0;

  --item2-transform: translateX(0);
  --item2-filter: blur(0px);
  --item2-zIndex: 10;
  --item2-opacity: 1;

  --item3-transform: translate(50%, 10%) scale(0.8);
  --item3-filter: blur(10px);
  --item3-zIndex: 9;
  --item3-opacity: 1;

  --item4-transform: translate(90%, 20%) scale(0.5);
  --item4-filter: blur(30px);
  --item4-zIndex: 8;
  --item4-opacity: 1;

  --item5-transform: translate(120%, 30%) scale(0.3);
  --item5-filter: blur(40px);
  --item5-zIndex: 7;
  --item5-opacity: 0;
}
li {
  list-style-type: none;
  display: block;
  text-align: center;
  padding: 5px;
}

h2{
  text-decoration:  underline;
  text-decoration-color: #634ed6;
}
.navbar.scroll{
  position: fixed;
  background-color:#cbafffa8 filter blur(8px);
  box-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
  backdrop-filter: blur(6px);
  margin-left: 29%;
  margin-right: 50%;
  border: 1px  solid silver;
  border-radius: 15px;
  top: 20px;
  z-index: 2;
}
.nav-link:hover{
  background-color: #8e7bfc;
  border: none;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgb(0 0 0 / 25%);
  padding: 8px;
  color: white;
}
.headerName{
  font-size: 5em;
  font-weight: bold;
  padding: 20px;
  margin: 20px;
  width: 200px;
}
.headerImgBg{
  width: 100%;
  margin: 0;
  padding: 0;

}
/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  margin-top: -136px;
  height: 800px;
}
.carousel .list {
  position: absolute;
  top: 0;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  height: 80%;
}
.carousel .list .item {
  position: absolute;
  left: 0%;
  width: 50%;
  height: 100%;
  font-size: 15px;
  transition: left 0.5s, opacity 0.5s, width 0.5s;
}
.carousel .list .item img {
  width: auto;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.carousel .list .item .detail {
  opacity: 0;
  pointer-events: none;
}
.carousel .list .item .intro {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 50px;
  width: 300px;
  opacity: 0;
  pointer-events: none;
}
.carousel .list .item:nth-child(2) .intro {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s;
}
.carousel .list .item:nth-child(n + 6) {
  opacity: 0;
  pointer-events: none;
}
.carousel .list .item:nth-child(2) {
  transform: var(--item2-transform);
  filter: var(--item2-filter);
  z-index: var(--item2-zIndex);
  opacity: var(--item2-opacity);
}
.carousel .list .item:nth-child(1) {
  transform: var(--item1-transform);
  filter: var(--item1-filter);
  z-index: var(--item1-zIndex);
  opacity: var(--item1-opacity);
  pointer-events: none;
}
.carousel .list .item:nth-child(3) {
  transform: var(--item3-transform);
  filter: var(--item3-filter);
  z-index: var(--item3-zIndex);
  opacity: var(--item3-opacity);
}
.carousel .list .item:nth-child(4) {
  transform: var(--item4-transform);
  filter: var(--item4-filter);
  z-index: var(--item4-zIndex);
  opacity: var(--item4-opacity);
}
.carousel .list .item:nth-child(5) {
  transform: var(--item5-transform);
  filter: var(--item5-filter);
  z-index: var(--item5-zIndex);
  opacity: var(--item5-opacity);
  pointer-events: none;
}
/* Arrows */
.arrows {
  position: absolute;
  bottom: 80px;
  width: 800px;
  max-width: 90%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrows #next,
.arrows #prev {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: monospace;
  font-size: 25px;
  color: rgba(24, 21, 21, 1);
  font-weight: bolder;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5.9px);
  -webkit-backdrop-filter: blur(5.9px);
}
.arrows #back {
  font-family: poppins;
  font-weight: 500;
  border: none;
  border-bottom: 1px solid #555;
  letter-spacing: 3px;
  background-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.carousel .list .item .intro .title {
  font-size: 2em;
  line-height: 0.8em;
}
.carousel .list .item .intro .topic {
  font-size: 4em;
  font-weight: 500;
}
.carousel .list .item .intro .description {
  font-size: 1.2rem;
}

.carousel .list .item:nth-child(2) .into .title,
.carousel .list .item:nth-child(2) .intro .topic,
.carousel .list .item:nth-child(2) .intro .description {
  opacity: 0;
  animation: showContent 0.5s 0.7s ease-in-out 1 forwards;
}
@keyframes showContent {
  from {
    transform: translateY(50px);
    filter: blur(30px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}
.carousel .list .item:nth-child(2) .intro .topic {
  animation-delay: 0.9s;
}
.carousel .list .item:nth-child(2) .intro .description {
  animation-delay: 1.1s;
}

/* next click effect */
.carousel.next .item:nth-child(1) {
  animation: transformFromPosition2 0.5s ease-in-out 1 forwards;
}
@keyframes transformFromPosition2 {
  from {
    transform: var(--item2-transform);
    filter: var(--item2-filter);
    opacity: var(--item2-opacity);
  }
}
.carousel.next .item:nth-child(2) {
  animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
}
@keyframes transformFromPosition3 {
  from {
    transform: var(--item3-transform);
    filter: var(--item3-filter);
    opacity: var(--item3-opacity);
  }
}
.carousel.next .item:nth-child(3) {
  animation: transformFromPosition4 0.9s ease-in-out 1 forwards;
}
@keyframes transformFromPosition4 {
  from {
    transform: var(--item4-transform);
    filter: var(--item4-filter);
    opacity: var(--item4-opacity);
  }
}
.carousel.next .item:nth-child(4) {
  animation: transformFromPosition5 1.1s ease-in-out 1 forwards;
}
@keyframes transformFromPosition5 {
  from {
    transform: var(--item5-transform);
    filter: var(--item5-filter);
    opacity: var(--item5-opacity);
  }
}

/* effect click prev button */
.carousel.prev .list .item:nth-child(2) {
  animation: positionItem1 0.5s ease-in-out 1 forwards;
}
@keyframes positionItem1 {
  from {
    transform: var(--item1-transform);
    filter: var(--item1-filter);
    z-index: var(--item1-zIndex);
    opacity: var(--item1-opacity);
  }
}
.carousel.prev .list .item:nth-child(3) {
  animation: positionItem2 0.7 ease-in-out 1 forwards;
}

.carousel.prev .list .item:nth-child(4) {
  animation: positionItem3 0.7 ease-in-out 1 forwards;
}

.carousel.prev .list .item:nth-child(5) {
  animation: positionItem4 0.7 ease-in-out 1 forwards;
}
.hotCard{
  width: 25%;
}
.containerCardGroupe {
  display: flex;
  justify-content: center;
}
.imgCard{
  width: 240px; 
  height: 180px;
}
.VmBtn{
display: none;
}

/* What is hot section */
.haccessories{
  font-size: 0.9rem ;
}

.card-text{
  font-size: 0.9rem;
  color: #555;
}

hr{
color: #634ed6;
}
/* The New Arrival Carousel */ 
.cardCarousel{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.first{
  position: absolute;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s;
}
.second{
  position: absolute;
  display: flex;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s;
}

.third{
  position: absolute;
  justify-content: center;
  display: flex;
  opacity: 0;
  transition: opacity 1s;
}
.fourth{
  position: absolute;
  justify-content: center;
  display: flex;
  opacity: 0;
  transition: opacity 1s;
}

.active{
  opacity: 1;
}
.carouselHandles{
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}
.carouselHandles button{
  position: relative;
  border: 1px solid #8E7BF9;
  box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
-webkit-box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
-moz-box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
backdrop-filter: blur(5.9px);
-webkit-backdrop-filter: blur(5.9px);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: rgb(253, 250, 250);
  font-size: 20px;
  font-weight: bolder;
  color: #8E7BF9;
  align-items: center;
  text-align: center;
}
.carouselHandles button:hover{
  background-color: rgb(207, 204, 204);
}

.cardPrevButton{
float: left;
}
.cardNextButton{
float: right;
}
.carouselHandles .cardPrevButton.disabled{
  background-color: #b0a2ff;
  border: 1px solid #b0a2ff ;
}
.carouselHandles .cardNextButton.disabled{
  background-color: #b0a2ff;
  border: 1px solid #b0a2ff;
}

.indicators{
  width: 200px;
  display: flex;
  justify-content: center;
}

.indicators ul {
  display: flex;
  padding: 0;
  gap: 3px;
}

.indicators ul li {
  display: inline-block;
  background-color: #cccccc;
  box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
-webkit-box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
-moz-box-shadow: -1px 5px 37px -13px rgba(0,0,0,0.54) inset;
  font-weight: bold;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.indicators ul li.active{
  background-color: #8E7BF9;
}
.cardSlideBody img{
  height: 240px; 
  width: 200px;
}
.cardSlideimg{
  width: 150px;
}
/*Sales*/ 
.sales{
  height: 250px;
}
.sale-bigimg{
  width: 300px;
}
.sale-img{
  height: 180px; 
  width:160px;
}
.sales-text1{
  position: absolute;
  border-radius: 100%;
  width: 100px;
  height: 100px;
  z-index:0;
  top: 250px;
  left: 210px;
  background-color: rgb(243, 12, 12);
  text-align: center;
  align-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e2e2e2;
  box-shadow: 2px 3px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10%);
  -webkit-backdrop-filter: blur(10px);
}
.sales-text2{
  position: absolute;
  border-radius: 100%;
  width: 80px;
  height: 80px;
  z-index: 0;
  top: 130px;
  left: 130px;
  background-color: rgb(243, 12, 12);
  text-align: center;
  align-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e2e2e2;
  box-shadow: 2px 3px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10%);
  -webkit-backdrop-filter: blur(10px);
}

/* FOOTER */
/* BRANDS */ 
.brands{
  width: auto;
  height: 300px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
}

/* Brands Picture */
.apple{
  width: 120px; 
  height: 120px;
}
.samsung{
  width: 200px; 
  height: 75px;
}
.xiaomi{
  width: 220px; 
  height: 220px;
}
.oneplus{
  width: 250px;
  height: 250px;
}

/* Contact Info */ 
.info{
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  height: auto;
  background-color: #e2e2e2;
}
.Submit-inp{
  width: 448px;
  height: 45px;
  padding: 9px 15px 10px 15px;
  border:none;
  border-radius: 5px;
  text-align: left;
  font-weight: 400;
  font-size: 13px;
  color: rgb(35, 35, 35);
}
.Submit-inp:focus{
  border: 1px solid #8E7BF9;
  outline: none;
}
.Submit-btn{
  background-color: #8E7BF9;
  color: #ffffff;
  border: 1px solid #634ed6;
  border-radius: 5px;
  width: 150px;
  height: 45px;
  padding: 10px;
  font-weight: 600;
  font-size: 12px;
}
.Submit-btn:hover{
  background-color: #634ed6;
}

.Submit-btn:focus{
  background-color:#634ed6;
}
.social{
  padding: 10px;
  margin: 5px;
  width: 598px;
  text-align: end;
}
/* MOBILE SETTINGS */ 
@media screen and (max-width: 768px){
/*Header Title*/
.headerName{
  display: none;
  font-size: 2em;
  font-weight: bold;
  padding: 2px;
  margin: 2px;
  width: 20px;
}
.VmBtn{
  border: none;
  background-color: transparent;
  color: #634ed6;
  font-weight: bold;
  display: none;
}
/* Background header in mobile*/
.headerImgBg{
  height: 1000px;
  width: 100%;
}
  /* Carousel in mobile */
  .carousel {
  height: 600px;
  }
  .carousel .list .item {
  width: 100%;
  font-size: 10px;
  }

  .carousel .list {
  height: 100%;
  }
  .carousel .list .item:nth-child(2) .introduce {
  width: 50%;
  }

  .carousel .list .item img {
  width: 40%;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail {
  backdrop-filter: blur(10px);
  font-size: small;
  }
  .carousel .list .item:nth-child(2) .introduce .des,
  .carousel.showDetail .list .item:nth-child(2) .detail .des {
  height: 100px;
  overflow: auto;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail .checkout {
  display: flex;
  width: max-content;
  float: right;
  }
  .carousel .list .item .intro .title {
  font-size: 1em;
  line-height: 0.8em;
  }
  .carousel .list .item .intro .topic {
  font-size: 2em;
  font-weight: 500;
  }
  .carousel .list .item .intro .description {
  font-size: 1em;
  text-wrap: balance;
  overflow: hidden;
  width: 150px;
  height: 150px;
  }
    /* Humberger Container */ 
.humberger{
  display: block;
  margin-top: 20px;
  margin-right: 20px;
  position: fixed;
  z-index: 1;
  user-select: none;
  appearance: none;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  right: 20px;
}
/* Humberger Lines */
.humberger span{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background-color: #2a1347 ;
  border-radius: 6px;
  z-index: 1;
  transform-origin: 0 0;
  transition: 0.4s;
}
/* Humberger Transofrmation */
.humberger.hbactive span:nth-child(1){
  transform: translate(0px, -2px) rotate(45deg);
  background-color: #7860ff;
}
.humberger.hbactive span:nth-child(3){
  transform: translate(-3px, 3px) rotate(-45deg);
  background-color: #735aff;
}
.humberger.hbactive span:nth-child(2){
  opacity: 0;
  transform: translateX(15px);
}
.humberger.hbactive span:nth-child(4){
  opacity: 0;
}

.navbar-nav > li >  a {
  color: #cccccc !important;
}
.navbar.scroll{
  height: 100%;
  position: fixed;
  background-color:#130036a8 filter blur(0px);
  box-shadow: 5px 5px 10px rgb(0 0 0 / 25%);
  backdrop-filter: blur(0px);
  margin-left: 0;
  margin-right: 0;
  border: none;
  border-radius: 0px;
  display:flex;
  top: 0px;
}
.navbar-nav{
  color: #cccccc !important;
  background-color: #130036a8;
  height: 100%;
  width: 100vw !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  display: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: translateX(100%);
  opacity: 0;
}
.navbar-nav.navactive {
  display: flex !important;
  transform: translateX(0);
  opacity: 1;
}
      /* What's Hot Section */
  .containerCardGroupe{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  }
  .imgCard{
  width: 100px; 
  height: 80px;
  }
  .hotCard{
  width: 100%;
  } 

  /* New Arrival Section */
.cardSlideBody img{
  height: 150px;
  width: 120px; 
  }
  
  /* Sales */ 
.sales{
  height: 180px;
  }

.sale-bigimg{
  height: 180px;
  width: 180px;
  }
.sale-img{
  height:80px; 
  width:80px;
  }
.cardSalesBody{
  width: 150px;
  }
.sales-text1{
  width: 80px;
  height: 80px;
  z-index: 0;
  top:150px;
  left: 195px;
  background-color: rgb(243, 12, 12);
  text-align: center;
  align-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e2e2e2;
  }
.sales-text2{
  position: absolute;
  border-radius: 100%;
  width:60px;
  height: 60px;
  z-index: 0;
  top: 130px;
  left: 50px;
  background-color: rgb(243, 12, 12);
  text-align: center;
  align-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: #e2e2e2;
  box-shadow: 2px 3px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10%);
  -webkit-backdrop-filter: blur(10px);
}
.brands{
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 300px;
  background-color: black;
  justify-items: center; 
  align-items: center;
  gap: 0;
  }

.apple{
  width: 80px; 
  height: 80px;
  }
.samsung{
  width: 100px; 
  height: 75px;
  }
.xiaomi{
  width: 180px; 
  height: 180px;
  }
.oneplus{
  width: 150px;
  height: 150px;
  }

.Submit-inp{
  width: 300px;
  height: 45px;
  padding: 9px 15px 10px 15px;
  border:none;
  border-radius: 5px;
  text-align: left;
  font-weight: 400;
  font-size: 13px;
  color: rgb(35, 35, 35);
  margin-left: 35px;
}
.Submit-btn{
  background-color: #8E7BF9;
  color: #ffffff;
  border: 1px solid #634ed6;
  border-radius: 5px;
  width: 150px;
  height: 45px;
  padding: 10px;
  font-weight: 600;
  font-size: 12px;
  margin-top: 10px;
  margin-left: 110px;
  }
.social{
  padding: 10px;
  margin: 5px;
  width: 598px;
  text-align: center;
  }
}

@media (min-width: 320px) and (max-width: 425px){
.carousel .list .item .intro .description {
  font-size: 1.2em;
  margin-left: -20px;
}
.VmBtn{
  border: none;
  background-color: transparent;
  color: #634ed6;
  font-weight: bold;
  display: flex;
}
.AccText{
  line-height: 1.2em;
  height: calc(3 * 1.2em);
  overflow: hidden;
  position: relative;
}
.AccText::after{
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  height: 1.2em;
  width: 90%;
  background: linear-gradient(to right, transparent, white);
  
}
.AccTextShow{
  height: max-content;
  overflow: none;

}
.card-body{
padding: 15px !important;
}

.cardSlideBody{
  width: 40%;
}
.cardSlideBody img{
  height: 120px;
  width: 100px;
  }
.cardSlideBody .card-title{
  font-size: 0.8em;
}

.salesCard{
  display: flexbox;
  flex-direction: column;

}
.sale-bigimg{
  height: 120px;
  width: 100px;
  }
.sales-text1{
  top: 40px;
  left: 150px;
}
.info{
  font-size: 0.8em;
}
}


