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


body{
    max-width: 1100px;
    margin: 0px auto;
    font-family: sans-serif;
    line-height: 1.5;
    background-color: #111;
    color:#fff
   
}

html{
 font-size: 1rem;
scroll-behavior: smooth;
}

nav{
    position: sticky;
    top: 0px;
}

.nav-container{
    max-width: 900px;
    display: flex;
    flex-direction: row;
    justify-items: center;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    margin: 0 auto;
    border-radius: 32px;
   background-color: rgba(0, 0, 0, 1.9);
   
    
}

.nav-container img{
    width: 150px;
    height: auto;
}

.navlinks{
    display: flex;
    gap: 50px;
    margin: 0  auto;
}

.navlinks a{
    text-decoration: none;
    color: #fff;
    font-family: Arial;
    transition: 0.3s all ease-in-out;
    
}

.navlinks a:hover{
    color: #08e77f;
}


/* Hamburger Styling */
.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
}


header{
    position: sticky;
    top: 0px;
    z-index: 999;
}
h3{
    font-size: 2rem;
}

.filter-section button{
    padding: 8px 16px;
    margin-bottom: 60px;
    cursor: pointer;
    transition: 0.3s ease-out;

}

.filter-section button:hover{
    background-color: #08e77f;
}

.product-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.product-card {
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
  margin-bottom: 60px;
  text-align: center;
}

/* We use a 'hidden' class to shrink and fade out items */
.product-card.hide {
  display: none; /* Removes from layout */
  opacity: 0;
  transform: scale(0.8);
}


.product-card a{
    text-decoration: none;
    background-color: rgb(18, 80, 66);
    padding: 12px 24px;
    border-radius: 12px;
    color: #fff;
    transition: 0.3s ease-out;

}

.product-card a:hover{
    background-color: #89f3c1;
    color:  rgb(18, 80, 66);
}



/* Footer */

.footer-container{
    margin-top: 60px;
    background-color: rgba(248, 244, 244, 0.1);
    padding: 10px;
}

.footer-container img{
    width: 300px;
    height: auto;
    margin-left: 400px;
   
}

.footer-links-container{
    margin: 20px auto;
    justify-content: center;
    align-content: center;
}

.footer-links,.social-links{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    gap: 40px;
    justify-content: center;
}

.footer-links a{
    text-decoration: none;
    color: #fff;
}

h4{
    font-size: 1.5rem;
    text-align: center;
    
}

.social-links svg{
    color: #fff;
    width: 50px;
    height: auto;
    
}

.social-links svg:hover{
    color: darkblue;
    background-color: #fff;
}




    @media (min-width: 320px) and (max-width: 480px){
        /* body */
    body{
    max-width: 480px;
    overflow-x: hidden;
    overflow-y: auto;
}

html{
    font-size: 1rem;

}

/* Hamburger menu */

    .hamburger { display: flex; }

    .navlinks {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: black;
        padding: 20px;
        text-align: center;
        gap: 10px;
    }

    .navlinks.active {
        display: flex; /* Show when 'active' class is toggled */
    }



.product-grid{
    display: block;
    grid-template-columns: 1fr 1fr 1fr;
}

.footer-container img{
    width: 100%;
    height: auto;
    margin: 0 auto;
   
}

    }