/* COLOR SCHEMA */
:root {
  --color-very-light: #ebd3f8;
  --color-light: #ad49e1;
  --color-dark: #7a1cac;
  --color-very-dark: #2e073f;
  --purple-box-shadow: -5px 5px 0 0 rgba(235, 211, 248, 1),
    -10px 10px 0 0 rgba(173, 73, 225, 0.6),
    -15px 15px 0 0 rgba(122, 28, 172, 0.4), -20px 20px 0 0 rgba(46, 7, 63, 0.2),
    -25px 25px 0 0 rgba(46, 7, 63, 0.1);
}

html,
body {
  overflow: auto;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Poppins";
  font-size: 16px;
}

/* BACKGROUND VIDEO */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.navbar-container {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  top: 50px;
  z-index: 1000;
}

.navbar {
  background-color: rgba(229, 217, 242, 0.75);
  width: 75%;
  border-radius: 15px;
  padding: 10px 60px;
  box-shadow: var(--purple-box-shadow);
}

#navbar-content > a {
  text-decoration: none;
}

#add-product,
#title {
  box-shadow: -5px 5px 0 0 rgba(235, 211, 248, 1),
    -10px 10px 0 0 rgba(122, 28, 172, 0.4);
  border-radius: 15px;
  color: var(--color-very-dark);
  background-color: white;
  font-weight: 700;
  padding: 15px;
  transition: all 0.2s ease-in-out;
  margin: 5px;
  font-size: 20px;
}

#add-product:hover,
#title:hover {
  box-shadow: -5px 5px 0 0 rgba(122, 28, 172, 0.4);
  border-radius: 15px;
  color: var(--color-very-dark);
  background-color: white;
  font-weight: 700;
  padding: 15px;
  translate: -5px 5px;
  background-color: lightgray;
  cursor: pointer;
}

#button-add-product,
#button-update-product,
#button-cancel,
.cart-add {
  box-shadow: -5px 5px 0 0 rgba(235, 211, 248, 1),
    -10px 10px 0 0 rgba(122, 28, 172, 0.4);
  border-radius: 15px;
  color: var(--color-very-dark);
  background-color: white;
  font-weight: 700;
  padding: 15px;
  transition: all 0.2s ease-in-out;
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 20px;
  grid-column: span 3;
  text-align: center;
}

#button-add-product:hover,
#button-update-product:hover,
#button-cancel:hover,
.cart-add:hover {
  box-shadow: -5px 5px 0 0 rgba(122, 28, 172, 0.4);
  border-radius: 15px;
  color: var(--color-very-dark);
  background-color: lightgray;
  font-weight: 700;
  padding: 15px;
  translate: -5px 5px;
  cursor: pointer;
  grid-column: span 3;
}

#button-add-to-cart {
  background-color: var(--color-very-dark);
  color: white;
  width: 90%;
  align-self: center;
}

#content-table > label {
  grid-column: span 1;
  margin: 20px;
}

#content-table > input,
#content-table > select {
  grid-column: span 6;
  border-radius: 10px;
  border: 1px solid var(--color-light);
  margin: 15px;
}

.nav-links,
#logo-text,
#logo-image {
  background-color: transparent;
}

.content-container {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1000;
  position: absolute;
  top: 300px;
}

#content-small-container {
  background-color: rgba(229, 217, 242, 0.75);
  width: 75%;
  border-radius: 15px;
  padding: 10px 60px;
  /* display: flex; */
  /* flex-wrap: wrap; */
  align-items: start;
  justify-content: center;
  box-shadow: var(--purple-box-shadow);
  margin-bottom: 200px;
}

#content {
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: center;
}

#content-table {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: auto;
}

.table-header {
  margin: 15px 15px 35px 15px;
  font-weight: 650;
  font-size: 16px;
  grid-row: 1;
  height: 40px;
  background-color: var(--color-light);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  box-shadow: -3px 3px 0 0 rgba(235, 211, 248, 1),
    -6px 6px 0 0 rgba(173, 73, 225, 0.6), -9px 9px 0 0 rgba(122, 28, 172, 0.4),
    -12px 12px 0 0 rgba(46, 7, 63, 0.2), -15px 15px 0 0 rgba(46, 7, 63, 0.1);
  color: var(--color-very-dark);
}

.grid-one-column {
  grid-column: span 1;
}

.grid-six-column {
  grid-column: span 5;
}

.grid-ten-column {
  grid-column: span 10;
}

.product-table-header {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.product-table-header span {
  font-weight: 600;
}

.product-line {
  display: contents;
}
.product-line img {
  width: 75px;
  height: 75px;
  align-self: center;
  justify-self: center;
}

.line-item-img {
  align-self: center;
  justify-self: center;
}

#content-table div.line-item.grid-one-column.product-image {
  background-color: white;
}

.line-item {
  align-self: center;
  height: 80px;
  background-color: var(--color-very-light);
  border: 2px solid var(--color-very-dark);
  border-radius: 5px;
  margin: 1px;
}

.trash-can {
  display: flex;
  justify-content: center;
  align-items: center;
}

.price,
.quantity,
.category {
  display: flex;
  justify-content: center;
  align-items: center;
}

.details {
  padding: 5px;
  margin-bottom: 20px;
  color: var(--color-very-dark);
  /* border-top: none; */
}

.name {
  display: flex;
  justify-content: left;
  align-items: center;
  padding-left: 20px;
  font-weight: 700;
  font-family: "Poppins";
  font-size: 20px;
}

#navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  background-color: var(--color-light);
  border-radius: 20px;
  margin-top: 20px;
  box-shadow: -5px 5px 0 0 rgba(235, 211, 248, 1),
    -10px 10px 0 0 rgba(173, 73, 225, 0.6);
}

.sort-dropdown,
.category-dropdown {
  display: flex;
  align-items: right;
  font-size: 20px;
}

label[for="sort-options"],
label[for="category-options"] {
  font-family: "Work Sans";
  font-size: 30px;
  margin-right: 10px;
  color: var(--color-very-dark);
  font-weight: 600;
}

select#sort-options {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

select#sort-options:focus {
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

select#sort-options option {
  font-weight: 400;
}

select#category,
select#category-options {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

select#category:focus,
select#category-options:focus {
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

select#category option,
select#category-options option {
  font-weight: 400;
}

.product-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  justify-items: center;
  width: 100%;
  padding: 20px;
}

.product-card {
  width: 280px;
  padding: 10px;
  margin: 40px 20px;
  background-color: var(--color-dark);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--color-very-dark);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: var(--purple-box-shadow);
  transition: all 0.4s ease-in-out;
}

.product-card:hover {
  box-shadow: -10px 10px 0 0 rgba(235, 211, 248, 1),
    -15px 15px 0 0 rgba(173, 73, 225, 0.6),
    -20px 20px 0 0 rgba(122, 28, 172, 0.4), -25px 25px 0 0 rgba(46, 7, 63, 0.2),
    -30px 30px 0 0 rgba(46, 7, 63, 0.1);
  transform: scale(1.1);
}

.product-card .price {
  margin: 30px 0px;
  font-size: 25px;
  font-weight: 700;
  transition: all 0.4s ease-in-out;
}

.product-card img {
  margin: 30px 0px;
  width: 200px;
  height: 200px;
}

.product-card h3 {
  display: block;
  width: 250px;
  font-size: 25px;
  text-overflow: ellipsis;
  height: 76px;
}

.product-card .circle {
  position: absolute;
  width: 480px;
  height: 480px;
  translate: -50px -70px;
  border-radius: 50%;
  background-color: white;
  z-index: -1;
  transition: all 0.5s ease;
}

.product-card:hover .circle {
  width: 1000px;
  height: 1000px;
  border-radius: 5%;
}

.price-and-cart {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  color: white;
  transition: all 0.4s ease-in-out;
}

.details {
  align-self: center;
  transition: all 0.4s ease-in-out;
}

.details span {
  font-size: 40px;
  color: white;
  transition: all 0.4s ease-in-out;
}

.product-card:hover .price,
.product-card:hover .details span {
  color: var(--color-very-dark);
  transition: all 0.4s ease-in-out;
}

#cart-content {
  display: flex;
  flex-direction: column;
  width: 95%;
}

#cart-content-total {
  width: 95%;
}

.cart-card {
  padding: 10px;
  margin: 40px 0px;
  background-color: white;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: var(--color-very-dark);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: var(--purple-box-shadow);
  transition: all 0.4s ease-in-out;
}

.cart-card-t {
  padding: 10px;
  margin: 40px 0px;
  width: 45%;
  background-color: white;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--color-very-dark);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: var(--purple-box-shadow);
  transition: all 0.4s ease-in-out;
}

.cart-card-t input {
  border-radius: 5px;
  border: 1px solid var(--color-light);
  margin: 15px;
  height: 2em;
}

.cart-card-total > .cart-card-prices {
  flex-direction: column;
}

.cart-card-total {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.promo-add-button-container:hover span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -3px 3px 0 0 rgba(173, 73, 225, 0.6);
  background-color: #2e073f;
  transform: scale(1.2);
}

.promo-add-button-container {
  all: unset;
  cursor: pointer;
  margin-right: 5px;
  margin-left: 5px;
}

.promo-add-button-container span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -2px 2px 0 0 rgba(173, 73, 225, 0.6);
}

.promo-add-button {
  font-size: 2em;
  color: white;
  background-color: var(--color-light);
  border-radius: 10%;
  margin: 0px 5px;
  padding: 5px;
}

.promo-remove-button-container:hover span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -3px 3px 0 0 rgba(173, 73, 225, 0.6);
  background-color: #ff0000;
  transform: scale(1.2);
}

.promo-remove-button-container {
  all: unset;
  cursor: pointer;
  margin-right: 5px;
  margin-left: 5px;
}

.promo-remove-button-container span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -2px 2px 0 0 rgba(173, 73, 225, 0.6);
}

.promo-remove-button {
  font-size: 1em;
  color: white;
  background-color: rgb(255, 87, 87);
  border-radius: 10%;
  margin: 0px 5px;
  padding: 5px;
}

.cart-total-line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 80%;
  border-bottom: 1px solid rgb(219, 219, 219);
  padding: 10px 0px;
}

.cart-category-name {
  width: 300px;
}
.cart-img img {
  width: 150px;
}

.cart-small-block {
  flex-direction: column;
  justify-content: space-between;
}

.cart-small-text {
  font-size: 14px;
  font-weight: 600;
  align-items: start;
  justify-content: start;
  padding-bottom: 10px;
}

.cart-big-text {
  align-items: start;
  justify-content: start;
  height: 20px;
  margin: 3px;
  font-size: 20px;
}

.container-quantity-buttons {
  justify-content: space-around;
}

.cart-quantity-only {
  align-self: center;
}

.plus-minus-button {
  font-size: 2em;
  color: white;
  background-color: var(--color-light);
  border-radius: 50%;
  margin: 0px 5px;
}

.button-allunset {
  all: unset;
  cursor: pointer;
  margin-right: 5px;
  margin-left: 5px;
}

.button-allunset span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -2px 2px 0 0 rgba(173, 73, 225, 0.6);
}

.button-disabled {
  filter: contrast(0.4) grayscale(0.4) brightness(1.2);
  pointer-events: none;
}

.cart-delete-button-container:hover span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -3px 3px 0 0 rgba(173, 73, 225, 0.6);
  background-color: #2e073f;
  transform: scale(1.2);
}

.cart-delete-button-container {
  all: unset;
  cursor: pointer;
  margin-right: 5px;
  margin-left: 5px;
}

.cart-delete-button-container span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -2px 2px 0 0 rgba(173, 73, 225, 0.6);
}

.cart-delete-button {
  font-size: 2em;
  color: white;
  background-color: var(--color-light);
  border-radius: 10%;
  margin: 0px 5px;
  padding: 5px;
}

.button-allunset:hover span {
  box-shadow: -1px 1px 0 0 rgba(235, 211, 248, 1),
    -3px 3px 0 0 rgba(173, 73, 225, 0.6);
  background-color: #2e073f;
  transform: scale(1.2);
}

/* .cart-card:hover,
.cart-card-total {
  box-shadow: -10px 10px 0 0 rgba(235, 211, 248, 1),
    -15px 15px 0 0 rgba(173, 73, 225, 0.6),
    -20px 20px 0 0 rgba(122, 28, 172, 0.4), -25px 25px 0 0 rgba(46, 7, 63, 0.2),
    -30px 30px 0 0 rgba(46, 7, 63, 0.1);
  transform: scale(1.1);
} */

#logo-text {
  font-size: 60px;
  font-family: "Tektur";
  color: var(--color-very-dark);
  display: inline-block;
  align-self: center;
}

#logo-image {
  width: 150px;
}

#item-container {
  display: flex;
  justify-content: center;
}

.single-item-details {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.details-card div {
  padding: 15px;
}

.details-card {
  background-color: white;
  width: 40%;
  align-items: flex-start;
}

.details-card > .name {
  font-size: 30px;
  font-family: "Poppins";
  font-weight: 700;
}

.details-card > .price {
  font-weight: 600;
}

.details-card > .details {
  align-self: flex-start;
}

.big-image {
  display: flex;
  justify-content: center;
}

.big-image > img {
  width: 300px;
  height: 300px;
  margin: 0px;
}

.qty-select > label {
  grid-column: span 1;
}

.qty-select > input {
  grid-column: span 6;
  border-radius: 7px;
  border: 1px solid var(--color-light);
  margin: 15px;
  width: 40px;
  height: 30px;
}
#item-container > div.big-image.product-card.details-card > img {
  align-self: center;
  justify-self: center;
}

.flex-row {
  display: flex;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-around {
  justify-content: space-around;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  display: flex;
  align-items: center;
}

.bg-color-very-light {
  background-color: var(--color-very-light);
}

.text-color-dark {
  color: var(--color-very-dark);
}

.nav-button {
  font-size: 40px;
  padding: 20px;
}

.transparent {
  opacity: 75%;
}

/* Responsive Design */
@media screen and (max-width: 1359px) {
  .navbar {
    width: 90%;
    padding: 10px 20px;
    margin: 0 auto;
  }

  .navbar-container {
    top: 30px;
  }

  #content-small-container {
    width: 90%;
    padding: 10px 20px;
    margin: 0;
    margin-bottom: 150px;
  }

  #navbar-content {
    width: 97%;
  }
  .nav-links {
    display: flex;
    justify-content: space-between;
  }

  #logo-text {
    font-size: 40px;
  }

  #logo-image {
    width: 100px;
  }

  .nav-button {
    font-size: 30px;
  }

  #title {
    font-size: 20px;
  }

  .content-container {
    top: 200px;
  }

  .product-card {
    height: 484px;
  }

  label[for="sort-options"] {
    font-size: 18px;
    padding-bottom: 10px;
    font-weight: 600;
    padding-top: 10px;
  }
  .th-quantity,
  .quantity {
    display: none;
  }
  .grid-six-column {
    grid-column: span 8;
  }
  .line-item {
    align-self: center;
    height: 85px;
    background-color: var(--color-very-light);
    border: 2px solid var(--color-very-dark);
  }
  .name {
    padding-right: 10px;
  }
  .price {
    text-align: center;
  }
  .product-line img {
    height: 85px;
    width: 85px;
  }
  #item-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .details-card {
    width: 80%;
    align-self: center;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    width: 90%;
    padding: 10px;
    margin: 0 auto;
  }

  .navbar-container {
    top: 20px;
  }

  #content-small-container {
    width: 85%;
    padding: 10px;
    margin: 0;
    margin-bottom: 150px;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-links {
    display: flex;
    justify-content: space-between;
  }

  #logo-text {
    font-size: 30px;
  }

  #logo-image {
    width: 80px;
  }

  .nav-button {
    font-size: 20px;
  }

  .title {
    font-size: 30px;
  }

  #title {
    font-size: 30px;
    margin: 10px 0px;
    align-self: flex-start;
  }

  .navbar {
    padding: 0;
  }

  #navbar-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 80%;
  }
  .content-container {
    top: 140px;
  }

  .product-card {
    height: 484px;
  }

  label[for="sort-options"] {
    font-size: 24px;
    margin: 10px 0px 15px 0px;
    padding-bottom: 10px;
    font-weight: 600;
  }

  .sort-dropdown {
    display: flex;
    flex-wrap: wrap;
  }

  #sort-options {
    width: 80%;
  }

  .th-quantity,
  .line-item > .quantity,
  .th-price,
  .line-item > .price {
    display: none;
  }
  .grid-six-column {
    grid-column: span 8;
  }
  .line-item {
    align-self: center;
    height: 85px;
    background-color: var(--color-very-light);
    border: 2px solid var(--color-very-dark);
  }
  .name {
    margin-right: 10px;
  }
  .product-line img {
    height: 85px;
    width: 85px;
  }
  #item-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .details-card {
    width: 80%;
    align-self: center;
  }
}
