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

/* ===== GENERAL ===== */
body {
  font-family: Arial, sans-serif;
  background-color: rgb(23, 12, 43);
  color: #333;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between ;
   background:rgb(27, 9, 48);  
}

marquee {
  background-color: rgb(27, 9, 48);
  padding:7px;
  color: white;
}


#naf {
  list-style-type: none;
  margin-top: 20px;
  padding: 0;
  background-color:blue;
  display: flex;
  border-radius: 2px;
  
}

#naf li a {
  display: block;
  color:white;
  padding: 5px 6px;
  text-decoration: none;
  

}

#naf li a:hover {
  background-color: rgb(136, 103, 103);
  text-decoration: underline;
}


.logo img {
  height: 70px;
  width: 70px;
  border: 2px solid #90e0ef;
  border-radius: 50%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.nav-links a:hover {
  color: #ffd60a;
}

.auth-buttons button {
  background-color: blue;
  border: none;
  margin-top: 20px;
  border-radius: 5px;
  padding: 2px 5px;
  cursor: pointer;
  margin-right: 5px;
}

.auth-buttons a {
  color: white;
  text-decoration: none;
}

.auth-buttons button:hover {
  background-color: #0077b6;
}

/* ===== CART lINK ===== */
    .cart-link {
    float: right;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 20px;
    font-size: 14px;
}

.cart-link:hover {
    text-decoration: underline;
    background: rgb(69, 69, 107);
    color: white;
    padding: 8px;
    border-radius: 8px;
}

.cart-count {
    background: #ff6b00;
    color: white;
    border-radius: 40px;
    font-size: 14px;
    padding:5px;
  
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 40px 20px;
  background:rgb(30, 16, 51);
  color: white;
}

.hero h1 {
  color:wheat;
  font-size: 40px;
}
.hero-buttons{
  display: flex;
  justify-content:center ;
  align-items: center;
  flex-wrap: wrap;
}

.hero-buttons button {
 color:white ;
  margin: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background-color:blue ;
  font-weight: bold;
  cursor: pointer;
}
.hero-buttons button a {
  color:white ;
}

.hero-buttons button:hover {
  background-color: #ffb703;
}

/* ===== CATEGORY SECTION ===== */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 40px;
  background-color:rgb(23, 12, 43);
  text-align: center;
}

.category-card {
  background:  rgb(20, 1, 87);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
}
.category-card h2{
  color:  whitesmoke;
}
.category-card p{
  color:  whitesmoke;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background:  rgb(41, 20, 122);
}

.category-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border-bottom: #333;
}

.category-card a {
  display: inline-block;
  background-color:blue;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.category-card a:hover {
  background-color: #023e8a;
  transform: scale(1.05);
}

.category-card button {
  background-color:inherit;
  border: none;
  color: white;
  font-weight: bold;
}


/*==== SECTION ABOUT US, QUICK LINKS AND CONTACTS ====*/

/*==== section container ====*/
#about {
  margin-top:20px ;
  padding-left:15px;
  padding-right: 10px;
  color:rgb(194, 173, 173);
}
#about p{
  font-weight: 200;
}
#about h2 {
  color: rgb(207, 23, 23);
  text-decoration: underline;
  text-align: center ;
  font-size: 15px;
}
/*  SECTION- QUICK LINKS*/
#quick-links {
  margin-top:20px; 
}
#quick-links h2 {
  text-align: center;
  font-size: 15px;
  text-decoration: underline;
  color:  rgb(207, 23, 23);
}

#quick-links ul {
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items:center ;
}

#quick-links li i {
  color: gold;
  margin-right: 8px;
  margin-left: 8px;
}

#quick-links li a {
  text-decoration: none;
  color:rgb(194, 173, 173);
  font-weight:500;
  text-align: center;
  margin-bottom: 0px;
}

#quick-links li a:hover {
  text-decoration: underline;
  color: darkgreen;
}

/*  SECTION- CONTACT*/
#contact-info {
padding-top:20px;
 margin-bottom: 0;

}

#contact-info h2 {
  text-align:center;
    font-size: 15px;
  text-decoration: underline;
  font-weight:1000;
  color:  rgb(207, 23, 23);

}

#contact-info p {
  margin:4px;
  color:rgb(194, 173, 173);
  font-weight:500;
  padding-left: 50px;
}

#contact-info i {
  margin-right: 10px;
  color: gold;
  
}

footer { 
  background:rgb(34, 32, 41);
  padding: 30px;
  color:rgb(194, 173, 173);
  text-align: center;
  font-weight: 1000;
  position: sticky;
  z-index: 1000;
  bottom:0px;
}
.section{
  display:grid ;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background:rgb(16, 1, 56);  
  
}
/* Default styles */
body {
  font-size: 12px;
}

/* Styles for screens smaller than 768px (e.g., mobile devices) */
@media (max-width: 768px) {
  body {
    font-size: 20px;
  }
    #bill a{
    font-size:9px;
    }
   .auth-buttons{
    font-size: 4px;
    padding: 0;
   }
 .hero h1{
   font-size: 22px;
 }
 .hero h2{
   font-size: 12px;
 }
  .hero p{
  font-size: 10px;
}
.categories h2{
  font-size: 20px;
}
.categories p{
  font-size: 12px;
}
.categories a{
  font-size: 10px;
}
footer{
  font-size: 12px;
} 
  #about p{
    font-size:12px;
  }
#contact-info p{
  font-size: 12px;
}
#quick-links li a{
  font-size: 12px;
}
marquee{
  font-size: 12px;
} 
#cart-logo{
  height: 2px;
}
} 
/* Styles for screens larger than 1200px (e.g., desktops) */
@media (min-width: 600px) {
  body {
    font-size: 18px;
  } 
  #bill a{
    font-size:7px;
    }
   .auth-buttons{
     font-size: 3px;
   }
 .hero h1{
   font-size: 3%px;
 }
 .hero h2{
   font-size: 18px;
 }
  .hero p{
  font-size: 15px;
}
.categories h2{
  font-size: 20px;
}
.categories p{
  font-size: 15px;
}
.categories a{
  font-size: 10px;
} 
#about p{
  font-size: 16px;
 
}
footer{
  font-size: 14px;
}
#contactinfo p{
  font-size: 16px;
}
#quick-links li a{
  font-size: 16px;
}

}
 
