@font-face {
  font-family: "Master of Comics";
  src: url(./fonts/Master_of_Comics.ttf);
}

@font-face {
  font-family: "Cocogoose";
  src: url(./fonts/Cocogoose.ttf);
}

@font-face {
  font-family: "Adelia";
  src: url(./fonts/Adelia.otf);
}

@font-face {
  font-family: "Mermaid";
  src: url(./fonts/Mermaid.ttf);
}

body {
  margin: 0;
}

:root {
  height: 100%;
}

html {
  margin: 0;
  padding: 0;
}

nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-around;
  align-items: start;
  height: 4.5em;
  background: #f8de9c;
}

#title {
  margin: 0;
  font-family: Master of Comics;
  text-shadow: 0.06em 0.06em #45151b, 0.1em 0.1em black;
  font-size: 2.3em;
  margin-left: 60px;
  transition: 0.5s;
}

#title > a {
  text-decoration: none;
  color: #ea9dae;
  margin-top: 0;
}

#title:hover {
  transform: scale(1.1);
}

.order-button > a {
  text-decoration: none;
  color: black;
}

.order-button {
  align-self: center;
  align-items: center;
  font-family: Cocogoose;
  border-radius: 15px;
  border: none;
  padding: 0.8em;
  background-color: #ea9dae;
  box-shadow: 0.15em 0.15em black;
  transition: 0.2s ease;
}

.order-button:hover {
  background-color: #d87a8e;
}

.fa-bars {
  align-self: center;
  font-size: 1.5em;
}

#home-image {
  width: 100%;
  height: 70%;
}

.card-list .card-item {
  width: 300px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  backdrop-filter: blur(30px);
  background: rgba(248, 222, 156, 0.2);
  border: 1px solid rgba(248, 222, 156, 0.5);
}

.card-list {
  display: flex;
  justify-content: space-evenly;
  margin: 20px;
}

.card-list .card-item .menu-image {
  width: 150px;
  height: 180px;
}

#brownie-menu {
  width: 160px;
  height: 180px;
}

#cafe {
  width: 160px;
  height: 160px;
}

#tostada {
  width: 170px;
  height: 150px;
}

.card-list .card-item .category-button {
  font-family: Cocogoose;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px black;
  padding: 10px 35px;
  position: absolute;
  color: white;
  background-color: transparent;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.card-list .card-item .category-button:hover {
  color: #ea9dae;
  transform: translateY(-5px);
}

.menu {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  flex-wrap: wrap;
}

.menu-elem {
  list-style: none;
}

.menu-icon {
  color: white;
  font-size: 15px;
  display: inline-block;
  text-decoration: none;
  margin: 5px 10px;
  opacity: 0.75;
  transition: 0.3s;
}

.menu-icon:hover {
  opacity: 1;
  color: #f8de9c;
}

.text {
  color: white;
  text-align: center;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 15px;
}

.title {
  font-family: Adelia;
  font-size: 50px;
  justify-self: flex-start;
  margin: 40px 0 50px 190px;
}

.menu-dulces {
  display: flex;
  justify-self: center;
  justify-content: center;
  margin-bottom: 50px;
  width: 60em;
  border-radius: 50px;
  transition: 0.3s;
  padding: 20px;
}

.menu-dulces:hover {
  background-color: #ea9dae;
  color: #f8de9c;
  text-shadow: 1px 1px black;
}

.food-image {
  height: 13em;
  padding-right: 30px;
  margin: 10px;
  display: flex;
  justify-self: flex-start;
  align-self: center;
}

.producto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30em;
}

.nombre {
  font-family: Cocogoose;
  font-size: 50px;
  margin: 0;
  padding: 5% 0 5% 0;
  text-align: center;
}

.precio {
  font-size: 20px;
  margin: 0;
  padding: 10px 0 20px 0;
}

.descripcion {
  font-family: Mermaid;
  font-size: 20px;
  padding: 0 5% 0 5%;
  margin: 0;
  text-align: center;
}

#hamburger-button {
  transition: 0.2s ease;
}

#hamburger-button:hover {
  cursor: pointer;
  color: #ea9dae;
  text-shadow: 1px 1px black;
}

h2 {
  margin: 20px 0 10px 0;
}
.dropdown-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 14em;
  background-color: #f8de9c;
  z-index: 1000;
  width: 200px;
  border-radius: 5px;
}

.dropdown-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu ul li {
  padding: 20px 20px;
}

.dropdown-menu ul li a {
  text-decoration: none;
  font-family: "Cocogoose";
  color: #ffff;
  text-shadow: 1px 1px black;
  font-size: 18px;
  transition: 0.2s ease;
}

.dropdown-menu ul li a:hover {
  color: #ea9dae;
  text-shadow: 1px 1px black;
}

.dropdown-menu.active {
  display: block;
}

.increase-btn, .decrease-btn {
  align-self: center;
  align-items: center;
  border-radius: 8px;
  padding: 5px 9px 5px 9px;
  margin: 10px;
  background-color: #ea9dae;
  border: 2px solid #f8de9c;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.decrease-btn {
  padding: 5px 10px 5px 10px;
}

.increase-btn:hover, .decrease-btn:hover {
  transition: 0.2s ease;
  background-color: #f8de9c;
}
.cart-container {
  max-width: 800px;
  background-color: #f8f8ec;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  padding: 20px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Mermaid;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background-color: #ea9dae;
}

.cart-item img {
  width: max-content;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-summary {
  margin-top: 20px;
  text-align: right;
  font-family: Mermaid;
}

.customer-form,
.address-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: Mermaid;
}

.customer-form input,
.address-form input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#place-order {
  margin-top: 20px;
  margin-bottom: 30px;
  width: 100%;
  background-color: #ea9dae;
  transition: 0.2s ease;
}

#place-order:hover {
  cursor: pointer;
  background-color: #d87a8e;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.product-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border-radius: 8px;
  background-color: #f8f8ec;
}

.product-image {
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 40px;
}

.product-details {
  flex: 1;
  font-weight: 2;
}

.product-details h3 {
  margin: 0;
  font-size: 1.5em;
  color: #45151b;
}

.product-details p {
  margin: 5px 0;
}

.delete-button {
  padding: 10px 20px;
  background-color: #ea9dae;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-button:hover {
  background-color: #d87a8e;
}

.form-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8f8ec;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-container input,
.form-container textarea,
.form-container select {
  width: 96%;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  justify-self: center;
  color: gray;
  font-family: Arial, Helvetica, sans-serif;
}

.form-container select {
  width: 101%;
}

.form-container input[type="file"] {
  background-color: white;
}

.form-container button {
  width: 100%;
}

.product-actions {
  display: flex;
  gap: 10px;
  padding-left: 30px;
}

.edit-button,
.delete-button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.edit-button {
  background-color: #f8de9c;
  color: white;
}

.edit-button:hover {
  background-color: #d4b973;
}

.delete-button {
  background-color: #ea9dae;
  color: white;
}

.delete-button:hover {
  background-color: #d87a8e;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.order-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f8f8ec;
}

.order-details {
  flex: 1;
  margin-right: 20px;
}

.order-details h3 {
  margin: 0;
  font-size: 1.5em;
  color: #d4b973;
  text-shadow: 1px 1px black;
}

.order-details p {
  margin: 5px 0;
}

.order-details ul {
  margin: 5px 0;
  padding-left: 20px;
}

.order-actions {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  padding-left: 20px;
}

label {
  font-family: Mermaid;
}

.edit-button,
.delete-button,
.save-button {
  font-family: Cocogoose;
  color: black;
  box-shadow: 0.15em 0.15em black;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.save-button {
  background-color: #ea9dae;
}

.save-button:hover {
  background-color: #d87a8e;
}

.delete-button {
  background-color: #ea9dae;
  font-size: 13px;
  margin-right: 30px;
}

.delete-button:hover {
  background-color: #d87a8e;
}

.cart-button {
  color: black;
  align-self: center;
  align-items: center;
  font-family: Cocogoose;
  border-radius: 15px;
  border: none;
  padding: 0.8em;
  background-color: #f8de9c;
  box-shadow: 0.15em 0.15em black;
  cursor: pointer;
}

.cart-button:hover {
  background-color: #d4b973;
}

#cart, #upload, #admin, #orders, #register, #login, #direc, #edit {
  text-align: center;
  margin-left: 0;
  justify-self: center;
}

.footer {
  font-family: Cocogoose;
  background-color: white;
  background: #ea9dae;
  padding: 20px 50px;
  flex-direction: column;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 10px;
  flex-wrap: wrap;
}

.icon-elem {
  list-style: none;
}

.icon {
  color: white;
  font-size: 32px;
  display: inline-block;
  margin: 0 10px;
  transition: 0.5s;
}

.icon:hover {
  transform: translateY(-10px);
  color: #f8de9c;
}