/* import fonts */
@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");

/* VARIABLES */
:root {
  --bg-color: #fff;
  --link-color: #000;
  --link-size: 1.1rem;
}

/* General CSS */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Rubik;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #000;
}




/* HEADER */
header {
  width: 100%;
  justify-content: space-between;
  position: fixed;
  z-index: 99;
}


/* HEADER -> SHOPPING BAG */
.shopping-bag {
  padding: 15px 10px;
  position: absolute;
  right: 20px;
  color: white;
}
.shopping-bag button {
  display: flex;
  align-items: center;
  background-color: #00000000;
  border: 0px;
}
.shopping-bag button img {
  width: 32px;
  height: 32px;
}
.shopping-bag :hover{
  display: flex;
  align-items: center;
  background-color: #571a5f8e;
  border: 0px;
}
.shopping-bag .total-items-in-cart {
  color: black;
  margin-left: 10px;
  padding: 5px;
  background-color: rgb(242, 255, 58);
  border-radius: 5px;

}
/* Slideshow styles */
.slideshow-container {
  position: relative;
  overflow: hidden;
}

.mySlides {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  transform: translateX(100%);
}

.mySlides.active {
  opacity: 1;
  transform: translateX(0);
}

.mySlides.prev {
  transform: translateX(-100%);
}

button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
}


/* MAIN */
main {
  min-height: calc(100vh - 150px);
}

/* PRODUCTS */

.product {
  width: 300px;
  border: 1px solid rgba(81, 187, 254, 0.4);
  border-radius: 10px;
  padding: 5px;
}
.product img {
  width: 100%;
}
/* MORE DETAILS */
.more-details {
  position: absolute;
  bottom: 80px;
  left: 50px;

  display: flex;
  align-items: center;
}


/* products list */
.products-list {

  padding-top: 100px;

  display: flex;
}



/* PRODUCTS */
.products {
  height: 100%;
  width: 75%;

  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: repeat(3, 3fr);
}
.products img {
  width: 200px;
  /* filter: drop-shadow(30px 10px 4px #ddd); */
}
.products .item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.products .item .item-container {
  width: 250px;
  height: 100%;
  background-color: #000;

  border-radius: 25px;

  position: relative;
  margin-bottom: 10px;
  margin-top: 10px;
}
.products .item .item-container .item-img {
  width: 100%;
  height: 70%;
  background-color: rgba(156, 34, 204, 0.25);

  border: 1px solid #000;
  border-radius: 25px 25px 0 0;

  display: flex;
  justify-content: center;
  align-items: center;
}
.products .item .item-container .desc {
  width: 100%;
  height: 190px;
  color: #fff;

  padding: 10px;
}
.products .item .item-container .add-to-cart {
  background-color: rgba(81, 187, 254, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 10px;
  right: 10px;

  padding: 5px;

  border-radius: 50%;

  cursor: pointer;
}
.products .item .item-container .add-to-wishlist {
  background-color: rgba(255, 21, 21, 0.7);

  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 10px;
  right: 60px;

  padding: 5px;

  border-radius: 50%;

  cursor: pointer;
}
.products .item .item-container .add-to-cart img {
  width: 32px;
  height: 32px;
}
.products .item .item-container .add-to-wishlist img {
  width: 32px;
  height: 32px;

  padding: 5px;
}
/* CART */
.cart {
  /* Slide-out panel: fixed so it sits above the page and can slide in/out */
  height: calc(100vh - 100px); /* account for header height */
  width: 350px;
  background-color: rgb(50, 25, 72);
  position: fixed;
  top: 100px; /* same as header height */
  right: 0;
  transform: translateX(110%); /* hidden offscreen to the right */
  transition: transform 300ms ease-in-out;
  z-index: 98;
}


/* shop page vers */
.cart1 {
  background-color: rgb(50, 25, 72);
  width: 100%;
}

.cart-header1 {
  display: flex;
  justify-content:space-around;
  padding: 10px 0;
  color: white;
  width: 50%;
  border-radius: 15px 15px 0 0;
}

.products-list1 {
  width: 100vw;
  height: 65vh;
  padding-top: 150px;
  display: flex;
  padding-left: 10vw;
}



.cart1 {
  background-color: rgb(50, 25, 72);
  width: 100%;
}

.cart-header2 {
  display: flex;
  justify-content: start;
  padding: 10px 0;
  padding-left: 15px;
  color: rgb(0, 0, 0);
  width: 50%;
  border-radius: 15px 15px 0 0;
  font-size: 1.3rem;
}

.cart-footer1 {
  width: 50vw;
  height: 65vh;
  padding-top: 150px;
  display: flex;
  padding-left: 10vw;
  position: absolute;
  top: 0;
  margin-left: 55vw;
}


button[type=submit] {
  background-color: rgb(29, 29, 29);
  border: 4px solid #1d1d1d;
  font-weight: bolder;
  text-align: center;
  border-radius: 6px;
  margin-left: 15px; 
  margin-right: 15px;
  color: white;
  padding: 1vh 3vw;
  cursor: pointer;
  font-size: .8rem;
}

button[type=submit]:hover {
  background-color: #4e4e4e;
  color:rgb(255, 255, 255);
  border: 4px solid #4e4e4e;
}



















/* When the cart has the `open` class it is visible (slid in) */
.cart.open {
  transform: translateX(0);
}

/* cart header */
.cart-header {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  color: white;
}
/* cart items */
.cart-items {
  max-height: calc(100vh - 247px);
  overflow-y: auto;
  overflow-x: hidden;
  color: white;
}
/* cart item */
.cart-item {
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}
.cart-item div {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* item info */
.cart-item .item-info {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.6);

  border-radius: 0 10px 10px 0;

  padding: 10px;
}
.cart-item .item-info:hover {
  background-color: rgba(255, 0, 0, 0.6);
  cursor: pointer;
}
.cart-item .item-info img {
  width: 75px;
}
/* unit price */
.cart-item .unit-price {
  flex: 1;
  font-size: 1.2rem;
}
/* units */
.cart-item .units {
  flex: 1;
}
.cart-item .units .number {
  margin: 0 10px;

  font-size: 1.2rem;
}
.cart-item .units .btn {
  width: 20px;
  height: 20px;

  background-color: rgb(242, 255, 58);

  border-radius: 50%;

  font-weight: bold;

  cursor: pointer;
  /* prevent text selection while clicking +/- */
  user-select: none;
}

/* cart footer */
.cart-footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  position: absolute;
  bottom: 0;
  left: 0;

}
.cart-footer div {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 15px 0;

  font-size: 1.3rem;
}
.cart-footer .subtotal {
  background-color: whitesmoke;
  color: black;
}
.cart-footer .checkout {
  background-color: rgb(242, 255, 58);
  color: black;
  cursor: pointer;
}







/* aaaaaaaaaaah */



/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  color: white;
}

label {
  color: black;
}

a {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
  background-color: #121212;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}





.topnav {
  background-color: #2d0033;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 20px 8px;
  gap: 16px;
  position: relative;
}

.logo-container {
  position: absolute;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Style the links inside the navigation bar */
.topnav a {
  color: #f2f2f2;
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
  font-size: 20px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #5b0067;
  color: rgb(0, 0, 0);
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #5adfdf;
  color: white;
}



body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  background-color: #eef3f9;
  border: 0px solid #4d90fe;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=text]:focus, select:focus, textarea:focus {
  background-color: #ffffff;
  outline: none;
  border: 2px solid #4d90fe;
}

input[type=submit] {
  background-color: #635bff;
  font-weight: bolder;
  border-radius: 100px;
  color: white;
  padding: 6px 20px;
  border: 4px solid #635bff;
  cursor: pointer;
}

button[type=button] {
  background-color: #635bff;
  font-weight: bolder;
  border-radius: 100px;
  color: white;
  padding: 6px 20px;
  border: 4px solid #635bff;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #000000;
  color:rgb(255, 255, 255);
  border: 4px solid #000000;
}

button[type=button]:hover {
  background-color: #000000;
  color:rgb(255, 255, 255);
  border: 4px solid #000000;
}

.container {
  width: 50%;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 105px;
  position: relative;
}

.content {
  position: relative;
  z-index: 2; /* sits above the image */
  padding: 2rem;
}


input[type=email], select, textarea {
  width: 100%;
  padding: 12px;
  background-color: #eef3f9;
  border: 0px solid #4d90fe;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=email]:focus, select:focus, textarea:focus {
  background-color: #ffffff;
  outline: none;
  border: 2px solid #4d90fe;
}






footer {
  font-family: Arial, sans-serif;
  color: #fff;
}

.footer-content {
  background-color: #1b1d2a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 30px;
}

.footer-section {
  margin: 10px;
  min-width: 150px;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9em;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.brand {
  font-weight: bold;
  font-size: 1em;
}

.social .icons a {
  margin-right: 10px;
  color: #ccc;
  font-size: 1.2em;
  text-decoration: none;
}

.social .icons a:hover {
  color: #fff;
}















@font-face {
  font-family: BlackFont; /* set name */
  src: url(BlackFont.otf); /* url of the font */
}

/* Responsive styles */
@media screen and (max-width: 1280px) {
  .topnav {
    flex-direction: column;
    padding: 10px;
  }

  .logo-container {
    position: static;
    flex-direction: column;
    text-align: center;
  }

  .logo-container span {
    font-size: 40px !important;
    margin: 0px !important;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .topnav a {
    padding: 10px;
  }

  .container {
    margin-top: 200px;
  }

  .products-list {
  padding-top: 200px;
  }

  .products-list1 {
  padding-top: 200px;
  }

  .cart-footer1 {
  padding-top: 200px;
  }
  
  .cart {
    padding-top: 100px;
  }

}


@media screen and (max-width: 1265px) {

  .products {
    margin-left: 12px;
    height: 100%;
    width: 50%;
    display: grid;
    gap: 50px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: repeat(2, 3fr);
  }

}

@media screen and (max-width: 925px) {

  .products {
    margin-left: 12px;
    height: 100%;
    width: 50%;
    display: grid;
    gap: 50px;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(1, 3fr);
  }

}







