/* Pre-loader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f06, #f90, #09f, #0f9);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#preloader img {
    width: 100px; /* Adjust the size of the logo */
    position: relative;
    z-index: 10;
}
#preloader::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 8px solid transparent;
    border-top: 8px solid #fff;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    z-index: 5;
}

#time3{
    cursor: pointer;
}

.foot{
    color: rgb(252, 153, 3);
}

/* Gradient Animation */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Spin Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/* Define the keyframes for the blinking effect */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
}


body{
    font-family: 'Poppins', sans-serif;
    background-color: #F8F8F8;
}

  html, body {
                overflow-x: hidden;
                width: 100%;
            }

.leftItem{
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1em;
}

.nav{
    display: flex;
    align-items: center;
}

.navLink:hover{
    color: #0700d3;
}

.shoppingCart{
    position: relative;
}

.totalItem{
    color: rgb(255, 0, 0);
    font-weight: 600;
    position: absolute;
   
   
    
}

/* card styles */
.itemContainer{
    width: 100%;
    max-width: 1200px;
    margin: auto;
    margin-top: 2em;
    margin-bottom: 2em;
    display: grid;
    gap: 5px;
    column-gap: 5x;
    row-gap: 50px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
   
}

.card{
    width: 100%;
    height: 400px;
    padding: .5em;
    background-color:white;
    border-radius: 10px;
    box-shadow: 0 0 15px 3px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
    align-content: space-between;
}

.cardImg{
    width: 65%;
    height: 200px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cardImg img{
    height: 250px;
    width: 250px;
}

.itemDescContainer{
    
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 1em;
}

.itemName{
    font-size: 18px;
    
}

.itemPrice{
    font-weight: bold;
    font-size: 22px;
}


.addtocart{ 
    transition: all .5s ease-in-out;
}

.addtocart:hover{
    color: #0700d3;
    cursor: pointer;
}

.cart{
    margin: 0;
    color: #0700d3;
    padding-right: 10px;
}

.cart:hover{
    color: #ff9e03;
}

@media screen and (min-width:768px) {
    .itemContainer{
        grid-template-columns: 1fr 1fr;
    }   

	.remove:hover{
		color: black;
		background-color: rgb(255, 0, 0);
	}
	
}

@media screen and (min-width:980px) {
    .itemContainer{
        grid-template-columns: 1fr 1fr 1fr;
    }   
}

@media screen and (min-width:1100px) {
    .itemContainer{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }   

}

/* Shopping Cart List */
.cartContainer{
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    max-width: 500px;
    z-index: 1000;
    background-color: #F8F8F8;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    overflow-y: scroll;
    scrollbar-width: thin;
    transition: all .5s ease-in-out;
}

.showCartContainer{
    width: 80%;
    padding: 1em;
    box-shadow: 0 0 15px 15px rgba(0, 0, 0, .4);
}

.closeCart{
    text-align: right;
    margin-bottom: 1em;
    cursor: pointer;
    font-size: 1.1rem;
    width: 50px;
    float: right;
    border-bottom: 2px solid black;
}

#cartTitle{
    font-size: 1.5rem;
    color: blue;
    font-weight: 900;
}

.eachCart{
    width: 97%;
    display: grid;
    grid-template-columns: 1fr 5fr;
    align-items: center;
    gap: 5px;
    background-color: white;
    margin: .5em;
    border-radius: 10px;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, .1);
    height: 130px;
    padding: .5em;
}

.cartImg{
    width: 100%;
}

.cartItemName{
    font-size: 1rem;
}

.cartItemPrice{
    font-weight: 500;
}

.cartDesc{
    margin-left: 2em;
}

.remove{
    border: none;
    background-color: rgb(0, 0, 255);
    padding: .4em;
    font-size: .9rem;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.remove:hover{
    color: black;
    background-color: rgb(255, 0, 0);
}

#totalPriceContainer{
    
    width: 100%;
    text-align: center;
    padding: 1em;
    color: rgb(0, 0, 0);
    border-radius: 10px;
}

#totalPrice{
    font-weight: 900;
}

button.checkoutbtn{
	background-color: blue;
	color: white;
	padding: 15px 0px;
	font-weight: bold;
}


button.checkout{
    background-color: #0700d3;
    color: #ffffff;
    padding: 10px 50px;
}

div.DA, div.DM{
    border: 1px solid rgb(0, 34, 255);
    width: 50%;
    padding: 20px 0px;
    cursor: pointer;
}

div.DA:hover, div.DM:hover{
    border: 2px solid #55ff00;
    background-color: #ff9e03;
}

form.pickform, form.delivform{
    display:none;
}

a, p a, div a{
    text-decoration: none;
}

.headerbg {
    position: relative;
    width: 100%;
    height: 70vh;
    background-image: url('./image/headerphones.jpg');
    background-size: cover;
    background-size: 100% 100%;
    color: white;
    text-align: center;
    
}

.headertext {
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 20px;
    font-weight: bold;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  
}

.top-left-corner {
    position: absolute;
    top: 10px;
    left: 10px;
}
.top-right-corner {
    position: absolute;
    top: 20px;
    right: 10px;
    display: flex;
    align-items: center;
}
.headerbg {
    position: relative;
}

.center-content {
    text-align: center;
}

.text-to-hide{
    color:rgb(255, 217, 0);
}

.text-to-hide:hover{
    color:rgb(51, 202, 9);
}

.headertext p.GVS{
   padding-top: 80px;
   font-size: 60px;
}

 
p.GVSS{
    color: rgb(255, 204, 1);
    font-size: 25px;
}

button.shopnowbtn{
    padding: 5px 50px;
    background-color: rgb(248, 248, 248);
    font-weight: bold;
    margin-top: 50px;
    font-size: 20px;
    border: 3px solid rgb(255, 170, 0);
    border-radius: 40px;
}

button.shopnowbtn:hover{
    background-color: rgb(255, 154, 2);
    border: 3px solid rgb(246, 246, 246);
}

a.headericons{
    display:none;
    color:white;
    font-weight: bold;
    padding-top: 5vh;
    margin-left: 20px;
    font-size: 20px;
    
}

/* Apply the blinking animation to the .blink class */
p.blink {
    animation: blink 1s infinite;
}

a.hvgs {
    animation: blink 1s infinite;
}


img.itemimage{
    height: 300px;
    width: 300px;
  }

  img.itemimage2{
    height: 700px;
    width: 700px;
  }

  p.itemname{
    font-size:22px;
  }
  
  a.np{
    font-size: 18px;
    color: #000000;
    margin-top: 10vh;
    padding-top: 10vh;
  }
  
  div.phone, div.laptop, div.accessories{
    display:none;
  }



  ul.sortby{
    background: #ffffff;
    position: absolute;
    z-index: 99;
    display: none;
    border: 1px solid black;
    padding-left: 0;
   
  
    }

	ul.sortby li{
		display: block;
        position: relative;
        text-decoration: none;
        line-height: 5vh;
        padding: 5px 10px;
        
	}

    ul.sortby li:hover{
		background-color: blue;
	}

    ul.sortby li a{
	color: black;
    text-decoration: none;
    cursor: pointer;
	}

    a.sort{
        color:rgb(1, 1, 166);
        cursor: pointer;
    }

    a.sort:hover{
        color:rgb(177, 2, 2)
    }

    a.search{
        text-decoration: none;
        margin-right: 50px;
        font-size: 25px;
        font-weight: bold;
        float: right;
        color:rgb(1, 1, 166);
        cursor: pointer;
    }

    div.A_Z, div.Z_A, div.H_L, div.L_H, div.new{
        display:none;
    }

    div.searchinput{
        width:90%;
        display:none;
        margin-top: 5vh;
    }

    button.bagbtn{
        padding: 10px 70px;
        background-color: rgb(22, 0, 220);
        color: rgb(255, 255, 255);
        font-weight: bold;
        border-radius: 50px;
       
    }

    button.bagbtn:hover{
        background-color: rgb(245, 140, 1);
        color: rgb(5, 5, 5);
    }

    div.itemb{
        padding: 0px 25px;
    }

    a.foot{
        display: inline-block;
        font-size:20px;
        color: black;
        font-weight: bold;
        padding: 10px 30px;
    }

    div.google-map {
        padding-left:40px;
        width: 100%;
   }

   .google-map iframe {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
   
}

#ordersearch{
    cursor: pointer;
}

button.getD:hover{
    background-color: rgb(49, 0, 226);
    font-weight: bold;
}
   
.carousel-item {
    height: 400px;
}
.carousel-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin: auto;
}

div.header{
    background-color: #0700d3;
    color: white;
}

#time{
    cursor: pointer;
}
 
    
@media (max-width: 1060px) {
    img.itemimage2{
        height: 500px;
        width: 500px;
      }
}
  

@media (max-width: 768px) {

    .text-to-hide {
        font-size: 0; /* Hide the text */
    }
    .text-to-hide i {
        font-size: initial; /* Ensure icons remain visible */
    }

    div.google-map {
        padding:20px;
   }

    a.foot{
        font-size:18px;
        padding: 10px 10px;
    }

    img.itemimage2{
        height: 350px;
        width: 350px;
      }

    .headerbg {
        height: 65vh;    
    }

    .headertext {   
        font-size: 15px; 
        background-color: rgba(0, 0, 0, 0.6);     
    }

    .htext{
        display:none;
    }

    a.headericons{
        display: inline-block;

    }

    .headertext p.GVS{
        font-size: 38px;
        padding: 40px 30px 0px 30px;
        font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
     }

     p.GVSS{
        font-size: 20px;
        padding: 0px 20px;
    }

    button.shopnowbtn{
        margin-top: 20px;   
    }

    a.search{
        margin-right: 20px; 
    }



}




















