      :root{
  --base-color: rgba(0, 0, 0,0.3);
  --base-varient: white;
  --text-color: black;
  --secondary-text: orange;
  --primary-color:gold;
  --accent-color: black;
}
.darkmode{
  --base-color: rgba(255, 255, 255,0.3);
  --base-varient: black;
  --text-color: white;
  --secondary-text: gold;
  --primary-color:orange;
  --accent-color:white; 
}
#theme-switch{
  height: 30px;
  width: 30px;
  padding: 3px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background-color: var(--base-varient);
  display: flex;
  justify-content: center;
  align-items: center;
  position:fixed;
  top: 50%;
  left: 0;
  z-index: 80;
  border: none !important;
}
#theme-switch img{
  width: 100%;
  fill: var(--primary-color);
}
#theme-switch img:last-child{
  display: none;
}
.darkmode #theme-switch img:first-child{
  display: none;
}
.darkmode #theme-switch img:last-child{
  display: block;
  width: 100%;
  border-radius: 100%;
}
.intro p{
  color: var(--text-color);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}
/*categories button*/
#open-category{
  position: fixed;
  top: 30%;
  left: 0;
  padding:5px;
  z-index: 100;
  color: var(--text-color);
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border-top: 1px solid rgba(255, 255, 255,0.5);
  border-right: 1px solid rgba(255, 255, 255,0.5);
  border-bottom: 1px solid rgba(255, 255, 255,0.5);
  border-left: none !important;
}
#open-category img{
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.close-categories{
  background-color: red;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
}
 /*styling for the categories*/
 #categories{
  padding: 20px;
  position: fixed;
  top: 30%;
  left: 0;
  z-index: 102;
   background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255,0.5);
  box-shadow: 0 4px 6px var(--base-color);
  transition: 1s;
  display: none;
 }
 #categories ul{
  padding: 0;
 }
 #categories li{
  color: var(--text-color);
  font-weight: bold;
  list-style: none;
  margin-top: 20px;
  cursor: pointer;
 }
 .templates{
  padding: 20px;
  position: fixed;
  top: 30%;
  left: 140px;
  z-index: 120 !important;
  background-color: rgba(43, 42, 42, 0.877);
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.685);
  box-shadow: 0 4px 6px var(--base-color);
  transition: 1s;
  text-shadow: 0 0 5px var(--base-varient);
  display: none;
 }
 .templates span{
  margin-top: 10px;
  cursor: pointer;
  display: block;
  width: 100px;
  font-weight: 600;
  font-size: medium;
  color: var(--text-color);
 }
/* menu button (rank)*/
#open-menu{
  position: fixed;
  top: 40%;
  left: 0;
  padding:5px;
  z-index: 100;
  color: var(--text-color);
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border-top: 1px solid rgba(255, 255, 255,0.5);
  border-right: 1px solid rgba(255, 255, 255,0.5);
  border-bottom: 1px solid rgba(255, 255, 255,0.5);
  border-left: none !important;
}
#open-menu img{
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
#close-menu{
  background-color: red;
  color: white;
  padding: 5px 10px;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
}
/*menu list(layer)*/
.menu-list{
  position: fixed;
  font-size: small;
  font-weight: bold;
  top: 30%;
  display: none;
  padding: 9px 15px;
  left: 0;
  z-index: 102;
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255,0.5);
  box-shadow: 0 4px 6px var(--base-color);
  transition: 1s;
}
.open-menu{
  display: block;
}
.menu-list ul{
  list-style: none;
   padding: 0;
}
a{
  color: var(--text-color);
}
a:hover{
  color: var(--text-color);
  text-decoration: none;
}
.menu-list li{
  margin-top: 20px;
  color: var(--text-color) !important;
  text-decoration: none !important;
}
body{
  background-color: var(--base-varient) !important;
  margin-top: 100px !important;
}

header{
  position: fixed;
  width: 100%;
  z-index: 90;
  top: 0;
}
.header-icon{
  width: 100%;
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255,0.3);
  box-shadow: 0 4px 6px var(--base-color);
  margin-top: 5px;
}
.logo{
  width: 30%;
}
.logo img{
  width:80px;
  height:80px;
  border-radius:100%;
  margin-left: 3px;
  padding: 10px;
}
/*shopping cart*/
.icon{
  text-align: end;
  width: 70%;
}
.icon img{
  padding: 5px;
  border-radius: 30%;
  margin-top: 15px;
  width: 40px;
  margin-right: 3px;
}
.icon .badge{
  background-color: var(--secondary-text);
  color: black;
  margin-left: -10px;
}
/*displays and product show case*/
.product-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1rem;
  padding: 1rem;
}
.product-card{
  background-color: var(--base-varient);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}
.product-card h3{
  color: var(--secondary-text);
  font-size: medium;
  font-weight: bold;
}

.product-card img{
  border-radius: 10px;
  margin-bottom: 15px;
  width: 200px;
}

.product-card span{
  font-size: small;
  background-color: red;
  text-decoration: line-through;
}
.product-card .price{
  text-decoration: none;
  font-weight: bold;
  color: var(--text-color);
  font-size: medium;
}
.product-card button:hover{
  scale: 0.9;
  border-radius: 0;
  transition: 1s;
  border: none;
}
/*buttons and links*/
.preview{
  color: var(--text-color);
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border: 1px solid rgba(255, 255, 255,0.5);
  border-radius: 10px;
 }
 .detail{
   color: black;
  background-color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border: 1px solid rgba(255, 255, 255,0.5);
  border-radius: 10px;
 }
 .detailer{
  margin-top: 10px;
  color: var(--text-color);
  background-color: rgba(99, 98, 98, 0.534);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border: 1px solid rgba(255, 255, 255,0.5);
  border-radius: 10px;
  padding: 5px;
 }
 .get{
   color: var(--text-color);
  background-color: rgba(255, 255, 255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px var(--base-color);
  border: 1px solid rgba(255, 255, 255,0.5);
  border-radius: 10px;
 }

footer{
  margin-top: 20px;
  color: var(--text-color);
  font-size: small;
  font-weight: bold;
}
footer a{
  color: var(--text-color);
  margin-left: 10px;
}
