@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');
header{
    margin: 0;
    box-sizing: border-box;
    box-shadow: 0 0 10px;
}
.header{
    display: flex;
    background-image: linear-gradient(75deg, rgb(161, 0, 0), black);
    justify-content: space-between;
    overflow: hidden;
    margin: none;
    padding: none;
    width: 99%;
    border-radius: 10px;
    align-items: center;
    height: 150px;
    }
.navbar-links{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    list-style-type: none;
}
.navbar-links li a {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 30px;
    padding: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 200; /* Make sure Poppins supports this weight */
    font-style: normal;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.navbar-links li a:hover{
    transform: scale(1.2);
}
.cartButton{
    top: 18px;
    position: relative;
}
.cartAmount{
    background-image:linear-gradient(-45deg, rgb(190, 4, 4), white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    top: -55px;
    left: 40px;
    right: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px white;
    opacity: 0;
}
.cartAmount h4{
    top: -0px;
    right: .5px;
    font-family: "Poppins", sans-serif;
    font-weight: 500; /* Make sure Poppins supports this weight */
    font-style: normal;
}

nav{
    padding-right: 50px;
    right: 20%;
    width: 700px;
    
}
.logo{
    
    filter: brightness(0) invert(1);
    
    left: 20px ;
    position: relative;
    top: 0px;
}
.logo a img{
    width: 150px;
    transition: transform 0.2s ease, filter 0.3s ease;
}

.cartButton{
    display: flex;
    justify-content: center;
    align-items: center;
}
#balance {
    position: absolute;
    color: white;
    right: 75px;  /* 10% from the right edge of the parent element */
    top: 10%;
    font-family: "Poppins", sans-serif;
    font-weight: 200; /* Make sure Poppins supports this weight */
    font-style: normal;
}

#balanceNumber img {
    border-radius: 50%;
    height: 20px;
    width: 20px;
    position: relative;
    margin: 5px;
    top: 9px;
    background: gold; /* Add a color for the coin */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Optional: adds some depth */
    animation: knotCoinSpin 5s infinite linear; /* Apply animation */
  }
.searchProductsNavButtonContainer a svg{
  fill: white;
  height: 44px;
  width: 44px;
}
.searchProductsNavButtonContainer a{
    margin: 0px;
    padding: 0px;
    position: relative;
    top: 5px;
}
  /* Keyframes for rotation */
  @keyframes knotCoinSpin {
    0% {
        transform: rotateY(0deg);
      }
      50% {
        transform: rotateY(180deg);
      }
      100% {
        transform: rotateY(360deg);
      }
  
  }
  
@media (max-width: 800px){
    .navbar-links{
        display: none;
    }
    .logo a img{
        margin-top: 20px;
        transform: translateX(-20px);
        width: 150px;
        transition: transform 0.2s ease, filter 0.3s ease;
    }
   
    .header{
      flex-direction: column;
    }
    #balance{
        display: none;
        
    }
    .cartButton{
        position: fixed;
        display: block;
    }
}