* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

nav{
  background-color: rgb(43, 42, 42);
}

#first-nav-outer{
  width: 100%;
}

#nav-para{
  display: flex;
  align-items: center;
  color: aliceblue;
}

@media screen and (max-width: 540px) {
  #nav-btn{
    position: relative;
    left: 20%;    
  }

}

/* 2nd nav  */

#logo{
  height: 60px;
  width: 150px;
}

#cart{
  color: aliceblue;
  height: 10vh;
  width: 8vw;
  background-color: rgb(43, 42, 42);
  border-radius: 5px;
}

.nav-item{
  display: inline;
}

.nav-link {
  position: relative; 
  display: inline-block; 
  padding-bottom: 5px; 
  color: black;
  text-decoration: none;
}

.nav-link::before {
  content: ""; 
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0; 
  height: 2px;
  background-color: blue;
  transition: width 0.3s ease-in-out;
}

.nav-link:hover::before {
  width: 100%; 
}

.nav-link:hover {
  color: blue; 
}

.fa-solid{
  display: none;
}

.cart-counter{
  height: 1px;
}

@media screen and (max-width: 576px) {
  #nav-Links-outer{
    height: 100vh;
    width: 0%;
    background-color: pink;
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
    padding-top: 50px;  
}


  .fa-bars{
    display: block;
  }

 .fa-xmark{
  display: block;
  position: absolute;
  top: 0%;
  font-size: xx-large;
 }

 li{
  display:block;
  margin: 25px;
 }
  
}

.toogle_nav {
  width: -50%;
  height: 0px;
 }


@media screen and (max-width:300px) {
  #nav-Links-outer{
    display: none;
  }
  #cart{
  height: 10vh;
  width: 20vw;
  }
  
}

/* 2nd nav end  */

/* banner start  */

#banner-img{
    width: 80%;
    opacity: 0; 
    transform: translateY(100px); 
    animation: slideUp 1s forwards; 
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}

#banner-head{
  color: rgb(36, 36, 148);
  font-weight: 600;
  font-size: large;
  margin-bottom: 2%;
}
 
/* banner end  */

/* card start  */

#card-outer{
  margin-top: 2%;
}

.card-newyear-sale{
  text-decoration: none;
}

#laptop-img,#mobile-img,#headphone-img{
 width: 100%;
}


/* card end  */

/* alert start  */

.msg{
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: silver;
  position: sticky;
  top: 0%;
  z-index: 1;
  opacity: 0;
  transform: translateY(-50px);
  animation: card 2s forwards;
}

@keyframes card {
  from{
    opacity: 0;
    transform: translate(-50px);
   
}
  to{
    opacity: 1;
    transform: translateY(0px);
}
  
}


.alert{
  display: none;
}

.cartMsg-no{
  margin: 1%;
  font-weight: 400;
}

/* alert end  */

/* guarantee card start  */

#guarantee{
  margin-top: 10%;
  margin-bottom: 10%;
}



/* guarantee card end  */


/* specification start  */

#specs-img{
  display: flex;
  align-items: center;
}
 
#image-inner{
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(100px);
  animation: imgAppear 2s forwards;
}

@keyframes imgAppear {
  from{
    opacity: 0;
    transform: translate3d(100px);
  }
  to{
    opacity: 1;
    transform: translate3d(0);
  }
  
} 

#right-paras{
  opacity: 0;
  transform: translateY(100px);
  animation: rightParas 2s forwards;
}

@keyframes rightParas {
  from{
    opacity: 0;
    transform: translateY(100px);
}
  to{
    opacity: 1;
    transform: translateX(0);
}
  
} 

#left-paras{
  opacity: 0;
  transform: translateY(100px);
  animation: leftParas 2s forwards;
}


@keyframes leftParas {
  from{
    opacity: 0;
    transform: translateY(100px);
}
  to{
    opacity: 1;
    transform: translateX(0);
}
  
} 



/* specification end  */



/* footer  */

#footer-ctrl{
  background-color:rgb(43, 42, 42);
  color: aliceblue;
  width: 100%;
  height: 100%;
}

.footer-para{
  display: flex;
  justify-content: center;
  color: silver;
  font-size: larger;
  margin-bottom: 0px;
  text-decoration: none;
}




/* footer  */